transform

package
v2.24.0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2026 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Reusable added in v2.17.2

func Reusable(node *ir.Node) bool

Reusable reports whether a node's recorded state may stand in for a skipped step of another run: the node succeeded, or it was itself skipped by retry.

func SeedNodes added in v2.17.2

func SeedNodes(dag *ir.DAG, source *ir.DAGRunStatus, skipped []string) []runtime.NodeData

SeedNodes returns the initial node states for a new run of dag. Steps named in skipped are recorded as skipped by retry, so their dependents still run, and carry the outputs and completion details of the matching Reusable node in source. Every other step starts as not started. source may be nil.

func ToNode

func ToNode(n *ir.Node) *runtime.Node

ToNode converts a persistence Node back to a runtime Node

func ToNodeWithStep

func ToNodeWithStep(n *ir.Node, step ir.Step) *runtime.Node

ToNodeWithStep converts a persistence Node back to a runtime Node using the supplied step definition.

func WithNodes

func WithNodes(nodes []runtime.NodeData) ir.StatusOption

WithNodes converts runtime node data into persisted DAG-run nodes.

func WithOnAbortNode

func WithOnAbortNode(node *runtime.Node) ir.StatusOption

WithOnAbortNode converts and sets the abort handler node.

func WithOnExitNode

func WithOnExitNode(node *runtime.Node) ir.StatusOption

WithOnExitNode converts and sets the exit handler node.

func WithOnFailureNode

func WithOnFailureNode(node *runtime.Node) ir.StatusOption

WithOnFailureNode converts and sets the failure handler node.

func WithOnInitNode

func WithOnInitNode(node *runtime.Node) ir.StatusOption

WithOnInitNode converts and sets the initialization handler node.

func WithOnSuccessNode

func WithOnSuccessNode(node *runtime.Node) ir.StatusOption

WithOnSuccessNode converts and sets the success handler node.

func WithOnWaitNode

func WithOnWaitNode(node *runtime.Node) ir.StatusOption

WithOnWaitNode converts and sets the wait handler node.

Types

This section is empty.

Jump to

Keyboard shortcuts

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