pub struct GatewayInfrastructure {
pub annotations: Option<BTreeMap<String, String>>,
pub labels: Option<BTreeMap<String, String>>,
pub parameters_ref: Option<GatewayInfrastructureParametersReference>,
}Expand description
Infrastructure defines infrastructure level attributes about this Gateway instance.
Support: Extended
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.
If an implementation maps these labels to Pods, or any other resource that would need to be recreated when labels change, it SHOULD clearly warn about this behavior in documentation.
Support: Extended
parameters_ref: Option<GatewayInfrastructureParametersReference>ParametersRef is a reference to a resource that contains the configuration parameters corresponding to the Gateway. This is optional if the controller does not require any additional configuration.
This follows the same semantics as GatewayClass’s parametersRef, but on a per-Gateway basis
The Gateway’s GatewayClass may provide its own parametersRef. When both are specified,
the merging behavior is implementation specific.
It is generally recommended that GatewayClass provides defaults that can be overridden by a Gateway.
Support: Implementation-specific
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 Default for GatewayInfrastructure
impl Default for GatewayInfrastructure
Source§fn default() -> GatewayInfrastructure
fn default() -> 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_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 inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read more