pub struct PlanRequest {
pub source: ConfigSource,
pub working_root: PathBuf,
pub selectors: Vec<String>,
pub lifecycle_intent: Option<LifecycleIntent>,
pub install_mode: Option<InstallMode>,
pub enrollment_strategy: Option<EnrollmentStrategy>,
pub reactivate: bool,
pub reenroll: bool,
pub convert_from: Option<String>,
pub offline: bool,
pub host_identity_action: Option<HostIdentityAction>,
pub endpoint_overrides: BTreeMap<String, String>,
}Fields§
§source: ConfigSource§working_root: PathBufExplicit root for operational inputs referenced by the request.
selectors: Vec<String>§lifecycle_intent: Option<LifecycleIntent>§install_mode: Option<InstallMode>Existing-guest policy for install plans. Invalid for other lifecycles.
enrollment_strategy: Option<EnrollmentStrategy>Confidential enrollment delivery for install/convert. Invalid for every other lifecycle and persisted in the resulting reviewed plan.
reactivate: boolRequest activation of the exact reviewed system even when it is already active. Valid only for the switch lifecycle; never bypasses policy.
reenroll: boolRequest Replace host plane enrollment: remint, sink overwrite, exact node cleanup, and Nix re-login. Valid for switch; identity-critical.
convert_from: Option<String>Explicit source identity for convert plans (for example [email protected]).
offline: boolExplicit metadata-only activation plan mode; never inferred from environment.
host_identity_action: Option<HostIdentityAction>Explicit stable SSH host-identity maintenance. Valid only without a lifecycle intent and never inferred from observed drift.
endpoint_overrides: BTreeMap<String, String>Explicit operation-scoped hostname -> IP overrides. Values are folded into the effective canonical config and therefore into the plan digest.
Trait Implementations§
Source§impl Clone for PlanRequest
impl Clone for PlanRequest
Source§fn clone(&self) -> PlanRequest
fn clone(&self) -> PlanRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for PlanRequest
impl Debug for PlanRequest
Source§impl PartialEq for PlanRequest
impl PartialEq for PlanRequest
impl Eq for PlanRequest
impl StructuralPartialEq for PlanRequest
Auto Trait Implementations§
impl Freeze for PlanRequest
impl RefUnwindSafe for PlanRequest
impl Send for PlanRequest
impl Sync for PlanRequest
impl Unpin for PlanRequest
impl UnsafeUnpin for PlanRequest
impl UnwindSafe for PlanRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§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>
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>,
Layered].