v1

package
v0.0.0-...-bf1c9b8 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCSIDriverClusterLister

func NewCSIDriverClusterLister(indexer cache.Indexer) *cSIDriverClusterLister

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

func NewCSINodeClusterLister(indexer cache.Indexer) *cSINodeClusterLister

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

func NewCSIStorageCapacityClusterLister(indexer cache.Indexer) *cSIStorageCapacityClusterLister

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

func NewStorageClassClusterLister(indexer cache.Indexer) *storageClassClusterLister

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

func NewVolumeAttachmentClusterLister(indexer cache.Indexer) *volumeAttachmentClusterLister

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.

Jump to

Keyboard shortcuts

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