Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterWorkspaceClientGetter ¶
type ClusterWorkspaceClientGetter func(shard *tenancyv1alpha1.ClusterWorkspaceShard) (kcpclientset.ClusterInterface, error)
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller watches ClusterWorkspaceShards on the root shard, and then starts informers for every ClusterWorkspaceShard, watching the ClusterWorkspaces on them. It then updates the workspace index, which maps logical clusters to shard URLs.
func NewController ¶
func NewController( rootHost string, clusterWorkspaceShardInformer tenancyinformer.ClusterWorkspaceShardInformer, clientGetter ClusterWorkspaceClientGetter, ) *Controller
func (*Controller) Lookup ¶
func (c *Controller) Lookup(logicalCluster logicalcluster.Name) (string, bool)
Click to show internal directories.
Click to hide internal directories.