v1alpha1

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2023 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, 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 NewFilteredDeviceInformer

func NewFilteredDeviceInformer(client versioned.Interface, 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 NewFilteredPodMigrationJobInformer added in v1.0.0

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

NewFilteredPodMigrationJobInformer constructs a new informer for PodMigrationJob 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 NewFilteredReservationInformer added in v1.0.0

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

NewFilteredReservationInformer constructs a new informer for Reservation 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 NewPodMigrationJobInformer added in v1.0.0

func NewPodMigrationJobInformer(client versioned.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewPodMigrationJobInformer constructs a new informer for PodMigrationJob 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 NewReservationInformer added in v1.0.0

func NewReservationInformer(client versioned.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewReservationInformer constructs a new informer for Reservation 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() v1alpha1.DeviceLister
}

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

type Interface

type Interface interface {
	// Devices returns a DeviceInformer.
	Devices() DeviceInformer
	// PodMigrationJobs returns a PodMigrationJobInformer.
	PodMigrationJobs() PodMigrationJobInformer
	// Reservations returns a ReservationInformer.
	Reservations() ReservationInformer
}

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

func New

New returns a new Interface.

type PodMigrationJobInformer added in v1.0.0

type PodMigrationJobInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1alpha1.PodMigrationJobLister
}

PodMigrationJobInformer provides access to a shared informer and lister for PodMigrationJobs.

type ReservationInformer added in v1.0.0

type ReservationInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1alpha1.ReservationLister
}

ReservationInformer provides access to a shared informer and lister for Reservations.

Jump to

Keyboard shortcuts

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