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.