pub struct GatewayInfrastructure {
pub annotations: Option<BTreeMap<String, String>>,
pub labels: Option<BTreeMap<String, String>>,
pub parameters_ref: Option<GatewayInfrastructureParametersRef>,
}
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<GatewayInfrastructureParametersRef>
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_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 GatewayInfrastructure
impl PartialEq for GatewayInfrastructure
Source§impl Serialize for GatewayInfrastructure
impl Serialize for GatewayInfrastructure
impl StructuralPartialEq for GatewayInfrastructure
Auto Trait Implementations§
impl Freeze for GatewayInfrastructure
impl RefUnwindSafe for GatewayInfrastructure
impl Send for GatewayInfrastructure
impl Sync for GatewayInfrastructure
impl Unpin for GatewayInfrastructure
impl UnwindSafe for GatewayInfrastructure
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