Struct gateway_api::apis::experimental::gateways::GatewayInfrastructure
source · pub struct GatewayInfrastructure {
pub annotations: Option<BTreeMap<String, String>>,
pub labels: Option<BTreeMap<String, String>>,
}Expand description
Infrastructure defines infrastructure level attributes about this Gateway instance. Support: Core
Fields§
§annotations: Option<BTreeMap<String, String>>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
labels: Option<BTreeMap<String, String>>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
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 more