package v1

import "k8s.io/client-go/informers/node/v1"

Index

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() nodev1.RuntimeClassLister
}

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

Source Files

interface.go runtimeclass.go

Version
v0.33.0 (latest)
Published
Apr 23, 2025
Platform
linux/amd64
Imports
10 packages
Last checked
2 hours ago

Tools for package owners.