CheckFunc

Trait CheckFunc 

Source
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§

Source

fn check(&self, object: &Object) -> Vec<Diagnostic>

Run the check on an object and return any diagnostics.

Implementors§