pub struct ClusterClassControlPlane {
    pub machine_health_check: Option<ClusterClassControlPlaneMachineHealthCheck>,
    pub machine_infrastructure: Option<ClusterClassControlPlaneMachineInfrastructure>,
    pub metadata: Option<ClusterClassControlPlaneMetadata>,
    pub naming_strategy: Option<ClusterClassControlPlaneNamingStrategy>,
    pub node_deletion_timeout: Option<String>,
    pub node_drain_timeout: Option<String>,
    pub node_volume_detach_timeout: Option<String>,
    pub ref: ObjectReference,
}Expand description
controlPlane is a reference to a local struct that holds the details for provisioning the Control Plane for the Cluster.
Fields§
§machine_health_check: Option<ClusterClassControlPlaneMachineHealthCheck>machineHealthCheck 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_strategy: Option<ClusterClassControlPlaneNamingStrategy>namingStrategy allows changing the naming pattern used when creating the control plane provider object.
node_deletion_timeout: Option<String>nodeDeletionTimeout defines how long the controller will attempt to delete the Node that the Machine hosts after the Machine is marked for deletion. A duration of 0 will retry deletion indefinitely. Defaults to 10 seconds. NOTE: This value can be overridden while defining a Cluster.Topology.
node_drain_timeout: Option<String>nodeDrainTimeout is the total amount of time that the controller will spend on draining a node.
The default value is 0, meaning that the node can be drained without any time limitations.
NOTE: NodeDrainTimeout is different from kubectl drain --timeout
NOTE: This value can be overridden while defining a Cluster.Topology.
node_volume_detach_timeout: Option<String>nodeVolumeDetachTimeout is the total amount of time that the controller will spend on waiting for all volumes to be detached. The default value is 0, meaning that the volumes can be detached without any time limitations. NOTE: This value can be overridden while defining a Cluster.Topology.
ref: ObjectReferenceref is a required reference to a custom resource offered by a provider.
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_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 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