Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + func PossibleValuesForProvisioningState() []string + func PossibleValuesForWebhookAction() []string + func PossibleValuesForWebhookStatus() []string + func ValidateRegistryID(input interface{}, key string) (warnings []string, errors []error) + func ValidateWebHookID(input interface{}, key string) (warnings []string, errors []error) + type Actor struct + Name *string + type CallbackConfig struct + CustomHeaders *map[string]string + ServiceUri string + type CreateOperationResponse struct + HttpResponse *http.Response + Model *Webhook + OData *odata.OData + Poller pollers.Poller + type DeleteOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + Poller pollers.Poller + type Event struct + EventRequestMessage *EventRequestMessage + EventResponseMessage *EventResponseMessage + Id *string + type EventContent struct + Action *string + Actor *Actor + Id *string + Request *Request + Source *Source + Target *Target + Timestamp *string + func (o *EventContent) GetTimestampAsTime() (*time.Time, error) + func (o *EventContent) SetTimestampAsTime(input time.Time) + type EventInfo struct + Id *string + type EventOperationPredicate struct + Id *string + func (p EventOperationPredicate) Matches(input Event) bool + type EventRequestMessage struct + Content *EventContent + Headers *map[string]string + Method *string + RequestUri *string + Version *string + type EventResponseMessage struct + Content *string + Headers *map[string]string + ReasonPhrase *string + StatusCode *string + Version *string + type GetCallbackConfigOperationResponse struct + HttpResponse *http.Response + Model *CallbackConfig + OData *odata.OData + type GetOperationResponse struct + HttpResponse *http.Response + Model *Webhook + OData *odata.OData + type ListCompleteResult struct + Items []Webhook + LatestHttpResponse *http.Response + type ListCustomPager struct + NextLink *odata.Link + func (p *ListCustomPager) NextPageLink() *odata.Link + type ListEventsCompleteResult struct + Items []Event + LatestHttpResponse *http.Response + type ListEventsCustomPager struct + NextLink *odata.Link + func (p *ListEventsCustomPager) NextPageLink() *odata.Link + type ListEventsOperationResponse struct + HttpResponse *http.Response + Model *[]Event + OData *odata.OData + type ListOperationResponse struct + HttpResponse *http.Response + Model *[]Webhook + OData *odata.OData + type PingOperationResponse struct + HttpResponse *http.Response + Model *EventInfo + OData *odata.OData + type ProvisioningState string + const ProvisioningStateCanceled + const ProvisioningStateCreating + const ProvisioningStateDeleting + const ProvisioningStateFailed + const ProvisioningStateSucceeded + const ProvisioningStateUpdating + func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error + type RegistryId struct + RegistryName string + ResourceGroupName string + SubscriptionId string + func NewRegistryID(subscriptionId string, resourceGroupName string, registryName string) RegistryId + func ParseRegistryID(input string) (*RegistryId, error) + func ParseRegistryIDInsensitively(input string) (*RegistryId, error) + func (id *RegistryId) FromParseResult(input resourceids.ParseResult) error + func (id RegistryId) ID() string + func (id RegistryId) Segments() []resourceids.Segment + func (id RegistryId) String() string + type Request struct + Addr *string + Host *string + Id *string + Method *string + Useragent *string + type Source struct + Addr *string + InstanceID *string + type Target struct + Digest *string + Length *int64 + MediaType *string + Name *string + Repository *string + Size *int64 + Tag *string + Url *string + Version *string + type UpdateOperationResponse struct + HttpResponse *http.Response + Model *Webhook + OData *odata.OData + Poller pollers.Poller + type WebHookId struct + RegistryName string + ResourceGroupName string + SubscriptionId string + WebHookName string + func NewWebHookID(subscriptionId string, resourceGroupName string, registryName string, ...) WebHookId + func ParseWebHookID(input string) (*WebHookId, error) + func ParseWebHookIDInsensitively(input string) (*WebHookId, error) + func (id *WebHookId) FromParseResult(input resourceids.ParseResult) error + func (id WebHookId) ID() string + func (id WebHookId) Segments() []resourceids.Segment + func (id WebHookId) String() string + type WebHooksClient struct + Client *resourcemanager.Client + func NewWebHooksClientWithBaseURI(sdkApi sdkEnv.Api) (*WebHooksClient, error) + func (c WebHooksClient) Create(ctx context.Context, id WebHookId, input WebhookCreateParameters) (result CreateOperationResponse, err error) + func (c WebHooksClient) CreateThenPoll(ctx context.Context, id WebHookId, input WebhookCreateParameters) error + func (c WebHooksClient) Delete(ctx context.Context, id WebHookId) (result DeleteOperationResponse, err error) + func (c WebHooksClient) DeleteThenPoll(ctx context.Context, id WebHookId) error + func (c WebHooksClient) Get(ctx context.Context, id WebHookId) (result GetOperationResponse, err error) + func (c WebHooksClient) GetCallbackConfig(ctx context.Context, id WebHookId) (result GetCallbackConfigOperationResponse, err error) + func (c WebHooksClient) List(ctx context.Context, id RegistryId) (result ListOperationResponse, err error) + func (c WebHooksClient) ListComplete(ctx context.Context, id RegistryId) (ListCompleteResult, error) + func (c WebHooksClient) ListCompleteMatchingPredicate(ctx context.Context, id RegistryId, predicate WebhookOperationPredicate) (result ListCompleteResult, err error) + func (c WebHooksClient) ListEvents(ctx context.Context, id WebHookId) (result ListEventsOperationResponse, err error) + func (c WebHooksClient) ListEventsComplete(ctx context.Context, id WebHookId) (ListEventsCompleteResult, error) + func (c WebHooksClient) ListEventsCompleteMatchingPredicate(ctx context.Context, id WebHookId, predicate EventOperationPredicate) (result ListEventsCompleteResult, err error) + func (c WebHooksClient) Ping(ctx context.Context, id WebHookId) (result PingOperationResponse, err error) + func (c WebHooksClient) Update(ctx context.Context, id WebHookId, input WebhookUpdateParameters) (result UpdateOperationResponse, err error) + func (c WebHooksClient) UpdateThenPoll(ctx context.Context, id WebHookId, input WebhookUpdateParameters) error + type Webhook struct + Id *string + Location string + Name *string + Properties *WebhookProperties + SystemData *systemdata.SystemData + Tags *map[string]string + Type *string + type WebhookAction string + const WebhookActionChartDelete + const WebhookActionChartPush + const WebhookActionDelete + const WebhookActionPush + const WebhookActionQuarantine + func (s *WebhookAction) UnmarshalJSON(bytes []byte) error + type WebhookCreateParameters struct + Location string + Properties *WebhookPropertiesCreateParameters + Tags *map[string]string + type WebhookOperationPredicate struct + Id *string + Location *string + Name *string + Type *string + func (p WebhookOperationPredicate) Matches(input Webhook) bool + type WebhookProperties struct + Actions []WebhookAction + ProvisioningState *ProvisioningState + Scope *string + Status *WebhookStatus + type WebhookPropertiesCreateParameters struct + Actions []WebhookAction + CustomHeaders *map[string]string + Scope *string + ServiceUri string + Status *WebhookStatus + type WebhookPropertiesUpdateParameters struct + Actions *[]WebhookAction + CustomHeaders *map[string]string + Scope *string + ServiceUri *string + Status *WebhookStatus + type WebhookStatus string + const WebhookStatusDisabled + const WebhookStatusEnabled + func (s *WebhookStatus) UnmarshalJSON(bytes []byte) error + type WebhookUpdateParameters struct + Properties *WebhookPropertiesUpdateParameters + Tags *map[string]string