fake

package
v8.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 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 FakeGroupsnapshotV1alpha1

type FakeGroupsnapshotV1alpha1 struct {
	*testing.Fake
}

func (*FakeGroupsnapshotV1alpha1) RESTClient

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

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

func (*FakeGroupsnapshotV1alpha1) VolumeGroupSnapshotClasses

func (*FakeGroupsnapshotV1alpha1) VolumeGroupSnapshotContents

func (*FakeGroupsnapshotV1alpha1) VolumeGroupSnapshots

func (c *FakeGroupsnapshotV1alpha1) VolumeGroupSnapshots(namespace string) v1alpha1.VolumeGroupSnapshotInterface

type FakeVolumeGroupSnapshotClasses

type FakeVolumeGroupSnapshotClasses struct {
	Fake *FakeGroupsnapshotV1alpha1
}

FakeVolumeGroupSnapshotClasses implements VolumeGroupSnapshotClassInterface

func (*FakeVolumeGroupSnapshotClasses) Create

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

func (*FakeVolumeGroupSnapshotClasses) Delete

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

func (*FakeVolumeGroupSnapshotClasses) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeVolumeGroupSnapshotClasses) Get

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

func (*FakeVolumeGroupSnapshotClasses) List

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

func (*FakeVolumeGroupSnapshotClasses) Patch

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

Patch applies the patch and returns the patched volumeGroupSnapshotClass.

func (*FakeVolumeGroupSnapshotClasses) Update

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

func (*FakeVolumeGroupSnapshotClasses) Watch

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

type FakeVolumeGroupSnapshotContents

type FakeVolumeGroupSnapshotContents struct {
	Fake *FakeGroupsnapshotV1alpha1
}

FakeVolumeGroupSnapshotContents implements VolumeGroupSnapshotContentInterface

func (*FakeVolumeGroupSnapshotContents) Create

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

func (*FakeVolumeGroupSnapshotContents) Delete

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

func (*FakeVolumeGroupSnapshotContents) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeVolumeGroupSnapshotContents) Get

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

func (*FakeVolumeGroupSnapshotContents) List

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

func (*FakeVolumeGroupSnapshotContents) Patch

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

Patch applies the patch and returns the patched volumeGroupSnapshotContent.

func (*FakeVolumeGroupSnapshotContents) Update

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

func (*FakeVolumeGroupSnapshotContents) UpdateStatus

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

func (*FakeVolumeGroupSnapshotContents) Watch

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

type FakeVolumeGroupSnapshots

type FakeVolumeGroupSnapshots struct {
	Fake *FakeGroupsnapshotV1alpha1
	// contains filtered or unexported fields
}

FakeVolumeGroupSnapshots implements VolumeGroupSnapshotInterface

func (*FakeVolumeGroupSnapshots) Create

func (c *FakeVolumeGroupSnapshots) Create(ctx context.Context, volumeGroupSnapshot *v1alpha1.VolumeGroupSnapshot, opts v1.CreateOptions) (result *v1alpha1.VolumeGroupSnapshot, err error)

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

func (*FakeVolumeGroupSnapshots) Delete

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

func (*FakeVolumeGroupSnapshots) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeVolumeGroupSnapshots) Get

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

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

func (*FakeVolumeGroupSnapshots) List

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

func (*FakeVolumeGroupSnapshots) Patch

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

Patch applies the patch and returns the patched volumeGroupSnapshot.

func (*FakeVolumeGroupSnapshots) Update

func (c *FakeVolumeGroupSnapshots) Update(ctx context.Context, volumeGroupSnapshot *v1alpha1.VolumeGroupSnapshot, opts v1.UpdateOptions) (result *v1alpha1.VolumeGroupSnapshot, err error)

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

func (*FakeVolumeGroupSnapshots) UpdateStatus

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

func (*FakeVolumeGroupSnapshots) Watch

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

Jump to

Keyboard shortcuts

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