# Packages

Package fake implements testing fakes.

# Functions

DefaultClusterAPIUserAgent returns a User-Agent string built from static global vars.
NewClusterCacheTracker creates a new ClusterCacheTracker.
NewClusterClient returns a Client for interacting with a remote Cluster using the given scheme for encoding and decoding objects.
NewTestClusterCacheTracker creates a new fake ClusterCacheTracker that can be used by unit tests with fake client.
RESTConfig returns a configuration instance to be used with a Kubernetes client.

# Variables

ErrClusterLocked is returned in methods that require cluster-level locking if the cluster is already locked by another concurrent call.
NodeProviderIDIndex is used to index Nodes by ProviderID.

# Structs

ClusterCacheReconciler is responsible for stopping remote cluster caches when the cluster for the remote cache is being deleted.
ClusterCacheTracker manages client caches for workload clusters.
ClusterCacheTrackerOptions defines options to configure a ClusterCacheTracker.
Index is a helper to model the info passed to cache.IndexField.
WatchInput specifies the parameters used to establish a new watch for a remote cluster.

# Interfaces

Watcher is a scoped-down interface from Controller that only knows how to watch.

# Type aliases

ClusterClientGetter returns a new remote client.