pub struct ClusterTopologyControlPlaneMetadata {
pub annotations: Option<BTreeMap<String, String>>,
pub labels: Option<BTreeMap<String, String>>,
}
Expand description
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.
Fields§
§annotations: Option<BTreeMap<String, String>>
annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations
labels: Option<BTreeMap<String, String>>
labels is a map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels
Trait Implementations§
Source§impl Clone for ClusterTopologyControlPlaneMetadata
impl Clone for ClusterTopologyControlPlaneMetadata
Source§fn clone(&self) -> ClusterTopologyControlPlaneMetadata
fn clone(&self) -> ClusterTopologyControlPlaneMetadata
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for ClusterTopologyControlPlaneMetadata
impl Default for ClusterTopologyControlPlaneMetadata
Source§fn default() -> ClusterTopologyControlPlaneMetadata
fn default() -> ClusterTopologyControlPlaneMetadata
Source§impl<'de> Deserialize<'de> for ClusterTopologyControlPlaneMetadata
impl<'de> Deserialize<'de> for ClusterTopologyControlPlaneMetadata
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 ClusterTopologyControlPlaneMetadata
impl JsonSchema for ClusterTopologyControlPlaneMetadata
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 ClusterTopologyControlPlaneMetadata
impl PartialEq for ClusterTopologyControlPlaneMetadata
Source§fn eq(&self, other: &ClusterTopologyControlPlaneMetadata) -> bool
fn eq(&self, other: &ClusterTopologyControlPlaneMetadata) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ClusterTopologyControlPlaneMetadata
Auto Trait Implementations§
impl Freeze for ClusterTopologyControlPlaneMetadata
impl RefUnwindSafe for ClusterTopologyControlPlaneMetadata
impl Send for ClusterTopologyControlPlaneMetadata
impl Sync for ClusterTopologyControlPlaneMetadata
impl Unpin for ClusterTopologyControlPlaneMetadata
impl UnwindSafe for ClusterTopologyControlPlaneMetadata
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