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 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 more