v1beta1

package
v1.3.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: Apache-2.0 Imports: 20 Imported by: 27

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromAddonHandlerToHandler added in v1.1.0

func FromAddonHandlerToHandler(sync AddonHandler) generic.Handler

func FromKeyPairHandlerToHandler

func FromKeyPairHandlerToHandler(sync KeyPairHandler) generic.Handler

func FromPreferenceHandlerToHandler

func FromPreferenceHandlerToHandler(sync PreferenceHandler) generic.Handler

func FromSettingHandlerToHandler

func FromSettingHandlerToHandler(sync SettingHandler) generic.Handler

func FromSupportBundleHandlerToHandler

func FromSupportBundleHandlerToHandler(sync SupportBundleHandler) generic.Handler

func FromUpgradeHandlerToHandler

func FromUpgradeHandlerToHandler(sync UpgradeHandler) generic.Handler

func FromUpgradeLogHandlerToHandler added in v1.1.2

func FromUpgradeLogHandlerToHandler(sync UpgradeLogHandler) generic.Handler

func FromVersionHandlerToHandler added in v1.0.0

func FromVersionHandlerToHandler(sync VersionHandler) generic.Handler

func FromVirtualMachineBackupHandlerToHandler

func FromVirtualMachineBackupHandlerToHandler(sync VirtualMachineBackupHandler) generic.Handler

func FromVirtualMachineImageHandlerToHandler

func FromVirtualMachineImageHandlerToHandler(sync VirtualMachineImageHandler) generic.Handler

func FromVirtualMachineRestoreHandlerToHandler

func FromVirtualMachineRestoreHandlerToHandler(sync VirtualMachineRestoreHandler) generic.Handler

func FromVirtualMachineTemplateHandlerToHandler

func FromVirtualMachineTemplateHandlerToHandler(sync VirtualMachineTemplateHandler) generic.Handler

func FromVirtualMachineTemplateVersionHandlerToHandler

func FromVirtualMachineTemplateVersionHandlerToHandler(sync VirtualMachineTemplateVersionHandler) generic.Handler

func RegisterAddonGeneratingHandler added in v1.1.0

func RegisterAddonGeneratingHandler(ctx context.Context, controller AddonController, apply apply.Apply,
	condition condition.Cond, name string, handler AddonGeneratingHandler, opts *generic.GeneratingHandlerOptions)

func RegisterAddonStatusHandler added in v1.1.0

func RegisterAddonStatusHandler(ctx context.Context, controller AddonController, condition condition.Cond, name string, handler AddonStatusHandler)

func RegisterKeyPairGeneratingHandler

func RegisterKeyPairGeneratingHandler(ctx context.Context, controller KeyPairController, apply apply.Apply,
	condition condition.Cond, name string, handler KeyPairGeneratingHandler, opts *generic.GeneratingHandlerOptions)

func RegisterKeyPairStatusHandler

func RegisterKeyPairStatusHandler(ctx context.Context, controller KeyPairController, condition condition.Cond, name string, handler KeyPairStatusHandler)

func RegisterSettingGeneratingHandler

func RegisterSettingGeneratingHandler(ctx context.Context, controller SettingController, apply apply.Apply,
	condition condition.Cond, name string, handler SettingGeneratingHandler, opts *generic.GeneratingHandlerOptions)

func RegisterSettingStatusHandler

func RegisterSettingStatusHandler(ctx context.Context, controller SettingController, condition condition.Cond, name string, handler SettingStatusHandler)

func RegisterSupportBundleGeneratingHandler

func RegisterSupportBundleGeneratingHandler(ctx context.Context, controller SupportBundleController, apply apply.Apply,
	condition condition.Cond, name string, handler SupportBundleGeneratingHandler, opts *generic.GeneratingHandlerOptions)

func RegisterSupportBundleStatusHandler

func RegisterSupportBundleStatusHandler(ctx context.Context, controller SupportBundleController, condition condition.Cond, name string, handler SupportBundleStatusHandler)

func RegisterUpgradeGeneratingHandler

func RegisterUpgradeGeneratingHandler(ctx context.Context, controller UpgradeController, apply apply.Apply,
	condition condition.Cond, name string, handler UpgradeGeneratingHandler, opts *generic.GeneratingHandlerOptions)

func RegisterUpgradeLogGeneratingHandler added in v1.1.2

