Skip to main content

Module executor

Module executor 

Source

Structs§

ExecutionOutput
Output of a single executed action.
RealActionExecutor
Production executor that delegates to real OS processes and filesystem ops.

Enums§

ExecutorError

Traits§

ActionExecutor
Abstraction over action execution, making the execute + rollback path testable without spawning real OS commands.

Functions§

build_action_spec
Map an action name and JSON params to an ActionSpec.
execute_spec
Execute an ActionSpec and return the output.
rollback_spec_for
Return the rollback ActionSpec for action_name, or None if no automatic rollback is defined.