Documentation ¶
Index ¶
- func NewDeviceInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewDeviceModelInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewFilteredDeviceInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewFilteredDeviceModelInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- type DeviceInformer
- type DeviceModelInformer
- type Interface
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 ¶
func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface
New returns a new Interface.