func RegisterUpgradeLogGeneratingHandler(ctx context.Context, controller UpgradeLogController, apply apply.Apply,
	condition condition.Cond, name string, handler UpgradeLogGeneratingHandler, opts *generic.GeneratingHandlerOptions)

func RegisterUpgradeLogStatusHandler added in v1.1.2

func RegisterUpgradeLogStatusHandler(ctx context.Context, controller UpgradeLogController, condition condition.Cond, name string, handler UpgradeLogStatusHandler)

func RegisterUpgradeStatusHandler

func RegisterUpgradeStatusHandler(ctx context.Context, controller UpgradeController, condition condition.Cond, name string, handler UpgradeStatusHandler)

func RegisterVirtualMachineImageGeneratingHandler

func RegisterVirtualMachineImageGeneratingHandler(ctx context.Context, controller VirtualMachineImageController, apply apply.Apply,
	condition condition.Cond, name string, handler VirtualMachineImageGeneratingHandler, opts *generic.GeneratingHandlerOptions)

func RegisterVirtualMachineImageStatusHandler

func RegisterVirtualMachineImageStatusHandler(ctx context.Context, controller VirtualMachineImageController, condition condition.Cond, name string, handler VirtualMachineImageStatusHandler)

func RegisterVirtualMachineTemplateStatusHandler

func RegisterVirtualMachineTemplateStatusHandler(ctx context.Context, controller VirtualMachineTemplateController, condition condition.Cond, name string, handler VirtualMachineTemplateStatusHandler)

func RegisterVirtualMachineTemplateVersionStatusHandler

func RegisterVirtualMachineTemplateVersionStatusHandler(ctx context.Context, controller VirtualMachineTemplateVersionController, condition condition.Cond, name string, handler VirtualMachineTemplateVersionStatusHandler)

func UpdateAddonDeepCopyOnChange added in v1.1.0

func UpdateAddonDeepCopyOnChange(client AddonClient, obj *v1beta1.Addon, handler func(obj *v1beta1.Addon) (*v1beta1.Addon, error)) (*v1beta1.Addon, error)

func UpdateKeyPairDeepCopyOnChange

func UpdateKeyPairDeepCopyOnChange(client KeyPairClient, obj *v1beta1.KeyPair, handler func(obj *v1beta1.KeyPair) (*v1beta1.KeyPair, error)) (*v1beta1.KeyPair, error)

func UpdatePreferenceDeepCopyOnChange

func UpdatePreferenceDeepCopyOnChange(client PreferenceClient, obj *v1beta1.Preference, handler func(obj *v1beta1.Preference) (*v1beta1.Preference, error)) (*v1beta1.Preference, error)

func UpdateSettingDeepCopyOnChange

func UpdateSettingDeepCopyOnChange(client SettingClient, obj *v1beta1.Setting, handler func(obj *v1beta1.Setting) (*v1beta1.Setting, error)) (*v1beta1.Setting, error)

func UpdateSupportBundleDeepCopyOnChange

func UpdateSupportBundleDeepCopyOnChange(client SupportBundleClient, obj *v1beta1.SupportBundle, handler func(obj *v1beta1.SupportBundle) (*v1beta1.SupportBundle, error)) (*v1beta1.SupportBundle, error)

func UpdateUpgradeDeepCopyOnChange

func UpdateUpgradeDeepCopyOnChange(client UpgradeClient, obj *v1beta1.Upgrade, handler func(obj *v1beta1.Upgrade) (*v1beta1.Upgrade, error)) (*v1beta1.Upgrade, error)

func UpdateUpgradeLogDeepCopyOnChange added in v1.1.2

func UpdateUpgradeLogDeepCopyOnChange(client UpgradeLogClient, obj *v1beta1.UpgradeLog, handler func(obj *v1beta1.UpgradeLog) (*v1beta1.UpgradeLog, error)) (*v1beta1.UpgradeLog, error)

func UpdateVersionDeepCopyOnChange added in v1.0.0

func UpdateVersionDeepCopyOnChange(client VersionClient, obj *v1beta1.Version, handler func(obj *v1beta1.Version) (*v1beta1.Version, error)) (*v1beta1.Version, error)

Types

type AddonCache added in v1.1.0

