fake

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2023 License: Apache-2.0 Imports: 10 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 FakeCsiV1alpha1

type FakeCsiV1alpha1 struct {
	*testing.Fake
}

func (*FakeCsiV1alpha1) NodeLocalStorageInitConfigs

func (c *FakeCsiV1alpha1) NodeLocalStorageInitConfigs() v1alpha1.NodeLocalStorageInitConfigInterface

func (*FakeCsiV1alpha1) NodeLocalStorages

func (c *FakeCsiV1alpha1) NodeLocalStorages() v1alpha1.NodeLocalStorageInterface

func (*FakeCsiV1alpha1) RESTClient

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

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

type FakeNodeLocalStorageInitConfigs

type FakeNodeLocalStorageInitConfigs struct {
	Fake *FakeCsiV1alpha1
}

FakeNodeLocalStorageInitConfigs implements NodeLocalStorageInitConfigInterface

func (*FakeNodeLocalStorageInitConfigs) Create

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

func (*FakeNodeLocalStorageInitConfigs) Delete

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

func (*FakeNodeLocalStorageInitConfigs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeNodeLocalStorageInitConfigs) Get

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

func (*FakeNodeLocalStorageInitConfigs) List

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

func (*FakeNodeLocalStorageInitConfigs) Patch

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

Patch applies the patch and returns the patched nodeLocalStorageInitConfig.

func (*FakeNodeLocalStorageInitConfigs) Update

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

func (*FakeNodeLocalStorageInitConfigs) Watch

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

type FakeNodeLocalStorages

type FakeNodeLocalStorages struct {
	Fake *FakeCsiV1alpha1
}

FakeNodeLocalStorages implements NodeLocalStorageInterface

func (*FakeNodeLocalStorages) Create

func (c *FakeNodeLocalStorages) Create(ctx context.Context, nodeLocalStorage *v1alpha1.NodeLocalStorage, opts v1.CreateOptions) (result *v1alpha1.NodeLocalStorage, err error)

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

func (*FakeNodeLocalStorages) Delete

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

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

func (*FakeNodeLocalStorages) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeNodeLocalStorages) Get

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

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

func (*FakeNodeLocalStorages) List

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

func (*FakeNodeLocalStorages) Patch

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

Patch applies the patch and returns the patched nodeLocalStorage.

func (*FakeNodeLocalStorages) Update

func (c *FakeNodeLocalStorages) Update(ctx context.Context, nodeLocalStorage *v1alpha1.NodeLocalStorage, opts v1.UpdateOptions) (result *v1alpha1.NodeLocalStorage, err error)

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

func (*FakeNodeLocalStorages) UpdateStatus

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

func (*FakeNodeLocalStorages) Watch

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

Jump to

Keyboard shortcuts

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