- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for listersForResource (0.4 sec)
-
pkg/controller/resourcequota/resource_quota_controller_test.go
return []*metav1.APIResourceList{}, nil } func mockListerForResourceFunc(listersForResource map[schema.GroupVersionResource]cache.GenericLister) quota.ListerForResourceFunc { return func(gvr schema.GroupVersionResource) (cache.GenericLister, error) { lister, found := listersForResource[gvr] if !found { return nil, fmt.Errorf("no lister found for resource") } return lister, nil } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 12 16:29:33 UTC 2023 - 42.6K bytes - Viewed (0)