pub struct ClusterSpec {
pub availability_gates: Option<Vec<ClusterAvailabilityGates>>,
pub cluster_network: Option<ClusterClusterNetwork>,
pub control_plane_endpoint: Option<ClusterControlPlaneEndpoint>,
pub control_plane_ref: Option<ObjectReference>,
pub infrastructure_ref: Option<ObjectReference>,
pub paused: Option<bool>,
pub topology: Option<ClusterTopology>,
}
Expand description
spec is the desired state of Cluster.
Fields§
§availability_gates: Option<Vec<ClusterAvailabilityGates>>
availabilityGates specifies additional conditions to include when evaluating Cluster Available condition.
If this field is not defined and the Cluster implements a managed topology, availabilityGates from the corresponding ClusterClass will be used, if any.
NOTE: this field is considered only for computing v1beta2 conditions.
cluster_network: Option<ClusterClusterNetwork>
clusterNetwork represents the cluster network configuration.
control_plane_endpoint: Option<ClusterControlPlaneEndpoint>
controlPlaneEndpoint represents the endpoint used to communicate with the control plane.
control_plane_ref: Option<ObjectReference>
controlPlaneRef is an optional reference to a provider-specific resource that holds the details for provisioning the Control Plane for a Cluster.
infrastructure_ref: Option<ObjectReference>
infrastructureRef is a reference to a provider-specific resource that holds the details for provisioning infrastructure for a cluster in said provider.
paused: Option<bool>
paused can be used to prevent controllers from processing the Cluster and all its associated objects.
topology: Option<ClusterTopology>
topology 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.
Trait Implementations§
Source§impl Clone for ClusterSpec
impl Clone for ClusterSpec
Source§fn clone(&self) -> ClusterSpec
fn clone(&self) -> ClusterSpec
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ClusterSpec
impl Debug for ClusterSpec
Source§impl Default for ClusterSpec
impl Default for ClusterSpec
Source§fn default() -> ClusterSpec
fn default() -> ClusterSpec
Source§impl<'de> Deserialize<'de> for ClusterSpec
impl<'de> Deserialize<'de> for ClusterSpec
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 ClusterSpec
impl JsonSchema for ClusterSpec
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 ClusterSpec
impl PartialEq for ClusterSpec
Source§impl Serialize for ClusterSpec
impl Serialize for ClusterSpec
impl StructuralPartialEq for ClusterSpec
Auto Trait Implementations§
impl Freeze for ClusterSpec
impl RefUnwindSafe for ClusterSpec
impl Send for ClusterSpec
impl Sync for ClusterSpec
impl Unpin for ClusterSpec
impl UnwindSafe for ClusterSpec
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