- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestCollectionMultipleFetch (0.24 sec)
-
pkg/kube/krt/collection_test.go
func fetcherSorted[T krt.ResourceNamer](c krt.Collection[T]) func() []T { return func() []T { return slices.SortBy(c.List(), func(t T) string { return t.ResourceName() }) } } func TestCollectionMultipleFetch(t *testing.T) { type Result struct { Named Configs []string } c := kube.NewFakeClient() kpc := kclient.New[*corev1.Pod](c) kcc := kclient.New[*corev1.ConfigMap](c)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 28 04:22:19 UTC 2024 - 14.6K bytes - Viewed (0)