builder

package
v0.3.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2022 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

View Source
const WorkspacesVirtualWorkspaceName string = "workspaces"

Variables

This section is empty.

Functions

func BuildVirtualWorkspace

func BuildVirtualWorkspace(rootPathPrefix string, wildcardsClusterWorkspaces workspaceinformer.ClusterWorkspaceInformer, wildcardsRbacInformers rbacinformers.Interface, kubeClusterClient kubernetes.ClusterInterface, kcpClusterClient kcpclient.ClusterInterface) framework.VirtualWorkspace

func CreateAndStartOrg added in v0.6.0

func CreateAndStartOrg(
	rbacInformers rbacinformers.Interface,
	clusterWorkspaceInformer workspaceinformer.ClusterWorkspaceInformer,
	initialWatchers []workspaceauth.CacheWatcher,
) *authCacheClusterWorkspaces

CreateAndStartOrg creates an Org that contains all the required clients and caches to retrieve user workspaces inside an org As part of an Org, a WorkspaceAuthCache is created and ensured to be started.

func NewOrgListener added in v0.6.0

func NewOrgListener(informer workspaceinformer.ClusterWorkspaceInformer, newClusterWorkspaces func(orgClusterName logicalcluster.LogicalCluster, initialWatchers []authorization.CacheWatcher) registry.FilteredClusterWorkspaces) *orgListener

Types

type Stoppable added in v0.6.0

type Stoppable interface {
	Stop()
}

Jump to

Keyboard shortcuts

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