pub struct ClusterClassControlPlane {
pub deletion: Option<ClusterClassControlPlaneDeletion>,
pub health_check: Option<ClusterClassControlPlaneHealthCheck>,
pub machine_infrastructure: Option<ClusterClassControlPlaneMachineInfrastructure>,
pub metadata: Option<ClusterClassControlPlaneMetadata>,
pub naming: Option<ClusterClassControlPlaneNaming>,
pub readiness_gates: Option<Vec<ClusterClassControlPlaneReadinessGates>>,
pub template_ref: ClusterClassControlPlaneTemplateRef,
}Expand description
controlPlane is a reference to a local struct that holds the details for provisioning the Control Plane for the Cluster.
Fields§
§deletion: Option<ClusterClassControlPlaneDeletion>deletion contains configuration options for Machine deletion.
health_check: Option<ClusterClassControlPlaneHealthCheck>healthCheck defines a MachineHealthCheck for this ControlPlaneClass. This field is supported if and only if the ControlPlane provider template referenced above is Machine based and supports setting replicas.
machine_infrastructure: Option<ClusterClassControlPlaneMachineInfrastructure>machineInfrastructure defines the metadata and infrastructure information for control plane machines.
This field is supported if and only if the control plane provider template referenced above is Machine based and supports setting replicas.
metadata: Option<ClusterClassControlPlaneMetadata>metadata is the metadata applied to the ControlPlane and the Machines of the ControlPlane if the ControlPlaneTemplate referenced is machine based. If not, it is applied only to the ControlPlane. At runtime this metadata is merged with the corresponding metadata from the topology.
This field is supported if and only if the control plane provider template referenced is Machine based.
naming: Option<ClusterClassControlPlaneNaming>naming allows changing the naming pattern used when creating the control plane provider object.
readiness_gates: Option<Vec<ClusterClassControlPlaneReadinessGates>>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.
NOTE: If a Cluster defines a custom list of readinessGates for the control plane, such list overrides readinessGates defined in this field. 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.
template_ref: ClusterClassControlPlaneTemplateReftemplateRef contains the reference to a provider-specific control plane template.
Trait Implementations§
Source§impl Clone for ClusterClassControlPlane
impl Clone for ClusterClassControlPlane
Source§fn clone(&self) -> ClusterClassControlPlane
fn clone(&self) -> ClusterClassControlPlane
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ClusterClassControlPlane
impl Debug for ClusterClassControlPlane
Source§impl Default for ClusterClassControlPlane
impl Default for ClusterClassControlPlane
Source§fn default() -> ClusterClassControlPlane
fn default() -> ClusterClassControlPlane
Source§impl<'de> Deserialize<'de> for ClusterClassControlPlane
impl<'de> Deserialize<'de> for ClusterClassControlPlane
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 ClusterClassControlPlane
impl JsonSchema for ClusterClassControlPlane
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 ClusterClassControlPlane
impl PartialEq for ClusterClassControlPlane
Source§impl Serialize for ClusterClassControlPlane
impl Serialize for ClusterClassControlPlane
impl StructuralPartialEq for ClusterClassControlPlane
Auto Trait Implementations§
impl Freeze for ClusterClassControlPlane
impl RefUnwindSafe for ClusterClassControlPlane
impl Send for ClusterClassControlPlane
impl Sync for ClusterClassControlPlane
impl Unpin for ClusterClassControlPlane
impl UnwindSafe for ClusterClassControlPlane
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