Documentation ¶
Index ¶
- Variables
- type Bus
- type LinkDirectionM
- type LinkM
- type NodeM
- type NodeStatus
- type Position
- type Route
- type Update
- type UpdateM
- type VarsM
- type Workflow
- func (w *Workflow) FindNode(id uuid.UUID) (node.Node, error)
- func (w *Workflow) MarshalJSON() ([]byte, error)
- func (w *Workflow) Pack() (*WorkflowM, error)
- func (w *Workflow) Run(ctx context.Context, updateChan chan<- Update, output chan<- node.Output) error
- func (w *Workflow) UnmarshalJSON(data []byte) error
- func (w *Workflow) Validate() error
- type WorkflowM
Constants ¶
This section is empty.
Variables ¶
View Source
var ChildNodeError = errors.New("child node error")
Functions ¶
This section is empty.
Types ¶
type LinkDirectionM ¶
type LinkM ¶
type LinkM struct { From LinkDirectionM `json:"from"` To LinkDirectionM `json:"to"` Annotation string `json:"annotation"` }
type NodeM ¶
type NodeStatus ¶
type NodeStatus string
const ( NodeStatusPending NodeStatus = "pending" NodeStatusRunning NodeStatus = "running" NodeStatusSuccess NodeStatus = "success" NodeStatusError NodeStatus = "error" NodeStatusAborted NodeStatus = "aborted" )
Click to show internal directories.
Click to hide internal directories.