Documentation
¶
Index ¶
- Constants
- func NewWaitFactory() protocol.NodeFactory
- func NewWaitUntilFactory() protocol.NodeFactory
- type Factory
- type Node
- func (n *Node) Execute(_ models.ExecutionContext, inputs map[string]models.NodeResult) (map[string]models.NodeResult, error)
- func (n *Node) ID() string
- func (n *Node) InputPorts() []models.InputPort
- func (n *Node) OutputPorts() []models.OutputPort
- func (n *Node) Type() string
- func (n *Node) Validate(config map[string]any) error
- func (n *Node) WaitUntil(ctx models.ExecutionContext, _ map[string]models.NodeResult) (time.Time, error)
Constants ¶
View Source
const ( InputPortMain = "main" OutputPortSuccess = "success" TypeWait = "wait" TypeWaitUntil = "wait_until" ConfigDuration = "duration" ConfigUntil = "until" )
Variables ¶
This section is empty.
Functions ¶
func NewWaitFactory ¶
func NewWaitFactory() protocol.NodeFactory
func NewWaitUntilFactory ¶
func NewWaitUntilFactory() protocol.NodeFactory
Types ¶
type Factory ¶
type Factory struct {
// contains filtered or unexported fields
}
func (*Factory) Description ¶
type Node ¶
type Node struct {
// contains filtered or unexported fields
}
func (*Node) Execute ¶
func (n *Node) Execute(_ models.ExecutionContext, inputs map[string]models.NodeResult) (map[string]models.NodeResult, error)
func (*Node) InputPorts ¶
func (*Node) OutputPorts ¶
func (n *Node) OutputPorts() []models.OutputPort
Click to show internal directories.
Click to hide internal directories.