Documentation ¶
Index ¶
- func PossibleValuesForDetectionStatus() []string
- func PossibleValuesForPatchApplyStatus() []string
- func PossibleValuesForPatchType() []string
- func ValidateContainerAppID(input interface{}, key string) (warnings []string, errors []error)
- func ValidatePatchID(input interface{}, key string) (warnings []string, errors []error)
- type ApplyOperationResponse
- type ContainerAppId
- type ContainerAppsPatchResource
- type ContainerAppsPatchResourceOperationPredicate
- type ContainerAppsPatchesClient
- func (c ContainerAppsPatchesClient) Apply(ctx context.Context, id PatchId) (result ApplyOperationResponse, err error)
- func (c ContainerAppsPatchesClient) ApplyThenPoll(ctx context.Context, id PatchId) error
- func (c ContainerAppsPatchesClient) Delete(ctx context.Context, id PatchId) (result DeleteOperationResponse, err error)
- func (c ContainerAppsPatchesClient) DeleteThenPoll(ctx context.Context, id PatchId) error
- func (c ContainerAppsPatchesClient) Get(ctx context.Context, id PatchId) (result GetOperationResponse, err error)
- func (c ContainerAppsPatchesClient) ListByContainerApp(ctx context.Context, id ContainerAppId, ...) (result ListByContainerAppOperationResponse, err error)
- func (c ContainerAppsPatchesClient) ListByContainerAppComplete(ctx context.Context, id ContainerAppId, ...) (ListByContainerAppCompleteResult, error)
- func (c ContainerAppsPatchesClient) ListByContainerAppCompleteMatchingPredicate(ctx context.Context, id ContainerAppId, ...) (result ListByContainerAppCompleteResult, err error)
- func (c ContainerAppsPatchesClient) SkipConfigure(ctx context.Context, id PatchId, input PatchSkipConfig) (result SkipConfigureOperationResponse, err error)
- func (c ContainerAppsPatchesClient) SkipConfigureThenPoll(ctx context.Context, id PatchId, input PatchSkipConfig) error
- type DeleteOperationResponse
- type DetectionStatus
- type GetOperationResponse
- type ListByContainerAppCompleteResult
- type ListByContainerAppCustomPager
- type ListByContainerAppOperationOptions
- type ListByContainerAppOperationResponse
- type PatchApplyStatus
- type PatchDetails
- type PatchDetailsNewLayer
- type PatchDetailsOldLayer
- type PatchId
- type PatchProperties
- type PatchSkipConfig
- type PatchType
- type SkipConfigureOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForDetectionStatus ¶
func PossibleValuesForDetectionStatus() []string
func PossibleValuesForPatchApplyStatus ¶
func PossibleValuesForPatchApplyStatus() []string
func PossibleValuesForPatchType ¶
func PossibleValuesForPatchType() []string
func ValidateContainerAppID ¶
ValidateContainerAppID checks that 'input' can be parsed as a Container App ID
func ValidatePatchID ¶
ValidatePatchID checks that 'input' can be parsed as a Patch ID
Types ¶
type ApplyOperationResponse ¶
type ContainerAppId ¶
type ContainerAppId struct { SubscriptionId string ResourceGroupName string ContainerAppName string }
ContainerAppId is a struct representing the Resource ID for a Container App
func NewContainerAppID ¶
func NewContainerAppID(subscriptionId string, resourceGroupName string, containerAppName string) ContainerAppId
NewContainerAppID returns a new ContainerAppId struct
func ParseContainerAppID ¶
func ParseContainerAppID(input string) (*ContainerAppId, error)
ParseContainerAppID parses 'input' into a ContainerAppId
func ParseContainerAppIDInsensitively ¶
func ParseContainerAppIDInsensitively(input string) (*ContainerAppId, error)
ParseContainerAppIDInsensitively parses 'input' case-insensitively into a ContainerAppId note: this method should only be used for API response data and not user input
func (*ContainerAppId) FromParseResult ¶
func (id *ContainerAppId) FromParseResult(input resourceids.ParseResult) error
func (ContainerAppId) ID ¶
func (id ContainerAppId) ID() string
ID returns the formatted Container App ID
func (ContainerAppId) Segments ¶
func (id ContainerAppId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Container App ID
func (ContainerAppId) String ¶
func (id ContainerAppId) String() string
String returns a human-readable description of this Container App ID
type ContainerAppsPatchResource ¶
type ContainerAppsPatchResource struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *PatchProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type ContainerAppsPatchResourceOperationPredicate ¶
func (ContainerAppsPatchResourceOperationPredicate) Matches ¶
func (p ContainerAppsPatchResourceOperationPredicate) Matches(input ContainerAppsPatchResource) bool
type ContainerAppsPatchesClient ¶
type ContainerAppsPatchesClient struct {
Client *resourcemanager.Client
}
func NewContainerAppsPatchesClientWithBaseURI ¶
func NewContainerAppsPatchesClientWithBaseURI(sdkApi sdkEnv.Api) (*ContainerAppsPatchesClient, error)
func (ContainerAppsPatchesClient) Apply ¶
func (c ContainerAppsPatchesClient) Apply(ctx context.Context, id PatchId) (result ApplyOperationResponse, err error)
Apply ...
func (ContainerAppsPatchesClient) ApplyThenPoll ¶
func (c ContainerAppsPatchesClient) ApplyThenPoll(ctx context.Context, id PatchId) error
ApplyThenPoll performs Apply then polls until it's completed
func (ContainerAppsPatchesClient) Delete ¶
func (c ContainerAppsPatchesClient) Delete(ctx context.Context, id PatchId) (result DeleteOperationResponse, err error)
Delete ...
func (ContainerAppsPatchesClient) DeleteThenPoll ¶
func (c ContainerAppsPatchesClient) DeleteThenPoll(ctx context.Context, id PatchId) error
DeleteThenPoll performs Delete then polls until it's completed
func (ContainerAppsPatchesClient) Get ¶
func (c ContainerAppsPatchesClient) Get(ctx context.Context, id PatchId) (result GetOperationResponse, err error)
Get ...
func (ContainerAppsPatchesClient) ListByContainerApp ¶
func (c ContainerAppsPatchesClient) ListByContainerApp(ctx context.Context, id ContainerAppId, options ListByContainerAppOperationOptions) (result ListByContainerAppOperationResponse, err error)
ListByContainerApp ...
func (ContainerAppsPatchesClient) ListByContainerAppComplete ¶
func (c ContainerAppsPatchesClient) ListByContainerAppComplete(ctx context.Context, id ContainerAppId, options ListByContainerAppOperationOptions) (ListByContainerAppCompleteResult, error)
ListByContainerAppComplete retrieves all the results into a single object
func (ContainerAppsPatchesClient) ListByContainerAppCompleteMatchingPredicate ¶
func (c ContainerAppsPatchesClient) ListByContainerAppCompleteMatchingPredicate(ctx context.Context, id ContainerAppId, options ListByContainerAppOperationOptions, predicate ContainerAppsPatchResourceOperationPredicate) (result ListByContainerAppCompleteResult, err error)
ListByContainerAppCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ContainerAppsPatchesClient) SkipConfigure ¶
func (c ContainerAppsPatchesClient) SkipConfigure(ctx context.Context, id PatchId, input PatchSkipConfig) (result SkipConfigureOperationResponse, err error)
SkipConfigure ...
func (ContainerAppsPatchesClient) SkipConfigureThenPoll ¶
func (c ContainerAppsPatchesClient) SkipConfigureThenPoll(ctx context.Context, id PatchId, input PatchSkipConfig) error
SkipConfigureThenPoll performs SkipConfigure then polls until it's completed
type DeleteOperationResponse ¶
type DetectionStatus ¶
type DetectionStatus string
const ( DetectionStatusFailed DetectionStatus = "Failed" DetectionStatusRegistryLoginFailed DetectionStatus = "RegistryLoginFailed" DetectionStatusSucceeded DetectionStatus = "Succeeded" )
func (*DetectionStatus) UnmarshalJSON ¶
func (s *DetectionStatus) UnmarshalJSON(bytes []byte) error
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ContainerAppsPatchResource }
type ListByContainerAppCompleteResult ¶
type ListByContainerAppCompleteResult struct { LatestHttpResponse *http.Response Items []ContainerAppsPatchResource }
type ListByContainerAppCustomPager ¶
func (*ListByContainerAppCustomPager) NextPageLink ¶
func (p *ListByContainerAppCustomPager) NextPageLink() *odata.Link
type ListByContainerAppOperationOptions ¶
type ListByContainerAppOperationOptions struct {
Filter *string
}
func DefaultListByContainerAppOperationOptions ¶
func DefaultListByContainerAppOperationOptions() ListByContainerAppOperationOptions
func (ListByContainerAppOperationOptions) ToHeaders ¶
func (o ListByContainerAppOperationOptions) ToHeaders() *client.Headers
func (ListByContainerAppOperationOptions) ToOData ¶
func (o ListByContainerAppOperationOptions) ToOData() *odata.Query
func (ListByContainerAppOperationOptions) ToQuery ¶
func (o ListByContainerAppOperationOptions) ToQuery() *client.QueryParams
type ListByContainerAppOperationResponse ¶
type ListByContainerAppOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ContainerAppsPatchResource }
type PatchApplyStatus ¶
type PatchApplyStatus string
const ( PatchApplyStatusCanceled PatchApplyStatus = "Canceled" PatchApplyStatusCreatingRevision PatchApplyStatus = "CreatingRevision" PatchApplyStatusImagePushPullFailed PatchApplyStatus = "ImagePushPullFailed" PatchApplyStatusManuallySkipped PatchApplyStatus = "ManuallySkipped" PatchApplyStatusNotStarted PatchApplyStatus = "NotStarted" PatchApplyStatusRebaseFailed PatchApplyStatus = "RebaseFailed" PatchApplyStatusRebaseInProgress PatchApplyStatus = "RebaseInProgress" PatchApplyStatusRevisionCreationFailed PatchApplyStatus = "RevisionCreationFailed" PatchApplyStatusSucceeded PatchApplyStatus = "Succeeded" )
func (*PatchApplyStatus) UnmarshalJSON ¶
func (s *PatchApplyStatus) UnmarshalJSON(bytes []byte) error
type PatchDetails ¶
type PatchDetails struct { DetectionStatus DetectionStatus `json:"detectionStatus"` LastDetectionTime string `json:"lastDetectionTime"` NewImageName *string `json:"newImageName,omitempty"` NewLayer *PatchDetailsNewLayer `json:"newLayer,omitempty"` OldLayer *PatchDetailsOldLayer `json:"oldLayer,omitempty"` PatchType *PatchType `json:"patchType,omitempty"` TargetContainerName string `json:"targetContainerName"` TargetImage string `json:"targetImage"` }
func (*PatchDetails) GetLastDetectionTimeAsTime ¶
func (o *PatchDetails) GetLastDetectionTimeAsTime() (*time.Time, error)
func (*PatchDetails) SetLastDetectionTimeAsTime ¶
func (o *PatchDetails) SetLastDetectionTimeAsTime(input time.Time)
type PatchDetailsNewLayer ¶
type PatchDetailsOldLayer ¶
type PatchId ¶
type PatchId struct { SubscriptionId string ResourceGroupName string ContainerAppName string PatchName string }
PatchId is a struct representing the Resource ID for a Patch
func NewPatchID ¶
func NewPatchID(subscriptionId string, resourceGroupName string, containerAppName string, patchName string) PatchId
NewPatchID returns a new PatchId struct
func ParsePatchID ¶
ParsePatchID parses 'input' into a PatchId
func ParsePatchIDInsensitively ¶
ParsePatchIDInsensitively parses 'input' case-insensitively into a PatchId note: this method should only be used for API response data and not user input
func (*PatchId) FromParseResult ¶
func (id *PatchId) FromParseResult(input resourceids.ParseResult) error
func (PatchId) Segments ¶
func (id PatchId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Patch ID
type PatchProperties ¶
type PatchProperties struct { CreatedAt *string `json:"createdAt,omitempty"` LastModifiedAt *string `json:"lastModifiedAt,omitempty"` PatchApplyStatus *PatchApplyStatus `json:"patchApplyStatus,omitempty"` PatchDetails *[]PatchDetails `json:"patchDetails,omitempty"` TargetContainerAppId *string `json:"targetContainerAppId,omitempty"` TargetEnvironmentId *string `json:"targetEnvironmentId,omitempty"` TargetRevisionId *string `json:"targetRevisionId,omitempty"` }
func (*PatchProperties) GetCreatedAtAsTime ¶
func (o *PatchProperties) GetCreatedAtAsTime() (*time.Time, error)
func (*PatchProperties) GetLastModifiedAtAsTime ¶
func (o *PatchProperties) GetLastModifiedAtAsTime() (*time.Time, error)
func (*PatchProperties) SetCreatedAtAsTime ¶
func (o *PatchProperties) SetCreatedAtAsTime(input time.Time)
func (*PatchProperties) SetLastModifiedAtAsTime ¶
func (o *PatchProperties) SetLastModifiedAtAsTime(input time.Time)
type PatchSkipConfig ¶
type PatchSkipConfig struct {
Skip *bool `json:"skip,omitempty"`
}
Source Files ¶
- client.go
- constants.go
- id_containerapp.go
- id_patch.go
- method_apply.go
- method_delete.go
- method_get.go
- method_listbycontainerapp.go
- method_skipconfigure.go
- model_containerappspatchresource.go
- model_patchdetails.go
- model_patchdetailsnewlayer.go
- model_patchdetailsoldlayer.go
- model_patchproperties.go
- model_patchskipconfig.go
- predicates.go
- version.go