workflow

package
v1.12.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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

func StepDependencies

StepDependencies is an Application's record of what each step waits on, as the workflow engine keeps it.

func WithStepReads

func WithStepReads(deps []common.WorkflowStepDependency, reads map[string][]string) []common.WorkflowStepDependency

WithStepReads adds KubeVela's component reads to deps, the workflow engine's record of what each step waits on. reads maps each step to the steps whose components its applied component reads (appfile.StepReadDependencies). An entry of deps that is one of those reads is marked as an expression dependency; a read missing from deps, because the order answered it without a dependsOn, is added as one. The result is sorted by step, each step's entries in their original order.

Types

This section is empty.

Directories

Path Synopsis
legacy/config
Package config is the legacy (vela/op style) registration of the config workflow steps.
Package config is the legacy (vela/op style) registration of the config workflow steps.
oam

Jump to

Keyboard shortcuts

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