utility

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func All

func All() []action.AnyAction

All returns every action in the utility sub-package in registration order. BaseLibrary consumes this directly.

func NewCallAction

func NewCallAction() action.AnyAction

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 NewConstAction() action.AnyAction

func NewDebugAction

func NewDebugAction() action.AnyAction

func NewDispatchByPrefixAction

func NewDispatchByPrefixAction() action.AnyAction

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 NewEnvAction() action.AnyAction

func NewFailAction

func NewFailAction() action.AnyAction

func NewNoopAction

func NewNoopAction() action.AnyAction

func NewPickAction

func NewPickAction() action.AnyAction

func NewUUIDAction

func NewUUIDAction() action.AnyAction

func NewWrapAction

func NewWrapAction() action.AnyAction

Types

This section is empty.

Jump to

Keyboard shortcuts

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