Function validate_name
Source pub fn validate_name(name: &str) -> Result<(), OciError>
Expand description
Validate a repository name against the OCI Distribution Spec v1.1
name grammar.
§Errors
Returns an OciError with code NAME_INVALID if the name violates
any part of the grammar.