v1

package
v0.34.0 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2026 License: Apache-2.0 Imports: 6 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRuntimeClassLister

func NewRuntimeClassLister(indexer cache.Indexer) listersnodev1.RuntimeClassLister

NewRuntimeClassLister returns a new RuntimeClassLister. We assume that the indexer: - is fed by a cross-workspace LIST+WATCH - uses kcpcache.MetaClusterNamespaceKeyFunc as the key function - has the kcpcache.ClusterIndex as an index

Types

type RuntimeClassClusterLister

type RuntimeClassClusterLister interface {
	// List lists all RuntimeClasses in the indexer.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*nodev1.RuntimeClass, err error)
	// Cluster returns a lister that can list and get RuntimeClasses in one workspace.
	Cluster(clusterName logicalcluster.Name) listersnodev1.RuntimeClassLister
	RuntimeClassClusterListerExpansion
}

RuntimeClassClusterLister helps list RuntimeClasses across all workspaces, or scope down to a RuntimeClassLister for one workspace. All objects returned here must be treated as read-only.

func NewRuntimeClassClusterLister

func NewRuntimeClassClusterLister(indexer cache.Indexer) RuntimeClassClusterLister

NewRuntimeClassClusterLister returns a new RuntimeClassClusterLister. We assume that the indexer: - is fed by a cross-workspace LIST+WATCH - uses kcpcache.MetaClusterNamespaceKeyFunc as the key function - has the kcpcache.ClusterIndex as an index

type RuntimeClassClusterListerExpansion

type RuntimeClassClusterListerExpansion interface{}

RuntimeClassClusterListerExpansion allows custom methods to be added to RuntimeClassClusterLister.

Jump to

Keyboard shortcuts

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