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.
Click to show internal directories.
Click to hide internal directories.