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
sourceimpl Clone for AllowedRoutes
impl Clone for AllowedRoutes
sourcefn clone(&self) -> AllowedRoutes
fn clone(&self) -> AllowedRoutes
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresourceimpl Debug for AllowedRoutes
impl Debug for AllowedRoutes
sourceimpl<'de> Deserialize<'de> for AllowedRoutes
impl<'de> Deserialize<'de> for AllowedRoutes
sourcefn 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>,
sourceimpl JsonSchema for AllowedRoutes
impl JsonSchema for AllowedRoutes
sourcefn schema_name() -> String
fn schema_name() -> String
sourcefn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
sourcefn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref keyword. Read more