- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ValidateCertSANs (0.28 sec)
-
cmd/kubeadm/app/apis/kubeadm/validation/validation.go
} if e.Local != nil { allErrs = append(allErrs, ValidateAbsolutePath(e.Local.DataDir, localPath.Child("dataDir"))...) allErrs = append(allErrs, ValidateCertSANs(e.Local.ServerCertSANs, localPath.Child("serverCertSANs"))...) allErrs = append(allErrs, ValidateCertSANs(e.Local.PeerCertSANs, localPath.Child("peerCertSANs"))...) if len(e.Local.ImageRepository) > 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 33.4K bytes - Viewed (0) -
cmd/kubeadm/app/apis/kubeadm/validation/validation_test.go
{[]string{"*", "my.other.subdomain", "2001:db8::10"}, false}, // not a Wildcard DNS label } for _, rt := range tests { actual := ValidateCertSANs(rt.sans, nil) if (len(actual) == 0) != rt.expected { t.Errorf( "failed ValidateCertSANs:\n\texpected: %t\n\t actual: %t", rt.expected, (len(actual) == 0), ) } } } func TestValidateIPFromString(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 46.1K bytes - Viewed (0)