pub enum DriftPolicy {
Auto,
NotifyOnly,
Prompt,
}Expand description
Daemon drift reconciliation policy. PascalCase values match K8s enum conventions.
Variants§
Auto
Apply drift corrections automatically (current behavior, now opt-in).
NotifyOnly
Notify and record drift, but do not apply. User must run cfgd apply.
Prompt
Future: notify with actionable prompt.
Trait Implementations§
Source§impl Clone for DriftPolicy
impl Clone for DriftPolicy
Source§fn clone(&self) -> DriftPolicy
fn clone(&self) -> DriftPolicy
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 DriftPolicy
impl Debug for DriftPolicy
Source§impl Default for DriftPolicy
impl Default for DriftPolicy
Source§fn default() -> DriftPolicy
fn default() -> DriftPolicy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DriftPolicy
impl<'de> Deserialize<'de> for DriftPolicy
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DriftPolicy
impl PartialEq for DriftPolicy
Source§impl Serialize for DriftPolicy
impl Serialize for DriftPolicy
impl Eq for DriftPolicy
impl StructuralPartialEq for DriftPolicy
Auto Trait Implementations§
impl Freeze for DriftPolicy
impl RefUnwindSafe for DriftPolicy
impl Send for DriftPolicy
impl Sync for DriftPolicy
impl Unpin for DriftPolicy
impl UnsafeUnpin for DriftPolicy
impl UnwindSafe for DriftPolicy
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.