package fake
import "k8s.io/client-go/kubernetes/typed/authentication/v1/fake"
Package fake has the automatically generated clients.
Index ¶
- type FakeAuthenticationV1
- func (c *FakeAuthenticationV1) RESTClient() rest.Interface
- func (c *FakeAuthenticationV1) TokenReviews() v1.TokenReviewInterface
- type FakeTokenReviews
Types ¶
type FakeAuthenticationV1 ¶
func (*FakeAuthenticationV1) RESTClient ¶
func (c *FakeAuthenticationV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeAuthenticationV1) TokenReviews ¶
func (c *FakeAuthenticationV1) TokenReviews() v1.TokenReviewInterface
type FakeTokenReviews ¶
type FakeTokenReviews struct { Fake *FakeAuthenticationV1 }
FakeTokenReviews implements TokenReviewInterface
func (*FakeTokenReviews) Create ¶
func (c *FakeTokenReviews) Create(ctx context.Context, tokenReview *v1.TokenReview, opts metav1.CreateOptions) (result *v1.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.
Source Files ¶
doc.go fake_authentication_client.go fake_tokenreview.go
- Version
- v0.22.13-rc.0
- Published
- Jul 13, 2022
- Platform
- linux/amd64
- Imports
- 7 packages
- Last checked
- 3 minutes ago –
Tools for package owners.