- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for TooLong (0.3 sec)
-
src/net/dnsconfig_unix_test.go
if len(unsuffixableResults) != 1 { t.Errorf("suffixed names %v; want []", unsuffixableResults[1:]) } // Now test a name that's too long for DNS. tooLong := "a." + longDomain tooLongResults := conf.nameList(tooLong) if tooLongResults != nil { t.Errorf("suffixed names %v; want nil", tooLongResults) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 03 17:41:32 UTC 2022 - 7.1K bytes - Viewed (0) -
pkg/apis/core/validation/names.go
return el } // validate that segments[0] is less than 253 characters altogether maxDomainSegmentLength := validation.DNS1123SubdomainMaxLength if len(segments[0]) > maxDomainSegmentLength { el = append(el, field.TooLong(fldPath, segments[0], maxDomainSegmentLength)) } // validate that segments[0] consists of valid DNS1123 labels separated by '.' domainLabels := strings.Split(segments[0], ".") for _, lbl := range domainLabels {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 03 18:40:48 UTC 2023 - 5.5K bytes - Viewed (0) -
pkg/apis/storagemigration/validation/validation.go
if len(condition.Reason) > maxReasonLen { allErrs = append(allErrs, field.TooLong(fldPath.Child("reason"), condition.Reason, maxReasonLen)) } } const maxMessageLen int = 32 * 1024 // 32768 if len(condition.Message) > maxMessageLen { allErrs = append(allErrs, field.TooLong(fldPath.Child("message"), condition.Message, maxMessageLen)) } return allErrs }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 08 04:18:56 UTC 2024 - 9.5K bytes - Viewed (0)