Skip to main content

validate

Function validate 

Source
pub fn validate(
    value: &Value,
    store: Option<&SchemaStore>,
) -> Result<(), Vec<ValidationError>>
Expand description

Validate all documents in the build output.

If a SchemaStore is available, validates each document against its schema (looked up by apiVersion + kind). Falls back to quantity-only heuristic validation when no store is available or no schema matches.