fake

package
v0.0.0-...-1bdd90c Latest Latest
Warning

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

Go to latest
Published: May 17, 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 FakeConfigurationV1beta1

type FakeConfigurationV1beta1 struct {
	*testing.Fake
}

func (*FakeConfigurationV1beta1) ManbaClusters

func (c *FakeConfigurationV1beta1) ManbaClusters(namespace string) v1beta1.ManbaClusterInterface

func (*FakeConfigurationV1beta1) ManbaIngresses

func (c *FakeConfigurationV1beta1) ManbaIngresses(namespace string) v1beta1.ManbaIngressInterface

func (*FakeConfigurationV1beta1) RESTClient

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

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

type FakeManbaClusters

type FakeManbaClusters struct {
	Fake *FakeConfigurationV1beta1
	// contains filtered or unexported fields
}

FakeManbaClusters implements ManbaClusterInterface

func (*FakeManbaClusters) Create

func (c *FakeManbaClusters) Create(manbaCluster *v1beta1.ManbaCluster) (result *v1beta1.ManbaCluster, err error)

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

func (*FakeManbaClusters) Delete

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

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

func (*FakeManbaClusters) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeManbaClusters) Get

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

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

func (*FakeManbaClusters) List

func (c *FakeManbaClusters) List(opts v1.ListOptions) (result *v1beta1.ManbaClusterList, err error)

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

func (*FakeManbaClusters) Patch

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

Patch applies the patch and returns the patched manbaCluster.

func (*FakeManbaClusters) Update

func (c *FakeManbaClusters) Update(manbaCluster *v1beta1.ManbaCluster) (result *v1beta1.ManbaCluster, err error)

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

func (*FakeManbaClusters) Watch

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

type FakeManbaIngresses

type FakeManbaIngresses struct {
	Fake *FakeConfigurationV1beta1
	// contains filtered or unexported fields
}

FakeManbaIngresses implements ManbaIngressInterface

func (*FakeManbaIngresses) Create

func (c *FakeManbaIngresses) Create(manbaIngress *v1beta1.ManbaIngress) (result *v1beta1.ManbaIngress, err error)

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

func (*FakeManbaIngresses) Delete

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

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

func (*FakeManbaIngresses) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeManbaIngresses) Get

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

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

func (*FakeManbaIngresses) List

func (c *FakeManbaIngresses) List(opts v1.ListOptions) (result *v1beta1.ManbaIngressList, err error)

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

func (*FakeManbaIngresses) Patch

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

Patch applies the patch and returns the patched manbaIngress.

func (*FakeManbaIngresses) Update

func (c *FakeManbaIngresses) Update(manbaIngress *v1beta1.ManbaIngress) (result *v1beta1.ManbaIngress, err error)

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

func (*FakeManbaIngresses) Watch

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

Jump to

Keyboard shortcuts

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