pub struct MachineDeploymentStatus {
pub available_replicas: Option<i32>,
pub conditions: Option<Vec<Condition>>,
pub observed_generation: Option<i64>,
pub phase: Option<MachineDeploymentStatusPhase>,
pub ready_replicas: Option<i32>,
pub replicas: Option<i32>,
pub selector: Option<String>,
pub unavailable_replicas: Option<i32>,
pub updated_replicas: Option<i32>,
pub v1beta2: Option<MachineDeploymentStatusV1beta2>,
}
Expand description
status is the observed state of MachineDeployment.
Fields§
§available_replicas: Option<i32>
availableReplicas is the total number of available machines (ready for at least minReadySeconds) targeted by this deployment.
conditions: Option<Vec<Condition>>
conditions defines current service state of the MachineDeployment.
observed_generation: Option<i64>
observedGeneration is the generation observed by the deployment controller.
phase: Option<MachineDeploymentStatusPhase>
phase represents the current phase of a MachineDeployment (ScalingUp, ScalingDown, Running, Failed, or Unknown).
ready_replicas: Option<i32>
readyReplicas is the total number of ready machines targeted by this deployment.
replicas: Option<i32>
replicas is the total number of non-terminated machines targeted by this deployment (their labels match the selector).
selector: Option<String>
selector is the same as the label selector but in the string format to avoid introspection by clients. The string will be in the same format as the query-param syntax. More info about label selectors: http://kubernetes.io/docs/user-guide/labels#label-selectors
unavailableReplicas is the total number of unavailable machines targeted by this deployment. This is the total number of machines that are still required for the deployment to have 100% available capacity. They may either be machines that are running but not yet available or machines that still have not been created.
Deprecated: This field is deprecated and is going to be removed in the next apiVersion. Please see https://github.com/kubernetes-sigs/cluster-api/blob/main/docs/proposals/20240916-improve-status-in-CAPI-resources.md for more details.
updated_replicas: Option<i32>
updatedReplicas is the total number of non-terminated machines targeted by this deployment that have the desired template spec.
v1beta2: Option<MachineDeploymentStatusV1beta2>
v1beta2 groups all the fields that will be added or modified in MachineDeployment’s status with the V1Beta2 version.
Trait Implementations§
Source§impl Clone for MachineDeploymentStatus
impl Clone for MachineDeploymentStatus
Source§fn clone(&self) -> MachineDeploymentStatus
fn clone(&self) -> MachineDeploymentStatus
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for MachineDeploymentStatus
impl Debug for MachineDeploymentStatus
Source§impl Default for MachineDeploymentStatus
impl Default for MachineDeploymentStatus
Source§fn default() -> MachineDeploymentStatus
fn default() -> MachineDeploymentStatus
Source§impl<'de> Deserialize<'de> for MachineDeploymentStatus
impl<'de> Deserialize<'de> for MachineDeploymentStatus
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>,
Source§impl JsonSchema for MachineDeploymentStatus
impl JsonSchema for MachineDeploymentStatus
Source§fn schema_name() -> String
fn schema_name() -> String
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref
keyword. Read moreSource§impl PartialEq for MachineDeploymentStatus
impl PartialEq for MachineDeploymentStatus
Source§fn eq(&self, other: &MachineDeploymentStatus) -> bool
fn eq(&self, other: &MachineDeploymentStatus) -> bool
self
and other
values to be equal, and is used by ==
.Source§impl Serialize for MachineDeploymentStatus
impl Serialize for MachineDeploymentStatus
impl StructuralPartialEq for MachineDeploymentStatus
Auto Trait Implementations§
impl Freeze for MachineDeploymentStatus
impl RefUnwindSafe for MachineDeploymentStatus
impl Send for MachineDeploymentStatus
impl Sync for MachineDeploymentStatus
impl Unpin for MachineDeploymentStatus
impl UnwindSafe for MachineDeploymentStatus
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more