pub struct RuntimeOptions {
pub debug: bool,
pub reenroll: bool,
pub low_mem: Option<bool>,
pub builder: Option<String>,
pub flake: Option<String>,
pub secrets_repo: Option<String>,
pub secrets_site: Option<String>,
pub parallel: usize,
pub reactivate: bool,
}Expand description
Process-level operator options injected once by the CLI composition root.
Production code must not invent values from scattered environment reads for
these fields. The only writer outside tests is nxd-cli main via
set_runtime_options. Prefer threading values on RuntimeContext when
adding new call paths.
Fields§
§debug: bool§reenroll: boolRequest host plane enrollment replace on switch (operator surface: –reenroll).
low_mem: Option<bool>§builder: Option<String>§flake: Option<String>§secrets_repo: Option<String>§secrets_site: Option<String>§parallel: usizeMax concurrent independent deployment-target apply workers (and legacy batch ops).
reactivate: boolTrait Implementations§
Source§impl Clone for RuntimeOptions
impl Clone for RuntimeOptions
Source§fn clone(&self) -> RuntimeOptions
fn clone(&self) -> RuntimeOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RuntimeOptions
impl Debug for RuntimeOptions
Auto Trait Implementations§
impl Freeze for RuntimeOptions
impl RefUnwindSafe for RuntimeOptions
impl Send for RuntimeOptions
impl Sync for RuntimeOptions
impl Unpin for RuntimeOptions
impl UnsafeUnpin for RuntimeOptions
impl UnwindSafe for RuntimeOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Applies the layer to a service and wraps it in [
Layered].