Skip to main content

validate_deployment_name

Function validate_deployment_name 

Source
pub fn validate_deployment_name(name: &str) -> Result<(), ValidationError>
Expand description

Validate a deployment name

Requirements:

  • 3-63 characters
  • Alphanumeric + hyphens only
  • Must start with alphanumeric character

ยงErrors

Returns a validation error if the deployment name is invalid.