builder

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2022 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildVirtualWorkspace

func BuildVirtualWorkspace(cfg *clientrest.Config, 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.Name, 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