Documentation ¶
Index ¶
- func FromVolumeSnapshotClassHandlerToHandler(sync VolumeSnapshotClassHandler) generic.Handler
- func FromVolumeSnapshotContentHandlerToHandler(sync VolumeSnapshotContentHandler) generic.Handler
- func FromVolumeSnapshotHandlerToHandler(sync VolumeSnapshotHandler) generic.Handler
- func UpdateVolumeSnapshotClassDeepCopyOnChange(client VolumeSnapshotClassClient, obj *v1beta1.VolumeSnapshotClass, ...) (*v1beta1.VolumeSnapshotClass, error)
- func UpdateVolumeSnapshotContentDeepCopyOnChange(client VolumeSnapshotContentClient, obj *v1beta1.VolumeSnapshotContent, ...) (*v1beta1.VolumeSnapshotContent, error)
- func UpdateVolumeSnapshotDeepCopyOnChange(client VolumeSnapshotClient, obj *v1beta1.VolumeSnapshot, ...) (*v1beta1.VolumeSnapshot, error)
- type Interface
- type VolumeSnapshotCache
- type VolumeSnapshotClassCache
- type VolumeSnapshotClassClient
- type VolumeSnapshotClassController
- type VolumeSnapshotClassHandler
- type VolumeSnapshotClassIndexer
- type VolumeSnapshotClient
- type VolumeSnapshotContentCache
- type VolumeSnapshotContentClient
- type VolumeSnapshotContentController
- type VolumeSnapshotContentHandler
- type VolumeSnapshotContentIndexer
- type VolumeSnapshotController
- type VolumeSnapshotHandler
- type VolumeSnapshotIndexer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromVolumeSnapshotClassHandlerToHandler ¶
func FromVolumeSnapshotClassHandlerToHandler(sync VolumeSnapshotClassHandler) generic.Handler
func FromVolumeSnapshotContentHandlerToHandler ¶
func FromVolumeSnapshotContentHandlerToHandler(sync VolumeSnapshotContentHandler) generic.Handler
func FromVolumeSnapshotHandlerToHandler ¶
func FromVolumeSnapshotHandlerToHandler(sync VolumeSnapshotHandler) generic.Handler
func UpdateVolumeSnapshotClassDeepCopyOnChange ¶
func UpdateVolumeSnapshotClassDeepCopyOnChange(client VolumeSnapshotClassClient, obj *v1beta1.VolumeSnapshotClass, handler func(obj *v1beta1.VolumeSnapshotClass) (*v1beta1.VolumeSnapshotClass, error)) (*v1beta1.VolumeSnapshotClass, error)
func UpdateVolumeSnapshotContentDeepCopyOnChange ¶
func UpdateVolumeSnapshotContentDeepCopyOnChange(client VolumeSnapshotContentClient, obj *v1beta1.VolumeSnapshotContent, handler func(obj *v1beta1.VolumeSnapshotContent) (*v1beta1.VolumeSnapshotContent, error)) (*v1beta1.VolumeSnapshotContent, error)
func UpdateVolumeSnapshotDeepCopyOnChange ¶
func UpdateVolumeSnapshotDeepCopyOnChange(client VolumeSnapshotClient, obj *v1beta1.VolumeSnapshot, handler func(obj *v1beta1.VolumeSnapshot) (*v1beta1.VolumeSnapshot, error)) (*v1beta1.VolumeSnapshot, error)
Types ¶
type Interface ¶
type Interface interface { VolumeSnapshot() VolumeSnapshotController VolumeSnapshotClass() VolumeSnapshotClassController VolumeSnapshotContent() VolumeSnapshotContentController }
func New ¶
func New(controllerFactory controller.SharedControllerFactory) Interface
type VolumeSnapshotCache ¶
type VolumeSnapshotCache interface { Get(namespace, name string) (*v1beta1.VolumeSnapshot, error) List(namespace string, selector labels.Selector) ([]*v1beta1.VolumeSnapshot, error) AddIndexer(indexName string, indexer VolumeSnapshotIndexer) GetByIndex(indexName, key string) ([]*v1beta1.VolumeSnapshot, error) }
type VolumeSnapshotClassCache ¶
type VolumeSnapshotClassCache interface { Get(name string) (*v1beta1.VolumeSnapshotClass, error) List(selector labels.Selector) ([]*v1beta1.VolumeSnapshotClass, error) AddIndexer(indexName string, indexer VolumeSnapshotClassIndexer) GetByIndex(indexName, key string) ([]*v1beta1.VolumeSnapshotClass, error) }
type VolumeSnapshotClassClient ¶
type VolumeSnapshotClassClient interface { Create(*v1beta1.VolumeSnapshotClass) (*v1beta1.VolumeSnapshotClass, error) Update(*v1beta1.VolumeSnapshotClass) (*v1beta1.VolumeSnapshotClass, error) Delete(name string, options *metav1.DeleteOptions) error Get(name string, options metav1.GetOptions) (*v1beta1.VolumeSnapshotClass, error) List(opts metav1.ListOptions) (*v1beta1.VolumeSnapshotClassList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.VolumeSnapshotClass, err error) }
type VolumeSnapshotClassController ¶
type VolumeSnapshotClassController interface { generic.ControllerMeta VolumeSnapshotClassClient OnChange(ctx context.Context, name string, sync VolumeSnapshotClassHandler) OnRemove(ctx context.Context, name string, sync VolumeSnapshotClassHandler) Enqueue(name string) EnqueueAfter(name string, duration time.Duration) Cache() VolumeSnapshotClassCache }
func NewVolumeSnapshotClassController ¶
func NewVolumeSnapshotClassController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) VolumeSnapshotClassController
type VolumeSnapshotClassHandler ¶
type VolumeSnapshotClassHandler func(string, *v1beta1.VolumeSnapshotClass) (*v1beta1.VolumeSnapshotClass, error)
type VolumeSnapshotClassIndexer ¶
type VolumeSnapshotClassIndexer func(obj *v1beta1.VolumeSnapshotClass) ([]string, error)
type VolumeSnapshotClient ¶
type VolumeSnapshotClient interface { Create(*v1beta1.VolumeSnapshot) (*v1beta1.VolumeSnapshot, error) Update(*v1beta1.VolumeSnapshot) (*v1beta1.VolumeSnapshot, error) Delete(namespace, name string, options *metav1.DeleteOptions) error Get(namespace, name string, options metav1.GetOptions) (*v1beta1.VolumeSnapshot, error) List(namespace string, opts metav1.ListOptions) (*v1beta1.VolumeSnapshotList, error) Watch(namespace string, opts metav1.ListOptions) (watch.Interface, error) Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.VolumeSnapshot, err error) }
type VolumeSnapshotContentCache ¶
type VolumeSnapshotContentCache interface { Get(name string) (*v1beta1.VolumeSnapshotContent, error) List(selector labels.Selector) ([]*v1beta1.VolumeSnapshotContent, error) AddIndexer(indexName string, indexer VolumeSnapshotContentIndexer) GetByIndex(indexName, key string) ([]*v1beta1.VolumeSnapshotContent, error) }
type VolumeSnapshotContentClient ¶
type VolumeSnapshotContentClient interface { Create(*v1beta1.VolumeSnapshotContent) (*v1beta1.VolumeSnapshotContent, error) Update(*v1beta1.VolumeSnapshotContent) (*v1beta1.VolumeSnapshotContent, error) Delete(name string, options *metav1.DeleteOptions) error Get(name string, options metav1.GetOptions) (*v1beta1.VolumeSnapshotContent, error) List(opts metav1.ListOptions) (*v1beta1.VolumeSnapshotContentList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.VolumeSnapshotContent, err error) }
type VolumeSnapshotContentController ¶
type VolumeSnapshotContentController interface { generic.ControllerMeta VolumeSnapshotContentClient OnChange(ctx context.Context, name string, sync VolumeSnapshotContentHandler) OnRemove(ctx context.Context, name string, sync VolumeSnapshotContentHandler) Enqueue(name string) EnqueueAfter(name string, duration time.Duration) Cache() VolumeSnapshotContentCache }
func NewVolumeSnapshotContentController ¶
func NewVolumeSnapshotContentController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) VolumeSnapshotContentController
type VolumeSnapshotContentHandler ¶
type VolumeSnapshotContentHandler func(string, *v1beta1.VolumeSnapshotContent) (*v1beta1.VolumeSnapshotContent, error)
type VolumeSnapshotContentIndexer ¶
type VolumeSnapshotContentIndexer func(obj *v1beta1.VolumeSnapshotContent) ([]string, error)
type VolumeSnapshotController ¶
type VolumeSnapshotController interface { generic.ControllerMeta VolumeSnapshotClient OnChange(ctx context.Context, name string, sync VolumeSnapshotHandler) OnRemove(ctx context.Context, name string, sync VolumeSnapshotHandler) Enqueue(namespace, name string) EnqueueAfter(namespace, name string, duration time.Duration) Cache() VolumeSnapshotCache }
func NewVolumeSnapshotController ¶
func NewVolumeSnapshotController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) VolumeSnapshotController
type VolumeSnapshotHandler ¶
type VolumeSnapshotHandler func(string, *v1beta1.VolumeSnapshot) (*v1beta1.VolumeSnapshot, error)
type VolumeSnapshotIndexer ¶
type VolumeSnapshotIndexer func(obj *v1beta1.VolumeSnapshot) ([]string, error)
Click to show internal directories.
Click to hide internal directories.