fake

package
v0.26.0-alpha.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 9, 2022 License: Apache-2.0 Imports: 7 Imported by: 160

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

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) TokenReviews

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL