v1

package
v0.22.4-rc.0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2021 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 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 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 Interface

type Interface interface {
	// CSIDrivers returns a CSIDriverInformer.
	CSIDrivers() CSIDriverInformer
	// CSINodes returns a CSINodeInformer.
	CSINodes() CSINodeInformer
	// 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