Skip to main content

Module hooks

Module hooks 

Source
Expand description

Resource execution hooks (pre/post/failure). Resource execution hooks — pre/post/failure hooks for request dispatch.

Hook types and configuration are defined here in yeti-types so they can be referenced by both yeti-sdk (which runs hooks) and yeti-router (which dispatches requests).

Structs§

HookConfig
Hook configuration declared under [package.metadata.app.hooks] in the app’s Cargo.toml.
HookRunResult
Result of running a hook command.

Enums§

HookEvent
The phase at which a hook fires relative to resource dispatch.