Documentation ¶
Index ¶
- func PossibleValuesForBuildProvisioningState() []string
- func PossibleValuesForBuildStatus() []string
- func ValidateBuildID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateBuilderID(input interface{}, key string) (warnings []string, errors []error)
- type BuildAuthTokenListOperationResponse
- type BuildConfiguration
- type BuildId
- type BuildProperties
- type BuildProvisioningState
- type BuildResource
- type BuildResourceOperationPredicate
- type BuildStatus
- type BuildToken
- type BuilderId
- type BuildsClient
- func (c BuildsClient) BuildAuthTokenList(ctx context.Context, id BuildId) (result BuildAuthTokenListOperationResponse, err error)
- func (c BuildsClient) ByBuilderResourceList(ctx context.Context, id BuilderId) (result ByBuilderResourceListOperationResponse, err error)
- func (c BuildsClient) ByBuilderResourceListComplete(ctx context.Context, id BuilderId) (ByBuilderResourceListCompleteResult, error)
- func (c BuildsClient) ByBuilderResourceListCompleteMatchingPredicate(ctx context.Context, id BuilderId, predicate BuildResourceOperationPredicate) (result ByBuilderResourceListCompleteResult, err error)
- func (c BuildsClient) CreateOrUpdate(ctx context.Context, id BuildId, input BuildResource) (result CreateOrUpdateOperationResponse, err error)
- func (c BuildsClient) CreateOrUpdateThenPoll(ctx context.Context, id BuildId, input BuildResource) error
- func (c BuildsClient) Delete(ctx context.Context, id BuildId) (result DeleteOperationResponse, err error)
- func (c BuildsClient) DeleteThenPoll(ctx context.Context, id BuildId) error
- func (c BuildsClient) Get(ctx context.Context, id BuildId) (result GetOperationResponse, err error)
- type ByBuilderResourceListCompleteResult
- type ByBuilderResourceListCustomPager
- type ByBuilderResourceListOperationResponse
- type ContainerRegistryWithCustomImage
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type EnvironmentVariable
- type GetOperationResponse
- type HTTPGet
- type PreBuildStep
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForBuildProvisioningState ¶
func PossibleValuesForBuildProvisioningState() []string
func PossibleValuesForBuildStatus ¶
func PossibleValuesForBuildStatus() []string
func ValidateBuildID ¶
ValidateBuildID checks that 'input' can be parsed as a Build ID
func ValidateBuilderID ¶
ValidateBuilderID checks that 'input' can be parsed as a Builder ID
Types ¶
type BuildAuthTokenListOperationResponse ¶
type BuildAuthTokenListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *BuildToken }
type BuildConfiguration ¶
type BuildConfiguration struct { BaseOs *string `json:"baseOs,omitempty"` EnvironmentVariables *[]EnvironmentVariable `json:"environmentVariables,omitempty"` Platform *string `json:"platform,omitempty"` PlatformVersion *string `json:"platformVersion,omitempty"` PreBuildSteps *[]PreBuildStep `json:"preBuildSteps,omitempty"` }
type BuildId ¶
type BuildId struct { SubscriptionId string ResourceGroupName string BuilderName string BuildName string }
BuildId is a struct representing the Resource ID for a Build
func NewBuildID ¶
func NewBuildID(subscriptionId string, resourceGroupName string, builderName string, buildName string) BuildId
NewBuildID returns a new BuildId struct
func ParseBuildID ¶
ParseBuildID parses 'input' into a BuildId
func ParseBuildIDInsensitively ¶
ParseBuildIDInsensitively parses 'input' case-insensitively into a BuildId note: this method should only be used for API response data and not user input
func (*BuildId) FromParseResult ¶
func (id *BuildId) FromParseResult(input resourceids.ParseResult) error
func (BuildId) Segments ¶
func (id BuildId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Build ID
type BuildProperties ¶
type BuildProperties struct { BuildStatus *BuildStatus `json:"buildStatus,omitempty"` Configuration *BuildConfiguration `json:"configuration,omitempty"` DestinationContainerRegistry *ContainerRegistryWithCustomImage `json:"destinationContainerRegistry,omitempty"` LogStreamEndpoint *string `json:"logStreamEndpoint,omitempty"` ProvisioningState *BuildProvisioningState `json:"provisioningState,omitempty"` TokenEndpoint *string `json:"tokenEndpoint,omitempty"` UploadEndpoint *string `json:"uploadEndpoint,omitempty"` }
type BuildProvisioningState ¶
type BuildProvisioningState string
const ( BuildProvisioningStateCanceled BuildProvisioningState = "Canceled" BuildProvisioningStateCreating BuildProvisioningState = "Creating" BuildProvisioningStateDeleting BuildProvisioningState = "Deleting" BuildProvisioningStateFailed BuildProvisioningState = "Failed" BuildProvisioningStateSucceeded BuildProvisioningState = "Succeeded" BuildProvisioningStateUpdating BuildProvisioningState = "Updating" )
func (*BuildProvisioningState) UnmarshalJSON ¶
func (s *BuildProvisioningState) UnmarshalJSON(bytes []byte) error
type BuildResource ¶
type BuildResource struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *BuildProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type BuildResourceOperationPredicate ¶
func (BuildResourceOperationPredicate) Matches ¶
func (p BuildResourceOperationPredicate) Matches(input BuildResource) bool
type BuildStatus ¶
type BuildStatus string
const ( BuildStatusCanceled BuildStatus = "Canceled" BuildStatusFailed BuildStatus = "Failed" BuildStatusInProgress BuildStatus = "InProgress" BuildStatusNotStarted BuildStatus = "NotStarted" BuildStatusSucceeded BuildStatus = "Succeeded" )
func (*BuildStatus) UnmarshalJSON ¶
func (s *BuildStatus) UnmarshalJSON(bytes []byte) error
type BuildToken ¶
type BuildToken struct { Expires *string `json:"expires,omitempty"` Token *string `json:"token,omitempty"` }
func (*BuildToken) GetExpiresAsTime ¶
func (o *BuildToken) GetExpiresAsTime() (*time.Time, error)
func (*BuildToken) SetExpiresAsTime ¶
func (o *BuildToken) SetExpiresAsTime(input time.Time)
type BuilderId ¶
BuilderId is a struct representing the Resource ID for a Builder
func NewBuilderID ¶
NewBuilderID returns a new BuilderId struct
func ParseBuilderID ¶
ParseBuilderID parses 'input' into a BuilderId
func ParseBuilderIDInsensitively ¶
ParseBuilderIDInsensitively parses 'input' case-insensitively into a BuilderId note: this method should only be used for API response data and not user input
func (*BuilderId) FromParseResult ¶
func (id *BuilderId) FromParseResult(input resourceids.ParseResult) error
func (BuilderId) Segments ¶
func (id BuilderId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Builder ID
type BuildsClient ¶
type BuildsClient struct {
Client *resourcemanager.Client
}
func NewBuildsClientWithBaseURI ¶
func NewBuildsClientWithBaseURI(sdkApi sdkEnv.Api) (*BuildsClient, error)
func (BuildsClient) BuildAuthTokenList ¶
func (c BuildsClient) BuildAuthTokenList(ctx context.Context, id BuildId) (result BuildAuthTokenListOperationResponse, err error)
BuildAuthTokenList ...
func (BuildsClient) ByBuilderResourceList ¶
func (c BuildsClient) ByBuilderResourceList(ctx context.Context, id BuilderId) (result ByBuilderResourceListOperationResponse, err error)
ByBuilderResourceList ...
func (BuildsClient) ByBuilderResourceListComplete ¶
func (c BuildsClient) ByBuilderResourceListComplete(ctx context.Context, id BuilderId) (ByBuilderResourceListCompleteResult, error)
ByBuilderResourceListComplete retrieves all the results into a single object
func (BuildsClient) ByBuilderResourceListCompleteMatchingPredicate ¶
func (c BuildsClient) ByBuilderResourceListCompleteMatchingPredicate(ctx context.Context, id BuilderId, predicate BuildResourceOperationPredicate) (result ByBuilderResourceListCompleteResult, err error)
ByBuilderResourceListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (BuildsClient) CreateOrUpdate ¶
func (c BuildsClient) CreateOrUpdate(ctx context.Context, id BuildId, input BuildResource) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (BuildsClient) CreateOrUpdateThenPoll ¶
func (c BuildsClient) CreateOrUpdateThenPoll(ctx context.Context, id BuildId, input BuildResource) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (BuildsClient) Delete ¶
func (c BuildsClient) Delete(ctx context.Context, id BuildId) (result DeleteOperationResponse, err error)
Delete ...
func (BuildsClient) DeleteThenPoll ¶
func (c BuildsClient) DeleteThenPoll(ctx context.Context, id BuildId) error
DeleteThenPoll performs Delete then polls until it's completed
func (BuildsClient) Get ¶
func (c BuildsClient) Get(ctx context.Context, id BuildId) (result GetOperationResponse, err error)
Get ...
type ByBuilderResourceListCompleteResult ¶
type ByBuilderResourceListCompleteResult struct { LatestHttpResponse *http.Response Items []BuildResource }
type ByBuilderResourceListCustomPager ¶
func (*ByBuilderResourceListCustomPager) NextPageLink ¶
func (p *ByBuilderResourceListCustomPager) NextPageLink() *odata.Link
type ByBuilderResourceListOperationResponse ¶
type ByBuilderResourceListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]BuildResource }
type DeleteOperationResponse ¶
type EnvironmentVariable ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *BuildResource }
type PreBuildStep ¶
Source Files ¶
- client.go
- constants.go
- id_build.go
- id_builder.go
- method_buildauthtokenlist.go
- method_bybuilderresourcelist.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- model_buildconfiguration.go
- model_buildproperties.go
- model_buildresource.go
- model_buildtoken.go
- model_containerregistrywithcustomimage.go
- model_environmentvariable.go
- model_httpget.go
- model_prebuildstep.go
- predicates.go
- version.go