Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EndState ¶
type EndState int8
EndStates are the final states after a run of a workflow.
const ( // ESUnknown indicates we haven't reached an end state. ESUnknown EndState = 0 // ESSuccess means that the workflow has completed successfully. This // does not mean there haven't been failurea. ESSuccess EndState = 1 // ESPreconditionFailure means no work was done as we failed on a precondition. ESPreconditionFailure EndState = 2 // ESCanaryFailure indicates one of the canaries failed, stopping the workflow. ESCanaryFailure EndState = 3 // ESMaxFailures indicates that the workflow passed the canary phase, but failed // at a later phase. ESMaxFailures EndState = 4 )
type Status ¶
type Status struct { // Failures is a list of failed actiona. Failures []*actions.Actions // EndState is the EndState of the workflow. EndState EndState }
Status is the status of a workflow after it has run.
type Workflow ¶
type Workflow struct {
// contains filtered or unexported fields
}
Workflow represents our rollout Workflow.
func (*Workflow) RetryFailed ¶
RetryFailed retries all failed actiona. This is only used if
Click to show internal directories.
Click to hide internal directories.