func allCharAllowedInResourceName()

in csmnamer/namer.go [93:103]


func allCharAllowedInResourceName(s string) bool {
	if len(s) == 0 {
		return false
	}
	for _, r := range s {
		if !(unicode.IsDigit(r) || unicode.IsLetter(r) || r == '-') {
			return false
		}
	}
	return true
}