pub struct UDPRouteStatusParents {
pub conditions: Option<Vec<Condition>>,
pub controller_name: String,
pub parent_ref: UDPRouteStatusParentsParentRef,
}
Expand description
RouteParentStatus describes the status of a route with respect to an associated Parent.
Fields§
§conditions: Option<Vec<Condition>>
Conditions describes the status of the route with respect to the Gateway. Note that the route’s availability is also subject to the Gateway’s own status conditions and listener status.
If the Route’s ParentRef specifies an existing Gateway that supports Routes of this kind AND that Gateway’s controller has sufficient access, then that Gateway’s controller MUST set the “Accepted” condition on the Route, to indicate whether the route has been accepted or rejected by the Gateway, and why.
A Route MUST be considered “Accepted” if at least one of the Route’s rules is implemented by the Gateway.
There are a number of cases where the “Accepted” condition may not be set due to lack of controller visibility, that includes when:
- The Route refers to a non-existent parent.
- The Route is of a type that the controller does not support.
- The Route is in a namespace the controller does not have access to.
controller_name: String
ControllerName is a domain/path string that indicates the name of the controller that wrote this status. This corresponds with the controllerName field on GatewayClass.
Example: “example.net/gateway-controller”.
The format of this field is DOMAIN “/” PATH, where DOMAIN and PATH are valid Kubernetes names (https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names).
Controllers MUST populate this field when writing status. Controllers should ensure that entries to status populated with their ControllerName are cleaned up when they are no longer necessary.
parent_ref: UDPRouteStatusParentsParentRef
ParentRef corresponds with a ParentRef in the spec that this RouteParentStatus struct describes the status of.
Trait Implementations§
Source§impl Clone for UDPRouteStatusParents
impl Clone for UDPRouteStatusParents
Source§fn clone(&self) -> UDPRouteStatusParents
fn clone(&self) -> UDPRouteStatusParents
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for UDPRouteStatusParents
impl Debug for UDPRouteStatusParents
Source§impl Default for UDPRouteStatusParents
impl Default for UDPRouteStatusParents
Source§fn default() -> UDPRouteStatusParents
fn default() -> UDPRouteStatusParents
Source§impl<'de> Deserialize<'de> for UDPRouteStatusParents
impl<'de> Deserialize<'de> for UDPRouteStatusParents
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 UDPRouteStatusParents
impl JsonSchema for UDPRouteStatusParents
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 UDPRouteStatusParents
impl PartialEq for UDPRouteStatusParents
Source§impl Serialize for UDPRouteStatusParents
impl Serialize for UDPRouteStatusParents
impl StructuralPartialEq for UDPRouteStatusParents
Auto Trait Implementations§
impl Freeze for UDPRouteStatusParents
impl RefUnwindSafe for UDPRouteStatusParents
impl Send for UDPRouteStatusParents
impl Sync for UDPRouteStatusParents
impl Unpin for UDPRouteStatusParents
impl UnwindSafe for UDPRouteStatusParents
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