Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeepMap ¶
DeepMap recursively applies a transformation function over each string within:
- a map[string]any
- a []any
- a string
func GenerateJsonSchema ¶
func ParseWorkflowSpecYaml ¶
Types ¶
type ExecutionStrategy ¶
type ExecutionStrategy interface {
Apply(ctx context.Context, l logger.Logger, cap capabilities.CallbackCapability, req capabilities.CapabilityRequest) (values.Value, error)
}
type Workflow ¶
type Workflow struct { ID string graph.Graph[string, *step] Triggers []*triggerCapability Spec *workflowSpec }
Workflow is a directed graph of nodes, where each node is a step.
triggers are special steps that are stored separately, they're treated differently due to their nature of being the starting point of a Workflow.
func (*Workflow) Dependents ¶
Click to show internal directories.
Click to hide internal directories.