Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAddons
- func (c *FakeAddons) Create(ctx context.Context, addon *v1beta1.Addon, opts v1.CreateOptions) (result *v1beta1.Addon, err error)
- func (c *FakeAddons) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAddons) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAddons) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.Addon, err error)
- func (c *FakeAddons) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.AddonList, err error)
- func (c *FakeAddons) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.Addon, err error)
- func (c *FakeAddons) Update(ctx context.Context, addon *v1beta1.Addon, opts v1.UpdateOptions) (result *v1beta1.Addon, err error)
- func (c *FakeAddons) UpdateStatus(ctx context.Context, addon *v1beta1.Addon, opts v1.UpdateOptions) (*v1beta1.Addon, error)
- func (c *FakeAddons) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeHarvesterhciV1beta1
- func (c *FakeHarvesterhciV1beta1) Addons(namespace string) v1beta1.AddonInterface
- func (c *FakeHarvesterhciV1beta1) KeyPairs(namespace string) v1beta1.KeyPairInterface
- func (c *FakeHarvesterhciV1beta1) Preferences(namespace string) v1beta1.PreferenceInterface
- func (c *FakeHarvesterhciV1beta1) RESTClient() rest.Interface
- func (c *FakeHarvesterhciV1beta1) Settings() v1beta1.SettingInterface
- func (c *FakeHarvesterhciV1beta1) SupportBundles(namespace string) v1beta1.SupportBundleInterface
- func (c *FakeHarvesterhciV1beta1) UpgradeLogs(namespace string) v1beta1.UpgradeLogInterface
- func (c *FakeHarvesterhciV1beta1) Upgrades(namespace string) v1beta1.UpgradeInterface
- func (c *FakeHarvesterhciV1beta1) Versions(namespace string) v1beta1.VersionInterface
- func (c *FakeHarvesterhciV1beta1) VirtualMachineBackups(namespace string) v1beta1.VirtualMachineBackupInterface
- func (c *FakeHarvesterhciV1beta1) VirtualMachineImages(namespace string) v1beta1.VirtualMachineImageInterface
- func (c *FakeHarvesterhciV1beta1) VirtualMachineRestores(namespace string) v1beta1.VirtualMachineRestoreInterface
- func (c *FakeHarvesterhciV1beta1) VirtualMachineTemplateVersions(namespace string) v1beta1.VirtualMachineTemplateVersionInterface
- func (c *FakeHarvesterhciV1beta1) VirtualMachineTemplates(namespace string) v1beta1.VirtualMachineTemplateInterface
- type FakeKeyPairs
- func (c *FakeKeyPairs) Create(ctx context.Context, keyPair *v1beta1.KeyPair, opts v1.CreateOptions) (result *v1beta1.KeyPair, err error)
- func (c *FakeKeyPairs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeKeyPairs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeKeyPairs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.KeyPair, err error)
- func (c *FakeKeyPairs) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.KeyPairList, err error)
- func (c *FakeKeyPairs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.KeyPair, err error)
- func (c *FakeKeyPairs) Update(ctx context.Context, keyPair *v1beta1.KeyPair, opts v1.UpdateOptions) (result *v1beta1.KeyPair, err error)
- func (c *FakeKeyPairs) UpdateStatus(ctx context.Context, keyPair *v1beta1.KeyPair, opts v1.UpdateOptions) (*v1beta1.KeyPair, error)
- func (c *FakeKeyPairs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakePreferences
- func (c *FakePreferences) Create(ctx context.Context, preference *v1beta1.Preference, opts v1.CreateOptions) (result *v1beta1.Preference, err error)
- func (c *FakePreferences) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakePreferences) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakePreferences) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.Preference, err error)
- func (c *FakePreferences) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.PreferenceList, err error)
- func (c *FakePreferences) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.Preference, err error)
- func (c *FakePreferences) Update(ctx context.Context, preference *v1beta1.Preference, opts v1.UpdateOptions) (result *v1beta1.Preference, err error)
- func (c *FakePreferences) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSettings
- func (c *FakeSettings) Create(ctx context.Context, setting *v1beta1.Setting, opts v1.CreateOptions) (result *v1beta1.Setting, err error)
- func (c *FakeSettings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSettings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSettings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.Setting, err error)
- func (c *FakeSettings) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.SettingList, err error)
- func (c *FakeSettings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.Setting, err error)
- func (c *FakeSettings) Update(ctx context.Context, setting *v1beta1.Setting, opts v1.UpdateOptions) (result *v1beta1.Setting, err error)
- func (c *FakeSettings) UpdateStatus(ctx context.Context, setting *v1beta1.Setting, opts v1.UpdateOptions) (*v1beta1.Setting, error)
- func (c *FakeSettings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSupportBundles
- func (c *FakeSupportBundles) Create(ctx context.Context, supportBundle *v1beta1.SupportBundle, ...) (result *v1beta1.SupportBundle, err error)
- func (c *FakeSupportBundles) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSupportBundles) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSupportBundles) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.SupportBundle, err error)
- func (c *FakeSupportBundles) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.SupportBundleList, err error)
- func (c *FakeSupportBundles) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.SupportBundle, err error)
- func (c *FakeSupportBundles) Update(ctx context.Context, supportBundle *v1beta1.SupportBundle, ...) (result *v1beta1.SupportBundle, err error)
- func (c *FakeSupportBundles) UpdateStatus(ctx context.Context, supportBundle *v1beta1.SupportBundle, ...) (*v1beta1.SupportBundle, error)
- func (c *FakeSupportBundles) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeUpgradeLogs
- func (c *FakeUpgradeLogs) Create(ctx context.Context, upgradeLog *v1beta1.UpgradeLog, opts v1.CreateOptions) (result *v1beta1.UpgradeLog, err error)
- func (c *FakeUpgradeLogs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeUpgradeLogs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeUpgradeLogs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.UpgradeLog, err error)
- func (c *FakeUpgradeLogs) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.UpgradeLogList, err error)
- func (c *FakeUpgradeLogs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.UpgradeLog, err error)
- func (c *FakeUpgradeLogs) Update(ctx context.Context, upgradeLog *v1beta1.UpgradeLog, opts v1.UpdateOptions) (result *v1beta1.UpgradeLog, err error)
- func (c *FakeUpgradeLogs) UpdateStatus(ctx context.Context, upgradeLog *v1beta1.UpgradeLog, opts v1.UpdateOptions) (*v1beta1.UpgradeLog, error)
- func (c *FakeUpgradeLogs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeUpgrades
- func (c *FakeUpgrades) Create(ctx context.Context, upgrade *v1beta1.Upgrade, opts v1.CreateOptions) (result *v1beta1.Upgrade, err error)
- func (c *FakeUpgrades) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeUpgrades) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeUpgrades) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.Upgrade, err error)
- func (c *FakeUpgrades) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.UpgradeList, err error)
- func (c *FakeUpgrades) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.Upgrade, err error)
- func (c *FakeUpgrades) Update(ctx context.Context, upgrade *v1beta1.Upgrade, opts v1.UpdateOptions) (result *v1beta1.Upgrade, err error)
- func (c *FakeUpgrades) UpdateStatus(ctx context.Context, upgrade *v1beta1.Upgrade, opts v1.UpdateOptions) (*v1beta1.Upgrade, error)
- func (c *FakeUpgrades) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeVersions
- func (c *FakeVersions) Create(ctx context.Context, version *v1beta1.Version, opts v1.CreateOptions) (result *v1beta1.Version, err error)
- func (c *FakeVersions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeVersions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeVersions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.Version, err error)
- func (c *FakeVersions) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.VersionList, err error)
- func (c *FakeVersions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.Version, err error)
- func (c *FakeVersions) Update(ctx context.Context, version *v1beta1.Version, opts v1.UpdateOptions) (result *v1beta1.Version, err error)
- func (c *FakeVersions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeVirtualMachineBackups
- func (c *FakeVirtualMachineBackups) Create(ctx context.Context, virtualMachineBackup *v1beta1.VirtualMachineBackup, ...) (result *v1beta1.VirtualMachineBackup, err error)
- func (c *FakeVirtualMachineBackups) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeVirtualMachineBackups) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeVirtualMachineBackups) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.VirtualMachineBackup, err error)
- func (c *FakeVirtualMachineBackups) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.VirtualMachineBackupList, err error)
- func (c *FakeVirtualMachineBackups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.VirtualMachineBackup, err error)
- func (c *FakeVirtualMachineBackups) Update(ctx context.Context, virtualMachineBackup *v1beta1.VirtualMachineBackup, ...) (result *v1beta1.VirtualMachineBackup, err error)
- func (c *FakeVirtualMachineBackups) UpdateStatus(ctx context.Context, virtualMachineBackup *v1beta1.VirtualMachineBackup, ...) (*v1beta1.VirtualMachineBackup, error)
- func (c *FakeVirtualMachineBackups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeVirtualMachineImages
- func (c *FakeVirtualMachineImages) Create(ctx context.Context, virtualMachineImage *v1beta1.VirtualMachineImage, ...) (result *v1beta1.VirtualMachineImage, err error)
- func (c *FakeVirtualMachineImages) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeVirtualMachineImages) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeVirtualMachineImages) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.VirtualMachineImage, err error)
- func (c *FakeVirtualMachineImages) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.VirtualMachineImageList, err error)
- func (c *FakeVirtualMachineImages) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.VirtualMachineImage, err error)
- func (c *FakeVirtualMachineImages) Update(ctx context.Context, virtualMachineImage *v1beta1.VirtualMachineImage, ...) (result *v1beta1.VirtualMachineImage, err error)
- func (c *FakeVirtualMachineImages) UpdateStatus(ctx context.Context, virtualMachineImage *v1beta1.VirtualMachineImage, ...) (*v1beta1.VirtualMachineImage, error)
- func (c *FakeVirtualMachineImages) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeVirtualMachineRestores
- func (c *FakeVirtualMachineRestores) Create(ctx context.Context, virtualMachineRestore *v1beta1.VirtualMachineRestore, ...) (result *v1beta1.VirtualMachineRestore, err error)
- func (c *FakeVirtualMachineRestores) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeVirtualMachineRestores) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeVirtualMachineRestores) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.VirtualMachineRestore, err error)
- func (c *FakeVirtualMachineRestores) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.VirtualMachineRestoreList, err error)
- func (c *FakeVirtualMachineRestores) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.VirtualMachineRestore, err error)
- func (c *FakeVirtualMachineRestores) Update(ctx context.Context, virtualMachineRestore *v1beta1.VirtualMachineRestore, ...) (result *v1beta1.VirtualMachineRestore, err error)
- func (c *FakeVirtualMachineRestores) UpdateStatus(ctx context.Context, virtualMachineRestore *v1beta1.VirtualMachineRestore, ...) (*v1beta1.VirtualMachineRestore, error)
- func (c *FakeVirtualMachineRestores) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeVirtualMachineTemplateVersions
- func (c *FakeVirtualMachineTemplateVersions) Create(ctx context.Context, ...) (result *v1beta1.VirtualMachineTemplateVersion, err error)
- func (c *FakeVirtualMachineTemplateVersions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeVirtualMachineTemplateVersions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeVirtualMachineTemplateVersions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.VirtualMachineTemplateVersion, err error)
- func (c *FakeVirtualMachineTemplateVersions) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.VirtualMachineTemplateVersionList, err error)
- func (c *FakeVirtualMachineTemplateVersions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.VirtualMachineTemplateVersion, err error)
- func (c *FakeVirtualMachineTemplateVersions) Update(ctx context.Context, ...) (result *v1beta1.VirtualMachineTemplateVersion, err error)
- func (c *FakeVirtualMachineTemplateVersions) UpdateStatus(ctx context.Context, ...) (*v1beta1.VirtualMachineTemplateVersion, error)
- func (c *FakeVirtualMachineTemplateVersions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeVirtualMachineTemplates
- func (c *FakeVirtualMachineTemplates) Create(ctx context.Context, virtualMachineTemplate *v1beta1.VirtualMachineTemplate, ...) (result *v1beta1.VirtualMachineTemplate, err error)
- func (c *FakeVirtualMachineTemplates) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeVirtualMachineTemplates) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeVirtualMachineTemplates) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.VirtualMachineTemplate, err error)
- func (c *FakeVirtualMachineTemplates) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.VirtualMachineTemplateList, err error)
- func (c *FakeVirtualMachineTemplates) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.VirtualMachineTemplate, err error)
- func (c *FakeVirtualMachineTemplates) Update(ctx context.Context, virtualMachineTemplate *v1beta1.VirtualMachineTemplate, ...) (result *v1beta1.VirtualMachineTemplate, err error)
- func (c *FakeVirtualMachineTemplates) UpdateStatus(ctx context.Context, virtualMachineTemplate *v1beta1.VirtualMachineTemplate, ...) (*v1beta1.VirtualMachineTemplate, error)
- func (c *FakeVirtualMachineTemplates) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAddons ¶ added in v1.1.0
type FakeAddons struct { Fake *FakeHarvesterhciV1beta1 // contains filtered or unexported fields }
FakeAddons implements AddonInterface
func (*FakeAddons) Create ¶ added in v1.1.0
func (c *FakeAddons) Create(ctx context.Context, addon *v1beta1.Addon, opts v1.CreateOptions) (result *v1beta1.Addon, err error)
Create takes the representation of a addon and creates it. Returns the server's representation of the addon, and an error, if there is any.
func (*FakeAddons) Delete ¶ added in v1.1.0
func (c *FakeAddons) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the addon and deletes it. Returns an error if one occurs.
func (*FakeAddons) DeleteCollection ¶ added in v1.1.0
func (c *FakeAddons) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAddons) Get ¶ added in v1.1.0
func (c *FakeAddons) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.Addon, err error)
Get takes name of the addon, and returns the corresponding addon object, and an error if there is any.
func (*FakeAddons) List ¶ added in v1.1.0
func (c *FakeAddons) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.AddonList, err error)
List takes label and field selectors, and returns the list of Addons that match those selectors.
func (*FakeAddons) Patch ¶ added in v1.1.0
func (c *FakeAddons) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.Addon, err error)
Patch applies the patch and returns the patched addon.
func (*FakeAddons) Update ¶ added in v1.1.0
func (c *FakeAddons) Update(ctx context.Context, addon *v1beta1.Addon, opts v1.UpdateOptions) (result *v1beta1.Addon, err error)
Update takes the representation of a addon and updates it. Returns the server's representation of the addon, and an error, if there is any.
func (*FakeAddons) UpdateStatus ¶ added in v1.1.0
func (c *FakeAddons) UpdateStatus(ctx context.Context, addon *v1beta1.Addon, opts v1.UpdateOptions) (*v1beta1.Addon, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeAddons) Watch ¶ added in v1.1.0
func (c *FakeAddons) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested addons.
type FakeHarvesterhciV1beta1 ¶
func (*FakeHarvesterhciV1beta1) Addons ¶ added in v1.1.0
func (c *FakeHarvesterhciV1beta1) Addons(namespace string) v1beta1.AddonInterface
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 (c *FakeHarvesterhciV1beta1) Settings() v1beta1.SettingInterface
func (*FakeHarvesterhciV1beta1) SupportBundles ¶
func (c *FakeHarvesterhciV1beta1) SupportBundles(namespace string) v1beta1.SupportBundleInterface
func (*FakeHarvesterhciV1beta1) UpgradeLogs ¶ added in v1.1.2
func (c *FakeHarvesterhciV1beta1) UpgradeLogs(namespace string) v1beta1.UpgradeLogInterface
func (*FakeHarvesterhciV1beta1) Upgrades ¶
func (c *FakeHarvesterhciV1beta1) Upgrades(namespace string) v1beta1.UpgradeInterface
func (*FakeHarvesterhciV1beta1) Versions ¶ added in v1.0.0
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 ¶
func (c *FakePreferences) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
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 ¶
func (c *FakeSupportBundles) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested supportBundles.
type FakeUpgradeLogs ¶ added in v1.1.2
type FakeUpgradeLogs struct { Fake *FakeHarvesterhciV1beta1 // contains filtered or unexported fields }
FakeUpgradeLogs implements UpgradeLogInterface
func (*FakeUpgradeLogs) Create ¶ added in v1.1.2
func (c *FakeUpgradeLogs) Create(ctx context.Context, upgradeLog *v1beta1.UpgradeLog, opts v1.CreateOptions) (result *v1beta1.UpgradeLog, err error)
Create takes the representation of a upgradeLog and creates it. Returns the server's representation of the upgradeLog, and an error, if there is any.
func (*FakeUpgradeLogs) Delete ¶ added in v1.1.2
func (c *FakeUpgradeLogs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the upgradeLog and deletes it. Returns an error if one occurs.
func (*FakeUpgradeLogs) DeleteCollection ¶ added in v1.1.2
func (c *FakeUpgradeLogs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeUpgradeLogs) Get ¶ added in v1.1.2
func (c *FakeUpgradeLogs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.UpgradeLog, err error)
Get takes name of the upgradeLog, and returns the corresponding upgradeLog object, and an error if there is any.
func (*FakeUpgradeLogs) List ¶ added in v1.1.2
func (c *FakeUpgradeLogs) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.UpgradeLogList, err error)
List takes label and field selectors, and returns the list of UpgradeLogs that match those selectors.
func (*FakeUpgradeLogs) Patch ¶ added in v1.1.2
func (c *FakeUpgradeLogs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.UpgradeLog, err error)
Patch applies the patch and returns the patched upgradeLog.
func (*FakeUpgradeLogs) Update ¶ added in v1.1.2
func (c *FakeUpgradeLogs) Update(ctx context.Context, upgradeLog *v1beta1.UpgradeLog, opts v1.UpdateOptions) (result *v1beta1.UpgradeLog, err error)
Update takes the representation of a upgradeLog and updates it. Returns the server's representation of the upgradeLog, and an error, if there is any.
func (*FakeUpgradeLogs) UpdateStatus ¶ added in v1.1.2
func (c *FakeUpgradeLogs) UpdateStatus(ctx context.Context, upgradeLog *v1beta1.UpgradeLog, opts v1.UpdateOptions) (*v1beta1.UpgradeLog, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeUpgradeLogs) Watch ¶ added in v1.1.2
func (c *FakeUpgradeLogs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested upgradeLogs.
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 ¶ added in v1.0.0
type FakeVersions struct { Fake *FakeHarvesterhciV1beta1 // contains filtered or unexported fields }
FakeVersions implements VersionInterface
func (*FakeVersions) Create ¶ added in v1.0.0
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 ¶ added in v1.0.0
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 ¶ added in v1.0.0
func (c *FakeVersions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeVersions) Get ¶ added in v1.0.0
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 ¶ added in v1.0.0
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 ¶ added in v1.0.0
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 ¶ added in v1.0.0
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 ¶ added in v1.0.0
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 ¶
func (c *FakeVirtualMachineBackups) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
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 ¶
func (c *FakeVirtualMachineBackups) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.VirtualMachineBackup, err error)
Get takes name of the virtualMachineBackup, and returns the corresponding virtualMachineBackup object, and an error if there is any.
func (*FakeVirtualMachineBackups) List ¶
func (c *FakeVirtualMachineBackups) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.VirtualMachineBackupList, err error)
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 ¶
func (c *FakeVirtualMachineBackups) UpdateStatus(ctx context.Context, virtualMachineBackup *v1beta1.VirtualMachineBackup, opts v1.UpdateOptions) (*v1beta1.VirtualMachineBackup, error)
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 ¶
func (c *FakeVirtualMachineBackups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
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 ¶
func (c *FakeVirtualMachineImages) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
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 ¶
func (c *FakeVirtualMachineImages) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.VirtualMachineImageList, err error)
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 ¶
func (c *FakeVirtualMachineImages) UpdateStatus(ctx context.Context, virtualMachineImage *v1beta1.VirtualMachineImage, opts v1.UpdateOptions) (*v1beta1.VirtualMachineImage, error)
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 ¶
func (c *FakeVirtualMachineImages) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
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 ¶
func (c *FakeVirtualMachineRestores) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
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 ¶
func (c *FakeVirtualMachineRestores) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.VirtualMachineRestore, err error)
Get takes name of the virtualMachineRestore, and returns the corresponding virtualMachineRestore object, and an error if there is any.
func (*FakeVirtualMachineRestores) List ¶
func (c *FakeVirtualMachineRestores) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.VirtualMachineRestoreList, err error)
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 ¶
func (c *FakeVirtualMachineRestores) UpdateStatus(ctx context.Context, virtualMachineRestore *v1beta1.VirtualMachineRestore, opts v1.UpdateOptions) (*v1beta1.VirtualMachineRestore, error)
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 ¶
func (c *FakeVirtualMachineRestores) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
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 ¶
func (c *FakeVirtualMachineTemplateVersions) Create(ctx context.Context, virtualMachineTemplateVersion *v1beta1.VirtualMachineTemplateVersion, opts v1.CreateOptions) (result *v1beta1.VirtualMachineTemplateVersion, err error)
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 ¶
func (c *FakeVirtualMachineTemplateVersions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
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 ¶
func (c *FakeVirtualMachineTemplateVersions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.VirtualMachineTemplateVersion, err error)
Get takes name of the virtualMachineTemplateVersion, and returns the corresponding virtualMachineTemplateVersion object, and an error if there is any.
func (*FakeVirtualMachineTemplateVersions) List ¶
func (c *FakeVirtualMachineTemplateVersions) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.VirtualMachineTemplateVersionList, err error)
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 ¶
func (c *FakeVirtualMachineTemplateVersions) Update(ctx context.Context, virtualMachineTemplateVersion *v1beta1.VirtualMachineTemplateVersion, opts v1.UpdateOptions) (result *v1beta1.VirtualMachineTemplateVersion, err error)
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 ¶
func (c *FakeVirtualMachineTemplateVersions) UpdateStatus(ctx context.Context, virtualMachineTemplateVersion *v1beta1.VirtualMachineTemplateVersion, opts v1.UpdateOptions) (*v1beta1.VirtualMachineTemplateVersion, error)
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 ¶
func (c *FakeVirtualMachineTemplateVersions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
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 ¶
func (c *FakeVirtualMachineTemplates) Create(ctx context.Context, virtualMachineTemplate *v1beta1.VirtualMachineTemplate, opts v1.CreateOptions) (result *v1beta1.VirtualMachineTemplate, err error)
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 ¶
func (c *FakeVirtualMachineTemplates) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
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 ¶
func (c *FakeVirtualMachineTemplates) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.VirtualMachineTemplate, err error)
Get takes name of the virtualMachineTemplate, and returns the corresponding virtualMachineTemplate object, and an error if there is any.
func (*FakeVirtualMachineTemplates) List ¶
func (c *FakeVirtualMachineTemplates) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.VirtualMachineTemplateList, err error)
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 ¶
func (c *FakeVirtualMachineTemplates) Update(ctx context.Context, virtualMachineTemplate *v1beta1.VirtualMachineTemplate, opts v1.UpdateOptions) (result *v1beta1.VirtualMachineTemplate, err error)
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 ¶
func (c *FakeVirtualMachineTemplates) UpdateStatus(ctx context.Context, virtualMachineTemplate *v1beta1.VirtualMachineTemplate, opts v1.UpdateOptions) (*v1beta1.VirtualMachineTemplate, error)
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 ¶
func (c *FakeVirtualMachineTemplates) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested virtualMachineTemplates.
Source Files ¶
- doc.go
- fake_addon.go
- fake_harvesterhci.io_client.go
- fake_keypair.go
- fake_preference.go
- fake_setting.go
- fake_supportbundle.go
- fake_upgrade.go
- fake_upgradelog.go
- fake_version.go
- fake_virtualmachinebackup.go
- fake_virtualmachineimage.go
- fake_virtualmachinerestore.go
- fake_virtualmachinetemplate.go
- fake_virtualmachinetemplateversion.go