type AddonCache interface {
	Get(namespace, name string) (*v1beta1.Addon, error)
	List(namespace string, selector labels.Selector) ([]*v1beta1.Addon, error)

	AddIndexer(indexName string, indexer AddonIndexer)
	GetByIndex(indexName, key string) ([]*v1beta1.Addon, error)
}

type AddonClient added in v1.1.0

type AddonClient interface {
	Create(*v1beta1.Addon) (*v1beta1.Addon, error)
	Update(*v1beta1.Addon) (*v1beta1.Addon, error)
	UpdateStatus(*v1beta1.Addon) (*v1beta1.Addon, error)
	Delete(namespace, name string, options *metav1.DeleteOptions) error
	Get(namespace, name string, options metav1.GetOptions) (*v1beta1.Addon, error)
	List(namespace string, opts metav1.ListOptions) (*v1beta1.AddonList, error)
	Watch(namespace string, opts metav1.ListOptions) (watch.Interface, error)
	Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.Addon, err error)
}

type AddonController added in v1.1.0

type AddonController interface {
	generic.ControllerMeta
	AddonClient

	OnChange(ctx context.Context, name string, sync AddonHandler)
	OnRemove(ctx context.Context, name string, sync AddonHandler)
	Enqueue(namespace, name string)
	EnqueueAfter(namespace, name string, duration time.Duration)

	Cache() AddonCache
}

func NewAddonController added in v1.1.0

func NewAddonController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) AddonController

type AddonGeneratingHandler added in v1.1.0

type AddonGeneratingHandler func(obj *v1beta1.Addon, status v1beta1.AddonStatus) ([]runtime.Object, v1beta1.AddonStatus, error)

type AddonHandler added in v1.1.0

type AddonHandler func(string, *v1beta1.Addon) (*v1beta1.Addon, error)

type AddonIndexer added in v1.1.0

type AddonIndexer func(obj *v1beta1.Addon) ([]string, error)

type AddonStatusHandler added in v1.1.0

type AddonStatusHandler func(obj *v1beta1.Addon, status v1beta1.AddonStatus) (v1beta1.AddonStatus, error)

type Interface

type Interface interface {
	Addon() AddonController
	KeyPair() KeyPairController
	Preference() PreferenceController
	Setting() SettingController
	SupportBundle() SupportBundleController
	Upgrade() UpgradeController
	UpgradeLog() UpgradeLogController
	Version() VersionController
	VirtualMachineBackup() VirtualMachineBackupController
	VirtualMachineImage() VirtualMachineImageController
	VirtualMachineRestore() VirtualMachineRestoreController
	VirtualMachineTemplate() VirtualMachineTemplateController
	VirtualMachineTemplateVersion() VirtualMachineTemplateVersionController
}

func New

func New(controllerFactory controller.SharedControllerFactory) Interface

type KeyPairCache

type KeyPairCache interface {
	Get(namespace, name string) (*v1beta1.KeyPair, error)
	List(namespace string, selector labels.Selector) ([]*v1beta1.KeyPair, error)

	AddIndexer(indexName string, indexer KeyPairIndexer)
	GetByIndex(indexName, key string) ([]*v1beta1.KeyPair, error)
}

type KeyPairClient

type KeyPairClient interface {
	Create(*v1beta1.KeyPair) (*v1beta1.KeyPair, error)
	Update(*v1beta1.KeyPair) (*v1beta1.KeyPair, error)
	UpdateStatus(*v1beta1.KeyPair) (*v1beta1.KeyPair, error)
	Delete(namespace, name string, options *metav1.DeleteOptions) error
	Get(namespace, name string, options metav1.GetOptions) (*v1beta1.KeyPair, error)
	List(namespace string, opts metav1.ListOptions) (*v1beta1.KeyPairList, error)
	Watch(namespace string, opts metav1.ListOptions) (watch.Interface, error)
	Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.KeyPair, err error)
}

type KeyPairController

type KeyPairController interface {
	generic.ControllerMeta
	KeyPairClient

	OnChange(ctx context.Context, name string, sync KeyPairHandler)
	OnRemove(ctx context.Context, name string, sync KeyPairHandler)
	Enqueue(namespace, name string)
	EnqueueAfter(namespace, name string, duration time.Duration)

	Cache() KeyPairCache
}

func NewKeyPairController

func NewKeyPairController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) KeyPairController

type KeyPairGeneratingHandler

