v1

package
v0.0.0-...-28996d3 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCustomResourceDefinitionClusterLister

func NewCustomResourceDefinitionClusterLister(indexer cache.Indexer) *customResourceDefinitionClusterLister

NewCustomResourceDefinitionClusterLister returns a new CustomResourceDefinitionClusterLister. 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 CustomResourceDefinitionClusterLister

type CustomResourceDefinitionClusterLister interface {
	// List lists all CustomResourceDefinitions in the indexer.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*apiextensionsv1.CustomResourceDefinition, err error)
	// Cluster returns a lister that can list and get CustomResourceDefinitions in one workspace.
	Cluster(clusterName logicalcluster.Name) apiextensionsv1listers.CustomResourceDefinitionLister
	CustomResourceDefinitionClusterListerExpansion
}

CustomResourceDefinitionClusterLister can list CustomResourceDefinitions across all workspaces, or scope down to a CustomResourceDefinitionLister for one workspace. All objects returned here must be treated as read-only.

type CustomResourceDefinitionClusterListerExpansion

type CustomResourceDefinitionClusterListerExpansion interface{}

CustomResourceDefinitionClusterListerExpansion allows custom methods to be added to CustomResourceDefinitionClusterLister.

Jump to

Keyboard shortcuts

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