- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestSyncClusterRole (0.18 sec)
-
pkg/controller/clusterroleaggregation/clusterroleaggregation_controller_test.go
rbaclisters "k8s.io/client-go/listers/rbac/v1" clienttesting "k8s.io/client-go/testing" "k8s.io/client-go/tools/cache" "k8s.io/kubernetes/pkg/controller" ) func TestSyncClusterRole(t *testing.T) { hammerRules := func() []rbacv1.PolicyRule { return []rbacv1.PolicyRule{ {Verbs: []string{"hammer"}, Resources: []string{"nails"}}, {Verbs: []string{"hammer"}, Resources: []string{"wedges"}}, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:46:12 UTC 2023 - 9K bytes - Viewed (0)