Version: v0.23.0 Latest Latest

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

Go to latest
Published: May 25, 2021 License: Apache-2.0 Imports: 10 Imported by: 1



Package fake has the automatically generated clients.



This section is empty.


This section is empty.


This section is empty.


type FakeBrokerCells

type FakeBrokerCells struct {
	Fake *FakeInternalV1alpha1
	// contains filtered or unexported fields

FakeBrokerCells implements BrokerCellInterface

func (*FakeBrokerCells) Create

func (c *FakeBrokerCells) Create(ctx context.Context, brokerCell *v1alpha1.BrokerCell, opts v1.CreateOptions) (result *v1alpha1.BrokerCell, err error)

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

func (*FakeBrokerCells) Delete

func (c *FakeBrokerCells) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

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

func (*FakeBrokerCells) DeleteCollection

func (c *FakeBrokerCells) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeBrokerCells) Get

func (c *FakeBrokerCells) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.BrokerCell, err error)

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

func (*FakeBrokerCells) List

func (c *FakeBrokerCells) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.BrokerCellList, err error)

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

func (*FakeBrokerCells) Patch

func (c *FakeBrokerCells) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.BrokerCell, err error)

Patch applies the patch and returns the patched brokerCell.

func (*FakeBrokerCells) Update

func (c *FakeBrokerCells) Update(ctx context.Context, brokerCell *v1alpha1.BrokerCell, opts v1.UpdateOptions) (result *v1alpha1.BrokerCell, err error)

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

func (*FakeBrokerCells) UpdateStatus

func (c *FakeBrokerCells) UpdateStatus(ctx context.Context, brokerCell *v1alpha1.BrokerCell, opts v1.UpdateOptions) (*v1alpha1.BrokerCell, error)

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

func (*FakeBrokerCells) Watch

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

type FakeInternalV1alpha1

type FakeInternalV1alpha1 struct {

func (*FakeInternalV1alpha1) BrokerCells

func (c *FakeInternalV1alpha1) BrokerCells(namespace string) v1alpha1.BrokerCellInterface

func (*FakeInternalV1alpha1) RESTClient

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