Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache interface {
// NumClusters returns the number of clusters in the cache.
NumClusters() int
// List returns the list of ManagedCluster(s).
List(labelSelector *metav1.LabelSelector) ([]*clusterapi.ManagedCluster, error)
// Get returns the ManagedCluster of the given managed cluster.
Get(namespacedName string) (*clusterapi.ManagedCluster, error)
}
func New ¶
func New(clusterListers clusterlisters.ManagedClusterLister) Cache
Click to show internal directories.
Click to hide internal directories.