pub struct InstalledService {
pub name: String,
pub version: String,
pub repo: String,
pub ports: BTreeMap<String, u16>,
pub auth_kind: Option<AuthKind>,
pub exposure: Exposure,
pub provides: Vec<Capability>,
pub installed: bool,
}Expand description
In-memory view of a single installed service. Reconstructed by
ryra_core::list_installed() from the quadlet directory’s
# Service-* headers + the per-service .env file. No longer
persisted to preferences.toml — the on-disk artifacts are the
source of truth.
Fields§
§name: String§version: String§repo: String§ports: BTreeMap<String, u16>All allocated host ports by name (e.g., “http” → 8080, “tcp” → 5432).
auth_kind: Option<AuthKind>The auth kind the user chose when installing this service, if any.
exposure: ExposureHow this service is reachable.
provides: Vec<Capability>Capabilities this service provides — the persisted snapshot of
service.toml’s [capabilities] provides taken at install time.
Empty for services whose service.toml didn’t declare any (i.e.
most application services, all of which are pure consumers).
installed: boolWhether the service was fully installed. Always true when
reconstructed from the quadlet scan (a marker’d .container
only exists for completed installs).
Trait Implementations§
Source§impl Clone for InstalledService
impl Clone for InstalledService
Source§fn clone(&self) -> InstalledService
fn clone(&self) -> InstalledService
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more