pub struct MachineDeploymentStatus {
pub available_replicas: Option<i32>,
pub conditions: Option<Vec<Condition>>,
pub deprecated: Option<MachineDeploymentStatusDeprecated>,
pub observed_generation: Option<i64>,
pub phase: Option<MachineDeploymentStatusPhase>,
pub ready_replicas: Option<i32>,
pub replicas: Option<i32>,
pub selector: Option<String>,
pub up_to_date_replicas: Option<i32>,
}Expand description
status is the observed state of MachineDeployment.
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.
deprecated: Option<MachineDeploymentStatusDeprecated>deprecated groups all the status fields that are deprecated and will be removed when all the nested field are removed.
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 number of ready replicas for this MachineDeployment. A machine is considered ready when Machine’s Ready condition is true.
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
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 MachineDeploymentStatus
impl Clone for MachineDeploymentStatus
Source§fn clone(&self) -> MachineDeploymentStatus
fn clone(&self) -> MachineDeploymentStatus
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
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_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 inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read moreSource§impl PartialEq for MachineDeploymentStatus
impl PartialEq for MachineDeploymentStatus
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