Skip to main content

Module deployment_bootstrap

Module deployment_bootstrap 

Source
Expand description

Offline service identity admission before network services start.

Re-exports§

pub use crate::config::MAX_SERVICE_IDENTITY_TTL_SECS;
pub use crate::config::MIN_SERVICE_IDENTITY_TTL_SECS;

Structs§

VerifiedServiceRosterEntry
One public roster member projected from the checkpoint-verified accepted state read back from the store after admission. Contains no secret material: only the admitted DID, epoch, bounded validity, and the accepted-state head digest binding the entry to that exact state.

Enums§

DeploymentStoreInit
Outcome of an explicit deployment checkpoint-store initialization.

Functions§

init_checkpoint_store
Explicitly create the empty deployment checkpoint store for a newly provisioned deployment, or reuse a healthy retained one, on the configured backend (#1257).
init_checkpoint_store_for_fresh_genesis
Fresh-genesis variant used only by the protected staging bootstrap when its saved-plan manifest is bound to the approved pre-genesis RDS snapshot. Unlike normal initialization, this deliberately clears the records KV.
inspect_services
Read the current accepted roster without acquiring a writer or admitting state. Returns a complete public JSON document only after every member has passed the existing deployment/checkpoint/key-binding/freshness validators. The caller emits these buffered bytes; no output or store is written here.
provision_services
Provision or renew a complete local service roster. The database writer lock excludes a running registry; callers must order this before services.