Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAuthorizationV1beta1
- func (c *FakeAuthorizationV1beta1) LocalSubjectAccessReviews(namespace string) v1beta1.LocalSubjectAccessReviewInterface
- func (c *FakeAuthorizationV1beta1) RESTClient() rest.Interface
- func (c *FakeAuthorizationV1beta1) SelfSubjectAccessReviews() v1beta1.SelfSubjectAccessReviewInterface
- func (c *FakeAuthorizationV1beta1) SelfSubjectRulesReviews() v1beta1.SelfSubjectRulesReviewInterface
- func (c *FakeAuthorizationV1beta1) SubjectAccessReviews() v1beta1.SubjectAccessReviewInterface
- type FakeLocalSubjectAccessReviews
- type FakeSelfSubjectAccessReviews
- type FakeSelfSubjectRulesReviews
- type FakeSubjectAccessReviews
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAuthorizationV1beta1 ¶
func (*FakeAuthorizationV1beta1) LocalSubjectAccessReviews ¶
func (c *FakeAuthorizationV1beta1) LocalSubjectAccessReviews(namespace string) v1beta1.LocalSubjectAccessReviewInterface
func (*FakeAuthorizationV1beta1) RESTClient ¶
func (c *FakeAuthorizationV1beta1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeAuthorizationV1beta1) SelfSubjectAccessReviews ¶
func (c *FakeAuthorizationV1beta1) SelfSubjectAccessReviews() v1beta1.SelfSubjectAccessReviewInterface
func (*FakeAuthorizationV1beta1) SelfSubjectRulesReviews ¶
func (c *FakeAuthorizationV1beta1) SelfSubjectRulesReviews() v1beta1.SelfSubjectRulesReviewInterface
func (*FakeAuthorizationV1beta1) SubjectAccessReviews ¶
func (c *FakeAuthorizationV1beta1) SubjectAccessReviews() v1beta1.SubjectAccessReviewInterface
type FakeLocalSubjectAccessReviews ¶
type FakeLocalSubjectAccessReviews struct { Fake *FakeAuthorizationV1beta1 // contains filtered or unexported fields }
FakeLocalSubjectAccessReviews implements LocalSubjectAccessReviewInterface
func (*FakeLocalSubjectAccessReviews) Create ¶
func (c *FakeLocalSubjectAccessReviews) Create(ctx context.Context, localSubjectAccessReview *v1beta1.LocalSubjectAccessReview, opts v1.CreateOptions) (result *v1beta1.LocalSubjectAccessReview, err error)
Create takes the representation of a localSubjectAccessReview and creates it. Returns the server's representation of the localSubjectAccessReview, and an error, if there is any.
type FakeSelfSubjectAccessReviews ¶
type FakeSelfSubjectAccessReviews struct {
Fake *FakeAuthorizationV1beta1
}
FakeSelfSubjectAccessReviews implements SelfSubjectAccessReviewInterface
func (*FakeSelfSubjectAccessReviews) Create ¶
func (c *FakeSelfSubjectAccessReviews) Create(ctx context.Context, selfSubjectAccessReview *v1beta1.SelfSubjectAccessReview, opts v1.CreateOptions) (result *v1beta1.SelfSubjectAccessReview, err error)
Create takes the representation of a selfSubjectAccessReview and creates it. Returns the server's representation of the selfSubjectAccessReview, and an error, if there is any.
type FakeSelfSubjectRulesReviews ¶
type FakeSelfSubjectRulesReviews struct {
Fake *FakeAuthorizationV1beta1
}
FakeSelfSubjectRulesReviews implements SelfSubjectRulesReviewInterface
func (*FakeSelfSubjectRulesReviews) Create ¶
func (c *FakeSelfSubjectRulesReviews) Create(ctx context.Context, selfSubjectRulesReview *v1beta1.SelfSubjectRulesReview, opts v1.CreateOptions) (result *v1beta1.SelfSubjectRulesReview, err error)
Create takes the representation of a selfSubjectRulesReview and creates it. Returns the server's representation of the selfSubjectRulesReview, and an error, if there is any.
type FakeSubjectAccessReviews ¶
type FakeSubjectAccessReviews struct {
Fake *FakeAuthorizationV1beta1
}
FakeSubjectAccessReviews implements SubjectAccessReviewInterface
func (*FakeSubjectAccessReviews) Create ¶
func (c *FakeSubjectAccessReviews) Create(ctx context.Context, subjectAccessReview *v1beta1.SubjectAccessReview, opts v1.CreateOptions) (result *v1beta1.SubjectAccessReview, err error)
Create takes the representation of a subjectAccessReview and creates it. Returns the server's representation of the subjectAccessReview, and an error, if there is any.