Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAuthenticationV1beta1 ¶
func (*FakeAuthenticationV1beta1) RESTClient ¶
func (c *FakeAuthenticationV1beta1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeAuthenticationV1beta1) SelfSubjectReviews ¶ added in v0.27.0
func (c *FakeAuthenticationV1beta1) SelfSubjectReviews() v1beta1.SelfSubjectReviewInterface
func (*FakeAuthenticationV1beta1) TokenReviews ¶
func (c *FakeAuthenticationV1beta1) TokenReviews() v1beta1.TokenReviewInterface
type FakeSelfSubjectReviews ¶ added in v0.27.0
type FakeSelfSubjectReviews struct {
Fake *FakeAuthenticationV1beta1
}
FakeSelfSubjectReviews implements SelfSubjectReviewInterface
func (*FakeSelfSubjectReviews) Create ¶ added in v0.27.0
func (c *FakeSelfSubjectReviews) Create(ctx context.Context, selfSubjectReview *v1beta1.SelfSubjectReview, opts v1.CreateOptions) (result *v1beta1.SelfSubjectReview, err error)
Create takes the representation of a selfSubjectReview and creates it. Returns the server's representation of the selfSubjectReview, and an error, if there is any.
type FakeTokenReviews ¶
type FakeTokenReviews struct {
Fake *FakeAuthenticationV1beta1
}
FakeTokenReviews implements TokenReviewInterface
func (*FakeTokenReviews) Create ¶
func (c *FakeTokenReviews) Create(ctx context.Context, tokenReview *v1beta1.TokenReview, opts v1.CreateOptions) (result *v1beta1.TokenReview, err error)
Create takes the representation of a tokenReview and creates it. Returns the server's representation of the tokenReview, and an error, if there is any.
Click to show internal directories.
Click to hide internal directories.