v1alpha1

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDeviceNodeInformer

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

NewDeviceNodeInformer constructs a new informer for DeviceNode 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 NewDeviceVolumeInformer

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

NewDeviceVolumeInformer constructs a new informer for DeviceVolume 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 NewFilteredDeviceNodeInformer

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

NewFilteredDeviceNodeInformer constructs a new informer for DeviceNode 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 NewFilteredDeviceVolumeInformer

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

NewFilteredDeviceVolumeInformer constructs a new informer for DeviceVolume 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 DeviceNodeInformer

type DeviceNodeInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1alpha1.DeviceNodeLister
}

DeviceNodeInformer provides access to a shared informer and lister for DeviceNodes.

type DeviceVolumeInformer

type DeviceVolumeInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1alpha1.DeviceVolumeLister
}

DeviceVolumeInformer provides access to a shared informer and lister for DeviceVolumes.

type Interface

type Interface interface {
	// DeviceNodes returns a DeviceNodeInformer.
	DeviceNodes() DeviceNodeInformer
	// DeviceVolumes returns a DeviceVolumeInformer.
	DeviceVolumes() DeviceVolumeInformer
}

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

func New

New returns a new Interface.

Jump to

Keyboard shortcuts

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