workflow

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CreateTaskKey = "create"
	DeleteTaskKey = "delete"
)

WSS's tasks.

Variables

This section is empty.

Functions

func CreateInputs

func CreateInputs(definition workflowparser.WorkflowDefinition, name string) (map[string]interface{}, error)

CreateInputs maps create task's inputs. name is optional and has to be unique.

func CreateOutputs

func CreateOutputs(e *execution.Execution) (id string, err error)

CreateOutputs maps create task's outputs. id is unique workflow id.

func DeleteInputs

func DeleteInputs(id string) map[string]interface{}

DeleteInputs maps delete task's inputs. id is unique workflow id.

func DeleteOutputs

func DeleteOutputs(e *execution.Execution) error

DeleteOutputs maps delete task's outputs.

Types

This section is empty.

Jump to

Keyboard shortcuts

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