internal

package
v0.0.0-...-f8ac96e Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2019 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var IdentityId = px.NewTypedName(px.NsDefinition, "Identity::Service")

Functions

func CreateStep

func CreateStep(c px.Context, def serviceapi.Definition) wfe.Step

func GetIdentity

func GetIdentity(c px.Context) serviceapi.Identity

func GetLazyIdentity

func GetLazyIdentity(c px.Context) (li serviceapi.Identity)

func NewEach

func NewEach(step wfe.Step, name string, over px.Value, variables []serviceapi.Parameter) wfe.Iterator

func NewEachPair

func NewEachPair(step wfe.Step, name string, over px.Value, variables []serviceapi.Parameter) wfe.Iterator

func NewRange

func NewRange(step wfe.Step, name string, over px.Value, variables []serviceapi.Parameter) wfe.Iterator

func NewTimes

func NewTimes(step wfe.Step, name string, over px.Value, variables []serviceapi.Parameter) wfe.Iterator

func StepId

func StepId(a wfe.Step) string

func StepLabel

func StepLabel(a wfe.Step) string

func Validate

func Validate(it wfe.Iterator)

Types

type WorkflowEngine

type WorkflowEngine interface {
	Run(ctx px.Context, parameters px.OrderedMap) px.OrderedMap

	BuildInvertedGraph(ctx px.Context, existsFunc func(string) bool)

	GraphAsDot() []byte

	// Validate ensures that all consumed values have a corresponding producer and that only
	// one producer exists for each produced value.
	Validate()
}

Jump to

Keyboard shortcuts

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