pub struct ReconcilePatch {
pub kind: ReconcilePatchKind,
pub name: Option<String>,
pub interval: Option<String>,
pub auto_apply: Option<bool>,
pub drift_policy: Option<DriftPolicy>,
}Expand description
A kustomize-style reconcile patch targeting a specific module or profile.
When name is omitted, the patch applies to all entities of the given kind.
Fields§
§kind: ReconcilePatchKind§name: Option<String>§interval: Option<String>§auto_apply: Option<bool>§drift_policy: Option<DriftPolicy>Trait Implementations§
Source§impl Clone for ReconcilePatch
impl Clone for ReconcilePatch
Source§fn clone(&self) -> ReconcilePatch
fn clone(&self) -> ReconcilePatch
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 ReconcilePatch
impl Debug for ReconcilePatch
Source§impl<'de> Deserialize<'de> for ReconcilePatch
impl<'de> Deserialize<'de> for ReconcilePatch
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
Auto Trait Implementations§
impl Freeze for ReconcilePatch
impl RefUnwindSafe for ReconcilePatch
impl Send for ReconcilePatch
impl Sync for ReconcilePatch
impl Unpin for ReconcilePatch
impl UnsafeUnpin for ReconcilePatch
impl UnwindSafe for ReconcilePatch
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