Documentation ¶
Index ¶
- func PossibleValuesForSourceControlOperationState() []string
- func ValidateContainerAppID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateSourceControlID(input interface{}, key string) (warnings []string, errors []error)
- type AzureCredentials
- type ContainerAppId
- type ContainerAppsSourceControlsClient
- func (c ContainerAppsSourceControlsClient) CreateOrUpdate(ctx context.Context, id SourceControlId, input SourceControl) (result CreateOrUpdateOperationResponse, err error)
- func (c ContainerAppsSourceControlsClient) CreateOrUpdateThenPoll(ctx context.Context, id SourceControlId, input SourceControl) error
- func (c ContainerAppsSourceControlsClient) Delete(ctx context.Context, id SourceControlId) (result DeleteOperationResponse, err error)
- func (c ContainerAppsSourceControlsClient) DeleteThenPoll(ctx context.Context, id SourceControlId) error
- func (c ContainerAppsSourceControlsClient) Get(ctx context.Context, id SourceControlId) (result GetOperationResponse, err error)
- func (c ContainerAppsSourceControlsClient) ListByContainerApp(ctx context.Context, id ContainerAppId) (resp ListByContainerAppOperationResponse, err error)
- func (c ContainerAppsSourceControlsClient) ListByContainerAppComplete(ctx context.Context, id ContainerAppId) (ListByContainerAppCompleteResult, error)
- func (c ContainerAppsSourceControlsClient) ListByContainerAppCompleteMatchingPredicate(ctx context.Context, id ContainerAppId, ...) (resp ListByContainerAppCompleteResult, err error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type GithubActionConfiguration
- type ListByContainerAppCompleteResult
- type ListByContainerAppOperationResponse
- type RegistryInfo
- type SourceControl
- type SourceControlId
- type SourceControlOperationPredicate
- type SourceControlOperationState
- type SourceControlProperties
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForSourceControlOperationState ¶
func PossibleValuesForSourceControlOperationState() []string
func ValidateContainerAppID ¶
ValidateContainerAppID checks that 'input' can be parsed as a Container App ID
func ValidateSourceControlID ¶
ValidateSourceControlID checks that 'input' can be parsed as a Source Control ID
Types ¶
type AzureCredentials ¶
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 ¶ added in v0.20231127.1171502
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 ContainerAppsSourceControlsClient ¶
type ContainerAppsSourceControlsClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewContainerAppsSourceControlsClientWithBaseURI ¶
func NewContainerAppsSourceControlsClientWithBaseURI(endpoint string) ContainerAppsSourceControlsClient
func (ContainerAppsSourceControlsClient) CreateOrUpdate ¶
func (c ContainerAppsSourceControlsClient) CreateOrUpdate(ctx context.Context, id SourceControlId, input SourceControl) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ContainerAppsSourceControlsClient) CreateOrUpdateThenPoll ¶
func (c ContainerAppsSourceControlsClient) CreateOrUpdateThenPoll(ctx context.Context, id SourceControlId, input SourceControl) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (ContainerAppsSourceControlsClient) Delete ¶
func (c ContainerAppsSourceControlsClient) Delete(ctx context.Context, id SourceControlId) (result DeleteOperationResponse, err error)
Delete ...
func (ContainerAppsSourceControlsClient) DeleteThenPoll ¶
func (c ContainerAppsSourceControlsClient) DeleteThenPoll(ctx context.Context, id SourceControlId) error
DeleteThenPoll performs Delete then polls until it's completed
func (ContainerAppsSourceControlsClient) Get ¶
func (c ContainerAppsSourceControlsClient) Get(ctx context.Context, id SourceControlId) (result GetOperationResponse, err error)
Get ...
func (ContainerAppsSourceControlsClient) ListByContainerApp ¶
func (c ContainerAppsSourceControlsClient) ListByContainerApp(ctx context.Context, id ContainerAppId) (resp ListByContainerAppOperationResponse, err error)
ListByContainerApp ...
func (ContainerAppsSourceControlsClient) ListByContainerAppComplete ¶
func (c ContainerAppsSourceControlsClient) ListByContainerAppComplete(ctx context.Context, id ContainerAppId) (ListByContainerAppCompleteResult, error)
ListByContainerAppComplete retrieves all of the results into a single object
func (ContainerAppsSourceControlsClient) ListByContainerAppCompleteMatchingPredicate ¶
func (c ContainerAppsSourceControlsClient) ListByContainerAppCompleteMatchingPredicate(ctx context.Context, id ContainerAppId, predicate SourceControlOperationPredicate) (resp ListByContainerAppCompleteResult, err error)
ListByContainerAppCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response Model *SourceControl }
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *SourceControl }
type GithubActionConfiguration ¶
type GithubActionConfiguration struct { AzureCredentials *AzureCredentials `json:"azureCredentials,omitempty"` ContextPath *string `json:"contextPath,omitempty"` Image *string `json:"image,omitempty"` Os *string `json:"os,omitempty"` PublishType *string `json:"publishType,omitempty"` RegistryInfo *RegistryInfo `json:"registryInfo,omitempty"` RuntimeStack *string `json:"runtimeStack,omitempty"` RuntimeVersion *string `json:"runtimeVersion,omitempty"` }
type ListByContainerAppCompleteResult ¶
type ListByContainerAppCompleteResult struct {
Items []SourceControl
}
type ListByContainerAppOperationResponse ¶
type ListByContainerAppOperationResponse struct { HttpResponse *http.Response Model *[]SourceControl // contains filtered or unexported fields }
func (ListByContainerAppOperationResponse) HasMore ¶
func (r ListByContainerAppOperationResponse) HasMore() bool
func (ListByContainerAppOperationResponse) LoadMore ¶
func (r ListByContainerAppOperationResponse) LoadMore(ctx context.Context) (resp ListByContainerAppOperationResponse, err error)
type RegistryInfo ¶
type SourceControl ¶
type SourceControl struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *SourceControlProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type SourceControlId ¶
type SourceControlId struct { SubscriptionId string ResourceGroupName string ContainerAppName string SourceControlName string }
SourceControlId is a struct representing the Resource ID for a Source Control
func NewSourceControlID ¶
func NewSourceControlID(subscriptionId string, resourceGroupName string, containerAppName string, sourceControlName string) SourceControlId
NewSourceControlID returns a new SourceControlId struct
func ParseSourceControlID ¶
func ParseSourceControlID(input string) (*SourceControlId, error)
ParseSourceControlID parses 'input' into a SourceControlId
func ParseSourceControlIDInsensitively ¶
func ParseSourceControlIDInsensitively(input string) (*SourceControlId, error)
ParseSourceControlIDInsensitively parses 'input' case-insensitively into a SourceControlId note: this method should only be used for API response data and not user input
func (*SourceControlId) FromParseResult ¶ added in v0.20231127.1171502
func (id *SourceControlId) FromParseResult(input resourceids.ParseResult) error
func (SourceControlId) ID ¶
func (id SourceControlId) ID() string
ID returns the formatted Source Control ID
func (SourceControlId) Segments ¶
func (id SourceControlId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Source Control ID
func (SourceControlId) String ¶
func (id SourceControlId) String() string
String returns a human-readable description of this Source Control ID
type SourceControlOperationPredicate ¶
func (SourceControlOperationPredicate) Matches ¶
func (p SourceControlOperationPredicate) Matches(input SourceControl) bool
type SourceControlOperationState ¶
type SourceControlOperationState string
const ( SourceControlOperationStateCanceled SourceControlOperationState = "Canceled" SourceControlOperationStateFailed SourceControlOperationState = "Failed" SourceControlOperationStateInProgress SourceControlOperationState = "InProgress" SourceControlOperationStateSucceeded SourceControlOperationState = "Succeeded" )
type SourceControlProperties ¶
type SourceControlProperties struct { Branch *string `json:"branch,omitempty"` GitHubActionConfiguration *GithubActionConfiguration `json:"githubActionConfiguration,omitempty"` OperationState *SourceControlOperationState `json:"operationState,omitempty"` RepoUrl *string `json:"repoUrl,omitempty"` }
Source Files ¶
- client.go
- constants.go
- id_containerapp.go
- id_sourcecontrol.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_listbycontainerapp_autorest.go
- model_azurecredentials.go
- model_githubactionconfiguration.go
- model_registryinfo.go
- model_sourcecontrol.go
- model_sourcecontrolproperties.go
- predicates.go
- version.go