- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for collectSecretPaths (0.25 sec)
-
pkg/api/v1/persistentvolume/util_test.go
return false }) } // collectSecretPaths traverses the object, computing all the struct paths that lead to fields with "secret" in the name. func collectSecretPaths(t *testing.T, path *field.Path, name string, tp reflect.Type) sets.Set[string] { secretPaths := sets.New[string]() if tp.Kind() == reflect.Pointer { secretPaths.Insert(sets.List[string](collectSecretPaths(t, path, name, tp.Elem()))...) return secretPaths
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Sep 25 11:04:08 UTC 2023 - 14.5K bytes - Viewed (0)