pub trait CheckFunc: Send + Sync {
// Required method
fn check(&self, object: &Object) -> Vec<Diagnostic>;
}Expand description
A check function that analyzes a Kubernetes object.
Required Methods§
Sourcefn check(&self, object: &Object) -> Vec<Diagnostic>
fn check(&self, object: &Object) -> Vec<Diagnostic>
Run the check on an object and return any diagnostics.