Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for createFakeAuthorizationPolicies (0.33 sec)

  1. 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)
Back to top