Skip to main content

Module bootstrap

Module bootstrap 

Source
Expand description

ensure_local_environment (A4 of plans/next-gen-deployment.md).

Idempotent bootstrap of the local Environment with the five default greentic_deploy_spec::EnvPackBindings (deployer/secrets/telemetry/sessions/state). Invoked by gtc setup and gtc start before any operator-state read so first-run installs always have an env to bind against.

Heavy resolution of the descriptor strings to concrete handlers is the env-pack registry’s job (A9); A4 only persists the binding intent.

Re-exports§

pub use crate::environment::LocalEnvOutcome;

Functions§

ensure_local_environment
Creates the local Environment with default env-pack bindings if absent.