fake

package
v0.31.0 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2024 License: Apache-2.0 Imports: 6 Imported by: 1

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 FakeAuthenticationV1alpha1

type FakeAuthenticationV1alpha1 struct {
	*testing.Fake
}

func (*FakeAuthenticationV1alpha1) RESTClient

func (c *FakeAuthenticationV1alpha1) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

func (*FakeAuthenticationV1alpha1) SelfSubjectReviews

type FakeSelfSubjectReviews

type FakeSelfSubjectReviews struct {
	Fake *FakeAuthenticationV1alpha1
}

FakeSelfSubjectReviews implements SelfSubjectReviewInterface

func (*FakeSelfSubjectReviews) Create

func (c *FakeSelfSubjectReviews) Create(ctx context.Context, selfSubjectReview *v1alpha1.SelfSubjectReview, opts v1.CreateOptions) (result *v1alpha1.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.

Jump to

Keyboard shortcuts

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