fake

package
v1.116.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 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 FakeCloudIOTDeviceRegistries added in v1.109.0

type FakeCloudIOTDeviceRegistries struct {
	Fake *FakeCloudiotV1alpha1
	// contains filtered or unexported fields
}

FakeCloudIOTDeviceRegistries implements CloudIOTDeviceRegistryInterface

func (*FakeCloudIOTDeviceRegistries) Create added in v1.109.0

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

func (*FakeCloudIOTDeviceRegistries) Delete added in v1.109.0

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

func (*FakeCloudIOTDeviceRegistries) DeleteCollection added in v1.109.0

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

DeleteCollection deletes a collection of objects.

func (*FakeCloudIOTDeviceRegistries) Get added in v1.109.0

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

func (*FakeCloudIOTDeviceRegistries) List added in v1.109.0

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

func (*FakeCloudIOTDeviceRegistries) Patch added in v1.109.0

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

Patch applies the patch and returns the patched cloudIOTDeviceRegistry.

func (*FakeCloudIOTDeviceRegistries) Update added in v1.109.0

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

func (*FakeCloudIOTDeviceRegistries) UpdateStatus added in v1.109.0

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

func (*FakeCloudIOTDeviceRegistries) Watch added in v1.109.0

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

type FakeCloudIOTDevices

type FakeCloudIOTDevices struct {
	Fake *FakeCloudiotV1alpha1
	// contains filtered or unexported fields
}

FakeCloudIOTDevices implements CloudIOTDeviceInterface

func (*FakeCloudIOTDevices) Create

func (c *FakeCloudIOTDevices) Create(ctx context.Context, cloudIOTDevice *v1alpha1.CloudIOTDevice, opts v1.CreateOptions) (result *v1alpha1.CloudIOTDevice, err error)

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

func (*FakeCloudIOTDevices) Delete

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

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

func (*FakeCloudIOTDevices) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeCloudIOTDevices) Get

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

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

func (*FakeCloudIOTDevices) List

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

func (*FakeCloudIOTDevices) Patch

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

Patch applies the patch and returns the patched cloudIOTDevice.

func (*FakeCloudIOTDevices) Update

func (c *FakeCloudIOTDevices) Update(ctx context.Context, cloudIOTDevice *v1alpha1.CloudIOTDevice, opts v1.UpdateOptions) (result *v1alpha1.CloudIOTDevice, err error)

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

func (*FakeCloudIOTDevices) UpdateStatus

func (c *FakeCloudIOTDevices) UpdateStatus(ctx context.Context, cloudIOTDevice *v1alpha1.CloudIOTDevice, opts v1.UpdateOptions) (*v1alpha1.CloudIOTDevice, error)

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

func (*FakeCloudIOTDevices) Watch

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

type FakeCloudiotV1alpha1

type FakeCloudiotV1alpha1 struct {
	*testing.Fake
}

func (*FakeCloudiotV1alpha1) CloudIOTDeviceRegistries added in v1.109.0

func (c *FakeCloudiotV1alpha1) CloudIOTDeviceRegistries(namespace string) v1alpha1.CloudIOTDeviceRegistryInterface

func (*FakeCloudiotV1alpha1) CloudIOTDevices

func (c *FakeCloudiotV1alpha1) CloudIOTDevices(namespace string) v1alpha1.CloudIOTDeviceInterface

func (*FakeCloudiotV1alpha1) RESTClient

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