LintContext

Trait LintContext 

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

Source

fn objects(&self) -> &[Object]

Get all valid parsed objects.

Source

fn invalid_objects(&self) -> &[InvalidObject]

Get all objects that failed to parse.

Implementors§