vars

package
v1.1.725 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2023 License: MIT Imports: 9 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(ctx context.Context, state *model.WorkflowState, el *model.Element) error

CheckVars checks for missing variables expected in a result

func Decode

func Decode(ctx context.Context, vars []byte) (model.Vars, error)

Decode decodes a go binary object containing workflow variables.

func Encode

func Encode(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, newVarsBin []byte, mergeVarsBin *[]byte, transform map[string]string) 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