v1

package
v0.25.14 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2023 License: Apache-2.0 Imports: 10 Imported by: 370

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCSIDriverInformer added in v0.18.0

func NewCSIDriverInformer(client kubernetes.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewCSIDriverInformer constructs a new informer for CSIDriver type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.

func NewCSINodeInformer added in v0.17.0

func NewCSINodeInformer(client kubernetes.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewCSINodeInformer constructs a new informer for CSINode type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.

func NewCSIStorageCapacityInformer added in v0.24.0

func NewCSIStorageCapacityInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewCSIStorageCapacityInformer constructs a new informer for CSIStorageCapacity type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.

func NewFilteredCSIDriverInformer added in v0.18.0

func NewFilteredCSIDriverInformer(client kubernetes.Interface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer

NewFilteredCSIDriverInformer constructs a new informer for CSIDriver type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.

func NewFilteredCSINodeInformer added in v0.17.0

func NewFilteredCSINodeInformer(client kubernetes.Interface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer

NewFilteredCSINodeInformer constructs a new informer for CSINode type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.

func NewFilteredCSIStorageCapacityInformer added in v0.24.0

func NewFilteredCSIStorageCapacityInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer

NewFilteredCSIStorageCapacityInformer constructs a new informer for CSIStorageCapacity type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.

func NewFilteredStorageClassInformer

func NewFilteredStorageClassInformer(client kubernetes.Interface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer

NewFilteredStorageClassInformer constructs a new informer for StorageClass type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.

func NewFilteredVolumeAttachmentInformer

func NewFilteredVolumeAttachmentInformer(client kubernetes.Interface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer

NewFilteredVolumeAttachmentInformer constructs a new informer for VolumeAttachment type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.

func NewStorageClassInformer

func NewStorageClassInformer(client kubernetes.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewStorageClassInformer constructs a new informer for StorageClass type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.

func NewVolumeAttachmentInformer

func NewVolumeAttachmentInformer(client kubernetes.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewVolumeAttachmentInformer constructs a new informer for VolumeAttachment type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.

Types

type CSIDriverInformer added in v0.18.0

type CSIDriverInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1.CSIDriverLister
}

CSIDriverInformer provides access to a shared informer and lister for CSIDrivers.

type CSINodeInformer added in v0.17.0

type CSINodeInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1.CSINodeLister
}

CSINodeInformer provides access to a shared informer and lister for CSINodes.

type CSIStorageCapacityInformer added in v0.24.0

type CSIStorageCapacityInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1.CSIStorageCapacityLister
}

CSIStorageCapacityInformer provides access to a shared informer and lister for CSIStorageCapacities.

type Interface

type Interface interface {
	// CSIDrivers returns a CSIDriverInformer.
	CSIDrivers() CSIDriverInformer
	// CSINodes returns a CSINodeInformer.
	CSINodes() CSINodeInformer
	// CSIStorageCapacities returns a CSIStorageCapacityInformer.
	CSIStorageCapacities() CSIStorageCapacityInformer
	// StorageClasses returns a StorageClassInformer.
	StorageClasses() StorageClassInformer
	// VolumeAttachments returns a VolumeAttachmentInformer.
	VolumeAttachments() VolumeAttachmentInformer
}

Interface provides access to all the informers in this group version.

func New

New returns a new Interface.

type StorageClassInformer

type StorageClassInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1.StorageClassLister
}

StorageClassInformer provides access to a shared informer and lister for StorageClasses.

type VolumeAttachmentInformer

type VolumeAttachmentInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1.VolumeAttachmentLister
}

VolumeAttachmentInformer provides access to a shared informer and lister for VolumeAttachments.

Jump to

Keyboard shortcuts

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