fake

package
v0.0.0-...-d3ccc4f Latest Latest
Warning

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

Go to latest
Published: Sep 11, 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 FakeArangoDeployments

type FakeArangoDeployments struct {
	Fake *FakeDatabaseV1alpha
	// contains filtered or unexported fields
}

FakeArangoDeployments implements ArangoDeploymentInterface

func (*FakeArangoDeployments) Create

func (c *FakeArangoDeployments) Create(arangoDeployment *v1alpha.ArangoDeployment) (result *v1alpha.ArangoDeployment, err error)

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

func (*FakeArangoDeployments) Delete

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

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

func (*FakeArangoDeployments) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeArangoDeployments) Get

func (c *FakeArangoDeployments) Get(name string, options v1.GetOptions) (result *v1alpha.ArangoDeployment, err error)

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

func (*FakeArangoDeployments) List

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

func (*FakeArangoDeployments) Patch

func (c *FakeArangoDeployments) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha.ArangoDeployment, err error)

Patch applies the patch and returns the patched arangoDeployment.

func (*FakeArangoDeployments) Update

func (c *FakeArangoDeployments) Update(arangoDeployment *v1alpha.ArangoDeployment) (result *v1alpha.ArangoDeployment, err error)

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

func (*FakeArangoDeployments) UpdateStatus

func (c *FakeArangoDeployments) UpdateStatus(arangoDeployment *v1alpha.ArangoDeployment) (*v1alpha.ArangoDeployment, error)

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

func (*FakeArangoDeployments) Watch

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

type FakeDatabaseV1alpha

type FakeDatabaseV1alpha struct {
	*testing.Fake
}

func (*FakeDatabaseV1alpha) ArangoDeployments

func (c *FakeDatabaseV1alpha) ArangoDeployments(namespace string) v1alpha.ArangoDeploymentInterface

func (*FakeDatabaseV1alpha) RESTClient

func (c *FakeDatabaseV1alpha) 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