Struct k8s_openapi::api::apps::v1::ReplicaSetStatus
source · pub struct ReplicaSetStatus {
pub available_replicas: Option<i32>,
pub conditions: Option<Vec<ReplicaSetCondition>>,
pub fully_labeled_replicas: Option<i32>,
pub observed_generation: Option<i64>,
pub ready_replicas: Option<i32>,
pub replicas: i32,
}
Expand description
ReplicaSetStatus represents the current status of a ReplicaSet.
Fields§
§available_replicas: Option<i32>
The number of available replicas (ready for at least minReadySeconds) for this replica set.
conditions: Option<Vec<ReplicaSetCondition>>
Represents the latest available observations of a replica set’s current state.
fully_labeled_replicas: Option<i32>
The number of pods that have labels matching the labels of the pod template of the replicaset.
observed_generation: Option<i64>
ObservedGeneration reflects the generation of the most recently observed ReplicaSet.
ready_replicas: Option<i32>
readyReplicas is the number of pods targeted by this ReplicaSet with a Ready Condition.
replicas: i32
Replicas is the most recently observed number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller
Trait Implementations§
source§impl Clone for ReplicaSetStatus
impl Clone for ReplicaSetStatus
source§fn clone(&self) -> ReplicaSetStatus
fn clone(&self) -> ReplicaSetStatus
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 ReplicaSetStatus
impl Debug for ReplicaSetStatus
source§impl DeepMerge for ReplicaSetStatus
impl DeepMerge for ReplicaSetStatus
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for ReplicaSetStatus
impl Default for ReplicaSetStatus
source§fn default() -> ReplicaSetStatus
fn default() -> ReplicaSetStatus
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ReplicaSetStatus
impl<'de> Deserialize<'de> for ReplicaSetStatus
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 ReplicaSetStatus
impl PartialEq for ReplicaSetStatus
source§fn eq(&self, other: &ReplicaSetStatus) -> bool
fn eq(&self, other: &ReplicaSetStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ReplicaSetStatus
impl Serialize for ReplicaSetStatus
impl StructuralPartialEq for ReplicaSetStatus
Auto Trait Implementations§
impl RefUnwindSafe for ReplicaSetStatus
impl Send for ReplicaSetStatus
impl Sync for ReplicaSetStatus
impl Unpin for ReplicaSetStatus
impl UnwindSafe for ReplicaSetStatus
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