builder

package
v0.31.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2026 License: Apache-2.0 Imports: 45 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL