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 FromBackingImageDataSourceHandlerToHandler

func FromBackingImageDataSourceHandlerToHandler(sync BackingImageDataSourceHandler) generic.Handler

func FromBackingImageHandlerToHandler

func FromBackingImageHandlerToHandler(sync BackingImageHandler) generic.Handler

func FromBackupHandlerToHandler

func FromBackupHandlerToHandler(sync BackupHandler) generic.Handler

func FromSettingHandlerToHandler

func FromSettingHandlerToHandler(sync SettingHandler) generic.Handler

func FromVolumeHandlerToHandler

func FromVolumeHandlerToHandler(sync VolumeHandler) generic.Handler

func RegisterBackingImageDataSourceStatusHandler

func RegisterBackingImageDataSourceStatusHandler(ctx context.Context, controller BackingImageDataSourceController, condition condition.Cond, name string, handler BackingImageDataSourceStatusHandler)

func RegisterBackingImageGeneratingHandler

func RegisterBackingImageGeneratingHandler(ctx context.Context, controller BackingImageController, apply apply.Apply,
	condition condition.Cond, name string, handler BackingImageGeneratingHandler, opts *generic.GeneratingHandlerOptions)

func RegisterBackingImageStatusHandler

func RegisterBackingImageStatusHandler(ctx context.Context, controller BackingImageController, condition condition.Cond, name string, handler BackingImageStatusHandler)

func RegisterBackupGeneratingHandler

func RegisterBackupGeneratingHandler(ctx context.Context, controller BackupController, apply apply.Apply,
	condition condition.Cond, name string, handler BackupGeneratingHandler, opts *generic.GeneratingHandlerOptions)

func RegisterBackupStatusHandler

func RegisterBackupStatusHandler(ctx context.Context, controller BackupController, condition condition.Cond, name string, handler BackupStatusHandler)

func RegisterVolumeGeneratingHandler

func RegisterVolumeGeneratingHandler(ctx context.Context, controller VolumeController, apply apply.Apply,
	condition condition.Cond, name string, handler VolumeGeneratingHandler, opts *generic.GeneratingHandlerOptions)

func RegisterVolumeStatusHandler

func RegisterVolumeStatusHandler(ctx context.Context, controller VolumeController, condition condition.Cond, name string, handler VolumeStatusHandler)

func UpdateBackingImageDeepCopyOnChange

func UpdateBackingImageDeepCopyOnChange(client BackingImageClient, obj *v1beta1.BackingImage, handler func(obj *v1beta1.BackingImage) (*v1beta1.BackingImage, error)) (*v1beta1.BackingImage, error)

func UpdateBackupDeepCopyOnChange

func UpdateBackupDeepCopyOnChange(client BackupClient, obj *v1beta1.Backup, handler func(obj *v1beta1.Backup) (*v1beta1.Backup, error)) (*v1beta1.Backup, error)

func UpdateSettingDeepCopyOnChange

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

func UpdateVolumeDeepCopyOnChange

func UpdateVolumeDeepCopyOnChange(client VolumeClient, obj *v1beta1.Volume, handler func(obj *v1beta1.Volume) (*v1beta1.Volume, error)) (*v1beta1.Volume, error)

Types

type BackingImageCache

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

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

type BackingImageClient

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

type BackingImageController

type BackingImageController interface {
	generic.ControllerMeta
	BackingImageClient

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

	Cache() BackingImageCache
}

func NewBackingImageController

func NewBackingImageController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) BackingImageController

type BackingImageDataSourceCache

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

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

type BackingImageDataSourceClient

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

type BackingImageDataSourceController

type BackingImageDataSourceController interface {
	generic.ControllerMeta
	BackingImageDataSourceClient

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

	Cache() BackingImageDataSourceCache
}

func NewBackingImageDataSourceController

func NewBackingImageDataSourceController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) BackingImageDataSourceController

type BackingImageDataSourceIndexer

type BackingImageDataSourceIndexer func(obj *v1beta1.BackingImageDataSource) ([]string, error)

type BackingImageHandler

type BackingImageHandler func(string, *v1beta1.BackingImage) (*v1beta1.BackingImage, error)

type BackingImageIndexer

type BackingImageIndexer func(obj *v1beta1.BackingImage) ([]string, error)

type BackingImageStatusHandler

type BackingImageStatusHandler func(obj *v1beta1.BackingImage, status v1beta1.BackingImageStatus) (v1beta1.BackingImageStatus, error)

type BackupCache

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

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

type BackupClient

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

type BackupController

type BackupController interface {
	generic.ControllerMeta
	BackupClient

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

	Cache() BackupCache
}

func NewBackupController

func NewBackupController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) BackupController

type BackupGeneratingHandler

type BackupGeneratingHandler func(obj *v1beta1.Backup, status v1beta1.BackupStatus) ([]runtime.Object, v1beta1.BackupStatus, error)

type BackupHandler

type BackupHandler func(string, *v1beta1.Backup) (*v1beta1.Backup, error)

type BackupIndexer

type BackupIndexer func(obj *v1beta1.Backup) ([]string, error)

type BackupStatusHandler

type BackupStatusHandler func(obj *v1beta1.Backup, status v1beta1.BackupStatus) (v1beta1.BackupStatus, error)

type Interface

type Interface interface {
	BackingImage() BackingImageController
	BackingImageDataSource() BackingImageDataSourceController
	Backup() BackupController
	Setting() SettingController
	Volume() VolumeController
}

func New

func New(controllerFactory controller.SharedControllerFactory) Interface

type SettingCache

type SettingCache interface {
	Get(namespace, name string) (*v1beta1.Setting, error)
	List(namespace string, 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)

	Delete(namespace, name string, options *metav1.DeleteOptions) error
	Get(namespace, name string, options metav1.GetOptions) (*v1beta1.Setting, error)
	List(namespace string, opts metav1.ListOptions) (*v1beta1.SettingList, error)
	Watch(namespace string, opts metav1.ListOptions) (watch.Interface, error)
	Patch(namespace, 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(namespace, name string)
	EnqueueAfter(namespace, name string, duration time.Duration)

	Cache() SettingCache
}

func NewSettingController

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

type SettingHandler

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

type SettingIndexer

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

type VolumeCache

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

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

type VolumeClient

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

type VolumeController

type VolumeController interface {
	generic.ControllerMeta
	VolumeClient

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

	Cache() VolumeCache
}

func NewVolumeController

func NewVolumeController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) VolumeController

type VolumeGeneratingHandler

type VolumeGeneratingHandler func(obj *v1beta1.Volume, status v1beta1.VolumeStatus) ([]runtime.Object, v1beta1.VolumeStatus, error)

type VolumeHandler

type VolumeHandler func(string, *v1beta1.Volume) (*v1beta1.Volume, error)

type VolumeIndexer

type VolumeIndexer func(obj *v1beta1.Volume) ([]string, error)

type VolumeStatusHandler

type VolumeStatusHandler func(obj *v1beta1.Volume, status v1beta1.VolumeStatus) (v1beta1.VolumeStatus, error)

Jump to

Keyboard shortcuts

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