Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewStorageVersionLister ¶
func NewStorageVersionLister(indexer cache.Indexer) listersapiserverinternalv1alpha1.StorageVersionLister
NewStorageVersionLister returns a new StorageVersionLister. 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 StorageVersionClusterLister ¶
type StorageVersionClusterLister interface {
// List lists all StorageVersions in the indexer.
// Objects returned here must be treated as read-only.
List(selector labels.Selector) (ret []*apiserverinternalv1alpha1.StorageVersion, err error)
// Cluster returns a lister that can list and get StorageVersions in one workspace.
Cluster(clusterName logicalcluster.Name) listersapiserverinternalv1alpha1.StorageVersionLister
StorageVersionClusterListerExpansion
}
StorageVersionClusterLister helps list StorageVersions across all workspaces, or scope down to a StorageVersionLister for one workspace. All objects returned here must be treated as read-only.
func NewStorageVersionClusterLister ¶
func NewStorageVersionClusterLister(indexer cache.Indexer) StorageVersionClusterLister
NewStorageVersionClusterLister returns a new StorageVersionClusterLister. 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 StorageVersionClusterListerExpansion ¶
type StorageVersionClusterListerExpansion interface{}
StorageVersionClusterListerExpansion allows custom methods to be added to StorageVersionClusterLister.