Struct k8s_openapi::api::apps::v1::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: Self)
fn merge_from(&mut self, other: Self)
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<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<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
impl StructuralPartialEq for StatefulSetOrdinals
Auto Trait Implementations§
impl RefUnwindSafe for StatefulSetOrdinals
impl Send for StatefulSetOrdinals
impl Sync for StatefulSetOrdinals
impl Unpin for StatefulSetOrdinals
impl UnwindSafe for StatefulSetOrdinals
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