| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Ecluse.CheckConfig
Description
ecluse check-config: validate the configuration exactly as a boot would and
print the whole resolved posture, without starting anything.
The subcommand runs the same resolution chain the proxy boots through --
loadConfig, the runtime plan, the admission and pool sizings, the
memory plan, and the mirror-queue selection -- but applies none of it: no socket
opens, no capability count changes, no re-exec, no cloud call. Failures print the
same aggregated reports a boot would log and exit 2; a valid configuration
prints per-key provenance and every resolver's decision lines and exits 0, so an
operator (or a CI step) reads exactly what a boot would do before running one.
Synopsis
- runCheckConfig :: IO ()
Documentation
runCheckConfig :: IO () Source #
Validate, print the resolved posture, and exit: 0 valid, 2 refused.