v1beta1

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

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