type KeyPairGeneratingHandler func(obj *v1beta1.KeyPair, status v1beta1.KeyPairStatus) ([]runtime.Object, v1beta1.KeyPairStatus, error)

type KeyPairHandler

type KeyPairHandler func(string, *v1beta1.KeyPair) (*v1beta1.KeyPair, error)

type KeyPairIndexer

type KeyPairIndexer func(obj *v1beta1.KeyPair) ([]string, error)

type KeyPairStatusHandler

type KeyPairStatusHandler func(obj *v1beta1.KeyPair, status v1beta1.KeyPairStatus) (v1beta1.KeyPairStatus, error)

type PreferenceCache

type PreferenceCache interface {
	Get(namespace, name string) (*v1beta1.Preference, error)
	List(namespace string, selector labels.Selector) ([]*v1beta1.Preference, error)

	AddIndexer(indexName string, indexer PreferenceIndexer)
	GetByIndex(indexName, key string) ([]*v1beta1.Preference, error)
}

type PreferenceClient

type PreferenceClient interface {
	Create(*v1beta1.Preference) (*v1beta1.Preference, error)
	Update(*v1beta1.Preference) (*v1beta1.Preference, error)

	Delete(namespace, name string, options *metav1.DeleteOptions) error
	Get(namespace, name string, options metav1.GetOptions) (*v1beta1.Preference, error)
	List(namespace string, opts metav1.ListOptions) (*v1beta1.PreferenceList, error)
	Watch(namespace string, opts metav1.ListOptions) (watch.Interface, error)
	Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.Preference, err error)
}

type PreferenceController

type PreferenceController interface {
	generic.ControllerMeta
	PreferenceClient

	OnChange(ctx context.Context, name string, sync PreferenceHandler)
	OnRemove(ctx context.Context, name string, sync PreferenceHandler)
	Enqueue(namespace, name string)
	EnqueueAfter(namespace, name string, duration time.Duration)

	Cache() PreferenceCache
}

func NewPreferenceController

func NewPreferenceController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) PreferenceController

type PreferenceHandler

type PreferenceHandler func(string, *v1beta1.Preference) (*v1beta1.Preference, error)

type PreferenceIndexer

type PreferenceIndexer func(obj *v1beta1.Preference) ([]string, error)

type SettingCache

type SettingCache interface {
	Get(name string) (*v1beta1.Setting, error)
	List(selector labels.Selector) ([]*v1beta1.Setting, error)

	AddIndexer(indexName string, indexer SettingIndexer)
	GetByIndex(indexName, key string) ([]*v1beta1.Setting, error)
}

type SettingClient

type SettingClient interface {
	Create(*v1beta1.Setting) (*v1beta1.Setting, error)
	Update(*v1beta1.Setting) (*v1beta1.Setting, error)
	UpdateStatus(*v1beta1.Setting) (*v1beta1.Setting, error)
	Delete(name string, options *metav1.DeleteOptions) error
	Get(name string, options metav1.GetOptions) (*v1beta1.Setting, error)
	List(opts metav1.ListOptions) (*v1beta1.SettingList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.Setting, err error)
}

type SettingController

type SettingController interface {
	generic.ControllerMeta
	SettingClient

	OnChange(ctx context.Context, name string, sync SettingHandler)
	OnRemove(ctx context.Context, name string, sync SettingHandler)
	Enqueue(name string)
	EnqueueAfter(name string, duration time.Duration)

	Cache() SettingCache
}

func NewSettingController

func NewSettingController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) SettingController

type SettingGeneratingHandler

type SettingGeneratingHandler func(obj *v1beta1.Setting, status v1beta1.SettingStatus) ([]runtime.Object, v1beta1.SettingStatus, error)

type SettingHandler

type SettingHandler func(string, *v1beta1.Setting) (*v1beta1.Setting, error)

type SettingIndexer

type SettingIndexer func(obj *v1beta1.Setting) ([]string, error)

type SettingStatusHandler

type SettingStatusHandler func(obj *v1beta1.Setting, status v1beta1.SettingStatus) (v1beta1.SettingStatus, error)

type SupportBundleCache

type SupportBundleCache interface {
	Get(namespace, name string) (*v1beta1.SupportBundle, error)
	List(namespace string, selector labels.Selector) ([]*v1beta1.SupportBundle, error)

	AddIndexer(indexName string, indexer SupportBundleIndexer)
	GetByIndex(indexName, key string) ([]*v1beta1.SupportBundle, error)
}

