v1alpha1

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 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 added in v0.6.0

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 added in v0.6.0

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 v0.6.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

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 v0.6.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

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 added in v0.6.0

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 v0.6.0

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

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

type ReservationInformer

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