pub struct ClusterTopologyControlPlane {
pub deletion: Option<ClusterTopologyControlPlaneDeletion>,
pub health_check: Option<ClusterTopologyControlPlaneHealthCheck>,
pub metadata: Option<ClusterTopologyControlPlaneMetadata>,
pub readiness_gates: Option<Vec<ClusterTopologyControlPlaneReadinessGates>>,
pub replicas: Option<i32>,
pub variables: Option<ClusterTopologyControlPlaneVariables>,
}Expand description
controlPlane describes the cluster control plane.
Fields§
§deletion: Option<ClusterTopologyControlPlaneDeletion>deletion contains configuration options for Machine deletion.
health_check: Option<ClusterTopologyControlPlaneHealthCheck>healthCheck allows to enable, disable and override control plane health check configuration from the ClusterClass for this control plane.
metadata: Option<ClusterTopologyControlPlaneMetadata>metadata is the metadata applied to the ControlPlane and the Machines of the ControlPlane if the ControlPlaneTemplate referenced by the ClusterClass is machine based. If not, it is applied only to the ControlPlane. At runtime this metadata is merged with the corresponding metadata from the ClusterClass.
readiness_gates: Option<Vec<ClusterTopologyControlPlaneReadinessGates>>readinessGates specifies additional conditions to include when evaluating Machine Ready condition.
This field can be used e.g. to instruct the machine controller to include in the computation for Machine’s ready computation a condition, managed by an external controllers, reporting the status of special software/hardware installed on the Machine.
If this field is not defined, readinessGates from the corresponding ControlPlaneClass will be used, if any.
NOTE: Specific control plane provider implementations might automatically extend the list of readinessGates; e.g. the kubeadm control provider adds ReadinessGates for the APIServerPodHealthy, SchedulerPodHealthy conditions, etc.
replicas: Option<i32>replicas is the number of control plane nodes. If the value is not set, the ControlPlane object is created without the number of Replicas and it’s assumed that the control plane controller does not implement support for this field. When specified against a control plane provider that lacks support for this field, this value will be ignored.
variables: Option<ClusterTopologyControlPlaneVariables>variables can be used to customize the ControlPlane through patches.
Trait Implementations§
Source§impl Clone for ClusterTopologyControlPlane
impl Clone for ClusterTopologyControlPlane
Source§fn clone(&self) -> ClusterTopologyControlPlane
fn clone(&self) -> ClusterTopologyControlPlane
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ClusterTopologyControlPlane
impl Debug for ClusterTopologyControlPlane
Source§impl Default for ClusterTopologyControlPlane
impl Default for ClusterTopologyControlPlane
Source§fn default() -> ClusterTopologyControlPlane
fn default() -> ClusterTopologyControlPlane
Source§impl<'de> Deserialize<'de> for ClusterTopologyControlPlane
impl<'de> Deserialize<'de> for ClusterTopologyControlPlane
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 ClusterTopologyControlPlane
impl JsonSchema for ClusterTopologyControlPlane
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 moreimpl StructuralPartialEq for ClusterTopologyControlPlane
Auto Trait Implementations§
impl Freeze for ClusterTopologyControlPlane
impl RefUnwindSafe for ClusterTopologyControlPlane
impl Send for ClusterTopologyControlPlane
impl Sync for ClusterTopologyControlPlane
impl Unpin for ClusterTopologyControlPlane
impl UnwindSafe for ClusterTopologyControlPlane
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