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 FakeInstancetypeV1beta1

type FakeInstancetypeV1beta1 struct {
	*testing.Fake
}

func (*FakeInstancetypeV1beta1) RESTClient

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

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

func (*FakeInstancetypeV1beta1) VirtualMachineClusterInstancetypes

func (c *FakeInstancetypeV1beta1) VirtualMachineClusterInstancetypes() v1beta1.VirtualMachineClusterInstancetypeInterface

func (*FakeInstancetypeV1beta1) VirtualMachineClusterPreferences

func (c *FakeInstancetypeV1beta1) VirtualMachineClusterPreferences() v1beta1.VirtualMachineClusterPreferenceInterface

func (*FakeInstancetypeV1beta1) VirtualMachineInstancetypes

func (c *FakeInstancetypeV1beta1) VirtualMachineInstancetypes(namespace string) v1beta1.VirtualMachineInstancetypeInterface

func (*FakeInstancetypeV1beta1) VirtualMachinePreferences

func (c *FakeInstancetypeV1beta1) VirtualMachinePreferences(namespace string) v1beta1.VirtualMachinePreferenceInterface

type FakeVirtualMachineClusterInstancetypes

type FakeVirtualMachineClusterInstancetypes struct {
	Fake *FakeInstancetypeV1beta1
}

FakeVirtualMachineClusterInstancetypes implements VirtualMachineClusterInstancetypeInterface

func (*FakeVirtualMachineClusterInstancetypes) Create

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

func (*FakeVirtualMachineClusterInstancetypes) Delete

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

func (*FakeVirtualMachineClusterInstancetypes) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeVirtualMachineClusterInstancetypes) Get

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

func (*FakeVirtualMachineClusterInstancetypes) List

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

func (*FakeVirtualMachineClusterInstancetypes) Patch

Patch applies the patch and returns the patched virtualMachineClusterInstancetype.

func (*FakeVirtualMachineClusterInstancetypes) Update

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

func (*FakeVirtualMachineClusterInstancetypes) Watch

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

type FakeVirtualMachineClusterPreferences

type FakeVirtualMachineClusterPreferences struct {
	Fake *FakeInstancetypeV1beta1
}

FakeVirtualMachineClusterPreferences implements VirtualMachineClusterPreferenceInterface

func (*FakeVirtualMachineClusterPreferences) Create

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

func (*FakeVirtualMachineClusterPreferences) Delete

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

func (*FakeVirtualMachineClusterPreferences) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeVirtualMachineClusterPreferences) Get

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

func (*FakeVirtualMachineClusterPreferences) List

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

func (*FakeVirtualMachineClusterPreferences) Patch

Patch applies the patch and returns the patched virtualMachineClusterPreference.

func (*FakeVirtualMachineClusterPreferences) Update

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

func (*FakeVirtualMachineClusterPreferences) Watch

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

type FakeVirtualMachineInstancetypes

type FakeVirtualMachineInstancetypes struct {
	Fake *FakeInstancetypeV1beta1
	// contains filtered or unexported fields
}

FakeVirtualMachineInstancetypes implements VirtualMachineInstancetypeInterface

func (*FakeVirtualMachineInstancetypes) Create

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

func (*FakeVirtualMachineInstancetypes) Delete

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

func (*FakeVirtualMachineInstancetypes) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeVirtualMachineInstancetypes) Get

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

func (*FakeVirtualMachineInstancetypes) List

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

func (*FakeVirtualMachineInstancetypes) Patch

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

Patch applies the patch and returns the patched virtualMachineInstancetype.

func (*FakeVirtualMachineInstancetypes) Update

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

func (*FakeVirtualMachineInstancetypes) Watch

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

type FakeVirtualMachinePreferences

type FakeVirtualMachinePreferences struct {
	Fake *FakeInstancetypeV1beta1
	// contains filtered or unexported fields
}

FakeVirtualMachinePreferences implements VirtualMachinePreferenceInterface

func (*FakeVirtualMachinePreferences) Create

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

func (*FakeVirtualMachinePreferences) Delete

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

func (*FakeVirtualMachinePreferences) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeVirtualMachinePreferences) Get

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

func (*FakeVirtualMachinePreferences) List

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

func (*FakeVirtualMachinePreferences) Patch

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

Patch applies the patch and returns the patched virtualMachinePreference.

func (*FakeVirtualMachinePreferences) Update

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

func (*FakeVirtualMachinePreferences) Watch

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

Jump to

Keyboard shortcuts

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