type SupportBundleClient

type SupportBundleClient interface {
	Create(*v1beta1.SupportBundle) (*v1beta1.SupportBundle, error)
	Update(*v1beta1.SupportBundle) (*v1beta1.SupportBundle, error)
	UpdateStatus(*v1beta1.SupportBundle) (*v1beta1.SupportBundle, error)
	Delete(namespace, name string, options *metav1.DeleteOptions) error
	Get(namespace, name string, options metav1.GetOptions) (*v1beta1.SupportBundle, error)
	List(namespace string, opts metav1.ListOptions) (*v1beta1.SupportBundleList, error)
	Watch(namespace string, opts metav1.ListOptions) (watch.Interface, error)
	Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.SupportBundle, err error)
}

type SupportBundleController

type SupportBundleController interface {
	generic.ControllerMeta
	SupportBundleClient

	OnChange(ctx context.Context, name string, sync SupportBundleHandler)
	OnRemove(ctx context.Context, name string, sync SupportBundleHandler)
	Enqueue(namespace, name string)
	EnqueueAfter(namespace, name string, duration time.Duration)

	Cache() SupportBundleCache
}

func NewSupportBundleController

func NewSupportBundleController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) SupportBundleController

type SupportBundleHandler

type SupportBundleHandler func(string, *v1beta1.SupportBundle) (*v1beta1.SupportBundle, error)

type SupportBundleIndexer

type SupportBundleIndexer func(obj *v1beta1.SupportBundle) ([]string, error)

type UpgradeCache

type UpgradeCache interface {
	Get(namespace, name string) (*v1beta1.Upgrade, error)
	List(namespace string, selector labels.Selector) ([]*v1beta1.Upgrade, error)

	AddIndexer(indexName string, indexer UpgradeIndexer)
	GetByIndex(indexName, key string) ([]*v1beta1.Upgrade, error)
}

type UpgradeClient

type UpgradeClient interface {
	Create(*v1beta1.Upgrade) (*v1beta1.Upgrade, error)
	Update(*v1beta1.Upgrade) (*v1beta1.Upgrade, error)
	UpdateStatus(*v1beta1.Upgrade) (*v1beta1.Upgrade, error)
	Delete(namespace, name string, options *metav1.DeleteOptions) error
	Get(namespace, name string, options metav1.GetOptions) (*v1beta1.Upgrade, error)
	List(namespace string, opts metav1.ListOptions) (*v1beta1.UpgradeList, error)
	Watch(namespace string, opts metav1.ListOptions) (watch.Interface, error)
	Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.Upgrade, err error)
}

type UpgradeController

type UpgradeController interface {
	generic.ControllerMeta
	UpgradeClient

	OnChange(ctx context.Context, name string, sync UpgradeHandler)
	OnRemove(ctx context.Context, name string, sync UpgradeHandler)
	Enqueue(namespace, name string)
	EnqueueAfter(namespace, name string, duration time.Duration)

	Cache() UpgradeCache
}

func NewUpgradeController

func NewUpgradeController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) UpgradeController

type UpgradeGeneratingHandler

type UpgradeGeneratingHandler func(obj *v1beta1.Upgrade, status v1beta1.UpgradeStatus) ([]runtime.Object, v1beta1.UpgradeStatus, error)

type UpgradeHandler

type UpgradeHandler func(string, *v1beta1.Upgrade) (*v1beta1.Upgrade, error)

type UpgradeIndexer

type UpgradeIndexer func(obj *v1beta1.Upgrade) ([]string, error)

type UpgradeLogCache added in v1.1.2

type UpgradeLogCache interface {
	Get(namespace, name string) (*v1beta1.UpgradeLog, error)
	List(namespace string, selector labels.Selector) ([]*v1beta1.UpgradeLog, error)

	AddIndexer(indexName string, indexer UpgradeLogIndexer)
	GetByIndex(indexName, key string) ([]*v1beta1.UpgradeLog, error)
}

type UpgradeLogClient added in v1.1.2

type UpgradeLogClient interface {
	Create(*v1beta1.UpgradeLog) (*v1beta1.UpgradeLog, error)
	Update(*v1beta1.UpgradeLog) (*v1beta1.UpgradeLog, error)
	UpdateStatus(*v1beta1.UpgradeLog) (*v1beta1.UpgradeLog, error)
	Delete(namespace, name string, options *metav1.DeleteOptions) error
	Get(namespace, name string, options metav1.GetOptions) (*v1beta1.UpgradeLog, error)
	List(namespace string, opts metav1.ListOptions) (*v1beta1.UpgradeLogList, error)
	Watch(namespace string, opts metav1.ListOptions) (watch.Interface, error)
	Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.UpgradeLog, err error)
}

type UpgradeLogController added in v1.1.2

type UpgradeLogController interface {
	generic.ControllerMeta
	UpgradeLogClient

	OnChange(ctx context.Context, name string, sync UpgradeLogHandler)
	OnRemove(ctx context.Context, name string, sync UpgradeLogHandler)
	Enqueue(namespace, name string)
	EnqueueAfter(namespace, name string, duration time.Duration)

	Cache() UpgradeLogCache
}

func NewUpgradeLogController added in v1.1.2

func NewUpgradeLogController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) UpgradeLogController

type UpgradeLogGeneratingHandler added in v1.1.2

type UpgradeLogGeneratingHandler func(obj *v1beta1.UpgradeLog, status v1beta1.UpgradeLogStatus) ([]runtime.Object, v1beta1.UpgradeLogStatus, error)

type UpgradeLogHandler added in v1.1.2

type UpgradeLogHandler func(string, *v1beta1.UpgradeLog) (*v1beta1.UpgradeLog, error)

type UpgradeLogIndexer added in v1.1.2

type UpgradeLogIndexer func(obj *v1beta1.UpgradeLog) ([]string, error)

type UpgradeLogStatusHandler added in v1.1.2

type UpgradeLogStatusHandler func(obj *v1beta1.UpgradeLog, status v1beta1.UpgradeLogStatus) (v1beta1.UpgradeLogStatus, error)

type UpgradeStatusHandler

type UpgradeStatusHandler func(obj *v1beta1.Upgrade, status v1beta1.UpgradeStatus) (v1beta1.UpgradeStatus, error)

type VersionCache added in v1.0.0

type VersionCache interface {
	Get(namespace, name string) (*v1beta1.Version, error)
	List(namespace string, selector labels.Selector) ([]*v1beta1.Version, error)

	AddIndexer(indexName string, indexer VersionIndexer)
	GetByIndex(indexName, key string) ([]*v1beta1.Version, error)
}

type VersionClient added in v1.0.0

type VersionClient interface {
	Create(*v1beta1.Version) (*v1beta1.Version, error)
	Update(*v1beta1.Version) (*v1beta1.Version, error)

	Delete(namespace, name string, options *metav1.DeleteOptions) error
	Get(namespace, name string, options metav1.GetOptions) (*v1beta1.Version, error)
	List(namespace string, opts metav1.ListOptions) (*v1beta1.VersionList, error)
	Watch(namespace string, opts metav1.ListOptions) (watch.Interface, error)
	Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.Version, err error)
}

type VersionController added in v1.0.0

type VersionController interface {
	generic.ControllerMeta
	VersionClient

	OnChange(ctx context.Context, name string, sync VersionHandler)
	OnRemove(ctx context.Context, name string, sync VersionHandler)
	Enqueue(namespace, name string)
	EnqueueAfter(namespace, name string, duration time.Duration)

	Cache() VersionCache
}

func NewVersionController added in v1.0.0

func NewVersionController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) VersionController

type VersionHandler added in v1.0.0

type VersionHandler func(string, *v1beta1.Version) (*v1beta1.Version, error)

type VersionIndexer added in v1.0.0

type VersionIndexer func(obj *v1beta1.Version) ([]string, error)

type VirtualMachineBackupCache

type VirtualMachineBackupCache interface {
	Get(namespace, name string) (*v1beta1.VirtualMachineBackup, error)
	List(namespace string, selector labels.Selector) ([]*v1beta1.VirtualMachineBackup, error)

	AddIndexer(indexName string, indexer VirtualMachineBackupIndexer)
	GetByIndex(indexName, key string) ([]*v1beta1.VirtualMachineBackup, error)
}

type VirtualMachineBackupClient

