containerappssourcecontrols

package
v0.20220621.125715 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 21, 2022 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForSourceControlOperationState

func PossibleValuesForSourceControlOperationState() []string

func ValidateContainerAppID

func ValidateContainerAppID(input interface{}, key string) (warnings []string, errors []error)

ValidateContainerAppID checks that 'input' can be parsed as a Container App ID

func ValidateSourceControlID

func ValidateSourceControlID(input interface{}, key string) (warnings []string, errors []error)

ValidateSourceControlID checks that 'input' can be parsed as a Source Control ID

Types

type AzureCredentials

type AzureCredentials struct {
	ClientId       *string `json:"clientId,omitempty"`
	ClientSecret   *string `json:"clientSecret,omitempty"`
	SubscriptionId *string `json:"subscriptionId,omitempty"`
	TenantId       *string `json:"tenantId,omitempty"`
}

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) 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

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

Delete ...

func (ContainerAppsSourceControlsClient) DeleteThenPoll

DeleteThenPoll performs Delete then polls until it's completed

func (ContainerAppsSourceControlsClient) Get

Get ...

func (ContainerAppsSourceControlsClient) ListByContainerApp

ListByContainerApp ...

func (ContainerAppsSourceControlsClient) ListByContainerAppComplete

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
}

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 (ListByContainerAppOperationResponse) LoadMore

type RegistryInfo

type RegistryInfo struct {
	RegistryPassword *string `json:"registryPassword,omitempty"`
	RegistryUrl      *string `json:"registryUrl,omitempty"`
	RegistryUserName *string `json:"registryUserName,omitempty"`
}

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) 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

type SourceControlOperationPredicate struct {
	Id   *string
	Name *string
	Type *string
}

func (SourceControlOperationPredicate) Matches

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL