Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetCluster ¶
SetCluster modifies the config host path to include the cluster endpoint.
Note: it is the caller responsibility to make a copy of the rest config.
Types ¶
type Cache ¶
type Cache[R any] interface { ClusterOrDie(clusterPath logicalcluster.Path) R Cluster(clusterPath logicalcluster.Path) (R, error) }
Cache is a client factory that caches previous results.
Click to show internal directories.
Click to hide internal directories.