pub struct ChecksConfig {
pub all: WorkloadCheckConfig,
pub k8s002: K8s002Config,
pub k8s003: WorkloadCheckConfig,
pub k8s004: WorkloadCheckConfig,
pub k8s005: WorkloadCheckConfig,
pub k8s006: WorkloadCheckConfig,
pub k8s007: WorkloadCheckConfig,
pub k8s008: WorkloadCheckConfig,
pub k8s013: WorkloadCheckConfig,
/* private fields */
}Expand description
Per-check configuration knobs.
To add a new workload check (e.g., K8S014): update all four of (a) a new
pub k8sNNN: WorkloadCheckConfig field below, (b) the manual Clone impl
to copy the new field, (c) the tuple array in build_compiled(), (d) an
impl WorkloadFinding block in eksup/src/k8s/checks.rs. The compiler
will not catch missing (b) or (c) — both silently drop the new field.
Fields§
§all: WorkloadCheckConfig§k8s002: K8s002Config§k8s003: WorkloadCheckConfig§k8s004: WorkloadCheckConfig§k8s005: WorkloadCheckConfig§k8s006: WorkloadCheckConfig§k8s007: WorkloadCheckConfig§k8s008: WorkloadCheckConfig§k8s013: WorkloadCheckConfigImplementations§
Source§impl ChecksConfig
impl ChecksConfig
pub fn compiled(&self) -> Result<&CompiledChecks>
Trait Implementations§
Source§impl Clone for ChecksConfig
impl Clone for ChecksConfig
Source§impl Debug for ChecksConfig
impl Debug for ChecksConfig
Source§impl Default for ChecksConfig
impl Default for ChecksConfig
Source§fn default() -> ChecksConfig
fn default() -> ChecksConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChecksConfig
impl<'de> Deserialize<'de> for ChecksConfig
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl !Freeze for ChecksConfig
impl RefUnwindSafe for ChecksConfig
impl Send for ChecksConfig
impl Sync for ChecksConfig
impl Unpin for ChecksConfig
impl UnsafeUnpin for ChecksConfig
impl UnwindSafe for ChecksConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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 moreCreates a shared type from an unshared type.
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,
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,
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,
High level tracing that classifies responses using gRPC headers. Read more