- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for NumField (0.4 sec)
-
pkg/apis/core/validation/validation_test.go
paths := sets.NewString() switch tp.Kind() { case reflect.Pointer: paths.Insert(collectResourcePaths(t, skipRecurseList, tp.Elem(), path).List()...) case reflect.Struct: for i := 0; i < tp.NumField(); i++ { field := tp.Field(i) paths.Insert(collectResourcePaths(t, skipRecurseList, field.Type, path.Child(field.Name)).List()...) } case reflect.Map, reflect.Slice:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 857.7K bytes - Viewed (0)