Documentation ¶
Index ¶
- func PossibleValuesForRunQueryFilterOperand() []string
- func PossibleValuesForRunQueryFilterOperator() []string
- func PossibleValuesForRunQueryOrder() []string
- func PossibleValuesForRunQueryOrderByField() []string
- func ValidateFactoryID(input interface{}, key string) (warnings []string, errors []error)
- func ValidatePipelineRunID(input interface{}, key string) (warnings []string, errors []error)
- type CancelOperationOptions
- type CancelOperationResponse
- type FactoryId
- type GetOperationResponse
- type PipelineRun
- func (o *PipelineRun) GetLastUpdatedAsTime() (*time.Time, error)
- func (o *PipelineRun) GetRunEndAsTime() (*time.Time, error)
- func (o *PipelineRun) GetRunStartAsTime() (*time.Time, error)
- func (o *PipelineRun) SetLastUpdatedAsTime(input time.Time)
- func (o *PipelineRun) SetRunEndAsTime(input time.Time)
- func (o *PipelineRun) SetRunStartAsTime(input time.Time)
- type PipelineRunId
- type PipelineRunInvokedBy
- type PipelineRunsClient
- func (c PipelineRunsClient) Cancel(ctx context.Context, id PipelineRunId, options CancelOperationOptions) (result CancelOperationResponse, err error)
- func (c PipelineRunsClient) Get(ctx context.Context, id PipelineRunId) (result GetOperationResponse, err error)
- func (c PipelineRunsClient) QueryByFactory(ctx context.Context, id FactoryId, input RunFilterParameters) (result QueryByFactoryOperationResponse, err error)
- type PipelineRunsQueryResponse
- type QueryByFactoryOperationResponse
- type RunFilterParameters
- func (o *RunFilterParameters) GetLastUpdatedAfterAsTime() (*time.Time, error)
- func (o *RunFilterParameters) GetLastUpdatedBeforeAsTime() (*time.Time, error)
- func (o *RunFilterParameters) SetLastUpdatedAfterAsTime(input time.Time)
- func (o *RunFilterParameters) SetLastUpdatedBeforeAsTime(input time.Time)
- type RunQueryFilter
- type RunQueryFilterOperand
- type RunQueryFilterOperator
- type RunQueryOrder
- type RunQueryOrderBy
- type RunQueryOrderByField
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForRunQueryFilterOperand ¶
func PossibleValuesForRunQueryFilterOperand() []string
func PossibleValuesForRunQueryFilterOperator ¶
func PossibleValuesForRunQueryFilterOperator() []string
func PossibleValuesForRunQueryOrder ¶
func PossibleValuesForRunQueryOrder() []string
func PossibleValuesForRunQueryOrderByField ¶
func PossibleValuesForRunQueryOrderByField() []string
func ValidateFactoryID ¶
ValidateFactoryID checks that 'input' can be parsed as a Factory ID
func ValidatePipelineRunID ¶
ValidatePipelineRunID checks that 'input' can be parsed as a Pipeline Run ID
Types ¶
type CancelOperationOptions ¶
type CancelOperationOptions struct {
IsRecursive *bool
}
func DefaultCancelOperationOptions ¶
func DefaultCancelOperationOptions() CancelOperationOptions
func (CancelOperationOptions) ToHeaders ¶
func (o CancelOperationOptions) ToHeaders() *client.Headers
func (CancelOperationOptions) ToOData ¶
func (o CancelOperationOptions) ToOData() *odata.Query
func (CancelOperationOptions) ToQuery ¶
func (o CancelOperationOptions) ToQuery() *client.QueryParams
type CancelOperationResponse ¶
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 GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PipelineRun }
type PipelineRun ¶
type PipelineRun struct { DurationInMs *int64 `json:"durationInMs,omitempty"` InvokedBy *PipelineRunInvokedBy `json:"invokedBy,omitempty"` IsLatest *bool `json:"isLatest,omitempty"` LastUpdated *string `json:"lastUpdated,omitempty"` Message *string `json:"message,omitempty"` Parameters *map[string]string `json:"parameters,omitempty"` PipelineName *string `json:"pipelineName,omitempty"` RunDimensions *map[string]string `json:"runDimensions,omitempty"` RunEnd *string `json:"runEnd,omitempty"` RunGroupId *string `json:"runGroupId,omitempty"` RunId *string `json:"runId,omitempty"` RunStart *string `json:"runStart,omitempty"` Status *string `json:"status,omitempty"` }
func (*PipelineRun) GetLastUpdatedAsTime ¶
func (o *PipelineRun) GetLastUpdatedAsTime() (*time.Time, error)
func (*PipelineRun) GetRunEndAsTime ¶
func (o *PipelineRun) GetRunEndAsTime() (*time.Time, error)
func (*PipelineRun) GetRunStartAsTime ¶
func (o *PipelineRun) GetRunStartAsTime() (*time.Time, error)
func (*PipelineRun) SetLastUpdatedAsTime ¶
func (o *PipelineRun) SetLastUpdatedAsTime(input time.Time)
func (*PipelineRun) SetRunEndAsTime ¶
func (o *PipelineRun) SetRunEndAsTime(input time.Time)
func (*PipelineRun) SetRunStartAsTime ¶
func (o *PipelineRun) SetRunStartAsTime(input time.Time)
type PipelineRunId ¶
type PipelineRunId struct { SubscriptionId string ResourceGroupName string FactoryName string RunId string }
PipelineRunId is a struct representing the Resource ID for a Pipeline Run
func NewPipelineRunID ¶
func NewPipelineRunID(subscriptionId string, resourceGroupName string, factoryName string, runId 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) 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 PipelineRunInvokedBy ¶
type PipelineRunsClient ¶
type PipelineRunsClient struct {
Client *resourcemanager.Client
}
func NewPipelineRunsClientWithBaseURI ¶
func NewPipelineRunsClientWithBaseURI(api environments.Api) (*PipelineRunsClient, error)
func (PipelineRunsClient) Cancel ¶
func (c PipelineRunsClient) Cancel(ctx context.Context, id PipelineRunId, options CancelOperationOptions) (result CancelOperationResponse, err error)
Cancel ...
func (PipelineRunsClient) Get ¶
func (c PipelineRunsClient) Get(ctx context.Context, id PipelineRunId) (result GetOperationResponse, err error)
Get ...
func (PipelineRunsClient) QueryByFactory ¶
func (c PipelineRunsClient) QueryByFactory(ctx context.Context, id FactoryId, input RunFilterParameters) (result QueryByFactoryOperationResponse, err error)
QueryByFactory ...
type PipelineRunsQueryResponse ¶
type PipelineRunsQueryResponse struct { ContinuationToken *string `json:"continuationToken,omitempty"` Value []PipelineRun `json:"value"` }
type QueryByFactoryOperationResponse ¶
type QueryByFactoryOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PipelineRunsQueryResponse }
type RunFilterParameters ¶
type RunFilterParameters struct { ContinuationToken *string `json:"continuationToken,omitempty"` Filters *[]RunQueryFilter `json:"filters,omitempty"` LastUpdatedAfter string `json:"lastUpdatedAfter"` LastUpdatedBefore string `json:"lastUpdatedBefore"` OrderBy *[]RunQueryOrderBy `json:"orderBy,omitempty"` }
func (*RunFilterParameters) GetLastUpdatedAfterAsTime ¶
func (o *RunFilterParameters) GetLastUpdatedAfterAsTime() (*time.Time, error)
func (*RunFilterParameters) GetLastUpdatedBeforeAsTime ¶
func (o *RunFilterParameters) GetLastUpdatedBeforeAsTime() (*time.Time, error)
func (*RunFilterParameters) SetLastUpdatedAfterAsTime ¶
func (o *RunFilterParameters) SetLastUpdatedAfterAsTime(input time.Time)
func (*RunFilterParameters) SetLastUpdatedBeforeAsTime ¶
func (o *RunFilterParameters) SetLastUpdatedBeforeAsTime(input time.Time)
type RunQueryFilter ¶
type RunQueryFilter struct { Operand RunQueryFilterOperand `json:"operand"` Operator RunQueryFilterOperator `json:"operator"` Values []string `json:"values"` }
type RunQueryFilterOperand ¶
type RunQueryFilterOperand string
const ( RunQueryFilterOperandActivityName RunQueryFilterOperand = "ActivityName" RunQueryFilterOperandActivityRunEnd RunQueryFilterOperand = "ActivityRunEnd" RunQueryFilterOperandActivityRunStart RunQueryFilterOperand = "ActivityRunStart" RunQueryFilterOperandActivityType RunQueryFilterOperand = "ActivityType" RunQueryFilterOperandLatestOnly RunQueryFilterOperand = "LatestOnly" RunQueryFilterOperandPipelineName RunQueryFilterOperand = "PipelineName" RunQueryFilterOperandRunEnd RunQueryFilterOperand = "RunEnd" RunQueryFilterOperandRunGroupId RunQueryFilterOperand = "RunGroupId" RunQueryFilterOperandRunStart RunQueryFilterOperand = "RunStart" RunQueryFilterOperandStatus RunQueryFilterOperand = "Status" RunQueryFilterOperandTriggerName RunQueryFilterOperand = "TriggerName" RunQueryFilterOperandTriggerRunTimestamp RunQueryFilterOperand = "TriggerRunTimestamp" )
func (*RunQueryFilterOperand) UnmarshalJSON ¶
func (s *RunQueryFilterOperand) UnmarshalJSON(bytes []byte) error
type RunQueryFilterOperator ¶
type RunQueryFilterOperator string
const ( RunQueryFilterOperatorEquals RunQueryFilterOperator = "Equals" RunQueryFilterOperatorIn RunQueryFilterOperator = "In" RunQueryFilterOperatorNotEquals RunQueryFilterOperator = "NotEquals" RunQueryFilterOperatorNotIn RunQueryFilterOperator = "NotIn" )
func (*RunQueryFilterOperator) UnmarshalJSON ¶
func (s *RunQueryFilterOperator) UnmarshalJSON(bytes []byte) error
type RunQueryOrder ¶
type RunQueryOrder string
const ( RunQueryOrderASC RunQueryOrder = "ASC" RunQueryOrderDESC RunQueryOrder = "DESC" )
func (*RunQueryOrder) UnmarshalJSON ¶
func (s *RunQueryOrder) UnmarshalJSON(bytes []byte) error
type RunQueryOrderBy ¶
type RunQueryOrderBy struct { Order RunQueryOrder `json:"order"` OrderBy RunQueryOrderByField `json:"orderBy"` }
type RunQueryOrderByField ¶
type RunQueryOrderByField string
const ( RunQueryOrderByFieldActivityName RunQueryOrderByField = "ActivityName" RunQueryOrderByFieldActivityRunEnd RunQueryOrderByField = "ActivityRunEnd" RunQueryOrderByFieldActivityRunStart RunQueryOrderByField = "ActivityRunStart" RunQueryOrderByFieldPipelineName RunQueryOrderByField = "PipelineName" RunQueryOrderByFieldRunEnd RunQueryOrderByField = "RunEnd" RunQueryOrderByFieldRunStart RunQueryOrderByField = "RunStart" RunQueryOrderByFieldStatus RunQueryOrderByField = "Status" RunQueryOrderByFieldTriggerName RunQueryOrderByField = "TriggerName" RunQueryOrderByFieldTriggerRunTimestamp RunQueryOrderByField = "TriggerRunTimestamp" )
func (*RunQueryOrderByField) UnmarshalJSON ¶
func (s *RunQueryOrderByField) UnmarshalJSON(bytes []byte) error