Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildVirtualWorkspace ¶
func BuildVirtualWorkspace( cfg *rest.Config, rootPathPrefix string, dynamicClusterClient kcpdynamic.ClusterInterface, kubeClusterClient, externalLogicalClusterAdminClient kcpkubernetesclientset.ClusterInterface, ) ([]rootapiserver.NamedVirtualWorkspace, error)
BuildVirtualWorkspace builds the terminating-workspaces virtual workspaces.
externalLogicalClusterAdminClient is used for SubjectAccessReview calls against the workspacetype's logical cluster. In sharded deployments, the workspacetype can live on a different shard than the workspace, so this client must be able to reach any cluster (typically routed through the front-proxy). When nil, kubeClusterClient is used as a fallback, which only works when the workspacetype is co-located with the VW's shard.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.