workflow

package
v0.1.13 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateFlows

func ValidateFlows(wf *serverlessv1alpha1.Workflow) error

ValidateFlows validates wether the graph of Flows is legal or not For every Flow, it should obey the following rules:

  • Has one and only one entrance
  • Has one and at least one exit
  • Every Flow in Inputs & Outputs should have been defined in []Flow
  • If a Flow has a Condition, every Flow in Condition.Destination should have been defined in Outputs

func ValidateFuncExist

ValidateFuncExist validates that each Function declared in the workflow has been defined in Function CRD, or it will return error

Types

type Reconciler

type Reconciler struct {
	// contains filtered or unexported fields
}

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile() error

Jump to

Keyboard shortcuts

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