Struct k8s_openapi_ext::appsv1::StatefulSetOrdinals
source · pub struct StatefulSetOrdinals {
pub start: Option<i32>,
}Expand description
StatefulSetOrdinals describes the policy used for replica ordinal assignment in this StatefulSet.
Fields§
§start: Option<i32>start is the number representing the first replica’s index. It may be used to number replicas from an alternate index (eg: 1-indexed) over the default 0-indexed names, or to orchestrate progressive movement of replicas from one StatefulSet to another. If set, replica indices will be in the range: [.spec.ordinals.start, .spec.ordinals.start + .spec.replicas). If unset, defaults to 0. Replica indices will be in the range: [0, .spec.replicas).
Trait Implementations§
source§impl Clone for StatefulSetOrdinals
impl Clone for StatefulSetOrdinals
source§fn clone(&self) -> StatefulSetOrdinals
fn clone(&self) -> StatefulSetOrdinals
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 StatefulSetOrdinals
impl Debug for StatefulSetOrdinals
source§impl DeepMerge for StatefulSetOrdinals
impl DeepMerge for StatefulSetOrdinals
source§fn merge_from(&mut self, other: StatefulSetOrdinals)
fn merge_from(&mut self, other: StatefulSetOrdinals)
Merge
other into self.source§impl Default for StatefulSetOrdinals
impl Default for StatefulSetOrdinals
source§fn default() -> StatefulSetOrdinals
fn default() -> StatefulSetOrdinals
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for StatefulSetOrdinals
impl<'de> Deserialize<'de> for StatefulSetOrdinals
source§fn deserialize<D>(
deserializer: D
) -> Result<StatefulSetOrdinals, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>( deserializer: D ) -> Result<StatefulSetOrdinals, <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<StatefulSetOrdinals> for StatefulSetOrdinals
impl PartialEq<StatefulSetOrdinals> for StatefulSetOrdinals
source§fn eq(&self, other: &StatefulSetOrdinals) -> bool
fn eq(&self, other: &StatefulSetOrdinals) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for StatefulSetOrdinals
impl Serialize for StatefulSetOrdinals
source§fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,
Serialize this value into the given Serde serializer. Read more