v1

package
v0.29.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFilteredRuntimeClassClusterInformer

func NewFilteredRuntimeClassClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions kcpinternalinterfaces.TweakListOptionsFunc) kcpcache.ScopeableSharedIndexInformer

NewFilteredRuntimeClassClusterInformer 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 NewRuntimeClassClusterInformer

func NewRuntimeClassClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers) kcpcache.ScopeableSharedIndexInformer

NewRuntimeClassClusterInformer 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 ClusterInterface

type ClusterInterface interface {
	// RuntimeClasses returns a RuntimeClassClusterInformer.
	RuntimeClasses() RuntimeClassClusterInformer
}

func New

New returns a new Interface.

type RuntimeClassClusterInformer

type RuntimeClassClusterInformer interface {
	Cluster(logicalcluster.Name) nodev1.RuntimeClassInformer
	ClusterWithContext(context.Context, logicalcluster.Name) nodev1.RuntimeClassInformer
	Informer() kcpcache.ScopeableSharedIndexInformer
	Lister() kcpv1.RuntimeClassClusterLister
}

RuntimeClassClusterInformer 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