pub struct DaemonSetUpdateStrategy {
pub rolling_update: Option<RollingUpdateDaemonSet>,
pub type_: Option<String>,
}
Expand description
DaemonSetUpdateStrategy is a struct used to control the update strategy for a DaemonSet.
Fields§
§rolling_update: Option<RollingUpdateDaemonSet>
Rolling update config params. Present only if type = “RollingUpdate”.
type_: Option<String>
Type of daemon set update. Can be “RollingUpdate” or “OnDelete”. Default is RollingUpdate.
Trait Implementations§
Source§impl Clone for DaemonSetUpdateStrategy
impl Clone for DaemonSetUpdateStrategy
Source§fn clone(&self) -> DaemonSetUpdateStrategy
fn clone(&self) -> DaemonSetUpdateStrategy
Returns a copy 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 DaemonSetUpdateStrategy
impl Debug for DaemonSetUpdateStrategy
Source§impl DeepMerge for DaemonSetUpdateStrategy
impl DeepMerge for DaemonSetUpdateStrategy
Source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.Source§impl Default for DaemonSetUpdateStrategy
impl Default for DaemonSetUpdateStrategy
Source§fn default() -> DaemonSetUpdateStrategy
fn default() -> DaemonSetUpdateStrategy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DaemonSetUpdateStrategy
impl<'de> Deserialize<'de> for DaemonSetUpdateStrategy
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 DaemonSetUpdateStrategy
impl PartialEq for DaemonSetUpdateStrategy
Source§impl Serialize for DaemonSetUpdateStrategy
impl Serialize for DaemonSetUpdateStrategy
impl StructuralPartialEq for DaemonSetUpdateStrategy
Auto Trait Implementations§
impl Freeze for DaemonSetUpdateStrategy
impl RefUnwindSafe for DaemonSetUpdateStrategy
impl Send for DaemonSetUpdateStrategy
impl Sync for DaemonSetUpdateStrategy
impl Unpin for DaemonSetUpdateStrategy
impl UnwindSafe for DaemonSetUpdateStrategy
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