"name not a IANA svc name ":{[]api.ContainerPort{{Name:"a.b.c",ContainerPort:80,Protocol:"TCP"}},errors.ValidationErrorTypeInvalid,"[0].name",portNameErrorMsg},
"name not a IANA svc name (i.e. a number)":{[]api.ContainerPort{{Name:"80",ContainerPort:80,Protocol:"TCP"}},errors.ValidationErrorTypeInvalid,"[0].name",portNameErrorMsg},
"name not a IANA svc name ":{[]api.ContainerPort{{Name:"a.b.c",ContainerPort:80,Protocol:"TCP"}},errors.ValidationErrorTypeInvalid,"[0].name",PortNameErrorMsg},
"name not a IANA svc name (i.e. a number)":{[]api.ContainerPort{{Name:"80",ContainerPort:80,Protocol:"TCP"}},errors.ValidationErrorTypeInvalid,"[0].name",PortNameErrorMsg},
varportNameErrorMsgstring=fmt.Sprintf(`must be an IANA_SVC_NAME (at most 15 characters, matching regex %s, it must contain at least one letter [a-z], and hyphens cannot be adjacent to other hyphens): e.g. "http"`,validation.IdentifierNoHyphensBeginEndFmt)
// ValidateHorizontalPodAutoscaler can be used to check whether the given autoscaler name is valid.
// Prefix indicates this name will be used as part of generation, in which case trailing dashes are allowed.