Struct k8s_openapi::api::apps::v1::StatefulSetUpdateStrategy
source · 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)