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) (result ListByContainerAppOperationResponse, err error)
- func (c ContainerAppsSourceControlsClient) ListByContainerAppComplete(ctx context.Context, id ContainerAppId) (ListByContainerAppCompleteResult, error)
- func (c ContainerAppsSourceControlsClient) ListByContainerAppCompleteMatchingPredicate(ctx context.Context, id ContainerAppId, ...) (result ListByContainerAppCompleteResult, err error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type GithubActionConfiguration
- type ListByContainerAppCompleteResult
- type ListByContainerAppCustomPager
- 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 ¶
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 *resourcemanager.Client
}
func NewContainerAppsSourceControlsClientWithBaseURI ¶
func NewContainerAppsSourceControlsClientWithBaseURI(sdkApi sdkEnv.Api) (*ContainerAppsSourceControlsClient, error)
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) (result ListByContainerAppOperationResponse, err error)
ListByContainerApp ...
func (ContainerAppsSourceControlsClient) ListByContainerAppComplete ¶
func (c ContainerAppsSourceControlsClient) ListByContainerAppComplete(ctx context.Context, id ContainerAppId) (ListByContainerAppCompleteResult, error)
ListByContainerAppComplete retrieves all the results into a single object
func (ContainerAppsSourceControlsClient) ListByContainerAppCompleteMatchingPredicate ¶
func (c ContainerAppsSourceControlsClient) ListByContainerAppCompleteMatchingPredicate(ctx context.Context, id ContainerAppId, predicate SourceControlOperationPredicate) (result ListByContainerAppCompleteResult, err error)
ListByContainerAppCompleteMatchingPredicate retrieves all the results and then applies the predicate
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SourceControl }
type GithubActionConfiguration ¶
type GithubActionConfiguration struct { AzureCredentials *AzureCredentials `json:"azureCredentials,omitempty"` ContextPath *string `json:"contextPath,omitempty"` GitHubPersonalAccessToken *string `json:"githubPersonalAccessToken,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 { LatestHttpResponse *http.Response Items []SourceControl }
type ListByContainerAppCustomPager ¶
func (*ListByContainerAppCustomPager) NextPageLink ¶
func (p *ListByContainerAppCustomPager) NextPageLink() *odata.Link
type ListByContainerAppOperationResponse ¶
type ListByContainerAppOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]SourceControl }
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 ¶
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" )
func (*SourceControlOperationState) UnmarshalJSON ¶
func (s *SourceControlOperationState) UnmarshalJSON(bytes []byte) error
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.go
- method_delete.go
- method_get.go
- method_listbycontainerapp.go
- model_azurecredentials.go
- model_githubactionconfiguration.go
- model_registryinfo.go
- model_sourcecontrol.go
- model_sourcecontrolproperties.go
- predicates.go
- version.go