pub struct GatewayStatusListeners {
pub attached_routes: i32,
pub conditions: Vec<Condition>,
pub name: String,
pub supported_kinds: Vec<GatewayStatusListenersSupportedKinds>,
}
Expand description
ListenerStatus is the status associated with a Listener.
Fields§
§attached_routes: i32
AttachedRoutes represents the total number of Routes that have been successfully attached to this Listener.
Successful attachment of a Route to a Listener is based solely on the combination of the AllowedRoutes field on the corresponding Listener and the Route’s ParentRefs field. A Route is successfully attached to a Listener when it is selected by the Listener’s AllowedRoutes field AND the Route has a valid ParentRef selecting the whole Gateway resource or a specific Listener as a parent resource (more detail on attachment semantics can be found in the documentation on the various Route kinds ParentRefs fields). Listener or Route status does not impact successful attachment, i.e. the AttachedRoutes field count MUST be set for Listeners with condition Accepted: false and MUST count successfully attached Routes that may themselves have Accepted: false conditions.
Uses for this field include troubleshooting Route attachment and measuring blast radius/impact of changes to a Listener.
conditions: Vec<Condition>
Conditions describe the current condition of this listener.
name: String
Name is the name of the Listener that this status corresponds to.
supported_kinds: Vec<GatewayStatusListenersSupportedKinds>
SupportedKinds is the list indicating the Kinds supported by this listener. This MUST represent the kinds an implementation supports for that Listener configuration.
If kinds are specified in Spec that are not supported, they MUST NOT appear in this list and an implementation MUST set the “ResolvedRefs” condition to “False” with the “InvalidRouteKinds” reason. If both valid and invalid Route kinds are specified, the implementation MUST reference the valid Route kinds that have been specified.
Trait Implementations§
Source§impl Clone for GatewayStatusListeners
impl Clone for GatewayStatusListeners
Source§fn clone(&self) -> GatewayStatusListeners
fn clone(&self) -> GatewayStatusListeners
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for GatewayStatusListeners
impl Debug for GatewayStatusListeners
Source§impl Default for GatewayStatusListeners
impl Default for GatewayStatusListeners
Source§fn default() -> GatewayStatusListeners
fn default() -> GatewayStatusListeners
Source§impl<'de> Deserialize<'de> for GatewayStatusListeners
impl<'de> Deserialize<'de> for GatewayStatusListeners
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 GatewayStatusListeners
impl JsonSchema for GatewayStatusListeners
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 moreSource§impl PartialEq for GatewayStatusListeners
impl PartialEq for GatewayStatusListeners
Source§impl Serialize for GatewayStatusListeners
impl Serialize for GatewayStatusListeners
impl StructuralPartialEq for GatewayStatusListeners
Auto Trait Implementations§
impl Freeze for GatewayStatusListeners
impl RefUnwindSafe for GatewayStatusListeners
impl Send for GatewayStatusListeners
impl Sync for GatewayStatusListeners
impl Unpin for GatewayStatusListeners
impl UnwindSafe for GatewayStatusListeners
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