- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for createFakeAuthorizationPolicies (0.33 sec)
-
pilot/pkg/model/authorization_test.go
{Name: "authz-1", Namespace: "foo", Spec: policyWithServiceRef}, }, }, } for _, tc := range cases { t.Run(tc.name, func(t *testing.T) { authzPolicies := createFakeAuthorizationPolicies(tc.configs) result := authzPolicies.ListAuthorizationPolicies(tc.selectionOpts) if !reflect.DeepEqual(tc.wantAllow, result.Allow) { t.Errorf("wantAllow:%v\n but got: %v\n", tc.wantAllow, result.Allow)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 22:20:44 UTC 2024 - 12.7K bytes - Viewed (0)