pub trait LintContext: Send + Sync {
// Required methods
fn objects(&self) -> &[Object];
fn invalid_objects(&self) -> &[InvalidObject];
}Expand description
A lint context provides access to all parsed Kubernetes objects.
Required Methods§
Sourcefn invalid_objects(&self) -> &[InvalidObject]
fn invalid_objects(&self) -> &[InvalidObject]
Get all objects that failed to parse.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".