batteries/orchestration/cells/lua
The Lua predicate cell — an untrusted-script evaluator for branch and select nodes.
Interfaces
| Interface | Description |
|---|---|
| CreateLuaCellOptions | The options accepted by createLuaCell. All optional; every field has a safe default. |
| LuaCell | The type of the cell returned by createLuaCell. It is a PredicateEvaluator with one extra field, status(), for inspecting the enforcement guarantee. |
| LuaCellStatus | Inspectable runtime status of a Lua cell instance: which enforcement layers are live and which were probed away at construction. Exposed for diagnostics and for tests that need to assert the guarantee without triggering a runaway script. |
Type Aliases
| Type Alias | Description |
|---|---|
| LuaCellGuarantee | The enforcement guarantee a cell instance is actually delivering, probed at construction. |
Functions
| Function | Description |
|---|---|
| createLuaCell | Construct a Lua predicate evaluator cell. |