Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewStorageVersionMigrationClusterLister ¶
func NewStorageVersionMigrationClusterLister(indexer cache.Indexer) *storageVersionMigrationClusterLister
NewStorageVersionMigrationClusterLister returns a new StorageVersionMigrationClusterLister. 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 StorageVersionMigrationClusterLister ¶
type StorageVersionMigrationClusterLister interface { // List lists all StorageVersionMigrations in the indexer. // Objects returned here must be treated as read-only. List(selector labels.Selector) (ret []*storagemigrationv1alpha1.StorageVersionMigration, err error) // Cluster returns a lister that can list and get StorageVersionMigrations in one workspace. Cluster(clusterName logicalcluster.Name) storagemigrationv1alpha1listers.StorageVersionMigrationLister StorageVersionMigrationClusterListerExpansion }
StorageVersionMigrationClusterLister can list StorageVersionMigrations across all workspaces, or scope down to a StorageVersionMigrationLister for one workspace. All objects returned here must be treated as read-only.
type StorageVersionMigrationClusterListerExpansion ¶
type StorageVersionMigrationClusterListerExpansion interface{}
StorageVersionMigrationClusterListerExpansion allows custom methods to be added to StorageVersionMigrationClusterLister.
Click to show internal directories.
Click to hide internal directories.