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