Module policy

Module policy 

Source
Expand description

Policy configuration, gating, and rescue verification.

The policy module centralizes production hardening knobs and gating logic used by preflight and apply stages. Consumers typically construct a Policy via presets (production_preset, coreutils_switch_preset) and then customize fields before creating a Switchyard instance.

Submodules:

  • config: policy struct and presets
  • gating: apply-stage gating parity with preflight
  • rescue: rescue toolset verification helpers

The crate may expose compatibility re-exports at the top-level temporarily; prefer importing from switchyard::policy.

Re-exports§

pub use config::Policy;

Modules§

config
gating
rescue
Rescue tool availability verification.
types