wadm_types::validation

Function validate_component_properties

Source
pub fn validate_component_properties(
    application: &Manifest,
) -> Vec<ValidationFailure>
Expand description

Ensure that all components in a manifest either specify an image reference or a shared component in a different manifest. Note that this does not validate that the image reference is valid or that the shared component is valid, only that one of the two properties is set.