Struct k8s_gateway_api::GatewayInfrastructure
source · pub struct GatewayInfrastructure {
pub labels: Option<BTreeMap<AnnotationKey, AnnotationValue>>,
pub annotations: Option<BTreeMap<AnnotationKey, AnnotationValue>>,
}
Expand description
GatewayInfrastructure defines infrastructure level attributes about a Gateway instance.
Fields§
§labels: Option<BTreeMap<AnnotationKey, AnnotationValue>>
Labels that SHOULD be applied to any resources created in response to this Gateway.
For implementations creating other Kubernetes objects, this should be the metadata.labels
field on resources.
For other implementations, this refers to any relevant (implementation specific) “labels” concepts.
An implementation may chose to add additional implementation-specific labels as they see fit.
Support: Extended
annotations: Option<BTreeMap<AnnotationKey, AnnotationValue>>
Annotations that SHOULD be applied to any resources created in response to this Gateway.
For implementations creating other Kubernetes objects, this should be the metadata.annotations
field on resources.
For other implementations, this refers to any relevant (implementation specific) “annotations” concepts.
An implementation may chose to add additional implementation-specific annotations as they see fit.
Support: Extended
Trait Implementations§
source§impl Clone for GatewayInfrastructure
impl Clone for GatewayInfrastructure
source§fn clone(&self) -> GatewayInfrastructure
fn clone(&self) -> GatewayInfrastructure
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GatewayInfrastructure
impl Debug for GatewayInfrastructure
source§impl<'de> Deserialize<'de> for GatewayInfrastructure
impl<'de> Deserialize<'de> for GatewayInfrastructure
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 GatewayInfrastructure
impl JsonSchema for GatewayInfrastructure
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 GatewayInfrastructure
impl PartialEq for GatewayInfrastructure
source§fn eq(&self, other: &GatewayInfrastructure) -> bool
fn eq(&self, other: &GatewayInfrastructure) -> bool
self
and other
values to be equal, and is used
by ==
.