Struct k8s_openapi::api::apps::v1::DeploymentStatus
source · [−]pub struct DeploymentStatus {
pub available_replicas: Option<i32>,
pub collision_count: Option<i32>,
pub conditions: Option<Vec<DeploymentCondition>>,
pub observed_generation: Option<i64>,
pub ready_replicas: Option<i32>,
pub replicas: Option<i32>,
pub unavailable_replicas: Option<i32>,
pub updated_replicas: Option<i32>,
}
Expand description
DeploymentStatus is the most recently observed status of the Deployment.
Fields
available_replicas: Option<i32>
Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.
collision_count: Option<i32>
Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.
conditions: Option<Vec<DeploymentCondition>>
Represents the latest available observations of a deployment’s current state.
observed_generation: Option<i64>
The generation observed by the deployment controller.
ready_replicas: Option<i32>
readyReplicas is the number of pods targeted by this Deployment with a Ready Condition.
replicas: Option<i32>
Total number of non-terminated pods targeted by this deployment (their labels match the selector).
Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.
updated_replicas: Option<i32>
Total number of non-terminated pods targeted by this deployment that have the desired template spec.
Trait Implementations
sourceimpl Clone for DeploymentStatus
impl Clone for DeploymentStatus
sourcefn clone(&self) -> DeploymentStatus
fn clone(&self) -> DeploymentStatus
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 more
sourceimpl Debug for DeploymentStatus
impl Debug for DeploymentStatus
sourceimpl DeepMerge for DeploymentStatus
impl DeepMerge for DeploymentStatus
sourcefn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge other
into self
.
sourceimpl Default for DeploymentStatus
impl Default for DeploymentStatus
sourcefn default() -> DeploymentStatus
fn default() -> DeploymentStatus
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for DeploymentStatus
impl<'de> Deserialize<'de> for DeploymentStatus
sourcefn 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
sourceimpl PartialEq<DeploymentStatus> for DeploymentStatus
impl PartialEq<DeploymentStatus> for DeploymentStatus
sourcefn eq(&self, other: &DeploymentStatus) -> bool
fn eq(&self, other: &DeploymentStatus) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl Serialize for DeploymentStatus
impl Serialize for DeploymentStatus
impl StructuralPartialEq for DeploymentStatus
Auto Trait Implementations
impl RefUnwindSafe for DeploymentStatus
impl Send for DeploymentStatus
impl Sync for DeploymentStatus
impl Unpin for DeploymentStatus
impl UnwindSafe for DeploymentStatus
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