v1beta1

package
v0.0.2-pre Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2022 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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 FromVersionHandlerToHandler

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 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 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 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 UpdateVersionDeepCopyOnChange

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

Types

type Interface

type Interface interface {
	KeyPair() KeyPairController
	Preference() PreferenceController
	Setting() SettingController
	SupportBundle() SupportBundleController
	Upgrade() UpgradeController
	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 UpgradeStatusHandler

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

type VersionCache

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

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

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

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

type VersionHandler

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

type VersionIndexer

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