v1beta1

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 9 Imported by: 4

Documentation

Overview

This package has the automatically generated typed clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddonExpansion added in v1.1.0

type AddonExpansion interface{}

type AddonInterface added in v1.1.0

type AddonInterface interface {
	Create(ctx context.Context, addon *v1beta1.Addon, opts v1.CreateOptions) (*v1beta1.Addon, error)
	Update(ctx context.Context, addon *v1beta1.Addon, opts v1.UpdateOptions) (*v1beta1.Addon, error)
	UpdateStatus(ctx context.Context, addon *v1beta1.Addon, opts v1.UpdateOptions) (*v1beta1.Addon, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.Addon, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.AddonList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.Addon, err error)
	AddonExpansion
}

AddonInterface has methods to work with Addon resources.

type AddonsGetter added in v1.1.0

type AddonsGetter interface {
	Addons(namespace string) AddonInterface
}

AddonsGetter has a method to return a AddonInterface. A group's client should implement this interface.

type HarvesterhciV1beta1Client

type HarvesterhciV1beta1Client struct {
	// contains filtered or unexported fields
}

HarvesterhciV1beta1Client is used to interact with features provided by the harvesterhci.io group.

func New

New creates a new HarvesterhciV1beta1Client for the given RESTClient.

func NewForConfig

func NewForConfig(c *rest.Config) (*HarvesterhciV1beta1Client, error)

NewForConfig creates a new HarvesterhciV1beta1Client for the given config. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).

func NewForConfigAndClient added in v1.1.0

func NewForConfigAndClient(c *rest.Config, h *http.Client) (*HarvesterhciV1beta1Client, error)

NewForConfigAndClient creates a new HarvesterhciV1beta1Client for the given config and http client. Note the http client provided takes precedence over the configured transport values.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *HarvesterhciV1beta1Client

NewForConfigOrDie creates a new HarvesterhciV1beta1Client for the given config and panics if there is an error in the config.

func (*HarvesterhciV1beta1Client) Addons added in v1.1.0

func (c *HarvesterhciV1beta1Client) Addons(namespace string) AddonInterface

func (*HarvesterhciV1beta1Client) KeyPairs

func (c *HarvesterhciV1beta1Client) KeyPairs(namespace string) KeyPairInterface

func (*HarvesterhciV1beta1Client) Preferences

func (c *HarvesterhciV1beta1Client) Preferences(namespace string) PreferenceInterface

func (*HarvesterhciV1beta1Client) RESTClient

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

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

func (*HarvesterhciV1beta1Client) Settings

func (*HarvesterhciV1beta1Client) SupportBundles

func (c *HarvesterhciV1beta1Client) SupportBundles(namespace string) SupportBundleInterface

func (*HarvesterhciV1beta1Client) UpgradeLogs added in v1.1.2

func (c *HarvesterhciV1beta1Client) UpgradeLogs(namespace string) UpgradeLogInterface

func (*HarvesterhciV1beta1Client) Upgrades

func (c *HarvesterhciV1beta1Client) Upgrades(namespace string) UpgradeInterface

func (*HarvesterhciV1beta1Client) Versions added in v1.0.0

func (c *HarvesterhciV1beta1Client) Versions(namespace string) VersionInterface

func (*HarvesterhciV1beta1Client) VirtualMachineBackups

func (c *HarvesterhciV1beta1Client) VirtualMachineBackups(namespace string) VirtualMachineBackupInterface

func (*HarvesterhciV1beta1Client) VirtualMachineImages

func (c *HarvesterhciV1beta1Client) VirtualMachineImages(namespace string) VirtualMachineImageInterface

func (*HarvesterhciV1beta1Client) VirtualMachineRestores

func (c *HarvesterhciV1beta1Client) VirtualMachineRestores(namespace string) VirtualMachineRestoreInterface

func (*HarvesterhciV1beta1Client) VirtualMachineTemplateVersions

func (c *HarvesterhciV1beta1Client) VirtualMachineTemplateVersions(namespace string) VirtualMachineTemplateVersionInterface

func (*HarvesterhciV1beta1Client) VirtualMachineTemplates

func (c *HarvesterhciV1beta1Client) VirtualMachineTemplates(namespace string) VirtualMachineTemplateInterface

type KeyPairExpansion

