// ValidateNamespace validates the name of the namespace
ValidateNamespace validates the name of the namespace
// ValidateNamespace validates the name of the namespace
func (v *Validator) ValidateNamespace(name string) error {
	matched, _ := regexp.Match(legalNamespaceChars, []byte(name))
	if matched {
		return nil
	}
	return v.Localizer.MustLocalizeError("connector.common.validation.namespace.error.invalidChars", localize.NewEntry("Namespace", name))
}
func ( v * Validator ) ValidateNamespace ( name string ) error { matched , _ := regexp . Match ( legalNamespaceChars , [ ] byte ( name ) ) if matched { return nil } return v . Localizer . MustLocalizeError ( " " , localize . NewEntry ( " " , name ) ) }
ValidateNamespace validates the name of the namespace
ValidateNamespace validates the name of the namespace