Expand description
Logic for model (Manifest) validation
Structs§
- Validation
Failure - Failure detailing a validation failure, normally indicating a failure
Enums§
- Validation
Failure Level - Level of a failure related to validation
Traits§
- Validation
Output - Things that support output validation
Functions§
- is_
valid_ dns_ subdomain - is_
valid_ label_ name - is_
valid_ manifest_ name - Check whether a manifest name matches requirements
- is_
valid_ manifest_ version - Check whether a manifest version is valid requirements
- valid_
oam_ label - This function validates that a key/value pair is a valid OAM label. It’s using fairly basic validation rules to ensure that the manifest isn’t doing anything horribly wrong. Keeping this function free of regex is intentional to keep this code functional but simple.
- validate_
component_ properties - 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.
- validate_
components_ configs - Funtion to validate the component configs from 0.13.0 source_config is deprecated and replaced with source:config: this function validates the raw yaml to check for deprecated source_config and target_config
- validate_
link_ configs - Validates link configs in a WADM application manifest.
- validate_
manifest - Validate a WADM application manifest, returning a list of validation failures
- validate_
manifest_ bytes - Validate a lsit of bytes that represents a WADM application manifest
- validate_
manifest_ file - Validate a WADM application manifest, returning a list of validation failures
- validate_
manifest_ name - Check whether a manifest name matches requirements, returning all validation errors
- validate_
manifest_ version - Check whether a manifest version is valid, returning all validation errors
- validate_
raw_ yaml