Struct k8s_gateway_api::AllowedRoutes
source · pub struct AllowedRoutes {
pub namespaces: Option<RouteNamespaces>,
pub kinds: Option<Vec<RouteGroupKind>>,
}
Expand description
AllowedRoutes defines which Routes may be attached to this Listener.
Fields§
§namespaces: Option<RouteNamespaces>
Namespaces indicates namespaces from which Routes may be attached to this Listener. This is restricted to the namespace of this Gateway by default.
Support: Core
kinds: Option<Vec<RouteGroupKind>>
Kinds specifies the groups and kinds of Routes that are allowed to bind to this Gateway Listener. When unspecified or empty, the kinds of Routes selected are determined using the Listener protocol.
A RouteGroupKind MUST correspond to kinds of Routes that are compatible with the application protocol specified in the Listener’s Protocol field. If an implementation does not support or recognize this resource type, it MUST set the “ResolvedRefs” condition to False for this Listener with the “InvalidRouteKinds” reason.
Support: Core
Trait Implementations§
source§impl Clone for AllowedRoutes
impl Clone for AllowedRoutes
source§fn clone(&self) -> AllowedRoutes
fn clone(&self) -> AllowedRoutes
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AllowedRoutes
impl Debug for AllowedRoutes
source§impl<'de> Deserialize<'de> for AllowedRoutes
impl<'de> Deserialize<'de> for AllowedRoutes
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 AllowedRoutes
impl JsonSchema for AllowedRoutes
source§fn schema_name() -> String
fn schema_name() -> String
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<AllowedRoutes> for AllowedRoutes
impl PartialEq<AllowedRoutes> for AllowedRoutes
source§fn eq(&self, other: &AllowedRoutes) -> bool
fn eq(&self, other: &AllowedRoutes) -> bool
self
and other
values to be equal, and is used
by ==
.