fake

package
v0.0.0-...-fe632b3 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2020 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 FakeRpcServices

type FakeRpcServices struct {
	Fake *FakeRpccontrollerV1
	// contains filtered or unexported fields
}

FakeRpcServices implements RpcServiceInterface

func (*FakeRpcServices) Create

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

func (*FakeRpcServices) Delete

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

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

func (*FakeRpcServices) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeRpcServices) Get

func (c *FakeRpcServices) Get(name string, options v1.GetOptions) (result *rpccontrolleristioiov1.RpcService, err error)

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

func (*FakeRpcServices) List

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

func (*FakeRpcServices) Patch

func (c *FakeRpcServices) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *rpccontrolleristioiov1.RpcService, err error)

Patch applies the patch and returns the patched rpcService.

func (*FakeRpcServices) Update

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

func (*FakeRpcServices) UpdateStatus

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

func (*FakeRpcServices) Watch

func (c *FakeRpcServices) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeRpccontrollerV1

type FakeRpccontrollerV1 struct {
	*testing.Fake
}

func (*FakeRpccontrollerV1) RESTClient

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

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

func (*FakeRpccontrollerV1) RpcServices

func (c *FakeRpccontrollerV1) RpcServices(namespace string) v1.RpcServiceInterface

Jump to

Keyboard shortcuts

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