fake

package
v0.0.0-...-0e4f5d7 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2022 License: Apache-2.0 Imports: 9 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 FakeAdminV1beta1

type FakeAdminV1beta1 struct {
	*testing.Fake
}

func (*FakeAdminV1beta1) AuthenticationServices

func (c *FakeAdminV1beta1) AuthenticationServices(namespace string) v1beta1.AuthenticationServiceInterface

func (*FakeAdminV1beta1) ConsoleServices

func (c *FakeAdminV1beta1) ConsoleServices(namespace string) v1beta1.ConsoleServiceInterface

func (*FakeAdminV1beta1) RESTClient

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

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

type FakeAuthenticationServices

type FakeAuthenticationServices struct {
	Fake *FakeAdminV1beta1
	// contains filtered or unexported fields
}

FakeAuthenticationServices implements AuthenticationServiceInterface

func (*FakeAuthenticationServices) Create

func (c *FakeAuthenticationServices) Create(authenticationService *v1beta1.AuthenticationService) (result *v1beta1.AuthenticationService, err error)

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

func (*FakeAuthenticationServices) Delete

func (c *FakeAuthenticationServices) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeAuthenticationServices) DeleteCollection

func (c *FakeAuthenticationServices) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeAuthenticationServices) Get

func (c *FakeAuthenticationServices) Get(name string, options v1.GetOptions) (result *v1beta1.AuthenticationService, err error)

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

func (*FakeAuthenticationServices) List

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

func (*FakeAuthenticationServices) Patch

func (c *FakeAuthenticationServices) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.AuthenticationService, err error)

Patch applies the patch and returns the patched authenticationService.

func (*FakeAuthenticationServices) Update

func (c *FakeAuthenticationServices) Update(authenticationService *v1beta1.AuthenticationService) (result *v1beta1.AuthenticationService, err error)

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

func (*FakeAuthenticationServices) UpdateStatus

func (c *FakeAuthenticationServices) UpdateStatus(authenticationService *v1beta1.AuthenticationService) (*v1beta1.AuthenticationService, error)

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

func (*FakeAuthenticationServices) Watch

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

type FakeConsoleServices

type FakeConsoleServices struct {
	Fake *FakeAdminV1beta1
	// contains filtered or unexported fields
}

FakeConsoleServices implements ConsoleServiceInterface

func (*FakeConsoleServices) Create

func (c *FakeConsoleServices) Create(consoleService *v1beta1.ConsoleService) (result *v1beta1.ConsoleService, err error)

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

func (*FakeConsoleServices) Delete

func (c *FakeConsoleServices) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeConsoleServices) DeleteCollection

func (c *FakeConsoleServices) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeConsoleServices) Get

func (c *FakeConsoleServices) Get(name string, options v1.GetOptions) (result *v1beta1.ConsoleService, err error)

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

func (*FakeConsoleServices) List

func (c *FakeConsoleServices) List(opts v1.ListOptions) (result *v1beta1.ConsoleServiceList, err error)

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

func (*FakeConsoleServices) Patch

func (c *FakeConsoleServices) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.ConsoleService, err error)

Patch applies the patch and returns the patched consoleService.

func (*FakeConsoleServices) Update

func (c *FakeConsoleServices) Update(consoleService *v1beta1.ConsoleService) (result *v1beta1.ConsoleService, err error)

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

func (*FakeConsoleServices) UpdateStatus

func (c *FakeConsoleServices) UpdateStatus(consoleService *v1beta1.ConsoleService) (*v1beta1.ConsoleService, error)

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

func (*FakeConsoleServices) Watch

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

Jump to

Keyboard shortcuts

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