metadatalister

package
v0.0.0-...-f5949d8 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: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRuntimeObjectShim

func NewRuntimeObjectShim(lister ClusterLister) kcpcache.GenericClusterLister

NewRuntimeObjectShim returns a new shim for ClusterLister. It wraps Lister so that it implements kcpcache.GenericClusterLister interface.

Types

type ClusterLister

type ClusterLister interface {
	Cluster(logicalcluster.Name) metadatalister.Lister
	// List lists all resources in the indexer.
	List(selector labels.Selector) (ret []*metav1.PartialObjectMetadata, err error)
}

ClusterLister can list resources across all workspaces, or scope down to a Lister for one workspace.

func New

New returns a new ClusterLister.

Jump to

Keyboard shortcuts

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