Module types

Module types 

Source
Expand description

Typed config-file schemas for cli.toml and server.toml.

See CliConfiguration and ServerConfiguration for the top-level shapes. The loaders that materialise these from disk live in the parent module (super::get_cli_configuration, super::get_server_configuration).

Structs§

CliConfiguration
Top-level configuration for the manta-cli binary. Persisted as TOML under ~/.config/manta/cli.toml. Carries only the fields the CLI uses — every backend connection detail (per-site URLs, TLS certs, vault, k8s, per-site SOCKS proxies) lives in ServerConfiguration. The CLI only knows about the one manta-server it talks to.
ServerConfiguration
Top-level configuration for the manta-server binary. Persisted as TOML under ~/.config/manta/server.toml. Has no notion of an “active” site — the server hosts every configured site simultaneously and clients select per-request via the X-Manta-Site header.
ServerSettings
Server-only settings — TLS, listen address, console behaviour. Lives under [server] in server.toml.
Site
Connection details for a single ALPS site (CSM or OCHAMI instance).

Enums§

BackendTechnology
Which backend API this site speaks.