modulepackage
0.1.51
Repository: https://github.com/zentralopensource/goztl.git
Documentation: pkg.go.dev
# Functions
CheckResponse checks the API response for errors, and returns them if present.
DoRequestWithClient submits an HTTP request using the specified client.
Int is a helper routine that allocates a new int value to store v and returns a pointer to it.
NewArgError creates an InputError.
NewClient returns a new Zentral API client with the given base URL and API token.
SetRequestHeaders sets optional HTTP headers on the client that are sent on each HTTP request.
SetUserAgent is a client option for setting the user agent.
String is a helper routine that allocates a new string value to store v and returns a pointer to it.
Stringify attempts to create a string representation of Zentral types.
# Constants
No description provided by the author
# Structs
ArgError is an error that represents an error with an input to goztl.
Client manages communication with Zentral API.
No description provided by the author
No description provided by the author
An ErrorResponse reports the error caused by an API request.
JMESPathCheck represents a Zentral JMESPath check.
JMESPathCheckCreateRequest represents a request to create a JMESPath check.
JMESPathChecksServiceOp handles communication with the jmespath_checks related methods of the Zentral API.
JMESPathCheckUpdateRequest represents a request to update a JMESPath check.
LDAPConfig represents a Zentral Realm LDAP config.
ListOptions specifies the optional parameters to various List methods that support pagination.
MDMArtifact represents a Zentral MDM artifact.
MDMArtifactRequest represents a request to create or update a MDM artifact.
MDMArtifactsServiceOp handles communication with the MDM artifacts related methods of the Zentral API.
MDMArtifactVersion represents a Zentral MDM artifact version.
MDMArtifactVersionRequest represents a request to create or update a MDM artifact version.
MDMBlueprint represents a Zentral MDM blueprint.
MDMBlueprintArtifact represents a Zentral MDM blueprint artifact.
MDMBlueprintArtifactRequest represents a request to create or update a MDM blueprint artifact.
MDMBlueprintArtifactsServiceOp handles communication with the MDM blueprint artifacts related methods of the Zentral API.
MDMBlueprintRequest represents a request to create or update a MDM blueprint.
MDMBlueprintsServiceOp handles communication with the MDM blueprints related methods of the Zentral API.
MDMEnterpriseApp represents a Zentral MDM enterprise app.
MDMEnterpriseAppRequest represents a request to create or update a MDM enterprise app.
MDMEnterpriseAppsServiceOp handles communication with the MDM enterprise apps related methods of the Zentral API.
MDMFileVaultConfig represents a Zentral MDM FileVault configuration.
MDMFileVaultConfigRequest represents a request to create or update a MDM FileVault configuration.
MDMFileVaultConfigsServiceOp handles communication with the MDM FileVault configurations related methods of the Zentral API.
MDMOTAEnrollment represents a Zentral MDM OTAEnrollment.
MDMOTAEnrollmentRequest represents a request to create or update a MDM OTA enrollment.
MDMOTAEnrollmentsServiceOp handles communication with the MDM enrollments related moethods of the Zentral API.
MDMProfile represents a Zentral MDM profile.
MDMProfileRequest represents a request to create or update a MDM profile.
MDMProfilesServiceOp handles communication with the MDM profiles related methods of the Zentral API.
MDMPushCertificate represents a Zentral MDM push certificate.
MDMPushCertificatesServiceOp handles communication with the MDM push certificates related methods of the Zentral API.
MDMRecoveryPasswordConfig represents a Zentral MDM recovery password configuration.
MDMRecoveryPasswordConfigRequest represents a request to create or update a MDM recovery password configuration.
MDMRecoveryPasswordConfigsServiceOp handles communication with the MDM recovery password configurations related methods of the Zentral API.
No description provided by the author
MDMSCEPConfigsServiceOp handles communication with the MDM SCEP configs related methods of the Zentral API.
MDMSoftwareUpdateEnforcement represents a Zentral MDM software update enforcement.
MDMSoftwareUpdateEnforcementRequest represents a request to create or update a MDM software update enforcement.
MDMSoftwareUpdateEnforcementsServiceOp handles communication with the MDM software update enforcements related methods of the Zentral API.
MetaBusinessUnit represents a Zentral MetaBusinessUnit.
MetaBusinessUnitCreateRequest represents a request to create a meta business unit.
MetaBusinessUnitsServiceOp handles communication with the meta business units related methods of the Zentral API.
MetaBusinessUnitUpdateRequest represents a request to update a meta business unit.
No description provided by the author
MonolithCatalog represents a Zentral MonolithCatalog.
MonolithCatalogRequest represents a request to create or update a Monolith catalog.
MonolithCatalogsServiceOp handles comcunication with the Monolith catalogs related methods of the Zentral API.
MonolithCondition represents a Zentral MonolithCondition.
MonolithConditionRequest represents a request to create or update a Monolith condition.
MonolithConditionsServiceOp handles comcunication with the Monolith conditions related methods of the Zentral API.
MonolithEnrollment represents a Zentral MonolithEnrollment.
MonolithEnrollmentRequest represents a request to create or update a Monolith enrollment.
MonolithEnrollmentsServiceOp handles communication with the Monolith enrollments related methods of the Zentral API.
MonolithManifest represents a Zentral MonolithManifest.
MonolithManifestCatalog represents a Zentral manifest catalog.
MonolithManifestCatalogRequest represents a request to create or update a Monolith manifest catalog.
MonolithManifestCatalogsServiceOp handles commcunication with the Monolith manifest catalogs related methods of the Zentral API.
MonolithManifestEnrollmentPackage represents a Zentral manifest enrollment package.
MonolithManifestEnrollmentPackageRequest represents a request to create or update a Monolith manifest enrollment package.
MonolithManifestEnrollmentPackagesServiceOp handles commepunication with the Monolith manifest enrollment packages related methods of the Zentral API.
MonolithManifestRequest represents a request to create or update a Monolith manifest.
MonolithManifestsServiceOp handles communication with the Monolith manifests related methods of the Zentral API.
MonolithManifestSubManifest represents a Zentral manifest sub manifest.
MonolithManifestSubManifestRequest represents a request to create or update a Monolith manifest sub manifest.
MonolithManifestSubManifestsServiceOp handles comsmunication with the Monolith manifest sub manifests related methods of the Zentral API.
MonolithRepositoriesServiceOp handles comrunication with the Monolith manifests related methods of the Zentral API.
No description provided by the author
MonolithRepositoryRequest represents a request to create or update a Monolith manifest.
No description provided by the author
MonolithSubManifest represents a Zentral MonolithSubManifest.
MonolithSubManifestPkgInfo represents a Zentral MonolithSubManifestPkgInfo.
MonolithSubManifestPkgInfoRequest represents a request to create or update a Monolith sub manifest pkg info.
MonolithSubManifestPkgInfosServiceOp handles cosmpiunication with the Monolith sub manifest pkg infos related methods of the Zentral API.
MonolithSubManifestRequest represents a request to create or update a Monolith sub manifest.
MonolithSubManifestsServiceOp handles comsmunication with the Monolith sub manifests related methods of the Zentral API.
MunkiConfiguration represents a Zentral MunkiConfiguration.
MunkiConfigurationRequest represents a request to create or update a Munki configuration.
MunkiConfigurationsServiceOp handles communication with the Munki configurations related methods of the Zentral API.
MunkiEnrollment represents a Zentral MunkiEnrollment.
MunkiEnrollmentRequest represents a request to create or update a Munki enrollment.
MunkiEnrollmentsServiceOp handles communication with the Munki enrollments related methods of the Zentral API.
MunkiScriptCheck represents a Zentral Munki script check.
MunkiScriptCheckRequest represents a request to create or update a Munki script check.
MunkiScriptChecksServiceOp handles communication with the Munki script checks related methods of the Zentral API.
OpenIDCConfig represents a Zentral Realm OpenIDC config.
OsqueryATC represents a Zentral Osquery ATC.
OsqueryATCRequest represents a request to create or update a Osquery ATC.
OsqueryATCServiceOp handles communication with the Osquery automatic table construction related methods of the Zentral API.
OsqueryConfiguration represents a Zentral Osquery configuration.
OsqueryConfigurationPack represents a Zentral Osquery configuration pack.
OsqueryConfigurationPackRequest represents a request to create or update a Osquery configuration pack.
OsqueryConfigurationPacksServiceOp handles communication with the Osquery configuration packs related methods of the Zentral API.
OsqueryConfigurationRequest represents a request to create or update a Osquery configuration.
OsqueryConfigurationsServiceOp handles communication with the Osquery configurations related methods of the Zentral API.
OsqueryEnrollment represents a Zentral OsqueryEnrollment.
OsqueryEnrollmentRequest represents a request to create or update a Osquery enrollment.
OsqueryEnrollmentsServiceOp handles communication with the Osquery enrollments related methods of the Zentral API.
OsqueryFileCategoriesServiceOp handles communication with the Osquery file categories related methods of the Zentral API.
OsqueryFileCategory represents a Zentral Osquery file category.
OsqueryFileCategoryRequest represents a request to create or update a Osquery file category.
OsqueryPack represents a Zentral Osquery pack.
OsqueryPackRequest represents a request to create or update a Osquery pack.
OsqueryPacksServiceOp handles communication with the Osquery packs related methods of the Zentral API.
OsqueryQueriesServiceOp handles communication with the Osquery queries related methods of the Zentral API.
OsqueryQuery represents a Zentral Osquery query.
OsqueryQueryRequest represents a request to create or update a Osquery query.
OsqueryQueryScheduling represents the scheduling information of a Zentral Osquery query.
OsqueryQuerySchedulingRequest represents a request to create or update a Osquery pack query scheduling.
RealmsRealm represents a Zentral realm.
RealmsRealmsServiceOp handles communication with the realms related methods of the Zentral API.
Response is a Zentral response.
SAMLConfig represents a Zentral Realm SAML config.
SantaConfiguration represents a Zentral SantaConfiguration.
SantaConfigurationRequest represents a request to create or update a Santa configuration.
SantaConfigurationsServiceOp handles communication with the Santa configurations related methods of the Zentral API.
SantaEnrollment represents a Zentral SantaEnrollment.
SantaEnrollmentRequest represents a request to create or update a Santa enrollment.
SantaEnrollmentsServiceOp handles communication with the Santa enrollments related methods of the Zentral API.
SantaRule represents a Zentral SantaRule.
SantaRuleRequest represents a request to create or update a Santa rule.
SantaRulesServiceOp handles communication with the Santa enrollments related methods of the Zentral API.
No description provided by the author
Tag represents a Zentral Tag.
TagCreateRequest represents a request to create a tag.
TagShard represents a Zentral tag shard.
TagsServiceOp handles communication with the tags related methods of the Zentral API.
TagUpdateRequest represents a request to update a tag.
TaxonomiesServiceOp handles communication with the Taxonomies related methods of the Zentral API.
Taxonomy represents a Zentral Taxonomy.
TaxonomyCreateRequest represents a request to create a Taxonomy.
TaxonomyUpdateRequest represents a request to update a Taxonomy.
Timestamp represents a time that can be unmarshalled from a JSON string formatted as either an ISO8601 or Unix timestamp.
# Interfaces
JMESPathChecksService is an interface for interfacing with the JMESPath checks endpoints of the Zentral API.
MDMArtifactsService is an interface for interfacing with the MDM artifact endpoints of the Zentral API.
MDMBlueprintArtifactsService is an interface for interfacing with the MDM blueprint artifact endpoints of the Zentral API.
MDMBlueprintsService is an interface for interfacing with the MDM blueprint endpoints of the Zentral API.
MDMEnterpriseAppsService is an interface for interfacing with the MDM enterprise app endpoints of the Zentral API.
MDMFileVaultConfigsService is an interface for interfacing with the MDM FileVault configuration endpoints of the Zentral API.
MDMOTAEnrollmentsService is an interface for interfacing with the MDM enrollments endpoints of the Zentral API.
MDMProfilesService is an interface for interfacing with the MDM profile endpoints of the Zentral API.
MDMPushCertificatesService is an interface for interfacing with the MDM push certificate endpoints of the Zentral API.
MDMRecoveryPasswordConfigsService is an interface for interfacing with the MDM recovery password configuration endpoints of the Zentral API.
MDMSCEPConfigsService is an interface for interfacing with the MDM SCEP config endpoints of the Zentral API.
MDMSoftwareUpdateEnforcementsService is an interface for interfacing with the MDM software update enforcement endpoints of the Zentral API.
MetaBusinessUnitsService is an interface for interfacing with the meta business units endpoints of the Zentral API.
MonolithCatalogsService is an interface for interfacing with the Monolith catalogs endpoints of the Zentral API.
MonolithConditionsService is an interface for interfacing with the Monolith conditions endpoints of the Zentral API.
MonolithEnrollmentsService is an interface for interfacing with the Monolith enrollments endpoints of the Zentral API.
MonolithManifestCatalogsService is an interface for interfacing with the Monolith manifest catalogs endpoints of the Zentral API.
MonolithManifestEnrollmentPackagesService is an interface for interfacing with the Monolith manifest enrollment packages endpoints of the Zentral API.
MonolithManifestsService is an interface for interfacing with the Monolith manifests endpoints of the Zentral API.
MonolithManifestSubManifestsService is an interface for interfacing with the Monolith manifest sub manifests endpoints of the Zentral API.
MonolithRepositoriesService is an interface for interfacing with the Monolith manifests endpoints of the Zentral API.
MonolithSubManifestPkgInfosService is an interface for interfacing with the Monolith sub manifest pkg infos endpoints of the Zentral API.
MonolithSubManifestsService is an interface for interfacing with the Monolith sub manifests endpoints of the Zentral API.
MunkiConfigurationsService is an interface for interfacing with the Munki configurations endpoints of the Zentral API.
MunkiEnrollmentsService is an interface for interfacing with the Munki enrollments endpoints of the Zentral API.
MunkiScriptChecksService is an interface for interfacing with the Munki script checks endpoints of the Zentral API.
OsqueryATCService is an interface for interfacing with the Osquery automatic table construction endpoints of the Zentral API.
OsqueryConfigurationPacksService is an interface for interfacing with the Osquery configuration packs endpoints of the Zentral API.
OsqueryConfigurationsService is an interface for interfacing with the Osquery configurations endpoints of the Zentral API.
OsqueryEnrollmentsService is an interface for interfacing with the Osquery enrollments endpoints of the Zentral API.
OsqueryFileCategoriesService is an interface for interfacing with the Osquery file categories endpoints of the Zentral API.
OsqueryPacksService is an interface for interfacing with the Osquery packs endpoints of the Zentral API.
OsqueryQueriesService is an interface for interfacing with the Osquery queries endpoints of the Zentral API.
RealmsRealmsService is an interface for interfacing with the realms endpoints of the Zentral API.
SantaConfigurationsService is an interface for interfacing with the Santa configurations endpoints of the Zentral API.
SantaEnrollmentsService is an interface for interfacing with the Santa enrollments endpoints of the Zentral API.
SantaRulesService is an interface for interfacing with the Santa rules endpoints of the Zentral API.
TagsService is an interface for interfacing with the tags endpoints of the Zentral API.
TaxonomiesService is an interface for interfacing with the Taxonomies endpoints of the Zentral API.
# Type aliases
ClientOpt are options for New.