Documentation
¶
Index ¶
- func ConvertWorkflowStatus(status workflowv1alpha1.WorkflowRunStatus, revision string) *common.WorkflowStatus
- func IsFailedAfterRetry(app *oamcore.Application) bool
- func StepDependencies(in []common.WorkflowStepDependency) []workflowv1alpha1.StepDependency
- func WithStepReads(deps []common.WorkflowStepDependency, reads map[string][]string) []common.WorkflowStepDependency
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 ¶
func StepDependencies(in []common.WorkflowStepDependency) []workflowv1alpha1.StepDependency
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. |