type KeyPairExpansion interface{}

type KeyPairInterface

type KeyPairInterface interface {
	Create(ctx context.Context, keyPair *v1beta1.KeyPair, opts v1.CreateOptions) (*v1beta1.KeyPair, error)
	Update(ctx context.Context, keyPair *v1beta1.KeyPair, opts v1.UpdateOptions) (*v1beta1.KeyPair, error)
	UpdateStatus(ctx context.Context, keyPair *v1beta1.KeyPair, opts v1.UpdateOptions) (*v1beta1.KeyPair, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.KeyPair, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.KeyPairList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.KeyPair, err error)
	KeyPairExpansion
}

KeyPairInterface has methods to work with KeyPair resources.

type KeyPairsGetter

type KeyPairsGetter interface {
	KeyPairs(namespace string) KeyPairInterface
}

KeyPairsGetter has a method to return a KeyPairInterface. A group's client should implement this interface.

type PreferenceExpansion

type PreferenceExpansion interface{}

type PreferenceInterface

type PreferenceInterface interface {
	Create(ctx context.Context, preference *v1beta1.Preference, opts v1.CreateOptions) (*v1beta1.Preference, error)
	Update(ctx context.Context, preference *v1beta1.Preference, opts v1.UpdateOptions) (*v1beta1.Preference, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.Preference, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.PreferenceList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.Preference, err error)
	PreferenceExpansion
}

PreferenceInterface has methods to work with Preference resources.

type PreferencesGetter

type PreferencesGetter interface {
	Preferences(namespace string) PreferenceInterface
}

PreferencesGetter has a method to return a PreferenceInterface. A group's client should implement this interface.

type SettingExpansion

type SettingExpansion interface{}

type SettingInterface

type SettingInterface interface {
	Create(ctx context.Context, setting *v1beta1.Setting, opts v1.CreateOptions) (*v1beta1.Setting, error)
	Update(ctx context.Context, setting *v1beta1.Setting, opts v1.UpdateOptions) (*v1beta1.Setting, error)
	UpdateStatus(ctx context.Context, setting *v1beta1.Setting, opts v1.UpdateOptions) (*v1beta1.Setting, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.Setting, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.SettingList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.Setting, err error)
	SettingExpansion
}

SettingInterface has methods to work with Setting resources.

type SettingsGetter

type SettingsGetter interface {
	Settings() SettingInterface
}

SettingsGetter has a method to return a SettingInterface. A group's client should implement this interface.

type SupportBundleExpansion

type SupportBundleExpansion interface{}

type SupportBundleInterface

type SupportBundleInterface interface {
	Create(ctx context.Context, supportBundle *v1beta1.SupportBundle, opts v1.CreateOptions) (*v1beta1.SupportBundle, error)
	Update(ctx context.Context, supportBundle *v1beta1.SupportBundle, opts v1.UpdateOptions) (*v1beta1.SupportBundle, error)
	UpdateStatus(ctx context.Context, supportBundle *v1beta1.SupportBundle, opts v1.UpdateOptions) (*v1beta1.SupportBundle, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.SupportBundle, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.SupportBundleList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.SupportBundle, err error)
	SupportBundleExpansion
}

SupportBundleInterface has methods to work with SupportBundle resources.

type SupportBundlesGetter

type SupportBundlesGetter interface {
	SupportBundles(namespace string) SupportBundleInterface
}

SupportBundlesGetter has a method to return a SupportBundleInterface. A group's client should implement this interface.

type UpgradeExpansion

type UpgradeExpansion interface{}

type UpgradeInterface

type UpgradeInterface interface {
	Create(ctx context.Context, upgrade *v1beta1.Upgrade, opts v1.CreateOptions) (*v1beta1.Upgrade, error)
	Update(ctx context.Context, upgrade *v1beta1.Upgrade, opts v1.UpdateOptions) (*v1beta1.Upgrade, error)
	UpdateStatus(ctx context.Context, upgrade *v1beta1.Upgrade, opts v1.UpdateOptions) (*v1beta1.Upgrade, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.Upgrade, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.UpgradeList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.Upgrade, err error)
	UpgradeExpansion
}

UpgradeInterface has methods to work with Upgrade resources.

type UpgradeLogExpansion added in v1.1.2

type UpgradeLogExpansion interface{}

