Documentation ¶
Index ¶
- func PossibleValuesForWorkflowStatus() []string
- func ValidateTriggerHistoryID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateTriggerID(input interface{}, key string) (warnings []string, errors []error)
- type ContentHash
- type ContentLink
- type Correlation
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type ResourceReference
- type ResubmitOperationResponse
- type TriggerHistoryId
- type TriggerId
- type WorkflowStatus
- type WorkflowTriggerHistoriesClient
- func (c WorkflowTriggerHistoriesClient) Get(ctx context.Context, id TriggerHistoryId) (result GetOperationResponse, err error)
- func (c WorkflowTriggerHistoriesClient) List(ctx context.Context, id TriggerId, options ListOperationOptions) (resp ListOperationResponse, err error)
- func (c WorkflowTriggerHistoriesClient) ListComplete(ctx context.Context, id TriggerId, options ListOperationOptions) (ListCompleteResult, error)
- func (c WorkflowTriggerHistoriesClient) ListCompleteMatchingPredicate(ctx context.Context, id TriggerId, options ListOperationOptions, ...) (resp ListCompleteResult, err error)
- func (c WorkflowTriggerHistoriesClient) Resubmit(ctx context.Context, id TriggerHistoryId) (result ResubmitOperationResponse, err error)
- func (c WorkflowTriggerHistoriesClient) ResubmitThenPoll(ctx context.Context, id TriggerHistoryId) error
- type WorkflowTriggerHistory
- type WorkflowTriggerHistoryOperationPredicate
- type WorkflowTriggerHistoryProperties
- func (o *WorkflowTriggerHistoryProperties) GetEndTimeAsTime() (*time.Time, error)
- func (o *WorkflowTriggerHistoryProperties) GetScheduledTimeAsTime() (*time.Time, error)
- func (o *WorkflowTriggerHistoryProperties) GetStartTimeAsTime() (*time.Time, error)
- func (o *WorkflowTriggerHistoryProperties) SetEndTimeAsTime(input time.Time)
- func (o *WorkflowTriggerHistoryProperties) SetScheduledTimeAsTime(input time.Time)
- func (o *WorkflowTriggerHistoryProperties) SetStartTimeAsTime(input time.Time)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForWorkflowStatus ¶
func PossibleValuesForWorkflowStatus() []string
func ValidateTriggerHistoryID ¶
ValidateTriggerHistoryID checks that 'input' can be parsed as a Trigger History ID
func ValidateTriggerID ¶
ValidateTriggerID checks that 'input' can be parsed as a Trigger ID
Types ¶
type ContentHash ¶
type ContentLink ¶
type ContentLink struct { ContentHash *ContentHash `json:"contentHash,omitempty"` ContentSize *int64 `json:"contentSize,omitempty"` ContentVersion *string `json:"contentVersion,omitempty"` Metadata *interface{} `json:"metadata,omitempty"` Uri *string `json:"uri,omitempty"` }
type Correlation ¶
type Correlation struct {
ClientTrackingId *string `json:"clientTrackingId,omitempty"`
}
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *WorkflowTriggerHistory }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []WorkflowTriggerHistory
}
type ListOperationOptions ¶
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]WorkflowTriggerHistory // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
type ResourceReference ¶
type ResubmitOperationResponse ¶
type ResubmitOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type TriggerHistoryId ¶
type TriggerHistoryId struct { SubscriptionId string ResourceGroupName string SiteName string WorkflowName string TriggerName string HistoryName string }
TriggerHistoryId is a struct representing the Resource ID for a Trigger History
func NewTriggerHistoryID ¶
func NewTriggerHistoryID(subscriptionId string, resourceGroupName string, siteName string, workflowName string, triggerName string, historyName string) TriggerHistoryId
NewTriggerHistoryID returns a new TriggerHistoryId struct
func ParseTriggerHistoryID ¶
func ParseTriggerHistoryID(input string) (*TriggerHistoryId, error)
ParseTriggerHistoryID parses 'input' into a TriggerHistoryId
func ParseTriggerHistoryIDInsensitively ¶
func ParseTriggerHistoryIDInsensitively(input string) (*TriggerHistoryId, error)
ParseTriggerHistoryIDInsensitively parses 'input' case-insensitively into a TriggerHistoryId note: this method should only be used for API response data and not user input
func (TriggerHistoryId) ID ¶
func (id TriggerHistoryId) ID() string
ID returns the formatted Trigger History ID
func (TriggerHistoryId) Segments ¶
func (id TriggerHistoryId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Trigger History ID
func (TriggerHistoryId) String ¶
func (id TriggerHistoryId) String() string
String returns a human-readable description of this Trigger History ID
type TriggerId ¶
type TriggerId struct { SubscriptionId string ResourceGroupName string SiteName string WorkflowName string TriggerName string }
TriggerId is a struct representing the Resource ID for a Trigger
func NewTriggerID ¶
func NewTriggerID(subscriptionId string, resourceGroupName string, siteName string, workflowName string, triggerName string) TriggerId
NewTriggerID returns a new TriggerId struct
func ParseTriggerID ¶
ParseTriggerID parses 'input' into a TriggerId
func ParseTriggerIDInsensitively ¶
ParseTriggerIDInsensitively parses 'input' case-insensitively into a TriggerId note: this method should only be used for API response data and not user input
func (TriggerId) Segments ¶
func (id TriggerId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Trigger ID
type WorkflowStatus ¶
type WorkflowStatus string
const ( WorkflowStatusAborted WorkflowStatus = "Aborted" WorkflowStatusCancelled WorkflowStatus = "Cancelled" WorkflowStatusFailed WorkflowStatus = "Failed" WorkflowStatusFaulted WorkflowStatus = "Faulted" WorkflowStatusIgnored WorkflowStatus = "Ignored" WorkflowStatusNotSpecified WorkflowStatus = "NotSpecified" WorkflowStatusPaused WorkflowStatus = "Paused" WorkflowStatusRunning WorkflowStatus = "Running" WorkflowStatusSkipped WorkflowStatus = "Skipped" WorkflowStatusSucceeded WorkflowStatus = "Succeeded" WorkflowStatusSuspended WorkflowStatus = "Suspended" WorkflowStatusTimedOut WorkflowStatus = "TimedOut" WorkflowStatusWaiting WorkflowStatus = "Waiting" )
type WorkflowTriggerHistoriesClient ¶
type WorkflowTriggerHistoriesClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewWorkflowTriggerHistoriesClientWithBaseURI ¶
func NewWorkflowTriggerHistoriesClientWithBaseURI(endpoint string) WorkflowTriggerHistoriesClient
func (WorkflowTriggerHistoriesClient) Get ¶
func (c WorkflowTriggerHistoriesClient) Get(ctx context.Context, id TriggerHistoryId) (result GetOperationResponse, err error)
Get ...
func (WorkflowTriggerHistoriesClient) List ¶
func (c WorkflowTriggerHistoriesClient) List(ctx context.Context, id TriggerId, options ListOperationOptions) (resp ListOperationResponse, err error)
List ...
func (WorkflowTriggerHistoriesClient) ListComplete ¶
func (c WorkflowTriggerHistoriesClient) ListComplete(ctx context.Context, id TriggerId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (WorkflowTriggerHistoriesClient) ListCompleteMatchingPredicate ¶
func (c WorkflowTriggerHistoriesClient) ListCompleteMatchingPredicate(ctx context.Context, id TriggerId, options ListOperationOptions, predicate WorkflowTriggerHistoryOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (WorkflowTriggerHistoriesClient) Resubmit ¶
func (c WorkflowTriggerHistoriesClient) Resubmit(ctx context.Context, id TriggerHistoryId) (result ResubmitOperationResponse, err error)
Resubmit ...
func (WorkflowTriggerHistoriesClient) ResubmitThenPoll ¶
func (c WorkflowTriggerHistoriesClient) ResubmitThenPoll(ctx context.Context, id TriggerHistoryId) error
ResubmitThenPoll performs Resubmit then polls until it's completed
type WorkflowTriggerHistory ¶
type WorkflowTriggerHistory struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *WorkflowTriggerHistoryProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type WorkflowTriggerHistoryOperationPredicate ¶
func (WorkflowTriggerHistoryOperationPredicate) Matches ¶
func (p WorkflowTriggerHistoryOperationPredicate) Matches(input WorkflowTriggerHistory) bool
type WorkflowTriggerHistoryProperties ¶
type WorkflowTriggerHistoryProperties struct { Code *string `json:"code,omitempty"` Correlation *Correlation `json:"correlation,omitempty"` EndTime *string `json:"endTime,omitempty"` Error *interface{} `json:"error,omitempty"` Fired *bool `json:"fired,omitempty"` InputsLink *ContentLink `json:"inputsLink,omitempty"` OutputsLink *ContentLink `json:"outputsLink,omitempty"` Run *ResourceReference `json:"run,omitempty"` ScheduledTime *string `json:"scheduledTime,omitempty"` StartTime *string `json:"startTime,omitempty"` Status *WorkflowStatus `json:"status,omitempty"` TrackingId *string `json:"trackingId,omitempty"` }
func (*WorkflowTriggerHistoryProperties) GetEndTimeAsTime ¶
func (o *WorkflowTriggerHistoryProperties) GetEndTimeAsTime() (*time.Time, error)
func (*WorkflowTriggerHistoryProperties) GetScheduledTimeAsTime ¶
func (o *WorkflowTriggerHistoryProperties) GetScheduledTimeAsTime() (*time.Time, error)
func (*WorkflowTriggerHistoryProperties) GetStartTimeAsTime ¶
func (o *WorkflowTriggerHistoryProperties) GetStartTimeAsTime() (*time.Time, error)
func (*WorkflowTriggerHistoryProperties) SetEndTimeAsTime ¶
func (o *WorkflowTriggerHistoryProperties) SetEndTimeAsTime(input time.Time)
func (*WorkflowTriggerHistoryProperties) SetScheduledTimeAsTime ¶
func (o *WorkflowTriggerHistoryProperties) SetScheduledTimeAsTime(input time.Time)
func (*WorkflowTriggerHistoryProperties) SetStartTimeAsTime ¶
func (o *WorkflowTriggerHistoryProperties) SetStartTimeAsTime(input time.Time)
Source Files ¶
- client.go
- constants.go
- id_trigger.go
- id_triggerhistory.go
- method_get_autorest.go
- method_list_autorest.go
- method_resubmit_autorest.go
- model_contenthash.go
- model_contentlink.go
- model_correlation.go
- model_resourcereference.go
- model_workflowtriggerhistory.go
- model_workflowtriggerhistoryproperties.go
- predicates.go
- version.go