fake

package
v0.0.2-pre Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2022 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 FakeHarvesterhciV1beta1

type FakeHarvesterhciV1beta1 struct {
	*testing.Fake
}

func (*FakeHarvesterhciV1beta1) KeyPairs

func (c *FakeHarvesterhciV1beta1) KeyPairs(namespace string) v1beta1.KeyPairInterface

func (*FakeHarvesterhciV1beta1) Preferences

func (c *FakeHarvesterhciV1beta1) Preferences(namespace string) v1beta1.PreferenceInterface

func (*FakeHarvesterhciV1beta1) RESTClient

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

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

func (*FakeHarvesterhciV1beta1) Settings

func (*FakeHarvesterhciV1beta1) SupportBundles

func (c *FakeHarvesterhciV1beta1) SupportBundles(namespace string) v1beta1.SupportBundleInterface

func (*FakeHarvesterhciV1beta1) Upgrades

func (c *FakeHarvesterhciV1beta1) Upgrades(namespace string) v1beta1.UpgradeInterface

func (*FakeHarvesterhciV1beta1) Versions

func (c *FakeHarvesterhciV1beta1) Versions(namespace string) v1beta1.VersionInterface

func (*FakeHarvesterhciV1beta1) VirtualMachineBackups

func (c *FakeHarvesterhciV1beta1) VirtualMachineBackups(namespace string) v1beta1.VirtualMachineBackupInterface

func (*FakeHarvesterhciV1beta1) VirtualMachineImages

func (c *FakeHarvesterhciV1beta1) VirtualMachineImages(namespace string) v1beta1.VirtualMachineImageInterface

func (*FakeHarvesterhciV1beta1) VirtualMachineRestores

func (c *FakeHarvesterhciV1beta1) VirtualMachineRestores(namespace string) v1beta1.VirtualMachineRestoreInterface

func (*FakeHarvesterhciV1beta1) VirtualMachineTemplateVersions

func (c *FakeHarvesterhciV1beta1) VirtualMachineTemplateVersions(namespace string) v1beta1.VirtualMachineTemplateVersionInterface

func (*FakeHarvesterhciV1beta1) VirtualMachineTemplates

func (c *FakeHarvesterhciV1beta1) VirtualMachineTemplates(namespace string) v1beta1.VirtualMachineTemplateInterface

type FakeKeyPairs

type FakeKeyPairs struct {
	Fake *FakeHarvesterhciV1beta1
	// contains filtered or unexported fields
}

FakeKeyPairs implements KeyPairInterface

func (*FakeKeyPairs) Create

func (c *FakeKeyPairs) Create(ctx context.Context, keyPair *v1beta1.KeyPair, opts v1.CreateOptions) (result *v1beta1.KeyPair, err error)

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

func (*FakeKeyPairs) Delete

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

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

func (*FakeKeyPairs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeKeyPairs) Get

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

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

func (*FakeKeyPairs) List

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

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

func (*FakeKeyPairs) Patch

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

Patch applies the patch and returns the patched keyPair.

func (*FakeKeyPairs) Update

func (c *FakeKeyPairs) Update(ctx context.Context, keyPair *v1beta1.KeyPair, opts v1.UpdateOptions) (result *v1beta1.KeyPair, err error)

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

func (*FakeKeyPairs) UpdateStatus

func (c *FakeKeyPairs) UpdateStatus(ctx context.Context, keyPair *v1beta1.KeyPair, opts v1.UpdateOptions) (*v1beta1.KeyPair, error)

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

func (*FakeKeyPairs) Watch

func (c *FakeKeyPairs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

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

type FakePreferences

type FakePreferences struct {
	Fake *FakeHarvesterhciV1beta1
	// contains filtered or unexported fields
}

FakePreferences implements PreferenceInterface

func (*FakePreferences) Create

func (c *FakePreferences) Create(ctx context.Context, preference *v1beta1.Preference, opts v1.CreateOptions) (result *v1beta1.Preference, err error)

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

func (*FakePreferences) Delete

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

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

func (*FakePreferences) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakePreferences) Get

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

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

func (*FakePreferences) List

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

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

func (*FakePreferences) Patch

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

Patch applies the patch and returns the patched preference.

func (*FakePreferences) Update

func (c *FakePreferences) Update(ctx context.Context, preference *v1beta1.Preference, opts v1.UpdateOptions) (result *v1beta1.Preference, err error)

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

func (*FakePreferences) Watch

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

type FakeSettings

type FakeSettings struct {
	Fake *FakeHarvesterhciV1beta1
}

FakeSettings implements SettingInterface

func (*FakeSettings) Create

