Skip to main content

validate_envelope

Function validate_envelope 

Source
pub fn validate_envelope(
    registry: &KindRegistry,
    envelope: &ManifestEnvelope,
) -> Result<(), ManifestError>
Expand description

Validate an envelope through the registry: the kind must be registered and its body must pass that kind’s validation.