workflow

package
v0.15.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2021 License: Apache-2.0 Imports: 18 Imported by: 0

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 executors.Node, eventConfig *config.EventConfig,
	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 added in v0.7.0

func StatusFailureNode(originalErr *core.ExecutionError) Status

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL