1/* 2Copyright The Kubernetes Authors. 3 4Licensed under the Apache License, Version 2.0 (the "License"); 5you may not use this file except in compliance with the License. 6You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10Unless required by applicable law or agreed to in writing, software 11distributed under the License is distributed on an "AS IS" BASIS, 12WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13See the License for the specific language governing permissions and 14limitations under the License. 15*/ 16 17// Code generated by client-gen. DO NOT EDIT. 18 19package fake 20 21import ( 22 v1 "k8s.io/client-go/kubernetes/typed/authorization/v1" 23 rest "k8s.io/client-go/rest" 24 testing "k8s.io/client-go/testing" 25) 26 27type FakeAuthorizationV1 struct { 28 *testing.Fake 29} 30 31func (c *FakeAuthorizationV1) LocalSubjectAccessReviews(namespace string) v1.LocalSubjectAccessReviewInterface { 32 return &FakeLocalSubjectAccessReviews{c, namespace} 33} 34 35func (c *FakeAuthorizationV1) SelfSubjectAccessReviews() v1.SelfSubjectAccessReviewInterface { 36 return &FakeSelfSubjectAccessReviews{c} 37} 38 39func (c *FakeAuthorizationV1) SelfSubjectRulesReviews() v1.SelfSubjectRulesReviewInterface { 40 return &FakeSelfSubjectRulesReviews{c} 41} 42 43func (c *FakeAuthorizationV1) SubjectAccessReviews() v1.SubjectAccessReviewInterface { 44 return &FakeSubjectAccessReviews{c} 45} 46 47// RESTClient returns a RESTClient that is used to communicate 48// with API server by this client implementation. 49func (c *FakeAuthorizationV1) RESTClient() rest.Interface { 50 var ret *rest.RESTClient 51 return ret 52} 53