Skip to main content

Module hooks

Module hooks 

Source
Expand description

Hook runner — dispatches registered hooks at lifecycle points.

Structs§

HookRunOutcome
Aggregate control and context output from one lifecycle seam.
HookRunner
Engine adapter around the standalone hook dispatcher.
LifecycleHookTestOutput
Raw handler result returned by the settings dry-run endpoint.
ScriptHook
One config-driven lifecycle script executed by an installed system runtime.
ShellCommandHook
One config-driven lifecycle shell command.

Enums§

LifecycleHookEvent
User-facing lifecycle events that currently map to engine hook seams.
LifecycleScriptRunner
Runtime used to execute a lifecycle script.

Functions§

test_lifecycle_handler
Execute one configured handler against a deterministic synthetic payload. Production runtime limits and output caps are preserved, while result interpretation is skipped so callers receive raw diagnostics.
test_lifecycle_shell_command
Backward-compatible command-only dry-run entry point.

Type Aliases§

ShellHookEvent
Backward-compatible name retained for SDK consumers.
ShellHookTestOutput
Backward-compatible name for the command-only dry-run response.