Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterResolver ¶
ClusterResolvers are capable of resolving a workspace path like "root:foo:bar" into the logicalcluster name (e.g. "23jgh234hgf44").
func NewClusterResolver ¶
func NewClusterResolver(clusterClient kcpclientset.ClusterInterface) ClusterResolver
NewClusterResolver returns a new resolver that doesn't do any work itself, but instead delegates to the kcp server (shard) to perform the resolving, by fetching the workspace's "cluster" logicalcluster. Effectively this makes kcp's localproxy do the resolving for us.
Click to show internal directories.
Click to hide internal directories.