Expand description
Shared library used by both manta-cli and manta-server.
Top-level modules:
types— wire-shaped data (request*Params, response DTOs, cluster-status helpers). The CLI↔server API contract — both binaries serialize and deserialize through these types.common— bi-binary behavioural helpers: theconfigloader (returns an untyped::config::Config),MantaError, andlog_ops::configure(...). Single-binary helpers (audit,kafka,jwt_ops, the SAT-file Jinja renderer) and the typed config schemas (CliConfiguration,ServerConfiguration,Auditor/Kafka) live with whichever binary uses them.
The backend bridge (StaticBackendDispatcher, the CSM/OCHAMI trait
impls, and authorization helpers that take a &StaticBackendDispatcher)
lives in manta-server; the CLI never reaches it.
Modules§
- common
- Behavioural helpers used by both binaries: config loader, error
type, log-init helper.
log_opsis bi-binary; bothmanta-cliandmanta-serverconfigure(...)the tracing subscriber on startup. - image_
session - Provenance metadata written to an IMS image after a successful CFS
session (
base,groups,configuration). Provenance metadata attached to an IMS image after a successful CFS session. - types
- Wire types shared between the
manta-cliandmanta-serverbinaries — the CLI↔server API contract.