v0.8.1 Latest Latest

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

Go to latest
Published: Aug 20, 2019 License: Apache-2.0 Imports: 9 Imported by: 0



Package fake has the automatically generated clients.



This section is empty.


This section is empty.


This section is empty.


type FakeEventsV1alpha1

type FakeEventsV1alpha1 struct {

func (*FakeEventsV1alpha1) RESTClient

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

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

func (*FakeEventsV1alpha1) Storages added in v0.8.1

func (c *FakeEventsV1alpha1) Storages(namespace string) v1alpha1.StorageInterface

type FakeStorages added in v0.8.1

type FakeStorages struct {
	Fake *FakeEventsV1alpha1
	// contains filtered or unexported fields

FakeStorages implements StorageInterface

func (*FakeStorages) Create added in v0.8.1

func (c *FakeStorages) Create(storage *v1alpha1.Storage) (result *v1alpha1.Storage, err error)

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

func (*FakeStorages) Delete added in v0.8.1

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

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

func (*FakeStorages) DeleteCollection added in v0.8.1

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

DeleteCollection deletes a collection of objects.

func (*FakeStorages) Get added in v0.8.1

func (c *FakeStorages) Get(name string, options v1.GetOptions) (result *v1alpha1.Storage, err error)

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

func (*FakeStorages) List added in v0.8.1

func (c *FakeStorages) List(opts v1.ListOptions) (result *v1alpha1.StorageList, err error)

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

func (*FakeStorages) Patch added in v0.8.1

func (c *FakeStorages) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Storage, err error)

Patch applies the patch and returns the patched storage.

func (*FakeStorages) Update added in v0.8.1

func (c *FakeStorages) Update(storage *v1alpha1.Storage) (result *v1alpha1.Storage, err error)

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

func (*FakeStorages) UpdateStatus added in v0.8.1

func (c *FakeStorages) UpdateStatus(storage *v1alpha1.Storage) (*v1alpha1.Storage, error)

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

func (*FakeStorages) Watch added in v0.8.1

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

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

Jump to

Keyboard shortcuts

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