Versions in this module Expand all Collapse all v0 v0.1.1 Nov 28, 2023 v0.1.0 Mar 30, 2023 Changes in this version + type Action string + const ActionAllow + func PossibleActionValues() []Action + type Actor struct + Name *string + func (a *Actor) UnmarshalJSON(data []byte) error + func (a Actor) MarshalJSON() ([]byte, error) + type CallbackConfig struct + CustomHeaders map[string]*string + ServiceURI *string + func (c *CallbackConfig) UnmarshalJSON(data []byte) error + func (c CallbackConfig) MarshalJSON() ([]byte, error) + type ClientFactory struct + func NewClientFactory(subscriptionID string, credential azcore.TokenCredential, ...) (*ClientFactory, error) + func (c *ClientFactory) NewOperationsClient() *OperationsClient + func (c *ClientFactory) NewRegistriesClient() *RegistriesClient + func (c *ClientFactory) NewReplicationsClient() *ReplicationsClient + func (c *ClientFactory) NewWebhooksClient() *WebhooksClient + type DefaultAction string + const DefaultActionAllow + const DefaultActionDeny + func PossibleDefaultActionValues() []DefaultAction + type Event struct + EventRequestMessage *EventRequestMessage + EventResponseMessage *EventResponseMessage + ID *string + func (e *Event) UnmarshalJSON(data []byte) error + func (e Event) MarshalJSON() ([]byte, error) + type EventContent struct + Action *string + Actor *Actor + ID *string + Request *Request + Source *Source + Target *Target + Timestamp *time.Time + func (e *EventContent) UnmarshalJSON(data []byte) error + func (e EventContent) MarshalJSON() ([]byte, error) + type EventInfo struct + ID *string + func (e *EventInfo) UnmarshalJSON(data []byte) error + func (e EventInfo) MarshalJSON() ([]byte, error) + type EventListResult struct + NextLink *string + Value []*Event + func (e *EventListResult) UnmarshalJSON(data []byte) error + func (e EventListResult) MarshalJSON() ([]byte, error) + type EventRequestMessage struct + Content *EventContent + Headers map[string]*string + Method *string + RequestURI *string + Version *string + func (e *EventRequestMessage) UnmarshalJSON(data []byte) error + func (e EventRequestMessage) MarshalJSON() ([]byte, error) + type EventResponseMessage struct + Content *string + Headers map[string]*string + ReasonPhrase *string + StatusCode *string + Version *string + func (e *EventResponseMessage) UnmarshalJSON(data []byte) error + func (e EventResponseMessage) MarshalJSON() ([]byte, error) + type IPRule struct + Action *Action + IPAddressOrRange *string + func (i *IPRule) UnmarshalJSON(data []byte) error + func (i IPRule) MarshalJSON() ([]byte, error) + type ImportImageParameters struct + Mode *ImportMode + Source *ImportSource + TargetTags []*string + UntaggedTargetRepositories []*string + func (i *ImportImageParameters) UnmarshalJSON(data []byte) error + func (i ImportImageParameters) MarshalJSON() ([]byte, error) + type ImportMode string + const ImportModeForce + const ImportModeNoForce + func PossibleImportModeValues() []ImportMode + type ImportSource struct + Credentials *ImportSourceCredentials + RegistryURI *string + ResourceID *string + SourceImage *string + func (i *ImportSource) UnmarshalJSON(data []byte) error + func (i ImportSource) MarshalJSON() ([]byte, error) + type ImportSourceCredentials struct + Password *string + Username *string + func (i *ImportSourceCredentials) UnmarshalJSON(data []byte) error + func (i ImportSourceCredentials) MarshalJSON() ([]byte, error) + type NetworkRuleSet struct + DefaultAction *DefaultAction + IPRules []*IPRule + VirtualNetworkRules []*VirtualNetworkRule + func (n *NetworkRuleSet) UnmarshalJSON(data []byte) error + func (n NetworkRuleSet) MarshalJSON() ([]byte, error) + type OperationDefinition struct + Display *OperationDisplayDefinition + Name *string + Origin *string + Properties *OperationPropertiesDefinition + func (o *OperationDefinition) UnmarshalJSON(data []byte) error + func (o OperationDefinition) MarshalJSON() ([]byte, error) + type OperationDisplayDefinition struct + Description *string + Operation *string + Provider *string + Resource *string + func (o *OperationDisplayDefinition) UnmarshalJSON(data []byte) error + func (o OperationDisplayDefinition) MarshalJSON() ([]byte, error) + type OperationListResult struct + NextLink *string + Value []*OperationDefinition + func (o *OperationListResult) UnmarshalJSON(data []byte) error + func (o OperationListResult) MarshalJSON() ([]byte, error) + type OperationMetricSpecificationDefinition struct + AggregationType *string + DisplayDescription *string + DisplayName *string + InternalMetricName *string + Name *string + Unit *string + func (o *OperationMetricSpecificationDefinition) UnmarshalJSON(data []byte) error + func (o OperationMetricSpecificationDefinition) MarshalJSON() ([]byte, error) + type OperationPropertiesDefinition struct + ServiceSpecification *OperationServiceSpecificationDefinition + func (o *OperationPropertiesDefinition) UnmarshalJSON(data []byte) error + func (o OperationPropertiesDefinition) MarshalJSON() ([]byte, error) + type OperationServiceSpecificationDefinition struct + MetricSpecifications []*OperationMetricSpecificationDefinition + func (o *OperationServiceSpecificationDefinition) UnmarshalJSON(data []byte) error + func (o OperationServiceSpecificationDefinition) MarshalJSON() ([]byte, error) + type OperationsClient struct + func NewOperationsClient(credential azcore.TokenCredential, options *arm.ClientOptions) (*OperationsClient, error) + func (client *OperationsClient) NewListPager(options *OperationsClientListOptions) *runtime.Pager[OperationsClientListResponse] + type OperationsClientListOptions struct + type OperationsClientListResponse struct + type PasswordName string + const PasswordNamePassword + const PasswordNamePassword2 + func PossiblePasswordNameValues() []PasswordName + type Policies struct + QuarantinePolicy *QuarantinePolicy + RetentionPolicy *RetentionPolicy + TrustPolicy *TrustPolicy + func (p *Policies) UnmarshalJSON(data []byte) error + func (p Policies) MarshalJSON() ([]byte, error) + type PolicyStatus string + const PolicyStatusDisabled + const PolicyStatusEnabled + func PossiblePolicyStatusValues() []PolicyStatus + type ProvisioningState string + const ProvisioningStateCanceled + const ProvisioningStateCreating + const ProvisioningStateDeleting + const ProvisioningStateFailed + const ProvisioningStateSucceeded + const ProvisioningStateUpdating + func PossibleProvisioningStateValues() []ProvisioningState + type QuarantinePolicy struct + Status *PolicyStatus + func (q *QuarantinePolicy) UnmarshalJSON(data []byte) error + func (q QuarantinePolicy) MarshalJSON() ([]byte, error) + type RegenerateCredentialParameters struct + Name *PasswordName + func (r *RegenerateCredentialParameters) UnmarshalJSON(data []byte) error + func (r RegenerateCredentialParameters) MarshalJSON() ([]byte, error) + type RegistriesClient struct + func NewRegistriesClient(subscriptionID string, credential azcore.TokenCredential, ...) (*RegistriesClient, error) + func (client *RegistriesClient) BeginCreate(ctx context.Context, resourceGroupName string, registryName string, ...) (*runtime.Poller[RegistriesClientCreateResponse], error) + func (client *RegistriesClient) BeginDelete(ctx context.Context, resourceGroupName string, registryName string, ...) (*runtime.Poller[RegistriesClientDeleteResponse], error) + func (client *RegistriesClient) BeginImportImage(ctx context.Context, resourceGroupName string, registryName string, ...) (*runtime.Poller[RegistriesClientImportImageResponse], error) + func (client *RegistriesClient) BeginUpdate(ctx context.Context, resourceGroupName string, registryName string, ...) (*runtime.Poller[RegistriesClientUpdateResponse], error) + func (client *RegistriesClient) CheckNameAvailability(ctx context.Context, registryNameCheckRequest RegistryNameCheckRequest, ...) (RegistriesClientCheckNameAvailabilityResponse, error) + func (client *RegistriesClient) Get(ctx context.Context, resourceGroupName string, registryName string, ...) (RegistriesClientGetResponse, error) + func (client *RegistriesClient) ListCredentials(ctx context.Context, resourceGroupName string, registryName string, ...) (RegistriesClientListCredentialsResponse, error) + func (client *RegistriesClient) ListUsages(ctx context.Context, resourceGroupName string, registryName string, ...) (RegistriesClientListUsagesResponse, error) + func (client *RegistriesClient) NewListByResourceGroupPager(resourceGroupName string, options *RegistriesClientListByResourceGroupOptions) *runtime.Pager[RegistriesClientListByResourceGroupResponse] + func (client *RegistriesClient) NewListPager(options *RegistriesClientListOptions) *runtime.Pager[RegistriesClientListResponse] + func (client *RegistriesClient) RegenerateCredential(ctx context.Context, resourceGroupName string, registryName string, ...) (RegistriesClientRegenerateCredentialResponse, error) + type RegistriesClientBeginCreateOptions struct + ResumeToken string + type RegistriesClientBeginDeleteOptions struct + ResumeToken string + type RegistriesClientBeginImportImageOptions struct + ResumeToken string + type RegistriesClientBeginUpdateOptions struct + ResumeToken string + type RegistriesClientCheckNameAvailabilityOptions struct + type RegistriesClientCheckNameAvailabilityResponse struct + type RegistriesClientCreateResponse struct + type RegistriesClientDeleteResponse struct + type RegistriesClientGetOptions struct + type RegistriesClientGetResponse struct + type RegistriesClientImportImageResponse struct + type RegistriesClientListByResourceGroupOptions struct + type RegistriesClientListByResourceGroupResponse struct + type RegistriesClientListCredentialsOptions struct + type RegistriesClientListCredentialsResponse struct + type RegistriesClientListOptions struct + type RegistriesClientListResponse struct + type RegistriesClientListUsagesOptions struct + type RegistriesClientListUsagesResponse struct + type RegistriesClientRegenerateCredentialOptions struct + type RegistriesClientRegenerateCredentialResponse struct + type RegistriesClientUpdateResponse struct + type Registry struct + ID *string + Location *string + Name *string + Properties *RegistryProperties + SKU *SKU + Tags map[string]*string + Type *string + func (r *Registry) UnmarshalJSON(data []byte) error + func (r Registry) MarshalJSON() ([]byte, error) + type RegistryListCredentialsResult struct + Passwords []*RegistryPassword + Username *string + func (r *RegistryListCredentialsResult) UnmarshalJSON(data []byte) error + func (r RegistryListCredentialsResult) MarshalJSON() ([]byte, error) + type RegistryListResult struct + NextLink *string + Value []*Registry + func (r *RegistryListResult) UnmarshalJSON(data []byte) error + func (r RegistryListResult) MarshalJSON() ([]byte, error) + type RegistryNameCheckRequest struct + Name *string + Type *string + func (r *RegistryNameCheckRequest) UnmarshalJSON(data []byte) error + func (r RegistryNameCheckRequest) MarshalJSON() ([]byte, error) + type RegistryNameStatus struct + Message *string + NameAvailable *bool + Reason *string + func (r *RegistryNameStatus) UnmarshalJSON(data []byte) error + func (r RegistryNameStatus) MarshalJSON() ([]byte, error) + type RegistryPassword struct + Name *PasswordName + Value *string + func (r *RegistryPassword) UnmarshalJSON(data []byte) error + func (r RegistryPassword) MarshalJSON() ([]byte, error) + type RegistryProperties struct + AdminUserEnabled *bool + CreationDate *time.Time + LoginServer *string + NetworkRuleSet *NetworkRuleSet + Policies *Policies + ProvisioningState *ProvisioningState + Status *Status + StorageAccount *StorageAccountProperties + func (r *RegistryProperties) UnmarshalJSON(data []byte) error + func (r RegistryProperties) MarshalJSON() ([]byte, error) + type RegistryPropertiesUpdateParameters struct + AdminUserEnabled *bool + NetworkRuleSet *NetworkRuleSet + Policies *Policies + func (r *RegistryPropertiesUpdateParameters) UnmarshalJSON(data []byte) error + func (r RegistryPropertiesUpdateParameters) MarshalJSON() ([]byte, error) + type RegistryUpdateParameters struct + Properties *RegistryPropertiesUpdateParameters + SKU *SKU + Tags map[string]*string + func (r *RegistryUpdateParameters) UnmarshalJSON(data []byte) error + func (r RegistryUpdateParameters) MarshalJSON() ([]byte, error) + type RegistryUsage struct + CurrentValue *int64 + Limit *int64 + Name *string + Unit *RegistryUsageUnit + func (r *RegistryUsage) UnmarshalJSON(data []byte) error + func (r RegistryUsage) MarshalJSON() ([]byte, error) + type RegistryUsageListResult struct + Value []*RegistryUsage + func (r *RegistryUsageListResult) UnmarshalJSON(data []byte) error + func (r RegistryUsageListResult) MarshalJSON() ([]byte, error) + type RegistryUsageUnit string + const RegistryUsageUnitBytes + const RegistryUsageUnitCount + func PossibleRegistryUsageUnitValues() []RegistryUsageUnit + type Replication struct + ID *string + Location *string + Name *string + Properties *ReplicationProperties + Tags map[string]*string + Type *string + func (r *Replication) UnmarshalJSON(data []byte) error + func (r Replication) MarshalJSON() ([]byte, error) + type ReplicationListResult struct + NextLink *string + Value []*Replication + func (r *ReplicationListResult) UnmarshalJSON(data []byte) error + func (r ReplicationListResult) MarshalJSON() ([]byte, error) + type ReplicationProperties struct + ProvisioningState *ProvisioningState + Status *Status + func (r *ReplicationProperties) UnmarshalJSON(data []byte) error + func (r ReplicationProperties) MarshalJSON() ([]byte, error) + type ReplicationUpdateParameters struct + Tags map[string]*string + func (r *ReplicationUpdateParameters) UnmarshalJSON(data []byte) error + func (r ReplicationUpdateParameters) MarshalJSON() ([]byte, error) + type ReplicationsClient struct + func NewReplicationsClient(subscriptionID string, credential azcore.TokenCredential, ...) (*ReplicationsClient, error) + func (client *ReplicationsClient) BeginCreate(ctx context.Context, resourceGroupName string, registryName string, ...) (*runtime.Poller[ReplicationsClientCreateResponse], error) + func (client *ReplicationsClient) BeginDelete(ctx context.Context, resourceGroupName string, registryName string, ...) (*runtime.Poller[ReplicationsClientDeleteResponse], error) + func (client *ReplicationsClient) BeginUpdate(ctx context.Context, resourceGroupName string, registryName string, ...) (*runtime.Poller[ReplicationsClientUpdateResponse], error) + func (client *ReplicationsClient) Get(ctx context.Context, resourceGroupName string, registryName string, ...) (ReplicationsClientGetResponse, error) + func (client *ReplicationsClient) NewListPager(resourceGroupName string, registryName string, ...) *runtime.Pager[ReplicationsClientListResponse] + type ReplicationsClientBeginCreateOptions struct + ResumeToken string + type ReplicationsClientBeginDeleteOptions struct + ResumeToken string + type ReplicationsClientBeginUpdateOptions struct + ResumeToken string + type ReplicationsClientCreateResponse struct + type ReplicationsClientDeleteResponse struct + type ReplicationsClientGetOptions struct + type ReplicationsClientGetResponse struct + type ReplicationsClientListOptions struct + type ReplicationsClientListResponse struct + type ReplicationsClientUpdateResponse struct + type Request struct + Addr *string + Host *string + ID *string + Method *string + Useragent *string + func (r *Request) UnmarshalJSON(data []byte) error + func (r Request) MarshalJSON() ([]byte, error) + type Resource struct + ID *string + Location *string + Name *string + Tags map[string]*string + Type *string + func (r *Resource) UnmarshalJSON(data []byte) error + func (r Resource) MarshalJSON() ([]byte, error) + type RetentionPolicy struct + Days *int32 + LastUpdatedTime *time.Time + Status *PolicyStatus + func (r *RetentionPolicy) UnmarshalJSON(data []byte) error + func (r RetentionPolicy) MarshalJSON() ([]byte, error) + type SKU struct + Name *SKUName + Tier *SKUTier + func (s *SKU) UnmarshalJSON(data []byte) error + func (s SKU) MarshalJSON() ([]byte, error) + type SKUName string + const SKUNameBasic + const SKUNameClassic + const SKUNamePremium + const SKUNameStandard + func PossibleSKUNameValues() []SKUName + type SKUTier string + const SKUTierBasic + const SKUTierClassic + const SKUTierPremium + const SKUTierStandard + func PossibleSKUTierValues() []SKUTier + type Source struct + Addr *string + InstanceID *string + func (s *Source) UnmarshalJSON(data []byte) error + func (s Source) MarshalJSON() ([]byte, error) + type Status struct + DisplayStatus *string + Message *string + Timestamp *time.Time + func (s *Status) UnmarshalJSON(data []byte) error + func (s Status) MarshalJSON() ([]byte, error) + type StorageAccountProperties struct + ID *string + func (s *StorageAccountProperties) UnmarshalJSON(data []byte) error + func (s StorageAccountProperties) MarshalJSON() ([]byte, error) + type Target struct + Digest *string + Length *int64 + MediaType *string + Name *string + Repository *string + Size *int64 + Tag *string + URL *string + Version *string + func (t *Target) UnmarshalJSON(data []byte) error + func (t Target) MarshalJSON() ([]byte, error) + type TrustPolicy struct + Status *PolicyStatus + Type *TrustPolicyType + func (t *TrustPolicy) UnmarshalJSON(data []byte) error + func (t TrustPolicy) MarshalJSON() ([]byte, error) + type TrustPolicyType string + const TrustPolicyTypeNotary + func PossibleTrustPolicyTypeValues() []TrustPolicyType + type VirtualNetworkRule struct + Action *Action + VirtualNetworkResourceID *string + func (v *VirtualNetworkRule) UnmarshalJSON(data []byte) error + func (v VirtualNetworkRule) MarshalJSON() ([]byte, error) + type Webhook struct + ID *string + Location *string + Name *string + Properties *WebhookProperties + Tags map[string]*string + Type *string + func (w *Webhook) UnmarshalJSON(data []byte) error + func (w Webhook) MarshalJSON() ([]byte, error) + type WebhookAction string + const WebhookActionChartDelete + const WebhookActionChartPush + const WebhookActionDelete + const WebhookActionPush + const WebhookActionQuarantine + func PossibleWebhookActionValues() []WebhookAction + type WebhookCreateParameters struct + Location *string + Properties *WebhookPropertiesCreateParameters + Tags map[string]*string + func (w *WebhookCreateParameters) UnmarshalJSON(data []byte) error + func (w WebhookCreateParameters) MarshalJSON() ([]byte, error) + type WebhookListResult struct + NextLink *string + Value []*Webhook + func (w *WebhookListResult) UnmarshalJSON(data []byte) error + func (w WebhookListResult) MarshalJSON() ([]byte, error) + type WebhookProperties struct + Actions []*WebhookAction + ProvisioningState *ProvisioningState + Scope *string + Status *WebhookStatus + func (w *WebhookProperties) UnmarshalJSON(data []byte) error + func (w WebhookProperties) MarshalJSON() ([]byte, error) + type WebhookPropertiesCreateParameters struct + Actions []*WebhookAction + CustomHeaders map[string]*string + Scope *string + ServiceURI *string + Status *WebhookStatus + func (w *WebhookPropertiesCreateParameters) UnmarshalJSON(data []byte) error + func (w WebhookPropertiesCreateParameters) MarshalJSON() ([]byte, error) + type WebhookPropertiesUpdateParameters struct + Actions []*WebhookAction + CustomHeaders map[string]*string + Scope *string + ServiceURI *string + Status *WebhookStatus + func (w *WebhookPropertiesUpdateParameters) UnmarshalJSON(data []byte) error + func (w WebhookPropertiesUpdateParameters) MarshalJSON() ([]byte, error) + type WebhookStatus string + const WebhookStatusDisabled + const WebhookStatusEnabled + func PossibleWebhookStatusValues() []WebhookStatus + type WebhookUpdateParameters struct + Properties *WebhookPropertiesUpdateParameters + Tags map[string]*string + func (w *WebhookUpdateParameters) UnmarshalJSON(data []byte) error + func (w WebhookUpdateParameters) MarshalJSON() ([]byte, error) + type WebhooksClient struct + func NewWebhooksClient(subscriptionID string, credential azcore.TokenCredential, ...) (*WebhooksClient, error) + func (client *WebhooksClient) BeginCreate(ctx context.Context, resourceGroupName string, registryName string, ...) (*runtime.Poller[WebhooksClientCreateResponse], error) + func (client *WebhooksClient) BeginDelete(ctx context.Context, resourceGroupName string, registryName string, ...) (*runtime.Poller[WebhooksClientDeleteResponse], error) + func (client *WebhooksClient) BeginUpdate(ctx context.Context, resourceGroupName string, registryName string, ...) (*runtime.Poller[WebhooksClientUpdateResponse], error) + func (client *WebhooksClient) Get(ctx context.Context, resourceGroupName string, registryName string, ...) (WebhooksClientGetResponse, error) + func (client *WebhooksClient) GetCallbackConfig(ctx context.Context, resourceGroupName string, registryName string, ...) (WebhooksClientGetCallbackConfigResponse, error) + func (client *WebhooksClient) NewListEventsPager(resourceGroupName string, registryName string, webhookName string, ...) *runtime.Pager[WebhooksClientListEventsResponse] + func (client *WebhooksClient) NewListPager(resourceGroupName string, registryName string, ...) *runtime.Pager[WebhooksClientListResponse] + func (client *WebhooksClient) Ping(ctx context.Context, resourceGroupName string, registryName string, ...) (WebhooksClientPingResponse, error) + type WebhooksClientBeginCreateOptions struct + ResumeToken string + type WebhooksClientBeginDeleteOptions struct + ResumeToken string + type WebhooksClientBeginUpdateOptions struct + ResumeToken string + type WebhooksClientCreateResponse struct + type WebhooksClientDeleteResponse struct + type WebhooksClientGetCallbackConfigOptions struct + type WebhooksClientGetCallbackConfigResponse struct + type WebhooksClientGetOptions struct + type WebhooksClientGetResponse struct + type WebhooksClientListEventsOptions struct + type WebhooksClientListEventsResponse struct + type WebhooksClientListOptions struct + type WebhooksClientListResponse struct + type WebhooksClientPingOptions struct + type WebhooksClientPingResponse struct + type WebhooksClientUpdateResponse struct