Documentation
¶
Index ¶
- func All() []action.AnyAction
- func NewCallAction() action.AnyAction
- func NewConstAction() action.AnyAction
- func NewDebugAction() action.AnyAction
- func NewDispatchByPrefixAction() action.AnyAction
- func NewEnvAction() action.AnyAction
- func NewFailAction() action.AnyAction
- func NewNoopAction() action.AnyAction
- func NewPickAction() action.AnyAction
- func NewUUIDAction() action.AnyAction
- func NewWrapAction() action.AnyAction
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func All ¶
All returns every action in the utility sub-package in registration order. BaseLibrary consumes this directly.
func NewCallAction ¶
NewCallAction returns an action that resolves another action by name from the registry installed on the execution context, then invokes it.
Input: { name: "grade.a", payload: <optional> }. When payload is omitted, the whole input object is forwarded.
Security: call reaches anything in the registry. It is not a sandbox. If a flow processes untrusted input and the registry contains sensitive actions, restrict the flow's @profile or wrap call with an allowlist hook.
func NewConstAction ¶
func NewDebugAction ¶
func NewDispatchByPrefixAction ¶
NewDispatchByPrefixAction is the ergonomic form of call when the target name is `prefix + "." + key`. Same semantics, one less string concatenation in the .nflow file.
Input: { prefix: "grade", key: "a", payload: <optional> }.
func NewEnvAction ¶
func NewFailAction ¶
func NewNoopAction ¶
func NewPickAction ¶
func NewUUIDAction ¶
func NewWrapAction ¶
Types ¶
This section is empty.