pub struct MachinePoolStatus {
pub available_replicas: Option<i32>,
pub conditions: Option<Vec<Condition>>,
pub deprecated: Option<MachinePoolStatusDeprecated>,
pub initialization: Option<MachinePoolStatusInitialization>,
pub node_refs: Option<Vec<ObjectReference>>,
pub observed_generation: Option<i64>,
pub phase: Option<MachinePoolStatusPhase>,
pub ready_replicas: Option<i32>,
pub replicas: Option<i32>,
pub up_to_date_replicas: Option<i32>,
}Expand description
status is the observed state of MachinePool.
Fields§
§available_replicas: Option<i32>availableReplicas is the number of available replicas for this MachinePool. A machine is considered available when Machine’s Available condition is true.
conditions: Option<Vec<Condition>>conditions represents the observations of a MachinePool’s current state. Known condition types are Available, BootstrapConfigReady, InfrastructureReady, MachinesReady, MachinesUpToDate, ScalingUp, ScalingDown, Remediating, Deleting, Paused.
deprecated: Option<MachinePoolStatusDeprecated>deprecated groups all the status fields that are deprecated and will be removed when all the nested field are removed.
initialization: Option<MachinePoolStatusInitialization>initialization provides observations of the MachinePool initialization process. NOTE: Fields in this struct are part of the Cluster API contract and are used to orchestrate initial MachinePool provisioning.
node_refs: Option<Vec<ObjectReference>>nodeRefs will point to the corresponding Nodes if it they exist.
observed_generation: Option<i64>observedGeneration is the latest generation observed by the controller.
phase: Option<MachinePoolStatusPhase>phase represents the current phase of cluster actuation.
ready_replicas: Option<i32>readyReplicas is the number of ready replicas for this MachinePool. A machine is considered ready when Machine’s Ready condition is true.
replicas: Option<i32>replicas is the most recently observed number of replicas.
up_to_date_replicas: Option<i32>upToDateReplicas is the number of up-to-date replicas targeted by this MachinePool. A machine is considered up-to-date when Machine’s UpToDate condition is true.
Trait Implementations§
Source§impl Clone for MachinePoolStatus
impl Clone for MachinePoolStatus
Source§fn clone(&self) -> MachinePoolStatus
fn clone(&self) -> MachinePoolStatus
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for MachinePoolStatus
impl Debug for MachinePoolStatus
Source§impl Default for MachinePoolStatus
impl Default for MachinePoolStatus
Source§fn default() -> MachinePoolStatus
fn default() -> MachinePoolStatus
Source§impl<'de> Deserialize<'de> for MachinePoolStatus
impl<'de> Deserialize<'de> for MachinePoolStatus
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 MachinePoolStatus
impl JsonSchema for MachinePoolStatus
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 MachinePoolStatus
impl PartialEq for MachinePoolStatus
Source§impl Serialize for MachinePoolStatus
impl Serialize for MachinePoolStatus
impl StructuralPartialEq for MachinePoolStatus
Auto Trait Implementations§
impl Freeze for MachinePoolStatus
impl RefUnwindSafe for MachinePoolStatus
impl Send for MachinePoolStatus
impl Sync for MachinePoolStatus
impl Unpin for MachinePoolStatus
impl UnsafeUnpin for MachinePoolStatus
impl UnwindSafe for MachinePoolStatus
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