pub struct ReplicationControllerStatus {
pub available_replicas: Option<i32>,
pub conditions: Option<Vec<ReplicationControllerCondition, Global>>,
pub fully_labeled_replicas: Option<i32>,
pub observed_generation: Option<i64>,
pub ready_replicas: Option<i32>,
pub replicas: i32,
}
Expand description
ReplicationControllerStatus represents the current status of a replication controller.
Fields
available_replicas: Option<i32>
The number of available replicas (ready for at least minReadySeconds) for this replication controller.
conditions: Option<Vec<ReplicationControllerCondition, Global>>
Represents the latest available observations of a replication controller’s current state.
fully_labeled_replicas: Option<i32>
The number of pods that have labels matching the labels of the pod template of the replication controller.
observed_generation: Option<i64>
ObservedGeneration reflects the generation of the most recently observed replication controller.
ready_replicas: Option<i32>
The number of ready replicas for this replication controller.
replicas: i32
Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller
Trait Implementations
sourceimpl Clone for ReplicationControllerStatus
impl Clone for ReplicationControllerStatus
sourcefn clone(&self) -> ReplicationControllerStatus
fn clone(&self) -> ReplicationControllerStatus
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ReplicationControllerStatus
impl Debug for ReplicationControllerStatus
sourceimpl DeepMerge for ReplicationControllerStatus
impl DeepMerge for ReplicationControllerStatus
sourcefn merge_from(&mut self, other: ReplicationControllerStatus)
fn merge_from(&mut self, other: ReplicationControllerStatus)
Merge
other
into self
.sourceimpl Default for ReplicationControllerStatus
impl Default for ReplicationControllerStatus
sourcefn default() -> ReplicationControllerStatus
fn default() -> ReplicationControllerStatus
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ReplicationControllerStatus
impl<'de> Deserialize<'de> for ReplicationControllerStatus
sourcefn deserialize<D>(
deserializer: D
) -> Result<ReplicationControllerStatus, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<ReplicationControllerStatus, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<ReplicationControllerStatus> for ReplicationControllerStatus
impl PartialEq<ReplicationControllerStatus> for ReplicationControllerStatus
sourcefn eq(&self, other: &ReplicationControllerStatus) -> bool
fn eq(&self, other: &ReplicationControllerStatus) -> bool
sourceimpl Serialize for ReplicationControllerStatus
impl Serialize for ReplicationControllerStatus
sourcefn 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
impl StructuralPartialEq for ReplicationControllerStatus
Auto Trait Implementations
impl RefUnwindSafe for ReplicationControllerStatus
impl Send for ReplicationControllerStatus
impl Sync for ReplicationControllerStatus
impl Unpin for ReplicationControllerStatus
impl UnwindSafe for ReplicationControllerStatus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more