nif

package
v0.0.0-...-36d6306 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NodeIf

type NodeIf struct {
	FlowNodeID idwrap.IDWrap
	Name       string
	Condition  mcondition.Condition
}

func New

func New(id idwrap.IDWrap, name string, condition mcondition.Condition) *NodeIf

func (NodeIf) GetID

func (n NodeIf) GetID() idwrap.IDWrap

func (NodeIf) GetName

func (n NodeIf) GetName() string

func (*NodeIf) GetOutputVariables

func (n *NodeIf) GetOutputVariables() []string

GetOutputVariables implements node.VariableIntrospector. Returns the output paths this If node produces.

func (*NodeIf) GetRequiredVariables

func (n *NodeIf) GetRequiredVariables() []string

GetRequiredVariables implements node.VariableIntrospector. It extracts variable references from the condition expression.

func (NodeIf) RunAsync

func (n NodeIf) RunAsync(ctx context.Context, req *node.FlowNodeRequest, resultChan chan node.FlowNodeResult)

func (NodeIf) RunSync

func (*NodeIf) SetID

func (n *NodeIf) SetID(id idwrap.IDWrap)

Jump to

Keyboard shortcuts

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