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: String
ControllerName 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, the GatewayClass’s “InvalidParameters” status condition will be true. 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 more