- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for IsWildcardDNS1123Label (0.32 sec)
-
pkg/config/validation/agent/validation.go
return err } // We only allow wildcards in the first label; split off the first label (parts[0]) from the rest of the host (parts[1]) parts := strings.SplitN(domain, ".", 2) if !labels.IsWildcardDNS1123Label(parts[0]) { return fmt.Errorf("domain name %q invalid (label %q invalid)", domain, parts[0]) } else if len(parts) > 1 { return ValidateDNS1123Labels(parts[1]) } return nil }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 20:06:41 UTC 2024 - 30.9K bytes - Viewed (0)