type VirtualMachineBackupClient interface {
	Create(*v1beta1.VirtualMachineBackup) (*v1beta1.VirtualMachineBackup, error)
	Update(*v1beta1.VirtualMachineBackup) (*v1beta1.VirtualMachineBackup, error)

	Delete(namespace, name string, options *metav1.DeleteOptions) error
	Get(namespace, name string, options metav1.GetOptions) (*v1beta1.VirtualMachineBackup, error)
	List(namespace string, opts metav1.ListOptions) (*v1beta1.VirtualMachineBackupList, error)
	Watch(namespace string, opts metav1.ListOptions) (watch.Interface, error)
	Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.VirtualMachineBackup, err error)
}

type VirtualMachineBackupController

type VirtualMachineBackupController interface {
	generic.ControllerMeta
	VirtualMachineBackupClient

	OnChange(ctx context.Context, name string, sync VirtualMachineBackupHandler)
	OnRemove(ctx context.Context, name string, sync VirtualMachineBackupHandler)
	Enqueue(namespace, name string)
	EnqueueAfter(namespace, name string, duration time.Duration)

	Cache() VirtualMachineBackupCache
}

func NewVirtualMachineBackupController

func NewVirtualMachineBackupController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) VirtualMachineBackupController

type VirtualMachineBackupIndexer

type VirtualMachineBackupIndexer func(obj *v1beta1.VirtualMachineBackup) ([]string, error)

type VirtualMachineImageCache

type VirtualMachineImageCache interface {
	Get(namespace, name string) (*v1beta1.VirtualMachineImage, error)
	List(namespace string, selector labels.Selector) ([]*v1beta1.VirtualMachineImage, error)

	AddIndexer(indexName string, indexer VirtualMachineImageIndexer)
	GetByIndex(indexName, key string) ([]*v1beta1.VirtualMachineImage, error)
}

type VirtualMachineImageClient

type VirtualMachineImageClient interface {
	Create(*v1beta1.VirtualMachineImage) (*v1beta1.VirtualMachineImage, error)
	Update(*v1beta1.VirtualMachineImage) (*v1beta1.VirtualMachineImage, error)
	UpdateStatus(*v1beta1.VirtualMachineImage) (*v1beta1.VirtualMachineImage, error)
	Delete(namespace, name string, options *metav1.DeleteOptions) error
	Get(namespace, name string, options metav1.GetOptions) (*v1beta1.VirtualMachineImage, error)
	List(namespace string, opts metav1.ListOptions) (*v1beta1.VirtualMachineImageList, error)
	Watch(namespace string, opts metav1.ListOptions) (watch.Interface, error)
	Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.VirtualMachineImage, err error)
}

type VirtualMachineImageController

type VirtualMachineImageController interface {
	generic.ControllerMeta
	VirtualMachineImageClient

	OnChange(ctx context.Context, name string, sync VirtualMachineImageHandler)
	OnRemove(ctx context.Context, name string, sync VirtualMachineImageHandler)
	Enqueue(namespace, name string)
	EnqueueAfter(namespace, name string, duration time.Duration)

	Cache() VirtualMachineImageCache
}

func NewVirtualMachineImageController

func NewVirtualMachineImageController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) VirtualMachineImageController

type VirtualMachineImageIndexer

type VirtualMachineImageIndexer func(obj *v1beta1.VirtualMachineImage) ([]string, error)

type VirtualMachineRestoreCache

type VirtualMachineRestoreCache interface {
	Get(namespace, name string) (*v1beta1.VirtualMachineRestore, error)
	List(namespace string, selector labels.Selector) ([]*v1beta1.VirtualMachineRestore, error)

	AddIndexer(indexName string, indexer VirtualMachineRestoreIndexer)
	GetByIndex(indexName, key string) ([]*v1beta1.VirtualMachineRestore, error)
}

type VirtualMachineRestoreClient

type VirtualMachineRestoreClient interface {
	Create(*v1beta1.VirtualMachineRestore) (*v1beta1.VirtualMachineRestore, error)
	Update(*v1beta1.VirtualMachineRestore) (*v1beta1.VirtualMachineRestore, error)

	Delete(namespace, name string, options *metav1.DeleteOptions) error
	Get(namespace, name string, options metav1.GetOptions) (*v1beta1.VirtualMachineRestore, error)
	List(namespace string, opts metav1.ListOptions) (*v1beta1.VirtualMachineRestoreList, error)
	Watch(namespace string, opts metav1.ListOptions) (watch.Interface, error)
	Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.VirtualMachineRestore, err error)
}

