fake

package
v0.17.12-rc.0 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2020 License: Apache-2.0 Imports: 5 Imported by: 144

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 FakeAuthenticationV1

type FakeAuthenticationV1 struct {
	*testing.Fake
}

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(tokenReview *authenticationapi.TokenReview) (result *authenticationapi.TokenReview, err error)

func (*FakeTokenReviews) CreateContext added in v0.17.0

func (c *FakeTokenReviews) CreateContext(ctx context.Context, tokenReview *authenticationapi.TokenReview) (result *authenticationapi.TokenReview, err error)

Jump to

Keyboard shortcuts

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