Struct k8s_gateway_api::ListenerStatus
source · [−]pub struct ListenerStatus {
pub name: SectionName,
pub supported_kinds: Vec<RouteGroupKind>,
pub attached_routes: u16,
pub conditions: Vec<Condition>,
}Expand description
ListenerStatus is the status associated with a Listener.
Fields
name: SectionNameName is the name of the Listener that this status corresponds to.
supported_kinds: Vec<RouteGroupKind>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.
attached_routes: u16AttachedRoutes represents the total number of Routes that have been successfully attached to this Listener.
conditions: Vec<Condition>Conditions describe the current condition of this listener.
Trait Implementations
sourceimpl Clone for ListenerStatus
impl Clone for ListenerStatus
sourcefn clone(&self) -> ListenerStatus
fn clone(&self) -> ListenerStatus
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresourceimpl Debug for ListenerStatus
impl Debug for ListenerStatus
sourceimpl<'de> Deserialize<'de> for ListenerStatus
impl<'de> Deserialize<'de> for ListenerStatus
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 ListenerStatus
impl JsonSchema for ListenerStatus
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