pub struct ClusterClassControlPlaneMetadata {
    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 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.
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>>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 ClusterClassControlPlaneMetadata
 
impl Clone for ClusterClassControlPlaneMetadata
Source§fn clone(&self) -> ClusterClassControlPlaneMetadata
 
fn clone(&self) -> ClusterClassControlPlaneMetadata
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for ClusterClassControlPlaneMetadata
 
impl Default for ClusterClassControlPlaneMetadata
Source§fn default() -> ClusterClassControlPlaneMetadata
 
fn default() -> ClusterClassControlPlaneMetadata
Source§impl<'de> Deserialize<'de> for ClusterClassControlPlaneMetadata
 
impl<'de> Deserialize<'de> for ClusterClassControlPlaneMetadata
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 ClusterClassControlPlaneMetadata
 
impl JsonSchema for ClusterClassControlPlaneMetadata
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 ClusterClassControlPlaneMetadata
 
impl PartialEq for ClusterClassControlPlaneMetadata
Source§fn eq(&self, other: &ClusterClassControlPlaneMetadata) -> bool
 
fn eq(&self, other: &ClusterClassControlPlaneMetadata) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ClusterClassControlPlaneMetadata
Auto Trait Implementations§
impl Freeze for ClusterClassControlPlaneMetadata
impl RefUnwindSafe for ClusterClassControlPlaneMetadata
impl Send for ClusterClassControlPlaneMetadata
impl Sync for ClusterClassControlPlaneMetadata
impl Unpin for ClusterClassControlPlaneMetadata
impl UnwindSafe for ClusterClassControlPlaneMetadata
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