Documentation ¶
Index ¶
- func FromBackingImageDataSourceHandlerToHandler(sync BackingImageDataSourceHandler) generic.Handler
- func FromBackingImageHandlerToHandler(sync BackingImageHandler) generic.Handler
- func FromBackupHandlerToHandler(sync BackupHandler) generic.Handler
- func FromReplicaHandlerToHandler(sync ReplicaHandler) generic.Handler
- func FromSettingHandlerToHandler(sync SettingHandler) generic.Handler
- func FromVolumeHandlerToHandler(sync VolumeHandler) generic.Handler
- func RegisterBackingImageDataSourceGeneratingHandler(ctx context.Context, controller BackingImageDataSourceController, ...)
- func RegisterBackingImageDataSourceStatusHandler(ctx context.Context, controller BackingImageDataSourceController, ...)
- func RegisterBackingImageGeneratingHandler(ctx context.Context, controller BackingImageController, apply apply.Apply, ...)
- func RegisterBackingImageStatusHandler(ctx context.Context, controller BackingImageController, ...)
- func RegisterBackupGeneratingHandler(ctx context.Context, controller BackupController, apply apply.Apply, ...)
- func RegisterBackupStatusHandler(ctx context.Context, controller BackupController, condition condition.Cond, ...)
- func RegisterReplicaGeneratingHandler(ctx context.Context, controller ReplicaController, apply apply.Apply, ...)
- func RegisterReplicaStatusHandler(ctx context.Context, controller ReplicaController, condition condition.Cond, ...)
- func RegisterVolumeGeneratingHandler(ctx context.Context, controller VolumeController, apply apply.Apply, ...)
- func RegisterVolumeStatusHandler(ctx context.Context, controller VolumeController, condition condition.Cond, ...)
- func UpdateBackingImageDataSourceDeepCopyOnChange(client BackingImageDataSourceClient, obj *v1beta1.BackingImageDataSource, ...) (*v1beta1.BackingImageDataSource, error)
- func UpdateBackingImageDeepCopyOnChange(client BackingImageClient, obj *v1beta1.BackingImage, ...) (*v1beta1.BackingImage, error)
- func UpdateBackupDeepCopyOnChange(client BackupClient, obj *v1beta1.Backup, ...) (*v1beta1.Backup, error)
- func UpdateReplicaDeepCopyOnChange(client ReplicaClient, obj *v1beta1.Replica, ...) (*v1beta1.Replica, error)
- func UpdateSettingDeepCopyOnChange(client SettingClient, obj *v1beta1.Setting, ...) (*v1beta1.Setting, error)
- func UpdateVolumeDeepCopyOnChange(client VolumeClient, obj *v1beta1.Volume, ...) (*v1beta1.Volume, error)
- type BackingImageCache
- type BackingImageClient
- type BackingImageController
- type BackingImageDataSourceCache
- type BackingImageDataSourceClient
- type BackingImageDataSourceController
- type BackingImageDataSourceGeneratingHandler
- type BackingImageDataSourceHandler
- type BackingImageDataSourceIndexer
- type BackingImageDataSourceStatusHandler
- type BackingImageGeneratingHandler
- type BackingImageHandler
- type BackingImageIndexer
- type BackingImageStatusHandler
- type BackupCache
- type BackupClient
- type BackupController
- type BackupGeneratingHandler
- type BackupHandler
- type BackupIndexer
- type BackupStatusHandler
- type Interface
- type ReplicaCache
- type ReplicaClient
- type ReplicaController
- type ReplicaGeneratingHandler
- type ReplicaHandler
- type ReplicaIndexer
- type ReplicaStatusHandler
- type SettingCache
- type SettingClient
- type SettingController
- type SettingHandler
- type SettingIndexer
- type VolumeCache
- type VolumeClient
- type VolumeController
- type VolumeGeneratingHandler
- type VolumeHandler
- type VolumeIndexer
- type VolumeStatusHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromBackingImageDataSourceHandlerToHandler ¶ added in v0.3.0
func FromBackingImageDataSourceHandlerToHandler(sync BackingImageDataSourceHandler) generic.Handler
func FromBackingImageHandlerToHandler ¶ added in v0.3.0
func FromBackingImageHandlerToHandler(sync BackingImageHandler) generic.Handler
func FromBackupHandlerToHandler ¶ added in v1.0.0
func FromBackupHandlerToHandler(sync BackupHandler) generic.Handler
func FromReplicaHandlerToHandler ¶ added in v1.1.2
func FromReplicaHandlerToHandler(sync ReplicaHandler) generic.Handler
func FromSettingHandlerToHandler ¶
func FromSettingHandlerToHandler(sync SettingHandler) generic.Handler
func FromVolumeHandlerToHandler ¶
func FromVolumeHandlerToHandler(sync VolumeHandler) generic.Handler
func RegisterBackingImageDataSourceGeneratingHandler ¶ added in v1.0.0
func RegisterBackingImageDataSourceGeneratingHandler(ctx context.Context, controller BackingImageDataSourceController, apply apply.Apply, condition condition.Cond, name string, handler BackingImageDataSourceGeneratingHandler, opts *generic.GeneratingHandlerOptions)
func RegisterBackingImageDataSourceStatusHandler ¶ added in v1.0.0
func RegisterBackingImageDataSourceStatusHandler(ctx context.Context, controller BackingImageDataSourceController, condition condition.Cond, name string, handler BackingImageDataSourceStatusHandler)
func RegisterBackingImageGeneratingHandler ¶ added in v1.0.0
func RegisterBackingImageGeneratingHandler(ctx context.Context, controller BackingImageController, apply apply.Apply, condition condition.Cond, name string, handler BackingImageGeneratingHandler, opts *generic.GeneratingHandlerOptions)
func RegisterBackingImageStatusHandler ¶ added in v1.0.0
func RegisterBackingImageStatusHandler(ctx context.Context, controller BackingImageController, condition condition.Cond, name string, handler BackingImageStatusHandler)
func RegisterBackupGeneratingHandler ¶ added in v1.0.0
func RegisterBackupGeneratingHandler(ctx context.Context, controller BackupController, apply apply.Apply, condition condition.Cond, name string, handler BackupGeneratingHandler, opts *generic.GeneratingHandlerOptions)
func RegisterBackupStatusHandler ¶ added in v1.0.0
func RegisterBackupStatusHandler(ctx context.Context, controller BackupController, condition condition.Cond, name string, handler BackupStatusHandler)
func RegisterReplicaGeneratingHandler ¶ added in v1.1.2
func RegisterReplicaGeneratingHandler(ctx context.Context, controller ReplicaController, apply apply.Apply, condition condition.Cond, name string, handler ReplicaGeneratingHandler, opts *generic.GeneratingHandlerOptions)
func RegisterReplicaStatusHandler ¶ added in v1.1.2
func RegisterReplicaStatusHandler(ctx context.Context, controller ReplicaController, condition condition.Cond, name string, handler ReplicaStatusHandler)
func RegisterVolumeGeneratingHandler ¶ added in v1.0.0
func RegisterVolumeGeneratingHandler(ctx context.Context, controller VolumeController, apply apply.Apply, condition condition.Cond, name string, handler VolumeGeneratingHandler, opts *generic.GeneratingHandlerOptions)
func RegisterVolumeStatusHandler ¶ added in v1.0.0
func RegisterVolumeStatusHandler(ctx context.Context, controller VolumeController, condition condition.Cond, name string, handler VolumeStatusHandler)
func UpdateBackingImageDataSourceDeepCopyOnChange ¶ added in v0.3.0
func UpdateBackingImageDataSourceDeepCopyOnChange(client BackingImageDataSourceClient, obj *v1beta1.BackingImageDataSource, handler func(obj *v1beta1.BackingImageDataSource) (*v1beta1.BackingImageDataSource, error)) (*v1beta1.BackingImageDataSource, error)
func UpdateBackingImageDeepCopyOnChange ¶ added in v0.3.0
func UpdateBackingImageDeepCopyOnChange(client BackingImageClient, obj *v1beta1.BackingImage, handler func(obj *v1beta1.BackingImage) (*v1beta1.BackingImage, error)) (*v1beta1.BackingImage, error)
func UpdateBackupDeepCopyOnChange ¶ added in v1.0.0
func UpdateReplicaDeepCopyOnChange ¶ added in v1.1.2
Types ¶
type BackingImageCache ¶ added in v0.3.0
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 ¶ added in v0.3.0
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 ¶ added in v0.3.0
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 ¶ added in v0.3.0
func NewBackingImageController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) BackingImageController
type BackingImageDataSourceCache ¶ added in v0.3.0
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 ¶ added in v0.3.0
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 ¶ added in v0.3.0
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 ¶ added in v0.3.0
func NewBackingImageDataSourceController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) BackingImageDataSourceController
type BackingImageDataSourceGeneratingHandler ¶ added in v1.0.0
type BackingImageDataSourceGeneratingHandler func(obj *v1beta1.BackingImageDataSource, status v1beta1.BackingImageDataSourceStatus) ([]runtime.Object, v1beta1.BackingImageDataSourceStatus, error)
type BackingImageDataSourceHandler ¶ added in v0.3.0
type BackingImageDataSourceHandler func(string, *v1beta1.BackingImageDataSource) (*v1beta1.BackingImageDataSource, error)
type BackingImageDataSourceIndexer ¶ added in v0.3.0
type BackingImageDataSourceIndexer func(obj *v1beta1.BackingImageDataSource) ([]string, error)
type BackingImageDataSourceStatusHandler ¶ added in v1.0.0
type BackingImageDataSourceStatusHandler func(obj *v1beta1.BackingImageDataSource, status v1beta1.BackingImageDataSourceStatus) (v1beta1.BackingImageDataSourceStatus, error)
type BackingImageGeneratingHandler ¶ added in v1.0.0
type BackingImageGeneratingHandler func(obj *v1beta1.BackingImage, status v1beta1.BackingImageStatus) ([]runtime.Object, v1beta1.BackingImageStatus, error)
type BackingImageHandler ¶ added in v0.3.0
type BackingImageHandler func(string, *v1beta1.BackingImage) (*v1beta1.BackingImage, error)
type BackingImageIndexer ¶ added in v0.3.0
type BackingImageIndexer func(obj *v1beta1.BackingImage) ([]string, error)
type BackingImageStatusHandler ¶ added in v1.0.0
type BackingImageStatusHandler func(obj *v1beta1.BackingImage, status v1beta1.BackingImageStatus) (v1beta1.BackingImageStatus, error)
type BackupCache ¶ added in v1.0.0
type BackupClient ¶ added in v1.0.0
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 ¶ added in v1.0.0
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 ¶ added in v1.0.0
func NewBackupController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) BackupController
type BackupGeneratingHandler ¶ added in v1.0.0
type BackupGeneratingHandler func(obj *v1beta1.Backup, status v1beta1.BackupStatus) ([]runtime.Object, v1beta1.BackupStatus, error)
type BackupHandler ¶ added in v1.0.0
type BackupStatusHandler ¶ added in v1.0.0
type BackupStatusHandler func(obj *v1beta1.Backup, status v1beta1.BackupStatus) (v1beta1.BackupStatus, error)
type Interface ¶
type Interface interface { BackingImage() BackingImageController BackingImageDataSource() BackingImageDataSourceController Backup() BackupController Replica() ReplicaController Setting() SettingController Volume() VolumeController }
func New ¶
func New(controllerFactory controller.SharedControllerFactory) Interface
type ReplicaCache ¶ added in v1.1.2
type ReplicaClient ¶ added in v1.1.2
type ReplicaClient interface { Create(*v1beta1.Replica) (*v1beta1.Replica, error) Update(*v1beta1.Replica) (*v1beta1.Replica, error) UpdateStatus(*v1beta1.Replica) (*v1beta1.Replica, error) Delete(namespace, name string, options *metav1.DeleteOptions) error Get(namespace, name string, options metav1.GetOptions) (*v1beta1.Replica, error) List(namespace string, opts metav1.ListOptions) (*v1beta1.ReplicaList, error) Watch(namespace string, opts metav1.ListOptions) (watch.Interface, error) Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.Replica, err error) }
type ReplicaController ¶ added in v1.1.2
type ReplicaController interface { generic.ControllerMeta ReplicaClient OnChange(ctx context.Context, name string, sync ReplicaHandler) OnRemove(ctx context.Context, name string, sync ReplicaHandler) Enqueue(namespace, name string) EnqueueAfter(namespace, name string, duration time.Duration) Cache() ReplicaCache }
func NewReplicaController ¶ added in v1.1.2
func NewReplicaController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) ReplicaController
type ReplicaGeneratingHandler ¶ added in v1.1.2
type ReplicaGeneratingHandler func(obj *v1beta1.Replica, status v1beta1.ReplicaStatus) ([]runtime.Object, v1beta1.ReplicaStatus, error)
type ReplicaHandler ¶ added in v1.1.2
type ReplicaIndexer ¶ added in v1.1.2
type ReplicaStatusHandler ¶ added in v1.1.2
type ReplicaStatusHandler func(obj *v1beta1.Replica, status v1beta1.ReplicaStatus) (v1beta1.ReplicaStatus, error)
type SettingCache ¶
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 VolumeCache ¶
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 ¶ added in v1.0.0
type VolumeGeneratingHandler func(obj *v1beta1.Volume, status v1beta1.VolumeStatus) ([]runtime.Object, v1beta1.VolumeStatus, error)
type VolumeStatusHandler ¶ added in v1.0.0
type VolumeStatusHandler func(obj *v1beta1.Volume, status v1beta1.VolumeStatus) (v1beta1.VolumeStatus, error)
Click to show internal directories.
Click to hide internal directories.