workflow

package
v1.18.0 Latest Latest
Warning

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

Go to latest
Published: May 11, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DAGWorkflow added in v1.9.0

DAGWorkflow executes functions in a DAG (Directed Acyclic Graph) pattern. Execution order is determined by the dependency graph, with support for input mappings (passing outputs between nodes) and data mappings (passing byte data between nodes).

func ExecuteFunctionWorkflow

func ExecuteFunctionWorkflow(ctx wf.Context, input payload.FunctionExecutionInput) (*payload.FunctionExecutionOutput, error)

ExecuteFunctionWorkflow runs a single function and returns results.

func FunctionPipelineWorkflow

FunctionPipelineWorkflow executes functions sequentially. Accepts the generic PipelineInput directly.

func InstrumentedDAGWorkflow added in v1.9.0

func InstrumentedDAGWorkflow(ctx wf.Context, input payload.DAGWorkflowInput) (*payload.FunctionDAGWorkflowOutput, error)

InstrumentedDAGWorkflow wraps DAGWorkflow with structured logging at boundaries.

func LoopWorkflow

LoopWorkflow executes functions in a loop over items. Accepts the generic LoopInput directly.

func ParallelFunctionsWorkflow

ParallelFunctionsWorkflow executes multiple functions in parallel. Accepts the generic ParallelInput directly.

func ParameterizedLoopWorkflow

ParameterizedLoopWorkflow executes functions with parameterized loops. Accepts the generic ParameterizedLoopInput directly.

Types

This section is empty.

Jump to

Keyboard shortcuts

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