type UpgradeLogInterface added in v1.1.2

type UpgradeLogInterface interface {
	Create(ctx context.Context, upgradeLog *v1beta1.UpgradeLog, opts v1.CreateOptions) (*v1beta1.UpgradeLog, error)
	Update(ctx context.Context, upgradeLog *v1beta1.UpgradeLog, opts v1.UpdateOptions) (*v1beta1.UpgradeLog, error)
	UpdateStatus(ctx context.Context, upgradeLog *v1beta1.UpgradeLog, opts v1.UpdateOptions) (*v1beta1.UpgradeLog, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.UpgradeLog, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.UpgradeLogList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.UpgradeLog, err error)
	UpgradeLogExpansion
}

UpgradeLogInterface has methods to work with UpgradeLog resources.

type UpgradeLogsGetter added in v1.1.2

type UpgradeLogsGetter interface {
	UpgradeLogs(namespace string) UpgradeLogInterface
}

UpgradeLogsGetter has a method to return a UpgradeLogInterface. A group's client should implement this interface.

type UpgradesGetter

type UpgradesGetter interface {
	Upgrades(namespace string) UpgradeInterface
}

UpgradesGetter has a method to return a UpgradeInterface. A group's client should implement this interface.

type VersionExpansion added in v1.0.0

type VersionExpansion interface{}

type VersionInterface added in v1.0.0

type VersionInterface interface {
	Create(ctx context.Context, version *v1beta1.Version, opts v1.CreateOptions) (*v1beta1.Version, error)
	Update(ctx context.Context, version *v1beta1.Version, opts v1.UpdateOptions) (*v1beta1.Version, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.Version, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.VersionList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.Version, err error)
	VersionExpansion
}

VersionInterface has methods to work with Version resources.

type VersionsGetter added in v1.0.0

type VersionsGetter interface {
	Versions(namespace string) VersionInterface
}

VersionsGetter has a method to return a VersionInterface. A group's client should implement this interface.

type VirtualMachineBackupExpansion

type VirtualMachineBackupExpansion interface{}

type VirtualMachineBackupInterface

type VirtualMachineBackupInterface interface {
	Create(ctx context.Context, virtualMachineBackup *v1beta1.VirtualMachineBackup, opts v1.CreateOptions) (*v1beta1.VirtualMachineBackup, error)
	Update(ctx context.Context, virtualMachineBackup *v1beta1.VirtualMachineBackup, opts v1.UpdateOptions) (*v1beta1.VirtualMachineBackup, error)
	UpdateStatus(ctx context.Context, virtualMachineBackup *v1beta1.VirtualMachineBackup, opts v1.UpdateOptions) (*v1beta1.VirtualMachineBackup, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.VirtualMachineBackup, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.VirtualMachineBackupList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.VirtualMachineBackup, err error)
	VirtualMachineBackupExpansion
}

VirtualMachineBackupInterface has methods to work with VirtualMachineBackup resources.

type VirtualMachineBackupsGetter

type VirtualMachineBackupsGetter interface {
	VirtualMachineBackups(namespace string) VirtualMachineBackupInterface
}

VirtualMachineBackupsGetter has a method to return a VirtualMachineBackupInterface. A group's client should implement this interface.

type VirtualMachineImageExpansion

type VirtualMachineImageExpansion interface{}

type VirtualMachineImageInterface

type VirtualMachineImageInterface interface {
	Create(ctx context.Context, virtualMachineImage *v1beta1.VirtualMachineImage, opts v1.CreateOptions) (*v1beta1.VirtualMachineImage, error)
	Update(ctx context.Context, virtualMachineImage *v1beta1.VirtualMachineImage, opts v1.UpdateOptions) (*v1beta1.VirtualMachineImage, error)
	UpdateStatus(ctx context.Context, virtualMachineImage *v1beta1.VirtualMachineImage, opts v1.UpdateOptions) (*v1beta1.VirtualMachineImage, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.VirtualMachineImage, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.VirtualMachineImageList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.VirtualMachineImage, err error)
	VirtualMachineImageExpansion
}

VirtualMachineImageInterface has methods to work with VirtualMachineImage resources.

type VirtualMachineImagesGetter

type VirtualMachineImagesGetter interface {
	VirtualMachineImages(namespace string) VirtualMachineImageInterface
}

