fake

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 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 FakeSnapshotV1alpha1

type FakeSnapshotV1alpha1 struct {
	*testing.Fake
}

func (*FakeSnapshotV1alpha1) RESTClient

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

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

func (*FakeSnapshotV1alpha1) VirtualMachineRestores

func (c *FakeSnapshotV1alpha1) VirtualMachineRestores(namespace string) v1alpha1.VirtualMachineRestoreInterface

func (*FakeSnapshotV1alpha1) VirtualMachineSnapshotContents

func (c *FakeSnapshotV1alpha1) VirtualMachineSnapshotContents(namespace string) v1alpha1.VirtualMachineSnapshotContentInterface

func (*FakeSnapshotV1alpha1) VirtualMachineSnapshots

func (c *FakeSnapshotV1alpha1) VirtualMachineSnapshots(namespace string) v1alpha1.VirtualMachineSnapshotInterface

type FakeVirtualMachineRestores

type FakeVirtualMachineRestores struct {
	Fake *FakeSnapshotV1alpha1
	// contains filtered or unexported fields
}

FakeVirtualMachineRestores implements VirtualMachineRestoreInterface

func (*FakeVirtualMachineRestores) Create

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

func (*FakeVirtualMachineRestores) Delete

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

func (*FakeVirtualMachineRestores) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeVirtualMachineRestores) Get

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

func (*FakeVirtualMachineRestores) List

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

func (*FakeVirtualMachineRestores) Patch

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

Patch applies the patch and returns the patched virtualMachineRestore.

func (*FakeVirtualMachineRestores) Update

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

func (*FakeVirtualMachineRestores) UpdateStatus

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

func (*FakeVirtualMachineRestores) Watch

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

type FakeVirtualMachineSnapshotContents

type FakeVirtualMachineSnapshotContents struct {
	Fake *FakeSnapshotV1alpha1
	// contains filtered or unexported fields
}

FakeVirtualMachineSnapshotContents implements VirtualMachineSnapshotContentInterface

func (*FakeVirtualMachineSnapshotContents) Create

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

func (*FakeVirtualMachineSnapshotContents) Delete

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

func (*FakeVirtualMachineSnapshotContents) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeVirtualMachineSnapshotContents) Get

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

func (*FakeVirtualMachineSnapshotContents) List

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

func (*FakeVirtualMachineSnapshotContents) Patch

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

Patch applies the patch and returns the patched virtualMachineSnapshotContent.

func (*FakeVirtualMachineSnapshotContents) Update

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

func (*FakeVirtualMachineSnapshotContents) UpdateStatus

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

func (*FakeVirtualMachineSnapshotContents) Watch

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

type FakeVirtualMachineSnapshots

type FakeVirtualMachineSnapshots struct {
	Fake *FakeSnapshotV1alpha1
	// contains filtered or unexported fields
}

FakeVirtualMachineSnapshots implements VirtualMachineSnapshotInterface

func (*FakeVirtualMachineSnapshots) Create

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

func (*FakeVirtualMachineSnapshots) Delete

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

func (*FakeVirtualMachineSnapshots) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeVirtualMachineSnapshots) Get

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

func (*FakeVirtualMachineSnapshots) List

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

func (*FakeVirtualMachineSnapshots) Patch

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

Patch applies the patch and returns the patched virtualMachineSnapshot.

func (*FakeVirtualMachineSnapshots) Update

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

func (*FakeVirtualMachineSnapshots) UpdateStatus

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

func (*FakeVirtualMachineSnapshots) Watch

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

Jump to

Keyboard shortcuts

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