v1

package
v0.31.1 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: Apache-2.0 Imports: 10 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFilteredRuntimeClassInformer

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

NewFilteredRuntimeClassInformer constructs a new informer for RuntimeClass 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 NewRuntimeClassInformer

func NewRuntimeClassInformer(client kubernetes.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewRuntimeClassInformer constructs a new informer for RuntimeClass 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 Interface

type Interface interface {
	// RuntimeClasses returns a RuntimeClassInformer.
	RuntimeClasses() RuntimeClassInformer
}

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

func New

New returns a new Interface.

type RuntimeClassInformer

type RuntimeClassInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1.RuntimeClassLister
}

RuntimeClassInformer provides access to a shared informer and lister for RuntimeClasses.

Jump to

Keyboard shortcuts

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