VirtualMachineImagesGetter has a method to return a VirtualMachineImageInterface. A group's client should implement this interface.

type VirtualMachineRestoreExpansion

type VirtualMachineRestoreExpansion interface{}

type VirtualMachineRestoreInterface

type VirtualMachineRestoreInterface interface {
	Create(ctx context.Context, virtualMachineRestore *v1beta1.VirtualMachineRestore, opts v1.CreateOptions) (*v1beta1.VirtualMachineRestore, error)
	Update(ctx context.Context, virtualMachineRestore *v1beta1.VirtualMachineRestore, opts v1.UpdateOptions) (*v1beta1.VirtualMachineRestore, error)
	UpdateStatus(ctx context.Context, virtualMachineRestore *v1beta1.VirtualMachineRestore, opts v1.UpdateOptions) (*v1beta1.VirtualMachineRestore, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.VirtualMachineRestore, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.VirtualMachineRestoreList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.VirtualMachineRestore, err error)
	VirtualMachineRestoreExpansion
}

VirtualMachineRestoreInterface has methods to work with VirtualMachineRestore resources.

type VirtualMachineRestoresGetter

type VirtualMachineRestoresGetter interface {
	VirtualMachineRestores(namespace string) VirtualMachineRestoreInterface
}

VirtualMachineRestoresGetter has a method to return a VirtualMachineRestoreInterface. A group's client should implement this interface.

type VirtualMachineTemplateExpansion

type VirtualMachineTemplateExpansion interface{}

type VirtualMachineTemplateInterface

type VirtualMachineTemplateInterface interface {
	Create(ctx context.Context, virtualMachineTemplate *v1beta1.VirtualMachineTemplate, opts v1.CreateOptions) (*v1beta1.VirtualMachineTemplate, error)
	Update(ctx context.Context, virtualMachineTemplate *v1beta1.VirtualMachineTemplate, opts v1.UpdateOptions) (*v1beta1.VirtualMachineTemplate, error)
	UpdateStatus(ctx context.Context, virtualMachineTemplate *v1beta1.VirtualMachineTemplate, opts v1.UpdateOptions) (*v1beta1.VirtualMachineTemplate, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.VirtualMachineTemplate, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.VirtualMachineTemplateList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.VirtualMachineTemplate, err error)
	VirtualMachineTemplateExpansion
}

VirtualMachineTemplateInterface has methods to work with VirtualMachineTemplate resources.

type VirtualMachineTemplateVersionExpansion

type VirtualMachineTemplateVersionExpansion interface{}

type VirtualMachineTemplateVersionInterface

type VirtualMachineTemplateVersionInterface interface {
	Create(ctx context.Context, virtualMachineTemplateVersion *v1beta1.VirtualMachineTemplateVersion, opts v1.CreateOptions) (*v1beta1.VirtualMachineTemplateVersion, error)
	Update(ctx context.Context, virtualMachineTemplateVersion *v1beta1.VirtualMachineTemplateVersion, opts v1.UpdateOptions) (*v1beta1.VirtualMachineTemplateVersion, error)
	UpdateStatus(ctx context.Context, virtualMachineTemplateVersion *v1beta1.VirtualMachineTemplateVersion, opts v1.UpdateOptions) (*v1beta1.VirtualMachineTemplateVersion, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.VirtualMachineTemplateVersion, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.VirtualMachineTemplateVersionList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.VirtualMachineTemplateVersion, err error)
	VirtualMachineTemplateVersionExpansion
}

VirtualMachineTemplateVersionInterface has methods to work with VirtualMachineTemplateVersion resources.

type VirtualMachineTemplateVersionsGetter

type VirtualMachineTemplateVersionsGetter interface {
	VirtualMachineTemplateVersions(namespace string) VirtualMachineTemplateVersionInterface
}

VirtualMachineTemplateVersionsGetter has a method to return a VirtualMachineTemplateVersionInterface. A group's client should implement this interface.

type VirtualMachineTemplatesGetter

type VirtualMachineTemplatesGetter interface {
	VirtualMachineTemplates(namespace string) VirtualMachineTemplateInterface
}

VirtualMachineTemplatesGetter has a method to return a VirtualMachineTemplateInterface. A group's client should implement this interface.

Directories

Path Synopsis
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

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