Documentation ¶
Index ¶
- func BuildVirtualWorkspace(cfg *clientrest.Config, rootPathPrefix string, ...) framework.VirtualWorkspace
- func CreateAndStartOrg(rbacInformers rbacinformers.Interface, ...) *authCacheClusterWorkspaces
- func NewOrgListener(informer workspaceinformer.ClusterWorkspaceInformer, ...) *orgListener
- type Stoppable
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 ¶
Click to show internal directories.
Click to hide internal directories.