pub struct RuntimeComponentStatefulSetUpdateStrategy {
pub rolling_update: Option<RuntimeComponentStatefulSetUpdateStrategyRollingUpdate>,
pub type: Option<String>,
}Expand description
Specifies the strategy to replace old statefulSet pods with new pods.
Fields§
§rolling_update: Option<RuntimeComponentStatefulSetUpdateStrategyRollingUpdate>RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType.
type: Option<String>Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate.
Trait Implementations§
Source§impl Clone for RuntimeComponentStatefulSetUpdateStrategy
impl Clone for RuntimeComponentStatefulSetUpdateStrategy
Source§fn clone(&self) -> RuntimeComponentStatefulSetUpdateStrategy
fn clone(&self) -> RuntimeComponentStatefulSetUpdateStrategy
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 Default for RuntimeComponentStatefulSetUpdateStrategy
impl Default for RuntimeComponentStatefulSetUpdateStrategy
Source§fn default() -> RuntimeComponentStatefulSetUpdateStrategy
fn default() -> RuntimeComponentStatefulSetUpdateStrategy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RuntimeComponentStatefulSetUpdateStrategy
impl<'de> Deserialize<'de> for RuntimeComponentStatefulSetUpdateStrategy
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 RuntimeComponentStatefulSetUpdateStrategy
impl PartialEq for RuntimeComponentStatefulSetUpdateStrategy
Source§fn eq(&self, other: &RuntimeComponentStatefulSetUpdateStrategy) -> bool
fn eq(&self, other: &RuntimeComponentStatefulSetUpdateStrategy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RuntimeComponentStatefulSetUpdateStrategy
Auto Trait Implementations§
impl Freeze for RuntimeComponentStatefulSetUpdateStrategy
impl RefUnwindSafe for RuntimeComponentStatefulSetUpdateStrategy
impl Send for RuntimeComponentStatefulSetUpdateStrategy
impl Sync for RuntimeComponentStatefulSetUpdateStrategy
impl Unpin for RuntimeComponentStatefulSetUpdateStrategy
impl UnwindSafe for RuntimeComponentStatefulSetUpdateStrategy
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