v1alpha2

package
v1.6.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDeviceInformer

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

NewDeviceInformer constructs a new informer for Device 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 NewDeviceModelInformer

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

NewDeviceModelInformer constructs a new informer for DeviceModel 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 NewFilteredDeviceInformer

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

NewFilteredDeviceInformer constructs a new informer for Device 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 NewFilteredDeviceModelInformer

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

NewFilteredDeviceModelInformer constructs a new informer for DeviceModel 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 DeviceInformer

type DeviceInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1alpha2.DeviceLister
}

DeviceInformer provides access to a shared informer and lister for Devices.

type DeviceModelInformer

type DeviceModelInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1alpha2.DeviceModelLister
}

DeviceModelInformer provides access to a shared informer and lister for DeviceModels.

type Interface

type Interface interface {
	// Devices returns a DeviceInformer.
	Devices() DeviceInformer
	// DeviceModels returns a DeviceModelInformer.
	DeviceModels() DeviceModelInformer
}

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