pub struct StatefulSetUpdateStrategy {
pub rolling_update: Option<RollingUpdateStatefulSetStrategy>,
pub type_: Option<String>,
}
Expand description
StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to perform updates. It includes any additional parameters necessary to perform the update for the indicated strategy.
Fields§
§rolling_update: Option<RollingUpdateStatefulSetStrategy>
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 StatefulSetUpdateStrategy
impl Clone for StatefulSetUpdateStrategy
Source§fn clone(&self) -> StatefulSetUpdateStrategy
fn clone(&self) -> StatefulSetUpdateStrategy
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 StatefulSetUpdateStrategy
impl Debug for StatefulSetUpdateStrategy
Source§impl DeepMerge for StatefulSetUpdateStrategy
impl DeepMerge for StatefulSetUpdateStrategy
Source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.Source§impl Default for StatefulSetUpdateStrategy
impl Default for StatefulSetUpdateStrategy
Source§fn default() -> StatefulSetUpdateStrategy
fn default() -> StatefulSetUpdateStrategy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StatefulSetUpdateStrategy
impl<'de> Deserialize<'de> for StatefulSetUpdateStrategy
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
impl StructuralPartialEq for StatefulSetUpdateStrategy
Auto Trait Implementations§
impl Freeze for StatefulSetUpdateStrategy
impl RefUnwindSafe for StatefulSetUpdateStrategy
impl Send for StatefulSetUpdateStrategy
impl Sync for StatefulSetUpdateStrategy
impl Unpin for StatefulSetUpdateStrategy
impl UnwindSafe for StatefulSetUpdateStrategy
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