Documentation ¶
Index ¶
- func NewCSIDriverClusterLister(indexer cache.Indexer) *cSIDriverClusterLister
- func NewCSINodeClusterLister(indexer cache.Indexer) *cSINodeClusterLister
- func NewCSIStorageCapacityClusterLister(indexer cache.Indexer) *cSIStorageCapacityClusterLister
- func NewStorageClassClusterLister(indexer cache.Indexer) *storageClassClusterLister
- func NewVolumeAttachmentClusterLister(indexer cache.Indexer) *volumeAttachmentClusterLister
- type CSIDriverClusterLister
- type CSIDriverClusterListerExpansion
- type CSINodeClusterLister
- type CSINodeClusterListerExpansion
- type CSIStorageCapacityClusterLister
- type CSIStorageCapacityClusterListerExpansion
- type StorageClassClusterLister
- type StorageClassClusterListerExpansion
- type VolumeAttachmentClusterLister
- type VolumeAttachmentClusterListerExpansion
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCSIDriverClusterLister ¶
NewCSIDriverClusterLister returns a new CSIDriverClusterLister. 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
func NewCSINodeClusterLister ¶
NewCSINodeClusterLister returns a new CSINodeClusterLister. 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
func NewCSIStorageCapacityClusterLister ¶
NewCSIStorageCapacityClusterLister returns a new CSIStorageCapacityClusterLister. 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 - has the kcpcache.ClusterAndNamespaceIndex as an index
func NewStorageClassClusterLister ¶
NewStorageClassClusterLister returns a new StorageClassClusterLister. 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
func NewVolumeAttachmentClusterLister ¶
NewVolumeAttachmentClusterLister returns a new VolumeAttachmentClusterLister. 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 CSIDriverClusterLister ¶
type CSIDriverClusterLister interface { // List lists all CSIDrivers in the indexer. // Objects returned here must be treated as read-only. List(selector labels.Selector) (ret []*storagev1.CSIDriver, err error) // Cluster returns a lister that can list and get CSIDrivers in one workspace. Cluster(clusterName logicalcluster.Name) storagev1listers.CSIDriverLister CSIDriverClusterListerExpansion }
CSIDriverClusterLister can list CSIDrivers across all workspaces, or scope down to a CSIDriverLister for one workspace. All objects returned here must be treated as read-only.
type CSIDriverClusterListerExpansion ¶
type CSIDriverClusterListerExpansion interface{}
CSIDriverClusterListerExpansion allows custom methods to be added to CSIDriverClusterLister.
type CSINodeClusterLister ¶
type CSINodeClusterLister interface { // List lists all CSINodes in the indexer. // Objects returned here must be treated as read-only. List(selector labels.Selector) (ret []*storagev1.CSINode, err error) // Cluster returns a lister that can list and get CSINodes in one workspace. Cluster(clusterName logicalcluster.Name) storagev1listers.CSINodeLister CSINodeClusterListerExpansion }
CSINodeClusterLister can list CSINodes across all workspaces, or scope down to a CSINodeLister for one workspace. All objects returned here must be treated as read-only.
type CSINodeClusterListerExpansion ¶
type CSINodeClusterListerExpansion interface{}
CSINodeClusterListerExpansion allows custom methods to be added to CSINodeClusterLister.
type CSIStorageCapacityClusterLister ¶
type CSIStorageCapacityClusterLister interface { // List lists all CSIStorageCapacities in the indexer. // Objects returned here must be treated as read-only. List(selector labels.Selector) (ret []*storagev1.CSIStorageCapacity, err error) // Cluster returns a lister that can list and get CSIStorageCapacities in one workspace. Cluster(clusterName logicalcluster.Name) storagev1listers.CSIStorageCapacityLister CSIStorageCapacityClusterListerExpansion }
CSIStorageCapacityClusterLister can list CSIStorageCapacities across all workspaces, or scope down to a CSIStorageCapacityLister for one workspace. All objects returned here must be treated as read-only.
type CSIStorageCapacityClusterListerExpansion ¶
type CSIStorageCapacityClusterListerExpansion interface{}
CSIStorageCapacityClusterListerExpansion allows custom methods to be added to CSIStorageCapacityClusterLister.
type StorageClassClusterLister ¶
type StorageClassClusterLister interface { // List lists all StorageClasses in the indexer. // Objects returned here must be treated as read-only. List(selector labels.Selector) (ret []*storagev1.StorageClass, err error) // Cluster returns a lister that can list and get StorageClasses in one workspace. Cluster(clusterName logicalcluster.Name) storagev1listers.StorageClassLister StorageClassClusterListerExpansion }
StorageClassClusterLister can list StorageClasses across all workspaces, or scope down to a StorageClassLister for one workspace. All objects returned here must be treated as read-only.
type StorageClassClusterListerExpansion ¶
type StorageClassClusterListerExpansion interface{}
StorageClassClusterListerExpansion allows custom methods to be added to StorageClassClusterLister.
type VolumeAttachmentClusterLister ¶
type VolumeAttachmentClusterLister interface { // List lists all VolumeAttachments in the indexer. // Objects returned here must be treated as read-only. List(selector labels.Selector) (ret []*storagev1.VolumeAttachment, err error) // Cluster returns a lister that can list and get VolumeAttachments in one workspace. Cluster(clusterName logicalcluster.Name) storagev1listers.VolumeAttachmentLister VolumeAttachmentClusterListerExpansion }
VolumeAttachmentClusterLister can list VolumeAttachments across all workspaces, or scope down to a VolumeAttachmentLister for one workspace. All objects returned here must be treated as read-only.
type VolumeAttachmentClusterListerExpansion ¶
type VolumeAttachmentClusterListerExpansion interface{}
VolumeAttachmentClusterListerExpansion allows custom methods to be added to VolumeAttachmentClusterLister.