Documentation ¶
Index ¶
- func PossibleValuesForActivityOnInactiveMarkAs() []string
- func PossibleValuesForActivityState() []string
- 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 ActivityOnInactiveMarkAs
- type ActivityState
- 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) (result ListByFactoryOperationResponse, err error)
- func (c PipelinesClient) ListByFactoryComplete(ctx context.Context, id FactoryId) (ListByFactoryCompleteResult, error)
- func (c PipelinesClient) ListByFactoryCompleteMatchingPredicate(ctx context.Context, id FactoryId, ...) (result ListByFactoryCompleteResult, err error)
- type UserProperty
- type VariableSpecification
- type VariableType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForActivityOnInactiveMarkAs ¶
func PossibleValuesForActivityOnInactiveMarkAs() []string
func PossibleValuesForActivityState ¶
func PossibleValuesForActivityState() []string
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"` OnInactiveMarkAs *ActivityOnInactiveMarkAs `json:"onInactiveMarkAs,omitempty"` State *ActivityState `json:"state,omitempty"` Type string `json:"type"` UserProperties *[]UserProperty `json:"userProperties,omitempty"` }
type ActivityDependency ¶
type ActivityDependency struct { Activity string `json:"activity"` DependencyConditions []DependencyCondition `json:"dependencyConditions"` }
type ActivityOnInactiveMarkAs ¶
type ActivityOnInactiveMarkAs string
const ( ActivityOnInactiveMarkAsFailed ActivityOnInactiveMarkAs = "Failed" ActivityOnInactiveMarkAsSkipped ActivityOnInactiveMarkAs = "Skipped" ActivityOnInactiveMarkAsSucceeded ActivityOnInactiveMarkAs = "Succeeded" )
func (*ActivityOnInactiveMarkAs) UnmarshalJSON ¶
func (s *ActivityOnInactiveMarkAs) UnmarshalJSON(bytes []byte) error
type ActivityState ¶
type ActivityState string
const ( ActivityStateActive ActivityState = "Active" ActivityStateInactive ActivityState = "Inactive" )
func (*ActivityState) UnmarshalJSON ¶
func (s *ActivityState) UnmarshalJSON(bytes []byte) error
type CreateOrUpdateOperationOptions ¶
type CreateOrUpdateOperationOptions struct {
IfMatch *string
}
func DefaultCreateOrUpdateOperationOptions ¶
func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions
func (CreateOrUpdateOperationOptions) ToHeaders ¶
func (o CreateOrUpdateOperationOptions) ToHeaders() *client.Headers
func (CreateOrUpdateOperationOptions) ToOData ¶
func (o CreateOrUpdateOperationOptions) ToOData() *odata.Query
func (CreateOrUpdateOperationOptions) ToQuery ¶
func (o CreateOrUpdateOperationOptions) ToQuery() *client.QueryParams
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PipelineResource }
type CreateRunOperationOptions ¶
type CreateRunOperationOptions struct { IsRecovery *bool ReferencePipelineRunId *string StartActivityName *string StartFromFailure *bool }
func DefaultCreateRunOperationOptions ¶
func DefaultCreateRunOperationOptions() CreateRunOperationOptions
func (CreateRunOperationOptions) ToHeaders ¶
func (o CreateRunOperationOptions) ToHeaders() *client.Headers
func (CreateRunOperationOptions) ToOData ¶
func (o CreateRunOperationOptions) ToOData() *odata.Query
func (CreateRunOperationOptions) ToQuery ¶
func (o CreateRunOperationOptions) ToQuery() *client.QueryParams
type CreateRunOperationResponse ¶
type CreateRunOperationResponse struct { HttpResponse *http.Response OData *odata.OData 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" )
func (*DependencyCondition) UnmarshalJSON ¶
func (s *DependencyCondition) UnmarshalJSON(bytes []byte) error
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) FromParseResult ¶
func (id *FactoryId) FromParseResult(input resourceids.ParseResult) error
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
func (GetOperationOptions) ToHeaders ¶
func (o GetOperationOptions) ToHeaders() *client.Headers
func (GetOperationOptions) ToOData ¶
func (o GetOperationOptions) ToOData() *odata.Query
func (GetOperationOptions) ToQuery ¶
func (o GetOperationOptions) ToQuery() *client.QueryParams
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PipelineResource }
type ListByFactoryCompleteResult ¶
type ListByFactoryCompleteResult struct { LatestHttpResponse *http.Response Items []PipelineResource }
type ListByFactoryOperationResponse ¶
type ListByFactoryOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]PipelineResource }
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" )
func (*ParameterType) UnmarshalJSON ¶
func (s *ParameterType) UnmarshalJSON(bytes []byte) error
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) FromParseResult ¶
func (id *PipelineId) FromParseResult(input resourceids.ParseResult) error
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 ¶
type PipelinesClient struct {
Client *resourcemanager.Client
}
func NewPipelinesClientWithBaseURI ¶
func NewPipelinesClientWithBaseURI(sdkApi sdkEnv.Api) (*PipelinesClient, error)
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) (result ListByFactoryOperationResponse, err error)
ListByFactory ...
func (PipelinesClient) ListByFactoryComplete ¶
func (c PipelinesClient) ListByFactoryComplete(ctx context.Context, id FactoryId) (ListByFactoryCompleteResult, error)
ListByFactoryComplete retrieves all the results into a single object
func (PipelinesClient) ListByFactoryCompleteMatchingPredicate ¶
func (c PipelinesClient) ListByFactoryCompleteMatchingPredicate(ctx context.Context, id FactoryId, predicate PipelineResourceOperationPredicate) (result ListByFactoryCompleteResult, err error)
ListByFactoryCompleteMatchingPredicate retrieves all the results and then applies 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" )
func (*VariableType) UnmarshalJSON ¶
func (s *VariableType) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_factory.go
- id_pipeline.go
- method_createorupdate.go
- method_createrun.go
- method_delete.go
- method_get.go
- method_listbyfactory.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