Documentation ¶
Index ¶
- func PossibleValuesForPipelineRunSourceType() []string
- func PossibleValuesForPipelineRunTargetType() []string
- func PossibleValuesForPipelineSourceType() []string
- func PossibleValuesForProvisioningState() []string
- func ValidatePipelineRunID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateRegistryID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOperationResponse
- type DeleteOperationResponse
- type ExportPipelineTargetProperties
- type GetOperationResponse
- type ImportPipelineSourceProperties
- type ListCompleteResult
- type ListCustomPager
- type ListOperationResponse
- type PipelineRun
- type PipelineRunId
- type PipelineRunOperationPredicate
- type PipelineRunProperties
- type PipelineRunRequest
- type PipelineRunResponse
- type PipelineRunSourceProperties
- type PipelineRunSourceType
- type PipelineRunTargetProperties
- type PipelineRunTargetType
- type PipelineRunsClient
- func (c PipelineRunsClient) Create(ctx context.Context, id PipelineRunId, input PipelineRun) (result CreateOperationResponse, err error)
- func (c PipelineRunsClient) CreateThenPoll(ctx context.Context, id PipelineRunId, input PipelineRun) error
- func (c PipelineRunsClient) Delete(ctx context.Context, id PipelineRunId) (result DeleteOperationResponse, err error)
- func (c PipelineRunsClient) DeleteThenPoll(ctx context.Context, id PipelineRunId) error
- func (c PipelineRunsClient) Get(ctx context.Context, id PipelineRunId) (result GetOperationResponse, err error)
- func (c PipelineRunsClient) List(ctx context.Context, id RegistryId) (result ListOperationResponse, err error)
- func (c PipelineRunsClient) ListComplete(ctx context.Context, id RegistryId) (ListCompleteResult, error)
- func (c PipelineRunsClient) ListCompleteMatchingPredicate(ctx context.Context, id RegistryId, predicate PipelineRunOperationPredicate) (result ListCompleteResult, err error)
- type PipelineSourceTriggerDescriptor
- type PipelineSourceType
- type PipelineTriggerDescriptor
- type ProgressProperties
- type ProvisioningState
- type RegistryId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForPipelineRunSourceType ¶
func PossibleValuesForPipelineRunSourceType() []string
func PossibleValuesForPipelineRunTargetType ¶
func PossibleValuesForPipelineRunTargetType() []string
func PossibleValuesForPipelineSourceType ¶
func PossibleValuesForPipelineSourceType() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidatePipelineRunID ¶
ValidatePipelineRunID checks that 'input' can be parsed as a Pipeline Run ID
func ValidateRegistryID ¶
ValidateRegistryID checks that 'input' can be parsed as a Registry ID
Types ¶
type CreateOperationResponse ¶
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PipelineRun }
type ImportPipelineSourceProperties ¶
type ImportPipelineSourceProperties struct { KeyVaultUri string `json:"keyVaultUri"` Type *PipelineSourceType `json:"type,omitempty"` Uri *string `json:"uri,omitempty"` }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []PipelineRun }
type ListCustomPager ¶ added in v0.20240628.1153531
func (*ListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]PipelineRun }
type PipelineRun ¶
type PipelineRun struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *PipelineRunProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type PipelineRunId ¶
type PipelineRunId struct { SubscriptionId string ResourceGroupName string RegistryName string PipelineRunName string }
PipelineRunId is a struct representing the Resource ID for a Pipeline Run
func NewPipelineRunID ¶
func NewPipelineRunID(subscriptionId string, resourceGroupName string, registryName string, pipelineRunName string) PipelineRunId
NewPipelineRunID returns a new PipelineRunId struct
func ParsePipelineRunID ¶
func ParsePipelineRunID(input string) (*PipelineRunId, error)
ParsePipelineRunID parses 'input' into a PipelineRunId
func ParsePipelineRunIDInsensitively ¶
func ParsePipelineRunIDInsensitively(input string) (*PipelineRunId, error)
ParsePipelineRunIDInsensitively parses 'input' case-insensitively into a PipelineRunId note: this method should only be used for API response data and not user input
func (*PipelineRunId) FromParseResult ¶
func (id *PipelineRunId) FromParseResult(input resourceids.ParseResult) error
func (PipelineRunId) ID ¶
func (id PipelineRunId) ID() string
ID returns the formatted Pipeline Run ID
func (PipelineRunId) Segments ¶
func (id PipelineRunId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Pipeline Run ID
func (PipelineRunId) String ¶
func (id PipelineRunId) String() string
String returns a human-readable description of this Pipeline Run ID
type PipelineRunOperationPredicate ¶
func (PipelineRunOperationPredicate) Matches ¶
func (p PipelineRunOperationPredicate) Matches(input PipelineRun) bool
type PipelineRunProperties ¶
type PipelineRunProperties struct { ForceUpdateTag *string `json:"forceUpdateTag,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` Request *PipelineRunRequest `json:"request,omitempty"` Response *PipelineRunResponse `json:"response,omitempty"` }
type PipelineRunRequest ¶
type PipelineRunRequest struct { Artifacts *[]string `json:"artifacts,omitempty"` CatalogDigest *string `json:"catalogDigest,omitempty"` PipelineResourceId *string `json:"pipelineResourceId,omitempty"` Source *PipelineRunSourceProperties `json:"source,omitempty"` Target *PipelineRunTargetProperties `json:"target,omitempty"` }
type PipelineRunResponse ¶
type PipelineRunResponse struct { CatalogDigest *string `json:"catalogDigest,omitempty"` FinishTime *string `json:"finishTime,omitempty"` ImportedArtifacts *[]string `json:"importedArtifacts,omitempty"` PipelineRunErrorMessage *string `json:"pipelineRunErrorMessage,omitempty"` Progress *ProgressProperties `json:"progress,omitempty"` Source *ImportPipelineSourceProperties `json:"source,omitempty"` StartTime *string `json:"startTime,omitempty"` Status *string `json:"status,omitempty"` Target *ExportPipelineTargetProperties `json:"target,omitempty"` Trigger *PipelineTriggerDescriptor `json:"trigger,omitempty"` }
func (*PipelineRunResponse) GetFinishTimeAsTime ¶
func (o *PipelineRunResponse) GetFinishTimeAsTime() (*time.Time, error)
func (*PipelineRunResponse) GetStartTimeAsTime ¶
func (o *PipelineRunResponse) GetStartTimeAsTime() (*time.Time, error)
func (*PipelineRunResponse) SetFinishTimeAsTime ¶
func (o *PipelineRunResponse) SetFinishTimeAsTime(input time.Time)
func (*PipelineRunResponse) SetStartTimeAsTime ¶
func (o *PipelineRunResponse) SetStartTimeAsTime(input time.Time)
type PipelineRunSourceProperties ¶
type PipelineRunSourceProperties struct { Name *string `json:"name,omitempty"` Type *PipelineRunSourceType `json:"type,omitempty"` }
type PipelineRunSourceType ¶
type PipelineRunSourceType string
const (
PipelineRunSourceTypeAzureStorageBlob PipelineRunSourceType = "AzureStorageBlob"
)
func (*PipelineRunSourceType) UnmarshalJSON ¶
func (s *PipelineRunSourceType) UnmarshalJSON(bytes []byte) error
type PipelineRunTargetProperties ¶
type PipelineRunTargetProperties struct { Name *string `json:"name,omitempty"` Type *PipelineRunTargetType `json:"type,omitempty"` }
type PipelineRunTargetType ¶
type PipelineRunTargetType string
const (
PipelineRunTargetTypeAzureStorageBlob PipelineRunTargetType = "AzureStorageBlob"
)
func (*PipelineRunTargetType) UnmarshalJSON ¶
func (s *PipelineRunTargetType) UnmarshalJSON(bytes []byte) error
type PipelineRunsClient ¶
type PipelineRunsClient struct {
Client *resourcemanager.Client
}
func NewPipelineRunsClientWithBaseURI ¶
func NewPipelineRunsClientWithBaseURI(sdkApi sdkEnv.Api) (*PipelineRunsClient, error)
func (PipelineRunsClient) Create ¶
func (c PipelineRunsClient) Create(ctx context.Context, id PipelineRunId, input PipelineRun) (result CreateOperationResponse, err error)
Create ...
func (PipelineRunsClient) CreateThenPoll ¶
func (c PipelineRunsClient) CreateThenPoll(ctx context.Context, id PipelineRunId, input PipelineRun) error
CreateThenPoll performs Create then polls until it's completed
func (PipelineRunsClient) Delete ¶
func (c PipelineRunsClient) Delete(ctx context.Context, id PipelineRunId) (result DeleteOperationResponse, err error)
Delete ...
func (PipelineRunsClient) DeleteThenPoll ¶
func (c PipelineRunsClient) DeleteThenPoll(ctx context.Context, id PipelineRunId) error
DeleteThenPoll performs Delete then polls until it's completed
func (PipelineRunsClient) Get ¶
func (c PipelineRunsClient) Get(ctx context.Context, id PipelineRunId) (result GetOperationResponse, err error)
Get ...
func (PipelineRunsClient) List ¶
func (c PipelineRunsClient) List(ctx context.Context, id RegistryId) (result ListOperationResponse, err error)
List ...
func (PipelineRunsClient) ListComplete ¶
func (c PipelineRunsClient) ListComplete(ctx context.Context, id RegistryId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (PipelineRunsClient) ListCompleteMatchingPredicate ¶
func (c PipelineRunsClient) ListCompleteMatchingPredicate(ctx context.Context, id RegistryId, predicate PipelineRunOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type PipelineSourceTriggerDescriptor ¶
type PipelineSourceTriggerDescriptor struct {
Timestamp *string `json:"timestamp,omitempty"`
}
func (*PipelineSourceTriggerDescriptor) GetTimestampAsTime ¶
func (o *PipelineSourceTriggerDescriptor) GetTimestampAsTime() (*time.Time, error)
func (*PipelineSourceTriggerDescriptor) SetTimestampAsTime ¶
func (o *PipelineSourceTriggerDescriptor) SetTimestampAsTime(input time.Time)
type PipelineSourceType ¶
type PipelineSourceType string
const (
PipelineSourceTypeAzureStorageBlobContainer PipelineSourceType = "AzureStorageBlobContainer"
)
func (*PipelineSourceType) UnmarshalJSON ¶
func (s *PipelineSourceType) UnmarshalJSON(bytes []byte) error
type PipelineTriggerDescriptor ¶
type PipelineTriggerDescriptor struct {
SourceTrigger *PipelineSourceTriggerDescriptor `json:"sourceTrigger,omitempty"`
}
type ProgressProperties ¶
type ProgressProperties struct {
Percentage *string `json:"percentage,omitempty"`
}
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type RegistryId ¶
RegistryId is a struct representing the Resource ID for a Registry
func NewRegistryID ¶
func NewRegistryID(subscriptionId string, resourceGroupName string, registryName string) RegistryId
NewRegistryID returns a new RegistryId struct
func ParseRegistryID ¶
func ParseRegistryID(input string) (*RegistryId, error)
ParseRegistryID parses 'input' into a RegistryId
func ParseRegistryIDInsensitively ¶
func ParseRegistryIDInsensitively(input string) (*RegistryId, error)
ParseRegistryIDInsensitively parses 'input' case-insensitively into a RegistryId note: this method should only be used for API response data and not user input
func (*RegistryId) FromParseResult ¶
func (id *RegistryId) FromParseResult(input resourceids.ParseResult) error
func (RegistryId) Segments ¶
func (id RegistryId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Registry ID
func (RegistryId) String ¶
func (id RegistryId) String() string
String returns a human-readable description of this Registry ID
Source Files ¶
- client.go
- constants.go
- id_pipelinerun.go
- id_registry.go
- method_create.go
- method_delete.go
- method_get.go
- method_list.go
- model_exportpipelinetargetproperties.go
- model_importpipelinesourceproperties.go
- model_pipelinerun.go
- model_pipelinerunproperties.go
- model_pipelinerunrequest.go
- model_pipelinerunresponse.go
- model_pipelinerunsourceproperties.go
- model_pipelineruntargetproperties.go
- model_pipelinesourcetriggerdescriptor.go
- model_pipelinetriggerdescriptor.go
- model_progressproperties.go
- predicates.go
- version.go