package
Version:
v2.0.0
Opens a new window with list of versions in this module.
Published: May 10, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 102
Opens a new window with list of known importers.
Documentation
¶
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.
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.
NewCache creates a new client factory cache using the given constructor.
Constructor is a wrapper around a constructor method for the client of type R.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.