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
source§impl PartialEq<StatefulSetUpdateStrategy> for StatefulSetUpdateStrategy
impl PartialEq<StatefulSetUpdateStrategy> for StatefulSetUpdateStrategy
source§fn eq(&self, other: &StatefulSetUpdateStrategy) -> bool
fn eq(&self, other: &StatefulSetUpdateStrategy) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.