pub struct ReplicationControllerStatus {
pub replicas: Option<i32>,
pub fully_labeled_replicas: Option<i32>,
pub ready_replicas: Option<i32>,
pub available_replicas: Option<i32>,
pub observed_generation: Option<i64>,
pub conditions: Vec<ReplicationControllerCondition>,
}Expand description
ReplicationControllerStatus represents the current status of a replication controller.
Fields§
§replicas: Option<i32>Replicas is the most recently observed number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller
fully_labeled_replicas: Option<i32>The number of pods that have labels matching the labels of the pod template of the replication controller. +optional
ready_replicas: Option<i32>The number of ready replicas for this replication controller. +optional
available_replicas: Option<i32>The number of available replicas (ready for at least minReadySeconds) for this replication controller. +optional
observed_generation: Option<i64>ObservedGeneration reflects the generation of the most recently observed replication controller. +optional
conditions: Vec<ReplicationControllerCondition>Represents the latest available observations of a replication controller’s current state. +optional +patchMergeKey=type +patchStrategy=merge +listType=map +listMapKey=type
Implementations§
Source§impl ReplicationControllerStatus
impl ReplicationControllerStatus
Sourcepub fn replicas(&self) -> i32
pub fn replicas(&self) -> i32
Returns the value of replicas, or the default value if replicas is unset.
Sourcepub fn fully_labeled_replicas(&self) -> i32
pub fn fully_labeled_replicas(&self) -> i32
Returns the value of fully_labeled_replicas, or the default value if fully_labeled_replicas is unset.
Sourcepub fn observed_generation(&self) -> i64
pub fn observed_generation(&self) -> i64
Returns the value of observed_generation, or the default value if observed_generation is unset.
Sourcepub fn ready_replicas(&self) -> i32
pub fn ready_replicas(&self) -> i32
Returns the value of ready_replicas, or the default value if ready_replicas is unset.
Sourcepub fn available_replicas(&self) -> i32
pub fn available_replicas(&self) -> i32
Returns the value of available_replicas, or the default value if available_replicas is unset.
Trait Implementations§
Source§impl Clone for ReplicationControllerStatus
impl Clone for ReplicationControllerStatus
Source§fn clone(&self) -> ReplicationControllerStatus
fn clone(&self) -> ReplicationControllerStatus
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ReplicationControllerStatus
impl Debug for ReplicationControllerStatus
Source§impl Message for ReplicationControllerStatus
impl Message for ReplicationControllerStatus
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.impl StructuralPartialEq for ReplicationControllerStatus
Auto Trait Implementations§
impl Freeze for ReplicationControllerStatus
impl RefUnwindSafe for ReplicationControllerStatus
impl Send for ReplicationControllerStatus
impl Sync for ReplicationControllerStatus
impl Unpin for ReplicationControllerStatus
impl UnsafeUnpin for ReplicationControllerStatus
impl UnwindSafe for ReplicationControllerStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request