Documentation
¶
Overview ¶
Package function provides the Function node implementation.
Index ¶
- type FunctionConfig
- type FunctionNode
- func (n *FunctionNode) Execute(ctx interface{}, input map[string]interface{}) (map[string]interface{}, error)
- func (n *FunctionNode) GetConfig() map[string]interface{}
- func (n *FunctionNode) GetError() (bool, string)
- func (n *FunctionNode) SetConfig(config map[string]interface{}) error
- func (n *FunctionNode) Validate() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FunctionConfig ¶
type FunctionNode ¶
type FunctionNode struct {
// contains filtered or unexported fields
}
func NewFunctionNode ¶
func NewFunctionNode() *FunctionNode
func (*FunctionNode) Execute ¶
func (n *FunctionNode) Execute(ctx interface{}, input map[string]interface{}) (map[string]interface{}, error)
func (*FunctionNode) GetConfig ¶
func (n *FunctionNode) GetConfig() map[string]interface{}
func (*FunctionNode) GetError ¶
func (n *FunctionNode) GetError() (bool, string)
func (*FunctionNode) SetConfig ¶
func (n *FunctionNode) SetConfig(config map[string]interface{}) error
func (*FunctionNode) Validate ¶
func (n *FunctionNode) Validate() error
Click to show internal directories.
Click to hide internal directories.