Module app_context

Module app_context 

Source
Expand description

Server-side runtime infrastructure context.

InfraContext is the bundle of per-site connection data passed through the service layer for every request: backend dispatcher, API base URLs, TLS cert, optional vault/k8s URLs, SOCKS proxy. It depends on StaticBackendDispatcher, which is server-only — the CLI never instantiates this.

AppContext is re-exported from manta-shared so handlers / services that want the CLI shape can keep using crate::server::common::app_context::AppContext.

Structs§

AppContext
Top-level CLI context, passed as &AppContext through CLI handlers and commands.
InfraContext
Infrastructure context needed by the service layer: backend dispatcher, API endpoints, and TLS certificates.