package fake

import "k8s.io/client-go/kubernetes/typed/authentication/v1beta1/fake"

Package fake has the automatically generated clients.

Index

Types

type FakeAuthenticationV1beta1

type FakeAuthenticationV1beta1 struct {
	*testing.Fake
}

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

func (*FakeAuthenticationV1beta1) TokenReviews

type FakeSelfSubjectReviews

type FakeSelfSubjectReviews struct {
	Fake *FakeAuthenticationV1beta1
}

FakeSelfSubjectReviews implements SelfSubjectReviewInterface

func (*FakeSelfSubjectReviews) Create

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.

Source Files

doc.go fake_authentication_client.go fake_selfsubjectreview.go fake_tokenreview.go

Version
v0.29.10
Published
Oct 23, 2024
Platform
linux/amd64
Imports
6 packages
Last checked
3 minutes ago

Tools for package owners.