type VirtualMachineRestoreController

type VirtualMachineRestoreController interface {
	generic.ControllerMeta
	VirtualMachineRestoreClient

	OnChange(ctx context.Context, name string, sync VirtualMachineRestoreHandler)
	OnRemove(ctx context.Context, name string, sync VirtualMachineRestoreHandler)
	Enqueue(namespace, name string)
	EnqueueAfter(namespace, name string, duration time.Duration)

	Cache() VirtualMachineRestoreCache
}

func NewVirtualMachineRestoreController

func NewVirtualMachineRestoreController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) VirtualMachineRestoreController

type VirtualMachineRestoreIndexer

type VirtualMachineRestoreIndexer func(obj *v1beta1.VirtualMachineRestore) ([]string, error)

type VirtualMachineTemplateCache

type VirtualMachineTemplateCache interface {
	Get(namespace, name string) (*v1beta1.VirtualMachineTemplate, error)
	List(namespace string, selector labels.Selector) ([]*v1beta1.VirtualMachineTemplate, error)

	AddIndexer(indexName string, indexer VirtualMachineTemplateIndexer)
	GetByIndex(indexName, key string) ([]*v1beta1.VirtualMachineTemplate, error)
}

type VirtualMachineTemplateClient

type VirtualMachineTemplateClient interface {
	Create(*v1beta1.VirtualMachineTemplate) (*v1beta1.VirtualMachineTemplate, error)
	Update(*v1beta1.VirtualMachineTemplate) (*v1beta1.VirtualMachineTemplate, error)
	UpdateStatus(*v1beta1.VirtualMachineTemplate) (*v1beta1.VirtualMachineTemplate, error)
	Delete(namespace, name string, options *metav1.DeleteOptions) error
	Get(namespace, name string, options metav1.GetOptions) (*v1beta1.VirtualMachineTemplate, error)
	List(namespace string, opts metav1.ListOptions) (*v1beta1.VirtualMachineTemplateList, error)
	Watch(namespace string, opts metav1.ListOptions) (watch.Interface, error)
	Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.VirtualMachineTemplate, err error)
}

type VirtualMachineTemplateController

type VirtualMachineTemplateController interface {
	generic.ControllerMeta
	VirtualMachineTemplateClient

	OnChange(ctx context.Context, name string, sync VirtualMachineTemplateHandler)
	OnRemove(ctx context.Context, name string, sync VirtualMachineTemplateHandler)
	Enqueue(namespace, name string)
	EnqueueAfter(namespace, name string, duration time.Duration)

	Cache() VirtualMachineTemplateCache
}

func NewVirtualMachineTemplateController

func NewVirtualMachineTemplateController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) VirtualMachineTemplateController

type VirtualMachineTemplateIndexer

type VirtualMachineTemplateIndexer func(obj *v1beta1.VirtualMachineTemplate) ([]string, error)

type VirtualMachineTemplateVersionCache

type VirtualMachineTemplateVersionCache interface {
	Get(namespace, name string) (*v1beta1.VirtualMachineTemplateVersion, error)
	List(namespace string, selector labels.Selector) ([]*v1beta1.VirtualMachineTemplateVersion, error)

	AddIndexer(indexName string, indexer VirtualMachineTemplateVersionIndexer)
	GetByIndex(indexName, key string) ([]*v1beta1.VirtualMachineTemplateVersion, error)
}

type VirtualMachineTemplateVersionController

type VirtualMachineTemplateVersionController interface {
	generic.ControllerMeta
	VirtualMachineTemplateVersionClient

	OnChange(ctx context.Context, name string, sync VirtualMachineTemplateVersionHandler)
	OnRemove(ctx context.Context, name string, sync VirtualMachineTemplateVersionHandler)
	Enqueue(namespace, name string)
	EnqueueAfter(namespace, name string, duration time.Duration)

	Cache() VirtualMachineTemplateVersionCache
}

func NewVirtualMachineTemplateVersionController

func NewVirtualMachineTemplateVersionController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) VirtualMachineTemplateVersionController

type VirtualMachineTemplateVersionIndexer

type VirtualMachineTemplateVersionIndexer func(obj *v1beta1.VirtualMachineTemplateVersion) ([]string, error)

Jump to

Keyboard shortcuts

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