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: 51 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,
	wildcardKcpInformers kcpinformers.SharedInformerFactory,
) ([]rootapiserver.NamedVirtualWorkspace, error)

BuildVirtualWorkspace builds the initializing-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.

func URLFor added in v0.9.0

func URLFor(initializerName corev1alpha1.LogicalClusterInitializer) string

URLFor returns the absolute path for the specified initializer.

Types

This section is empty.

Jump to

Keyboard shortcuts

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