func (c *FakeSettings) Create(ctx context.Context, setting *v1beta1.Setting, opts v1.CreateOptions) (result *v1beta1.Setting, err error)

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

func (*FakeSettings) Delete

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

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

func (*FakeSettings) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeSettings) Get

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

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

func (*FakeSettings) List

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

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

func (*FakeSettings) Patch

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

Patch applies the patch and returns the patched setting.

func (*FakeSettings) Update

func (c *FakeSettings) Update(ctx context.Context, setting *v1beta1.Setting, opts v1.UpdateOptions) (result *v1beta1.Setting, err error)

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

func (*FakeSettings) UpdateStatus

func (c *FakeSettings) UpdateStatus(ctx context.Context, setting *v1beta1.Setting, opts v1.UpdateOptions) (*v1beta1.Setting, error)

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

func (*FakeSettings) Watch

func (c *FakeSettings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

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

type FakeSupportBundles

type FakeSupportBundles struct {
	Fake *FakeHarvesterhciV1beta1
	// contains filtered or unexported fields
}

FakeSupportBundles implements SupportBundleInterface

func (*FakeSupportBundles) Create

func (c *FakeSupportBundles) Create(ctx context.Context, supportBundle *v1beta1.SupportBundle, opts v1.CreateOptions) (result *v1beta1.SupportBundle, err error)

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

func (*FakeSupportBundles) Delete

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

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

func (*FakeSupportBundles) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeSupportBundles) Get

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

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

func (*FakeSupportBundles) List

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

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

func (*FakeSupportBundles) Patch

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

Patch applies the patch and returns the patched supportBundle.

func (*FakeSupportBundles) Update

func (c *FakeSupportBundles) Update(ctx context.Context, supportBundle *v1beta1.SupportBundle, opts v1.UpdateOptions) (result *v1beta1.SupportBundle, err error)

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

func (*FakeSupportBundles) UpdateStatus

func (c *FakeSupportBundles) UpdateStatus(ctx context.Context, supportBundle *v1beta1.SupportBundle, opts v1.UpdateOptions) (*v1beta1.SupportBundle, error)

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

func (*FakeSupportBundles) Watch

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

type FakeUpgrades

type FakeUpgrades struct {
	Fake *FakeHarvesterhciV1beta1
	// contains filtered or unexported fields
}

FakeUpgrades implements UpgradeInterface

func (*FakeUpgrades) Create

func (c *FakeUpgrades) Create(ctx context.Context, upgrade *v1beta1.Upgrade, opts v1.CreateOptions) (result *v1beta1.Upgrade, err error)

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

func (*FakeUpgrades) Delete

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

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

func (*FakeUpgrades) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeUpgrades) Get

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

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

func (*FakeUpgrades) List

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

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

func (*FakeUpgrades) Patch

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

Patch applies the patch and returns the patched upgrade.

func (*FakeUpgrades) Update

func (c *FakeUpgrades) Update(ctx context.Context, upgrade *v1beta1.Upgrade, opts v1.UpdateOptions) (result *v1beta1.Upgrade, err error)

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

func (*FakeUpgrades) UpdateStatus

func (c *FakeUpgrades) UpdateStatus(ctx context.Context, upgrade *v1beta1.Upgrade, opts v1.UpdateOptions) (*v1beta1.Upgrade, error)

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

func (*FakeUpgrades) Watch

func (c *FakeUpgrades) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

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

type FakeVersions

type FakeVersions struct {
	Fake *FakeHarvesterhciV1beta1
	// contains filtered or unexported fields
}

FakeVersions implements VersionInterface

func (*FakeVersions) Create

func (c *FakeVersions) Create(ctx context.Context, version *v1beta1.Version, opts v1.CreateOptions) (result *v1beta1.Version, err error)

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

func (*FakeVersions) Delete

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

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

func (*FakeVersions) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeVersions) Get

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

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

func (*FakeVersions) List

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

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

func (*FakeVersions) Patch

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

Patch applies the patch and returns the patched version.

func (*FakeVersions) Update

func (c *FakeVersions) Update(ctx context.Context, version *v1beta1.Version, opts v1.UpdateOptions) (result *v1beta1.Version, err error)

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

func (*FakeVersions) Watch

func (c *FakeVersions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

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

type FakeVirtualMachineBackups

type FakeVirtualMachineBackups struct {
	Fake *FakeHarvesterhciV1beta1
	// contains filtered or unexported fields
}

FakeVirtualMachineBackups implements VirtualMachineBackupInterface

func (*FakeVirtualMachineBackups) Create

func (c *FakeVirtualMachineBackups) Create(ctx context.Context, virtualMachineBackup *v1beta1.VirtualMachineBackup, opts v1.CreateOptions) (result *v1beta1.VirtualMachineBackup, err error)

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

func (*FakeVirtualMachineBackups) Delete

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

func (*FakeVirtualMachineBackups) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeVirtualMachineBackups) Get

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

