- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for validateKubeProxyIPVSConfiguration (0.4 sec)
-
pkg/proxy/apis/config/validation/validation.go
switch config.Mode { case kubeproxyconfig.ProxyModeIPVS: allErrs = append(allErrs, validateKubeProxyIPVSConfiguration(config.IPVS, newPath.Child("KubeProxyIPVSConfiguration"))...) case kubeproxyconfig.ProxyModeNFTables:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 13:25:06 UTC 2024 - 14.6K bytes - Viewed (0) -
pkg/proxy/apis/config/validation/validation_test.go
field.Invalid(newPath.Child("KubeIPVSConfiguration.UDPTimeout"), metav1.Duration{Duration: -1 * time.Second}, "must be greater than or equal to 0")}, }, } { t.Run(name, func(t *testing.T) { errs := validateKubeProxyIPVSConfiguration(testCase.config, newPath.Child("KubeIPVSConfiguration")) assert.Equal(t, testCase.expectedErrs, errs, "did not get expected validation errors") }) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 14:24:16 UTC 2024 - 33.3K bytes - Viewed (0)