workflow

package
v1.6.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// MessageTerminatedFailedAfterRetries is the message of failed after retries
	MessageTerminatedFailedAfterRetries = "The workflow terminates automatically because the failed times of steps have reached the limit"
	// MessageSuspendFailedAfterRetries is the message of failed after retries
	MessageSuspendFailedAfterRetries = "The workflow suspends automatically because the failed times of steps have reached the limit"
)

Variables

View Source
var (
	// DisableRecorder optimize workflow by disable recorder
	DisableRecorder = false
)

Functions

func ComputeWorkflowRevisionHash added in v1.2.0

func ComputeWorkflowRevisionHash(rev string, app *oamcore.Application) (string, error)

ComputeWorkflowRevisionHash compute workflow revision.

func ConvertWorkflowStatus added in v1.6.0

func ConvertWorkflowStatus(status workflowv1alpha1.WorkflowRunStatus, revision string) *common.WorkflowStatus

ConvertWorkflowStatus convert workflow run status to workflow status

func IsFailedAfterRetry added in v1.3.0

func IsFailedAfterRetry(app *oamcore.Application) bool

IsFailedAfterRetry check if application is hang due to FailedAfterRetry

Types

This section is empty.

Directories

Path Synopsis
providers
oam

Jump to

Keyboard shortcuts

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