vars

package
v1.0.242 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckVars added in v0.1.177

func CheckVars(log *zap.Logger, state *model.WorkflowState, el *model.Element) error

CheckVars checks for missing variables expected in a result

func Decode

func Decode(log *zap.Logger, vars []byte) (model.Vars, error)

Decode decodes a go binary object containing workflow variables.

func Encode

func Encode(log *zap.Logger, vars model.Vars) ([]byte, error)

Encode encodes the map of workflow variables into a go binary to be sent across the wire.

func InputVars added in v0.1.175

func InputVars(log *zap.Logger, oldVarsBin []byte, newVarsBin *[]byte, el *model.Element) error

InputVars returns a set of variables matching an input requirement after transformation through expressions contained in an element.

func OutputVars added in v0.1.175

func OutputVars(log *zap.Logger, newVarsBin []byte, mergeVarsBin *[]byte, el *model.Element) error

OutputVars merges one variable set into another based upon any expressions contained in an element.

Types

This section is empty.

Jump to

Keyboard shortcuts

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