workflow

package
v0.1.15 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2019 License: Apache-2.0 Imports: 17 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, scope promutils.Scope) (executors.Workflow, error)

Types

type Status

type Status struct {
	TransitionToPhase v1alpha1.WorkflowPhase
	Err               error
}

func StatusFailed

func StatusFailed(err error) Status

func StatusFailing

func StatusFailing(err error) Status

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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