fake

package
v0.0.0-...-432842a Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2018 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 FakeDbQueues

type FakeDbQueues struct {
	Fake *FakeQueueentryoperatorBetav1
	// contains filtered or unexported fields
}

FakeDbQueues implements DbQueueInterface

func (*FakeDbQueues) Create

func (c *FakeDbQueues) Create(dbQueue *betav1.DbQueue) (result *betav1.DbQueue, err error)

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

func (*FakeDbQueues) Delete

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

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

func (*FakeDbQueues) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDbQueues) Get

func (c *FakeDbQueues) Get(name string, options v1.GetOptions) (result *betav1.DbQueue, err error)

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

func (*FakeDbQueues) List

func (c *FakeDbQueues) List(opts v1.ListOptions) (result *betav1.DbQueueList, err error)

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

func (*FakeDbQueues) Patch

func (c *FakeDbQueues) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *betav1.DbQueue, err error)

Patch applies the patch and returns the patched dbQueue.

func (*FakeDbQueues) Update

func (c *FakeDbQueues) Update(dbQueue *betav1.DbQueue) (result *betav1.DbQueue, err error)

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

func (*FakeDbQueues) Watch

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

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

type FakeQueueentryoperatorBetav1

type FakeQueueentryoperatorBetav1 struct {
	*testing.Fake
}

func (*FakeQueueentryoperatorBetav1) DbQueues

func (*FakeQueueentryoperatorBetav1) RESTClient

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