workflow

package
v0.0.0-...-e984f34 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StartNode   = "startNode"
	DefaultNode = "defaultNode"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Temporal

type Temporal struct {
}

func (*Temporal) Execute

func (t *Temporal) Execute(workflowJson models.Workflow, input map[string]interface{}) (string, error)

func (*Temporal) ExecuteNode

func (t *Temporal) ExecuteNode(node models.Node, context map[string]interface{}) (map[string]interface{}, error)

func (*Temporal) ExtractOutputValues

func (t *Temporal) ExtractOutputValues(nodeResponseMap map[string]interface{}, outputConfig []models.NodeOutput) map[string]interface{}

func (*Temporal) GetWorkflowHistory

func (t *Temporal) GetWorkflowHistory(workflow models.Workflow) error

func (*Temporal) ReplaceInputValues

func (t *Temporal) ReplaceInputValues(input []models.NodeInput, workflowOutput map[string]map[string]interface{})

func (*Temporal) RunWorkflow

func (t *Temporal) RunWorkflow(ctx workflow.Context, workflowJson models.Workflow, input map[string]interface{}) (string, error)

func (*Temporal) TestPlugin

func (t *Temporal) TestPlugin(ctx context.Context, data map[string]interface{}) (string, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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