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 FakeStorageBucketAccessControls

type FakeStorageBucketAccessControls struct {
	Fake *FakeStorageV1beta1
	// contains filtered or unexported fields
}

FakeStorageBucketAccessControls implements StorageBucketAccessControlInterface

func (*FakeStorageBucketAccessControls) Create

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

func (*FakeStorageBucketAccessControls) Delete

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

func (*FakeStorageBucketAccessControls) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeStorageBucketAccessControls) Get

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

func (*FakeStorageBucketAccessControls) List

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

func (*FakeStorageBucketAccessControls) Patch

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

Patch applies the patch and returns the patched storageBucketAccessControl.

func (*FakeStorageBucketAccessControls) Update

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

func (*FakeStorageBucketAccessControls) UpdateStatus

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

func (*FakeStorageBucketAccessControls) Watch

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

type FakeStorageBuckets

type FakeStorageBuckets struct {
	Fake *FakeStorageV1beta1
	// contains filtered or unexported fields
}

FakeStorageBuckets implements StorageBucketInterface

func (*FakeStorageBuckets) Create

func (c *FakeStorageBuckets) Create(ctx context.Context, storageBucket *v1beta1.StorageBucket, opts v1.CreateOptions) (result *v1beta1.StorageBucket, err error)

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

func (*FakeStorageBuckets) Delete

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

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

func (*FakeStorageBuckets) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeStorageBuckets) Get

func (c *FakeStorageBuckets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.StorageBucket, err error)

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

func (*FakeStorageBuckets) List

func (c *FakeStorageBuckets) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.StorageBucketList, err error)

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

func (*FakeStorageBuckets) Patch

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

Patch applies the patch and returns the patched storageBucket.

func (*FakeStorageBuckets) Update

func (c *FakeStorageBuckets) Update(ctx context.Context, storageBucket *v1beta1.StorageBucket, opts v1.UpdateOptions) (result *v1beta1.StorageBucket, err error)

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

func (*FakeStorageBuckets) UpdateStatus

func (c *FakeStorageBuckets) UpdateStatus(ctx context.Context, storageBucket *v1beta1.StorageBucket, opts v1.UpdateOptions) (*v1beta1.StorageBucket, error)

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

func (*FakeStorageBuckets) Watch

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

type FakeStorageDefaultObjectAccessControls

type FakeStorageDefaultObjectAccessControls struct {
	Fake *FakeStorageV1beta1
	// contains filtered or unexported fields
}

FakeStorageDefaultObjectAccessControls implements StorageDefaultObjectAccessControlInterface

func (*FakeStorageDefaultObjectAccessControls) Create

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

func (*FakeStorageDefaultObjectAccessControls) Delete

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

func (*FakeStorageDefaultObjectAccessControls) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeStorageDefaultObjectAccessControls) Get

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

func (*FakeStorageDefaultObjectAccessControls) List

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

func (*FakeStorageDefaultObjectAccessControls) Patch

Patch applies the patch and returns the patched storageDefaultObjectAccessControl.

func (*FakeStorageDefaultObjectAccessControls) Update

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

func (*FakeStorageDefaultObjectAccessControls) UpdateStatus

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

func (*FakeStorageDefaultObjectAccessControls) Watch

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

type FakeStorageNotifications

type FakeStorageNotifications struct {
	Fake *FakeStorageV1beta1
	// contains filtered or unexported fields
}

FakeStorageNotifications implements StorageNotificationInterface

func (*FakeStorageNotifications) Create

func (c *FakeStorageNotifications) Create(ctx context.Context, storageNotification *v1beta1.StorageNotification, opts v1.CreateOptions) (result *v1beta1.StorageNotification, err error)

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

func (*FakeStorageNotifications) Delete

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

func (*FakeStorageNotifications) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeStorageNotifications) Get

func (c *FakeStorageNotifications) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.StorageNotification, err error)

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

func (*FakeStorageNotifications) List

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

func (*FakeStorageNotifications) Patch

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

Patch applies the patch and returns the patched storageNotification.

func (*FakeStorageNotifications) Update

func (c *FakeStorageNotifications) Update(ctx context.Context, storageNotification *v1beta1.StorageNotification, opts v1.UpdateOptions) (result *v1beta1.StorageNotification, err error)

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

func (*FakeStorageNotifications) UpdateStatus

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

func (*FakeStorageNotifications) Watch

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

type FakeStorageV1beta1

type FakeStorageV1beta1 struct {
	*testing.Fake
}

func (*FakeStorageV1beta1) RESTClient

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

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

func (*FakeStorageV1beta1) StorageBucketAccessControls

func (c *FakeStorageV1beta1) StorageBucketAccessControls(namespace string) v1beta1.StorageBucketAccessControlInterface

func (*FakeStorageV1beta1) StorageBuckets

func (c *FakeStorageV1beta1) StorageBuckets(namespace string) v1beta1.StorageBucketInterface

func (*FakeStorageV1beta1) StorageDefaultObjectAccessControls

func (c *FakeStorageV1beta1) StorageDefaultObjectAccessControls(namespace string) v1beta1.StorageDefaultObjectAccessControlInterface

func (*FakeStorageV1beta1) StorageNotifications

func (c *FakeStorageV1beta1) StorageNotifications(namespace string) v1beta1.StorageNotificationInterface

Jump to

Keyboard shortcuts

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