func (*FakeVirtualMachineBackups) List

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

func (*FakeVirtualMachineBackups) Patch

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

Patch applies the patch and returns the patched virtualMachineBackup.

func (*FakeVirtualMachineBackups) Update

func (c *FakeVirtualMachineBackups) Update(ctx context.Context, virtualMachineBackup *v1beta1.VirtualMachineBackup, opts v1.UpdateOptions) (result *v1beta1.VirtualMachineBackup, err error)

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

func (*FakeVirtualMachineBackups) UpdateStatus

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

func (*FakeVirtualMachineBackups) Watch

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

type FakeVirtualMachineImages

type FakeVirtualMachineImages struct {
	Fake *FakeHarvesterhciV1beta1
	// contains filtered or unexported fields
}

FakeVirtualMachineImages implements VirtualMachineImageInterface

func (*FakeVirtualMachineImages) Create

func (c *FakeVirtualMachineImages) Create(ctx context.Context, virtualMachineImage *v1beta1.VirtualMachineImage, opts v1.CreateOptions) (result *v1beta1.VirtualMachineImage, err error)

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

func (*FakeVirtualMachineImages) Delete

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

func (*FakeVirtualMachineImages) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeVirtualMachineImages) Get

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

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

func (*FakeVirtualMachineImages) List

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

func (*FakeVirtualMachineImages) Patch

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

Patch applies the patch and returns the patched virtualMachineImage.

func (*FakeVirtualMachineImages) Update

func (c *FakeVirtualMachineImages) Update(ctx context.Context, virtualMachineImage *v1beta1.VirtualMachineImage, opts v1.UpdateOptions) (result *v1beta1.VirtualMachineImage, err error)

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

func (*FakeVirtualMachineImages) UpdateStatus

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

func (*FakeVirtualMachineImages) Watch

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

type FakeVirtualMachineRestores

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

FakeVirtualMachineRestores implements VirtualMachineRestoreInterface

func (*FakeVirtualMachineRestores) Create

func (c *FakeVirtualMachineRestores) Create(ctx context.Context, virtualMachineRestore *v1beta1.VirtualMachineRestore, opts v1.CreateOptions) (result *v1beta1.VirtualMachineRestore, err error)

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 *v1beta1.VirtualMachineRestore, err error)

Patch applies the patch and returns the patched virtualMachineRestore.

func (*FakeVirtualMachineRestores) Update

func (c *FakeVirtualMachineRestores) Update(ctx context.Context, virtualMachineRestore *v1beta1.VirtualMachineRestore, opts v1.UpdateOptions) (result *v1beta1.VirtualMachineRestore, err error)

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 FakeVirtualMachineTemplateVersions

type FakeVirtualMachineTemplateVersions struct {
	Fake *FakeHarvesterhciV1beta1
	// contains filtered or unexported fields
}

FakeVirtualMachineTemplateVersions implements VirtualMachineTemplateVersionInterface

func (*FakeVirtualMachineTemplateVersions) Create

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

func (*FakeVirtualMachineTemplateVersions) Delete

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

func (*FakeVirtualMachineTemplateVersions) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeVirtualMachineTemplateVersions) Get

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

func (*FakeVirtualMachineTemplateVersions) List

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

func (*FakeVirtualMachineTemplateVersions) Patch

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

Patch applies the patch and returns the patched virtualMachineTemplateVersion.

func (*FakeVirtualMachineTemplateVersions) Update

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

func (*FakeVirtualMachineTemplateVersions) UpdateStatus

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

func (*FakeVirtualMachineTemplateVersions) Watch

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

type FakeVirtualMachineTemplates

type FakeVirtualMachineTemplates struct {
	Fake *FakeHarvesterhciV1beta1
	// contains filtered or unexported fields
}

FakeVirtualMachineTemplates implements VirtualMachineTemplateInterface

func (*FakeVirtualMachineTemplates) Create

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

func (*FakeVirtualMachineTemplates) Delete

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

func (*FakeVirtualMachineTemplates) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeVirtualMachineTemplates) Get

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

func (*FakeVirtualMachineTemplates) List

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

func (*FakeVirtualMachineTemplates) Patch

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

Patch applies the patch and returns the patched virtualMachineTemplate.

func (*FakeVirtualMachineTemplates) Update

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

func (*FakeVirtualMachineTemplates) UpdateStatus

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

func (*FakeVirtualMachineTemplates) Watch

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

Jump to

Keyboard shortcuts

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