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 for StatefulSetOrdinals
impl PartialEq for StatefulSetOrdinals
Source§impl Serialize for StatefulSetOrdinals
impl Serialize for StatefulSetOrdinals
impl StructuralPartialEq for StatefulSetOrdinals
Auto Trait Implementations§
impl Freeze for StatefulSetOrdinals
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