internalversion

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFilteredVolumeClassInformer

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

NewFilteredVolumeClassInformer constructs a new informer for VolumeClass 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 NewFilteredVolumeInformer

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

NewFilteredVolumeInformer constructs a new informer for Volume 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 NewFilteredVolumePoolInformer

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

NewFilteredVolumePoolInformer constructs a new informer for VolumePool 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 NewVolumeClassInformer

func NewVolumeClassInformer(client clientsetinternalversion.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewVolumeClassInformer constructs a new informer for VolumeClass 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 NewVolumeInformer

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

NewVolumeInformer constructs a new informer for Volume 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 NewVolumePoolInformer

func NewVolumePoolInformer(client clientsetinternalversion.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewVolumePoolInformer constructs a new informer for VolumePool 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 Interface

type Interface interface {
	// Volumes returns a VolumeInformer.
	Volumes() VolumeInformer
	// VolumeClasses returns a VolumeClassInformer.
	VolumeClasses() VolumeClassInformer
	// VolumePools returns a VolumePoolInformer.
	VolumePools() VolumePoolInformer
}

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

func New

New returns a new Interface.

type VolumeClassInformer

type VolumeClassInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() internalversion.VolumeClassLister
}

VolumeClassInformer provides access to a shared informer and lister for VolumeClasses.

type VolumeInformer

type VolumeInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() internalversion.VolumeLister
}

VolumeInformer provides access to a shared informer and lister for Volumes.

type VolumePoolInformer

type VolumePoolInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() internalversion.VolumePoolLister
}

VolumePoolInformer provides access to a shared informer and lister for VolumePools.

Jump to

Keyboard shortcuts

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