workflow

package
v0.0.0-...-9ed8f83 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PASS  = "pass"
	ERROR = "error"
)

Variables

This section is empty.

Functions

func DefineWorkflow

func DefineWorkflow(workflow *flow.Workflow, context *flow.Context) error

Types

type Workflow

type Workflow struct {
	Workflow *goflow.FlowService
	Dag      *flow.Dag
	// context  *flow.Context
	Name string
}

func NewWorkflow

func NewWorkflow() *Workflow

func (*Workflow) Create

func (w *Workflow) Create()

func (*Workflow) GetWorkflow

func (w *Workflow) GetWorkflow()

func (*Workflow) SetContext

func (w *Workflow) SetContext(ctx *flow.Context)

func (*Workflow) Step

func (w *Workflow) Step(
	invoke operation.Modifier,
	compensate operation.Modifier,
)

Jump to

Keyboard shortcuts

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