dynamiclister

package
v0.0.0-...-0416c83 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2023 License: Apache-2.0 Imports: 10 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) dynamiclister.Lister
	// List lists all resources in the indexer.
	List(selector labels.Selector) (ret []*unstructured.Unstructured, 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