Documentation ¶
Index ¶
- func PossibleValuesForDependencyCondition() []string
- func PossibleValuesForParameterType() []string
- func PossibleValuesForVariableType() []string
- func ValidateFactoryID(input interface{}, key string) (warnings []string, errors []error)
- func ValidatePipelineID(input interface{}, key string) (warnings []string, errors []error)
- type Activity
- type ActivityDependency
- type CreateOrUpdateOperationOptions
- type CreateOrUpdateOperationResponse
- type CreateRunOperationOptions
- type CreateRunOperationResponse
- type CreateRunResponse
- type DeleteOperationResponse
- type DependencyCondition
- type FactoryId
- type GetOperationOptions
- type GetOperationResponse
- type ListByFactoryCompleteResult
- type ListByFactoryOperationResponse
- type ParameterSpecification
- type ParameterType
- type Pipeline
- type PipelineElapsedTimeMetricPolicy
- type PipelineFolder
- type PipelineId
- type PipelinePolicy
- type PipelineResource
- type PipelineResourceOperationPredicate
- type PipelinesClient
- func (c PipelinesClient) CreateOrUpdate(ctx context.Context, id PipelineId, input PipelineResource, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c PipelinesClient) CreateRun(ctx context.Context, id PipelineId, input map[string]interface{}, ...) (result CreateRunOperationResponse, err error)
- func (c PipelinesClient) Delete(ctx context.Context, id PipelineId) (result DeleteOperationResponse, err error)
- func (c PipelinesClient) Get(ctx context.Context, id PipelineId, options GetOperationOptions) (result GetOperationResponse, err error)
- func (c PipelinesClient) ListByFactory(ctx context.Context, id FactoryId) (resp ListByFactoryOperationResponse, err error)
- func (c PipelinesClient) ListByFactoryComplete(ctx context.Context, id FactoryId) (ListByFactoryCompleteResult, error)
- func (c PipelinesClient) ListByFactoryCompleteMatchingPredicate(ctx context.Context, id FactoryId, ...) (resp ListByFactoryCompleteResult, err error)
- type UserProperty
- type VariableSpecification
- type VariableType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForDependencyCondition ¶
func PossibleValuesForDependencyCondition() []string
func PossibleValuesForParameterType ¶
func PossibleValuesForParameterType() []string
func PossibleValuesForVariableType ¶
func PossibleValuesForVariableType() []string
func ValidateFactoryID ¶
ValidateFactoryID checks that 'input' can be parsed as a Factory ID
func ValidatePipelineID ¶
ValidatePipelineID checks that 'input' can be parsed as a Pipeline ID
Types ¶
type Activity ¶
type Activity struct { DependsOn *[]ActivityDependency `json:"dependsOn,omitempty"` Description *string `json:"description,omitempty"` Name string `json:"name"` Type string `json:"type"` UserProperties *[]UserProperty `json:"userProperties,omitempty"` }
type ActivityDependency ¶
type ActivityDependency struct { Activity string `json:"activity"` DependencyConditions []DependencyCondition `json:"dependencyConditions"` }
type CreateOrUpdateOperationOptions ¶
type CreateOrUpdateOperationOptions struct {
IfMatch *string
}
func DefaultCreateOrUpdateOperationOptions ¶
func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response Model *PipelineResource }
type CreateRunOperationOptions ¶
type CreateRunOperationOptions struct { IsRecovery *bool ReferencePipelineRunId *string StartActivityName *string StartFromFailure *bool }
func DefaultCreateRunOperationOptions ¶
func DefaultCreateRunOperationOptions() CreateRunOperationOptions
type CreateRunOperationResponse ¶
type CreateRunOperationResponse struct { HttpResponse *http.Response Model *CreateRunResponse }
type CreateRunResponse ¶
type CreateRunResponse struct {
RunId string `json:"runId"`
}
type DeleteOperationResponse ¶
type DependencyCondition ¶
type DependencyCondition string
const ( DependencyConditionCompleted DependencyCondition = "Completed" DependencyConditionFailed DependencyCondition = "Failed" DependencyConditionSkipped DependencyCondition = "Skipped" DependencyConditionSucceeded DependencyCondition = "Succeeded" )
type FactoryId ¶
FactoryId is a struct representing the Resource ID for a Factory
func NewFactoryID ¶
NewFactoryID returns a new FactoryId struct
func ParseFactoryID ¶
ParseFactoryID parses 'input' into a FactoryId
func ParseFactoryIDInsensitively ¶
ParseFactoryIDInsensitively parses 'input' case-insensitively into a FactoryId note: this method should only be used for API response data and not user input
func (FactoryId) Segments ¶
func (id FactoryId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Factory ID
type GetOperationOptions ¶
type GetOperationOptions struct {
IfNoneMatch *string
}
func DefaultGetOperationOptions ¶
func DefaultGetOperationOptions() GetOperationOptions
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *PipelineResource }
type ListByFactoryCompleteResult ¶
type ListByFactoryCompleteResult struct {
Items []PipelineResource
}
type ListByFactoryOperationResponse ¶
type ListByFactoryOperationResponse struct { HttpResponse *http.Response Model *[]PipelineResource // contains filtered or unexported fields }
func (ListByFactoryOperationResponse) HasMore ¶
func (r ListByFactoryOperationResponse) HasMore() bool
func (ListByFactoryOperationResponse) LoadMore ¶
func (r ListByFactoryOperationResponse) LoadMore(ctx context.Context) (resp ListByFactoryOperationResponse, err error)
type ParameterSpecification ¶
type ParameterSpecification struct { DefaultValue *interface{} `json:"defaultValue,omitempty"` Type ParameterType `json:"type"` }
type ParameterType ¶
type ParameterType string
const ( ParameterTypeArray ParameterType = "Array" ParameterTypeBool ParameterType = "Bool" ParameterTypeFloat ParameterType = "Float" ParameterTypeInt ParameterType = "Int" ParameterTypeObject ParameterType = "Object" ParameterTypeSecureString ParameterType = "SecureString" ParameterTypeString ParameterType = "String" )
type Pipeline ¶
type Pipeline struct { Activities *[]Activity `json:"activities,omitempty"` Annotations *[]interface{} `json:"annotations,omitempty"` Concurrency *int64 `json:"concurrency,omitempty"` Description *string `json:"description,omitempty"` Folder *PipelineFolder `json:"folder,omitempty"` Parameters *map[string]ParameterSpecification `json:"parameters,omitempty"` Policy *PipelinePolicy `json:"policy,omitempty"` RunDimensions *map[string]interface{} `json:"runDimensions,omitempty"` Variables *map[string]VariableSpecification `json:"variables,omitempty"` }
type PipelineElapsedTimeMetricPolicy ¶
type PipelineElapsedTimeMetricPolicy struct {
Duration *interface{} `json:"duration,omitempty"`
}
type PipelineFolder ¶
type PipelineFolder struct {
Name *string `json:"name,omitempty"`
}
type PipelineId ¶
type PipelineId struct { SubscriptionId string ResourceGroupName string FactoryName string PipelineName string }
PipelineId is a struct representing the Resource ID for a Pipeline
func NewPipelineID ¶
func NewPipelineID(subscriptionId string, resourceGroupName string, factoryName string, pipelineName string) PipelineId
NewPipelineID returns a new PipelineId struct
func ParsePipelineID ¶
func ParsePipelineID(input string) (*PipelineId, error)
ParsePipelineID parses 'input' into a PipelineId
func ParsePipelineIDInsensitively ¶
func ParsePipelineIDInsensitively(input string) (*PipelineId, error)
ParsePipelineIDInsensitively parses 'input' case-insensitively into a PipelineId note: this method should only be used for API response data and not user input
func (PipelineId) Segments ¶
func (id PipelineId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Pipeline ID
func (PipelineId) String ¶
func (id PipelineId) String() string
String returns a human-readable description of this Pipeline ID
type PipelinePolicy ¶
type PipelinePolicy struct {
ElapsedTimeMetric *PipelineElapsedTimeMetricPolicy `json:"elapsedTimeMetric,omitempty"`
}
type PipelineResource ¶
type PipelineResourceOperationPredicate ¶
type PipelineResourceOperationPredicate struct { Etag *string Id *string Name *string Type *string }
func (PipelineResourceOperationPredicate) Matches ¶
func (p PipelineResourceOperationPredicate) Matches(input PipelineResource) bool
type PipelinesClient ¶
func NewPipelinesClientWithBaseURI ¶
func NewPipelinesClientWithBaseURI(endpoint string) PipelinesClient
func (PipelinesClient) CreateOrUpdate ¶
func (c PipelinesClient) CreateOrUpdate(ctx context.Context, id PipelineId, input PipelineResource, options CreateOrUpdateOperationOptions) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (PipelinesClient) CreateRun ¶
func (c PipelinesClient) CreateRun(ctx context.Context, id PipelineId, input map[string]interface{}, options CreateRunOperationOptions) (result CreateRunOperationResponse, err error)
CreateRun ...
func (PipelinesClient) Delete ¶
func (c PipelinesClient) Delete(ctx context.Context, id PipelineId) (result DeleteOperationResponse, err error)
Delete ...
func (PipelinesClient) Get ¶
func (c PipelinesClient) Get(ctx context.Context, id PipelineId, options GetOperationOptions) (result GetOperationResponse, err error)
Get ...
func (PipelinesClient) ListByFactory ¶
func (c PipelinesClient) ListByFactory(ctx context.Context, id FactoryId) (resp ListByFactoryOperationResponse, err error)
ListByFactory ...
func (PipelinesClient) ListByFactoryComplete ¶
func (c PipelinesClient) ListByFactoryComplete(ctx context.Context, id FactoryId) (ListByFactoryCompleteResult, error)
ListByFactoryComplete retrieves all of the results into a single object
func (PipelinesClient) ListByFactoryCompleteMatchingPredicate ¶
func (c PipelinesClient) ListByFactoryCompleteMatchingPredicate(ctx context.Context, id FactoryId, predicate PipelineResourceOperationPredicate) (resp ListByFactoryCompleteResult, err error)
ListByFactoryCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type UserProperty ¶
type UserProperty struct { Name string `json:"name"` Value interface{} `json:"value"` }
type VariableSpecification ¶
type VariableSpecification struct { DefaultValue *interface{} `json:"defaultValue,omitempty"` Type VariableType `json:"type"` }
type VariableType ¶
type VariableType string
const ( VariableTypeArray VariableType = "Array" VariableTypeBool VariableType = "Bool" VariableTypeString VariableType = "String" )
Source Files ¶
- client.go
- constants.go
- id_factory.go
- id_pipeline.go
- method_createorupdate_autorest.go
- method_createrun_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_listbyfactory_autorest.go
- model_activity.go
- model_activitydependency.go
- model_createrunresponse.go
- model_parameterspecification.go
- model_pipeline.go
- model_pipelineelapsedtimemetricpolicy.go
- model_pipelinefolder.go
- model_pipelinepolicy.go
- model_pipelineresource.go
- model_userproperty.go
- model_variablespecification.go
- predicates.go
- version.go