pub struct MachineDeploymentStatusV1beta2 {
pub available_replicas: Option<i32>,
pub conditions: Option<Vec<Condition>>,
pub ready_replicas: Option<i32>,
pub up_to_date_replicas: Option<i32>,
}
Expand description
v1beta2 groups all the fields that will be added or modified in MachineDeployment’s status with the V1Beta2 version.
Fields§
§available_replicas: Option<i32>
availableReplicas is the number of available replicas for this MachineDeployment. A machine is considered available when Machine’s Available condition is true.
conditions: Option<Vec<Condition>>
conditions represents the observations of a MachineDeployment’s current state. Known condition types are Available, MachinesReady, MachinesUpToDate, ScalingUp, ScalingDown, Remediating, Deleting, Paused.
ready_replicas: Option<i32>
readyReplicas is the number of ready replicas for this MachineDeployment. A machine is considered ready when Machine’s Ready condition is true.
up_to_date_replicas: Option<i32>
upToDateReplicas is the number of up-to-date replicas targeted by this deployment. A machine is considered up-to-date when Machine’s UpToDate condition is true.
Trait Implementations§
Source§impl Clone for MachineDeploymentStatusV1beta2
impl Clone for MachineDeploymentStatusV1beta2
Source§fn clone(&self) -> MachineDeploymentStatusV1beta2
fn clone(&self) -> MachineDeploymentStatusV1beta2
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for MachineDeploymentStatusV1beta2
impl Default for MachineDeploymentStatusV1beta2
Source§fn default() -> MachineDeploymentStatusV1beta2
fn default() -> MachineDeploymentStatusV1beta2
Source§impl<'de> Deserialize<'de> for MachineDeploymentStatusV1beta2
impl<'de> Deserialize<'de> for MachineDeploymentStatusV1beta2
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 MachineDeploymentStatusV1beta2
impl JsonSchema for MachineDeploymentStatusV1beta2
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 MachineDeploymentStatusV1beta2
impl PartialEq for MachineDeploymentStatusV1beta2
Source§fn eq(&self, other: &MachineDeploymentStatusV1beta2) -> bool
fn eq(&self, other: &MachineDeploymentStatusV1beta2) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for MachineDeploymentStatusV1beta2
Auto Trait Implementations§
impl Freeze for MachineDeploymentStatusV1beta2
impl RefUnwindSafe for MachineDeploymentStatusV1beta2
impl Send for MachineDeploymentStatusV1beta2
impl Sync for MachineDeploymentStatusV1beta2
impl Unpin for MachineDeploymentStatusV1beta2
impl UnwindSafe for MachineDeploymentStatusV1beta2
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