v1

package
v1.2.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 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 UpdateVolumeSnapshotClassDeepCopyOnChange

func UpdateVolumeSnapshotClassDeepCopyOnChange(client VolumeSnapshotClassClient, obj *v1.VolumeSnapshotClass, handler func(obj *v1.VolumeSnapshotClass) (*v1.VolumeSnapshotClass, error)) (*v1.VolumeSnapshotClass, error)

func UpdateVolumeSnapshotDeepCopyOnChange

func UpdateVolumeSnapshotDeepCopyOnChange(client VolumeSnapshotClient, obj *v1.VolumeSnapshot, handler func(obj *v1.VolumeSnapshot) (*v1.VolumeSnapshot, error)) (*v1.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) (*v1.VolumeSnapshot, error)
	List(namespace string, selector labels.Selector) ([]*v1.VolumeSnapshot, error)

	AddIndexer(indexName string, indexer VolumeSnapshotIndexer)
	GetByIndex(indexName, key string) ([]*v1.VolumeSnapshot, error)
}

type VolumeSnapshotClassCache

type VolumeSnapshotClassCache interface {
	Get(name string) (*v1.VolumeSnapshotClass, error)
	List(selector labels.Selector) ([]*v1.VolumeSnapshotClass, error)

	AddIndexer(indexName string, indexer VolumeSnapshotClassIndexer)
	GetByIndex(indexName, key string) ([]*v1.VolumeSnapshotClass, error)
}

type VolumeSnapshotClassClient

type VolumeSnapshotClassClient interface {
	Create(*v1.VolumeSnapshotClass) (*v1.VolumeSnapshotClass, error)
	Update(*v1.VolumeSnapshotClass) (*v1.VolumeSnapshotClass, error)

	Delete(name string, options *metav1.DeleteOptions) error
	Get(name string, options metav1.GetOptions) (*v1.VolumeSnapshotClass, error)
	List(opts metav1.ListOptions) (*v1.VolumeSnapshotClassList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.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, *v1.VolumeSnapshotClass) (*v1.VolumeSnapshotClass, error)

type VolumeSnapshotClassIndexer

type VolumeSnapshotClassIndexer func(obj *v1.VolumeSnapshotClass) ([]string, error)

type VolumeSnapshotClient

type VolumeSnapshotClient interface {
	Create(*v1.VolumeSnapshot) (*v1.VolumeSnapshot, error)
	Update(*v1.VolumeSnapshot) (*v1.VolumeSnapshot, error)

	Delete(namespace, name string, options *metav1.DeleteOptions) error
	Get(namespace, name string, options metav1.GetOptions) (*v1.VolumeSnapshot, error)
	List(namespace string, opts metav1.ListOptions) (*v1.VolumeSnapshotList, error)
	Watch(namespace string, opts metav1.ListOptions) (watch.Interface, error)
	Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.VolumeSnapshot, err error)
}

type VolumeSnapshotContentCache

type VolumeSnapshotContentCache interface {
	Get(name string) (*v1.VolumeSnapshotContent, error)
	List(selector labels.Selector) ([]*v1.VolumeSnapshotContent, error)

	AddIndexer(indexName string, indexer VolumeSnapshotContentIndexer)
	GetByIndex(indexName, key string) ([]*v1.VolumeSnapshotContent, error)
}

type VolumeSnapshotContentClient

type VolumeSnapshotContentClient interface {
	Create(*v1.VolumeSnapshotContent) (*v1.VolumeSnapshotContent, error)
	Update(*v1.VolumeSnapshotContent) (*v1.VolumeSnapshotContent, error)

	Delete(name string, options *metav1.DeleteOptions) error
	Get(name string, options metav1.GetOptions) (*v1.VolumeSnapshotContent, error)
	List(opts metav1.ListOptions) (*v1.VolumeSnapshotContentList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.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, *v1.VolumeSnapshotContent) (*v1.VolumeSnapshotContent, error)

type VolumeSnapshotContentIndexer

type VolumeSnapshotContentIndexer func(obj *v1.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, *v1.VolumeSnapshot) (*v1.VolumeSnapshot, error)

type VolumeSnapshotIndexer

type VolumeSnapshotIndexer func(obj *v1.VolumeSnapshot) ([]string, error)

Jump to

Keyboard shortcuts

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