fake

package
v1.16.10 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

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 FakeAuthConfigs

type FakeAuthConfigs struct {
	Fake *FakeEnterpriseV1
	// contains filtered or unexported fields
}

FakeAuthConfigs implements AuthConfigInterface

func (*FakeAuthConfigs) Create

Create takes the representation of a authConfig and creates it. Returns the server's representation of the authConfig, and an error, if there is any.

func (*FakeAuthConfigs) Delete

func (c *FakeAuthConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the authConfig and deletes it. Returns an error if one occurs.

func (*FakeAuthConfigs) DeleteCollection

func (c *FakeAuthConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeAuthConfigs) Get

func (c *FakeAuthConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *enterprisegloosoloiov1.AuthConfig, err error)

Get takes name of the authConfig, and returns the corresponding authConfig object, and an error if there is any.

func (*FakeAuthConfigs) List

List takes label and field selectors, and returns the list of AuthConfigs that match those selectors.

func (*FakeAuthConfigs) Patch

func (c *FakeAuthConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *enterprisegloosoloiov1.AuthConfig, err error)

Patch applies the patch and returns the patched authConfig.

func (*FakeAuthConfigs) Update

Update takes the representation of a authConfig and updates it. Returns the server's representation of the authConfig, and an error, if there is any.

func (*FakeAuthConfigs) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeAuthConfigs) Watch

Watch returns a watch.Interface that watches the requested authConfigs.

type FakeEnterpriseV1

type FakeEnterpriseV1 struct {
	*testing.Fake
}

func (*FakeEnterpriseV1) AuthConfigs

func (c *FakeEnterpriseV1) AuthConfigs(namespace string) v1.AuthConfigInterface

func (*FakeEnterpriseV1) RESTClient

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

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

Jump to

Keyboard shortcuts

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