pub struct ClusterStatus {
pub conditions: Option<Vec<Condition>>,
pub control_plane: Option<ClusterStatusControlPlane>,
pub deprecated: Option<ClusterStatusDeprecated>,
pub failure_domains: Option<Vec<ClusterStatusFailureDomains>>,
pub initialization: Option<ClusterStatusInitialization>,
pub observed_generation: Option<i64>,
pub phase: Option<ClusterStatusPhase>,
pub workers: Option<ClusterStatusWorkers>,
}Expand description
status is the observed state of Cluster.
Fields§
§conditions: Option<Vec<Condition>>conditions represents the observations of a Cluster’s current state. Known condition types are Available, InfrastructureReady, ControlPlaneInitialized, ControlPlaneAvailable, WorkersAvailable, MachinesReady MachinesUpToDate, RemoteConnectionProbe, ScalingUp, ScalingDown, Remediating, Deleting, Paused. Additionally, a TopologyReconciled condition will be added in case the Cluster is referencing a ClusterClass / defining a managed Topology.
control_plane: Option<ClusterStatusControlPlane>controlPlane groups all the observations about Cluster’s ControlPlane current state.
deprecated: Option<ClusterStatusDeprecated>deprecated groups all the status fields that are deprecated and will be removed when all the nested field are removed.
failure_domains: Option<Vec<ClusterStatusFailureDomains>>failureDomains is a slice of failure domain objects synced from the infrastructure provider.
initialization: Option<ClusterStatusInitialization>initialization provides observations of the Cluster initialization process. NOTE: Fields in this struct are part of the Cluster API contract and are used to orchestrate initial Cluster provisioning.
observed_generation: Option<i64>observedGeneration is the latest generation observed by the controller.
phase: Option<ClusterStatusPhase>phase represents the current phase of cluster actuation.
workers: Option<ClusterStatusWorkers>workers groups all the observations about Cluster’s Workers current state.
Trait Implementations§
Source§impl Clone for ClusterStatus
impl Clone for ClusterStatus
Source§fn clone(&self) -> ClusterStatus
fn clone(&self) -> ClusterStatus
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ClusterStatus
impl Debug for ClusterStatus
Source§impl Default for ClusterStatus
impl Default for ClusterStatus
Source§fn default() -> ClusterStatus
fn default() -> ClusterStatus
Source§impl<'de> Deserialize<'de> for ClusterStatus
impl<'de> Deserialize<'de> for ClusterStatus
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 ClusterStatus
impl JsonSchema for ClusterStatus
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 ClusterStatus
impl PartialEq for ClusterStatus
Source§impl Serialize for ClusterStatus
impl Serialize for ClusterStatus
impl StructuralPartialEq for ClusterStatus
Auto Trait Implementations§
impl Freeze for ClusterStatus
impl RefUnwindSafe for ClusterStatus
impl Send for ClusterStatus
impl Sync for ClusterStatus
impl Unpin for ClusterStatus
impl UnwindSafe for ClusterStatus
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