Skip to main content

validate_package_components

Function validate_package_components 

Source
pub fn validate_package_components<S: AsRef<str>>(
    pkg: &Map<String, Value>,
    catalog_ids: &[S],
    view: &Arc<CatalogView>,
) -> Vec<PackageIssue>
Expand description

VAPP-203: every template’s components, reduced as the host will render them against view (the core plus the extensions the host has definitions for). An unsupported catalog is reported elsewhere. A catalog or declared extension view does not know leaves its component names open (an unknown component is not reported); every other check still holds.