pub struct GatewayClassSpec {
    pub controller_name: String,
    pub description: Option<String>,
    pub parameters_ref: Option<GatewayClassParametersRef>,
}Expand description
Spec defines the desired state of GatewayClass.
Fields§
§controller_name: StringControllerName is the name of the controller that is managing Gateways of this class. The value of this field MUST be a domain prefixed path.
Example: “example.net/gateway-controller”.
This field is not mutable and cannot be empty.
Support: Core
description: Option<String>Description helps describe a GatewayClass with more details.
parameters_ref: Option<GatewayClassParametersRef>ParametersRef is a reference to a resource that contains the configuration parameters corresponding to the GatewayClass. This is optional if the controller does not require any additional configuration.
ParametersRef can reference a standard Kubernetes resource, i.e. ConfigMap, or an implementation-specific custom resource. The resource can be cluster-scoped or namespace-scoped.
If the referent cannot be found, refers to an unsupported kind, or when the data within that resource is malformed, the GatewayClass SHOULD be rejected with the “Accepted” status condition set to “False” and an “InvalidParameters” reason.
A Gateway for this 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 GatewayClassSpec
 
impl Clone for GatewayClassSpec
Source§fn clone(&self) -> GatewayClassSpec
 
fn clone(&self) -> GatewayClassSpec
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for GatewayClassSpec
 
impl Debug for GatewayClassSpec
Source§impl Default for GatewayClassSpec
 
impl Default for GatewayClassSpec
Source§fn default() -> GatewayClassSpec
 
fn default() -> GatewayClassSpec
Source§impl<'de> Deserialize<'de> for GatewayClassSpec
 
impl<'de> Deserialize<'de> for GatewayClassSpec
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 GatewayClassSpec
 
impl JsonSchema for GatewayClassSpec
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 GatewayClassSpec
 
impl PartialEq for GatewayClassSpec
Source§impl Serialize for GatewayClassSpec
 
impl Serialize for GatewayClassSpec
impl StructuralPartialEq for GatewayClassSpec
Auto Trait Implementations§
impl Freeze for GatewayClassSpec
impl RefUnwindSafe for GatewayClassSpec
impl Send for GatewayClassSpec
impl Sync for GatewayClassSpec
impl Unpin for GatewayClassSpec
impl UnwindSafe for GatewayClassSpec
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