pub struct Site {
pub backend: BackendTechnology,
pub socks5_proxy: Option<String>,
pub shasta_base_url: String,
pub k8s: Option<K8sDetails>,
pub root_ca_cert_file: String,
}Expand description
Connection details for a single ALPS site (CSM or OCHAMI instance).
The Vault URL used by handlers requiring vault (sat-file, session,
console, logs) is derived at startup from
[sites.X.k8s.authentication.vault] base_url. The vault secret path
is derived from a hard-coded prefix and the site name. Neither is
configured here.
Fields§
§backend: BackendTechnologyWhich backend implementation this site uses (csm or ochami).
socks5_proxy: Option<String>Optional per-site SOCKS5 proxy URL used by every outbound HTTP
request to this site’s backend. None means direct connection.
shasta_base_url: StringBase URL of the backend API (e.g. https://api.alps.cscs.ch).
k8s: Option<K8sDetails>Optional Kubernetes connection details, required by handlers that stream CFS session logs or attach to consoles.
root_ca_cert_file: StringPath (absolute or relative to the config dir) of the backend’s
root CA certificate, used to verify TLS to shasta_base_url.