- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for validateProbe (0.22 sec)
-
pkg/apis/core/validation/validation.go
if probe == nil { return allErrs } allErrs = append(allErrs, validateProbe(probe, gracePeriod, fldPath)...) if probe.SuccessThreshold != 1 { allErrs = append(allErrs, field.Invalid(fldPath.Child("successThreshold"), probe.SuccessThreshold, "must be 1")) } return allErrs } func validateProbe(probe *core.Probe, gracePeriod int64, fldPath *field.Path) field.ErrorList {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 349.5K bytes - Viewed (0)