pub struct OrgOptions {Show 14 fields
pub cpus: Option<u32>,
pub memory: Option<String>,
pub disk: Option<String>,
pub instances: Option<u32>,
pub lift: Vec<Limit>,
pub default_cpus: Option<u32>,
pub default_memory: Option<String>,
pub bind_roots: Vec<PathBuf>,
pub egress: Option<Vec<Egress>>,
pub domains: Option<Vec<String>>,
pub ingress: Option<String>,
pub cloudflare_account: Option<String>,
pub cloudflare_zone: Option<String>,
pub udp: Option<Vec<SocketAddr>>,
}Expand description
Limits for an org as a whole (the incus project’s limits) and the defaults each instance gets when its spec sets none.
Fields§
§cpus: Option<u32>Total CPUs across the org’s instances.
memory: Option<String>Total memory, e.g. 16GiB.
disk: Option<String>Total disk, e.g. 100GiB.
instances: Option<u32>§lift: Vec<Limit>Limits to remove, so the org is no longer limited by them.
default_cpus: Option<u32>Per-instance defaults (incus requires one once the project is limited).
default_memory: Option<String>§bind_roots: Vec<PathBuf>Host directories the org’s instances may bind-mount from.
egress: Option<Vec<Egress>>Private destinations the org may reach despite the default deny.
None keeps what the org has; Some replaces it.
domains: Option<Vec<String>>Domain suffixes the org’s services may serve; Some(empty) clears,
None keeps.
ingress: Option<String>caddy or cloudflare-tunnel; None keeps.
cloudflare_account: Option<String>Cloudflare account and zone ids for the tunnel provider’s API calls (Some("") clears).
cloudflare_zone: Option<String>§udp: Option<Vec<SocketAddr>>UDP ports (IP:PORT) the org’s stacks may publish (allowed_udp);
Some(empty) clears, None keeps.