Skip to main content

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.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§