Skip to main content

validate_catalog_bounds

Function validate_catalog_bounds 

Source
pub fn validate_catalog_bounds(
    catalog: &CatalogBounds,
    cluster_scoped: bool,
) -> Vec<ValidationError>
Expand description

Validate spec.catalog (ADR §3.1/§3.2): the refresh interval must parse and respect the floor, the retain bounds must be enforceable, and fallbackNamespace only means something on a cluster-scoped repository (cluster_scoped). One validator for both kinds so the rules cannot fork.