Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for IsWildcardDNS1123Label (0.14 sec)

  1. pkg/config/labels/instance.go

    	return len(value) <= DNS1123LabelMaxLength && dns1123LabelRegexp.MatchString(value)
    }
    
    // IsWildcardDNS1123Label tests for a string that conforms to the definition of a label in DNS (RFC 1123), but allows
    // the wildcard label (`*`), and typical labels with a leading astrisk instead of alphabetic character (e.g. "*-foo")
    func IsWildcardDNS1123Label(value string) bool {
    	return len(value) <= DNS1123LabelMaxLength && wildcardPrefixRegexp.MatchString(value)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 16 06:54:36 UTC 2023
    - 5K bytes
    - Viewed (0)
Back to top