pub struct Desired {
pub classes: BTreeMap<String, GatewayClassStatus>,
pub gateways: BTreeMap<(String, String), GatewayStatus>,
pub http_routes: BTreeMap<(String, String), Vec<RouteParentStatus>>,
pub grpc_routes: BTreeMap<(String, String), Vec<RouteParentStatus>>,
pub tls_routes: BTreeMap<(String, String), Vec<RouteParentStatus>>,
pub tcp_routes: BTreeMap<(String, String), Vec<RouteParentStatus>>,
pub udp_routes: BTreeMap<(String, String), Vec<RouteParentStatus>>,
pub listener_sets: BTreeMap<(String, String), ListenerSetStatus>,
pub backend_tls_policies: BTreeMap<(String, String), Vec<PolicyAncestorStatus>>,
pub services: BTreeMap<(String, String), Service>,
pub endpoint_slices: BTreeMap<(String, String), EndpointSlice>,
pub deployments: BTreeMap<(String, String), Deployment>,
}Available on crate feature
gateway-api only.Expand description
The status each object should have; written only where it differs.
Fields§
§classes: BTreeMap<String, GatewayClassStatus>GatewayClass name → status.
gateways: BTreeMap<(String, String), GatewayStatus>(namespace, name) → status.
http_routes: BTreeMap<(String, String), Vec<RouteParentStatus>>(namespace, name) → this controller’s parent statuses (other controllers’ entries are kept when written).
grpc_routes: BTreeMap<(String, String), Vec<RouteParentStatus>>The same for GRPCRoutes.
tls_routes: BTreeMap<(String, String), Vec<RouteParentStatus>>§tcp_routes: BTreeMap<(String, String), Vec<RouteParentStatus>>§udp_routes: BTreeMap<(String, String), Vec<RouteParentStatus>>§listener_sets: BTreeMap<(String, String), ListenerSetStatus>(namespace, name) → status of the ListenerSets attached to our Gateways.
backend_tls_policies: BTreeMap<(String, String), Vec<PolicyAncestorStatus>>(namespace, name) → this controller’s ancestor statuses of each BackendTLSPolicy.
services: BTreeMap<(String, String), Service>(namespace, name) → the Service each of our Gateways should have.
endpoint_slices: BTreeMap<(String, String), EndpointSlice>(namespace, name) → those Services’ EndpointSlices (rws’s pods).
deployments: BTreeMap<(String, String), Deployment>Provisioned mode: (Gateway namespace, name) → its Deployment.
Trait Implementations§
impl StructuralPartialEq for Desired
Auto Trait Implementations§
impl Freeze for Desired
impl RefUnwindSafe for Desired
impl Send for Desired
impl Sync for Desired
impl Unpin for Desired
impl UnsafeUnpin for Desired
impl UnwindSafe for Desired
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
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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> ⓘ
Converts
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> ⓘ
Converts
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T> ServiceExt for T
impl<T> ServiceExt for T
Source§fn map_response_body<F>(self, f: F) -> MapResponseBody<Self, F>where
Self: Sized,
fn map_response_body<F>(self, f: F) -> MapResponseBody<Self, F>where
Self: Sized,
Available on crate feature
map-response-body only.Apply a transformation to the response body. Read more
Source§fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
Available on crate feature
trace only.High level tracing that classifies responses using HTTP status codes. Read more
Source§fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
Available on crate feature
trace only.High level tracing that classifies responses using gRPC headers. Read more