pub struct ClusterTopology {
pub class: String,
pub class_namespace: Option<String>,
pub control_plane: Option<ClusterTopologyControlPlane>,
pub rollout_after: Option<String>,
pub variables: Option<Vec<ClusterTopologyVariables>>,
pub version: String,
pub workers: Option<ClusterTopologyWorkers>,
}
Expand description
This encapsulates the topology for the cluster. NOTE: It is required to enable the ClusterTopology feature gate flag to activate managed topologies support; this feature is highly experimental, and parts of it might still be not implemented.
Fields§
§class: String
The name of the ClusterClass object to create the topology.
class_namespace: Option<String>
classNamespace is the namespace of the ClusterClass object to create the topology. If the namespace is empty or not set, it is defaulted to the namespace of the cluster object. Value must follow the DNS1123Subdomain syntax.
control_plane: Option<ClusterTopologyControlPlane>
controlPlane describes the cluster control plane.
rollout_after: Option<String>
rolloutAfter performs a rollout of the entire cluster one component at a time, control plane first and then machine deployments.
Deprecated: This field has no function and is going to be removed in the next apiVersion.
variables: Option<Vec<ClusterTopologyVariables>>
variables can be used to customize the Cluster through patches. They must comply to the corresponding VariableClasses defined in the ClusterClass.
version: String
The Kubernetes version of the cluster.
workers: Option<ClusterTopologyWorkers>
workers encapsulates the different constructs that form the worker nodes for the cluster.
Trait Implementations§
Source§impl Clone for ClusterTopology
impl Clone for ClusterTopology
Source§fn clone(&self) -> ClusterTopology
fn clone(&self) -> ClusterTopology
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ClusterTopology
impl Debug for ClusterTopology
Source§impl Default for ClusterTopology
impl Default for ClusterTopology
Source§fn default() -> ClusterTopology
fn default() -> ClusterTopology
Source§impl<'de> Deserialize<'de> for ClusterTopology
impl<'de> Deserialize<'de> for ClusterTopology
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 ClusterTopology
impl JsonSchema for ClusterTopology
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(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref
keyword. Read moreSource§impl PartialEq for ClusterTopology
impl PartialEq for ClusterTopology
Source§impl Serialize for ClusterTopology
impl Serialize for ClusterTopology
impl StructuralPartialEq for ClusterTopology
Auto Trait Implementations§
impl Freeze for ClusterTopology
impl RefUnwindSafe for ClusterTopology
impl Send for ClusterTopology
impl Sync for ClusterTopology
impl Unpin for ClusterTopology
impl UnwindSafe for ClusterTopology
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