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