pub struct Snapshot {Show 17 fields
pub classes: Vec<Object<GatewayClassSpec, GatewayClassStatus>>,
pub gateways: Vec<Object<GatewaySpec, GatewayStatus>>,
pub http_routes: Vec<Object<HttpRouteSpec, RouteStatus>>,
pub grpc_routes: Vec<Object<GrpcRouteSpec, RouteStatus>>,
pub tls_routes: Vec<Object<L4RouteSpec, RouteStatus>>,
pub tcp_routes: Vec<Object<L4RouteSpec, RouteStatus>>,
pub udp_routes: Vec<Object<L4RouteSpec, RouteStatus>>,
pub listener_sets: Vec<Object<ListenerSetSpec, ListenerSetStatus>>,
pub backend_tls_policies: Vec<Object<BackendTlsPolicySpec, PolicyStatus>>,
pub reference_grants: Vec<Object<ReferenceGrantSpec, NoStatus>>,
pub services: Vec<Service>,
pub namespaces: Vec<Namespace>,
pub secrets: Vec<Secret>,
pub config_maps: Vec<ConfigMap>,
pub endpoint_slices: Vec<EndpointSlice>,
pub pods: Vec<Pod>,
pub deployments: Vec<Deployment>,
}Available on crate feature
gateway-api only.Expand description
Everything the controller watches, as last seen.
Fields§
§classes: Vec<Object<GatewayClassSpec, GatewayClassStatus>>§gateways: Vec<Object<GatewaySpec, GatewayStatus>>§http_routes: Vec<Object<HttpRouteSpec, RouteStatus>>§grpc_routes: Vec<Object<GrpcRouteSpec, RouteStatus>>§tls_routes: Vec<Object<L4RouteSpec, RouteStatus>>§tcp_routes: Vec<Object<L4RouteSpec, RouteStatus>>§udp_routes: Vec<Object<L4RouteSpec, RouteStatus>>§listener_sets: Vec<Object<ListenerSetSpec, ListenerSetStatus>>§backend_tls_policies: Vec<Object<BackendTlsPolicySpec, PolicyStatus>>§reference_grants: Vec<Object<ReferenceGrantSpec, NoStatus>>§services: Vec<Service>§namespaces: Vec<Namespace>§secrets: Vec<Secret>§config_maps: Vec<ConfigMap>For client-certificate CAs (spec.tls.frontend).
endpoint_slices: Vec<EndpointSlice>§pods: Vec<Pod>rws’s own serving pods (in the pod namespace, by the pod selector).
deployments: Vec<Deployment>Provisioned Deployments, in the pod namespace.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Snapshot
impl RefUnwindSafe for Snapshot
impl Send for Snapshot
impl Sync for Snapshot
impl Unpin for Snapshot
impl UnsafeUnpin for Snapshot
impl UnwindSafe for Snapshot
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