workflow

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: Apache-2.0 Imports: 19 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 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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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