- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for SrcPath (0.17 sec)
-
pkg/apis/core/validation/validation.go
allErrs := field.ErrorList{} allPaths := sets.Set[string]{} for i, source := range projection.Sources { numSources := 0 srcPath := fldPath.Child("sources").Index(i) if projPath := srcPath.Child("secret"); source.Secret != nil { numSources++ if len(source.Secret.Name) == 0 { allErrs = append(allErrs, field.Required(projPath.Child("name"), "")) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 349.5K bytes - Viewed (1)