- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ValidateTolerations (0.15 sec)
-
pkg/apis/node/validation/validation.go
} allErrs = append(allErrs, validateTolerations(s.Tolerations, fldPath.Child("tolerations"))...) return allErrs } func validateTolerations(tolerations []core.Toleration, fldPath *field.Path) field.ErrorList { allErrs := corevalidation.ValidateTolerations(tolerations, fldPath.Child("tolerations")) // Ensure uniquenes of tolerations.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 10 19:08:24 UTC 2022 - 3.2K bytes - Viewed (0) -
pkg/apis/core/validation/validation.go
allErrs = append(allErrs, ValidateDNS1123Subdomain(hostname, fldPath.Index(i).Child("hostnames").Index(j))...) } } return allErrs } // ValidateTolerations tests if given tolerations have valid data. func ValidateTolerations(tolerations []core.Toleration, fldPath *field.Path) field.ErrorList { allErrors := field.ErrorList{} for i, toleration := range tolerations { idxPath := fldPath.Index(i)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 349.5K bytes - Viewed (1)