Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var StatusReady = Status{TransitionToPhase: v1alpha1.WorkflowPhaseReady}
View Source
var StatusRunning = Status{TransitionToPhase: v1alpha1.WorkflowPhaseRunning}
View Source
var StatusSucceeding = Status{TransitionToPhase: v1alpha1.WorkflowPhaseSucceeding}
View Source
var StatusSuccess = Status{TransitionToPhase: v1alpha1.WorkflowPhaseSuccess}
Functions ¶
func NewExecutor ¶
func NewExecutor(ctx context.Context, store *storage.DataStore, enQWorkflow v1alpha1.EnqueueWorkflow, eventSink events.EventSink, k8sEventRecorder record.EventRecorder, metadataPrefix string, nodeExecutor interfaces.Node, eventConfig *config.EventConfig, clusterID string, scope promutils.Scope) (executors.Workflow, error)
Types ¶
type Status ¶
type Status struct { TransitionToPhase v1alpha1.WorkflowPhase Err *core.ExecutionError }
func StatusFailed ¶
func StatusFailed(err *core.ExecutionError) Status
func StatusFailing ¶
func StatusFailing(err *core.ExecutionError) Status
func StatusFailureNode ¶
func StatusFailureNode(originalErr *core.ExecutionError) Status
Click to show internal directories.
Click to hide internal directories.