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