MCPcopy Create free account
hub / github.com/ForestHubAI/edge-agents / SetVariable

Struct SetVariable

go/engine/node/setvariable.go:22–26  ·  view source on GitHub ↗

SetVariable evaluates an expression and assigns the result to a declared variable in the main scope.

Source from the content-addressed store, hash-verified

20// SetVariable evaluates an expression and assigns the result to a
21// declared variable in the main scope.
22type SetVariable struct {
23 engine.LinearNode
24 variable workflowapi.Reference
25 value workflowapi.Expression
26}
27
28// NewSetVariable builds a SetVariable node.
29func NewSetVariable(id string, variable workflowapi.Reference, value workflowapi.Expression) *SetVariable {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected