pub struct MachineStatus {
pub addresses: Option<Vec<MachineStatusAddresses>>,
pub certificates_expiry_date: Option<String>,
pub conditions: Option<Vec<Condition>>,
pub deletion: Option<MachineStatusDeletion>,
pub deprecated: Option<MachineStatusDeprecated>,
pub initialization: Option<MachineStatusInitialization>,
pub last_updated: Option<String>,
pub node_info: Option<MachineStatusNodeInfo>,
pub node_ref: Option<MachineStatusNodeRef>,
pub observed_generation: Option<i64>,
pub phase: Option<MachineStatusPhase>,
}Expand description
status is the observed state of Machine.
Fields§
§addresses: Option<Vec<MachineStatusAddresses>>addresses is a list of addresses assigned to the machine. This field is copied from the infrastructure provider reference.
certificates_expiry_date: Option<String>certificatesExpiryDate is the expiry date of the machine certificates. This value is only set for control plane machines.
conditions: Option<Vec<Condition>>conditions represents the observations of a Machine’s current state. Known condition types are Available, Ready, UpToDate, BootstrapConfigReady, InfrastructureReady, NodeReady, NodeHealthy, Updating, Deleting, Paused. If a MachineHealthCheck is targeting this machine, also HealthCheckSucceeded, OwnerRemediated conditions are added. Additionally control plane Machines controlled by KubeadmControlPlane will have following additional conditions: APIServerPodHealthy, ControllerManagerPodHealthy, SchedulerPodHealthy, EtcdPodHealthy, EtcdMemberHealthy.
deletion: Option<MachineStatusDeletion>deletion contains information relating to removal of the Machine. Only present when the Machine has a deletionTimestamp and drain or wait for volume detach started.
deprecated: Option<MachineStatusDeprecated>deprecated groups all the status fields that are deprecated and will be removed when all the nested field are removed.
initialization: Option<MachineStatusInitialization>initialization provides observations of the Machine initialization process. NOTE: Fields in this struct are part of the Cluster API contract and are used to orchestrate initial Machine provisioning.
last_updated: Option<String>lastUpdated identifies when the phase of the Machine last transitioned.
node_info: Option<MachineStatusNodeInfo>nodeInfo is a set of ids/uuids to uniquely identify the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#info
node_ref: Option<MachineStatusNodeRef>nodeRef will point to the corresponding Node if it exists.
observed_generation: Option<i64>observedGeneration is the latest generation observed by the controller.
phase: Option<MachineStatusPhase>phase represents the current phase of machine actuation.
Trait Implementations§
Source§impl Clone for MachineStatus
impl Clone for MachineStatus
Source§fn clone(&self) -> MachineStatus
fn clone(&self) -> MachineStatus
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for MachineStatus
impl Debug for MachineStatus
Source§impl Default for MachineStatus
impl Default for MachineStatus
Source§fn default() -> MachineStatus
fn default() -> MachineStatus
Source§impl<'de> Deserialize<'de> for MachineStatus
impl<'de> Deserialize<'de> for MachineStatus
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 MachineStatus
impl JsonSchema for MachineStatus
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 MachineStatus
impl PartialEq for MachineStatus
Source§impl Serialize for MachineStatus
impl Serialize for MachineStatus
impl StructuralPartialEq for MachineStatus
Auto Trait Implementations§
impl Freeze for MachineStatus
impl RefUnwindSafe for MachineStatus
impl Send for MachineStatus
impl Sync for MachineStatus
impl Unpin for MachineStatus
impl UnsafeUnpin for MachineStatus
impl UnwindSafe for MachineStatus
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