Struct cluster_api_rs::api::capi_cluster::ClusterStatus
source · pub struct ClusterStatus {
pub conditions: Option<Vec<Condition>>,
pub control_plane_ready: Option<bool>,
pub failure_domains: Option<BTreeMap<String, ClusterStatusFailureDomains>>,
pub failure_message: Option<String>,
pub failure_reason: Option<String>,
pub infrastructure_ready: Option<bool>,
pub observed_generation: Option<i64>,
pub phase: Option<String>,
}Expand description
ClusterStatus defines the observed state of Cluster.
Fields§
§conditions: Option<Vec<Condition>>Conditions defines current service state of the cluster.
control_plane_ready: Option<bool>ControlPlaneReady denotes if the control plane became ready during initial provisioning to receive requests. NOTE: this field is part of the Cluster API contract and it is used to orchestrate provisioning. The value of this field is never updated after provisioning is completed. Please use conditions to check the operational state of the control plane.
failure_domains: Option<BTreeMap<String, ClusterStatusFailureDomains>>FailureDomains is a slice of failure domain objects synced from the infrastructure provider.
failure_message: Option<String>FailureMessage indicates that there is a fatal problem reconciling the state, and will be set to a descriptive error message.
failure_reason: Option<String>FailureReason indicates that there is a fatal problem reconciling the state, and will be set to a token value suitable for programmatic interpretation.
infrastructure_ready: Option<bool>InfrastructureReady is the state of the infrastructure provider.
observed_generation: Option<i64>ObservedGeneration is the latest generation observed by the controller.
phase: Option<String>Phase represents the current phase of cluster actuation. E.g. Pending, Running, Terminating, Failed etc.
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_name() -> String
fn schema_name() -> String
source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref keyword. Read moreAuto 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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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