Documentation
¶
Index ¶
- func BuildVirtualWorkspace(cfg *clientrest.Config, rootPathPrefix string, ...) framework.VirtualWorkspace
- func CreateAndStartOrg(org logicalcluster.Name, rbacInformers kcprbacv1informers.ClusterInterface, ...) *authCacheClusterWorkspaces
- func NewOrgListener(informer tenancyv1alpha1informers.ClusterWorkspaceClusterInformer, ...) *orgListener
- type Stoppable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildVirtualWorkspace ¶
func BuildVirtualWorkspace(cfg *clientrest.Config, rootPathPrefix string, wildcardsClusterWorkspaces tenancyv1alpha1informers.ClusterWorkspaceClusterInformer, wildcardsRbacInformers kcprbacv1informers.ClusterInterface, kubeClusterClient kcpkubernetesclientset.ClusterInterface, kcpClusterClient kcpclientset.ClusterInterface, authorizationCacheResyncPeriod time.Duration, authorizationCacheResyncJitterFactor float64, authorizationCacheResyncSliding bool) framework.VirtualWorkspace
func CreateAndStartOrg ¶ added in v0.6.0
func CreateAndStartOrg( org logicalcluster.Name, rbacInformers kcprbacv1informers.ClusterInterface, clusterWorkspaceInformer tenancyv1alpha1informers.ClusterWorkspaceClusterInformer, initialWatchers []workspaceauth.CacheWatcher, period time.Duration, jitterFactor float64, sliding bool, ) *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 tenancyv1alpha1informers.ClusterWorkspaceClusterInformer, newClusterWorkspaces func(orgClusterName logicalcluster.Name, initialWatchers []authorization.CacheWatcher) registry.FilteredClusterWorkspaces) *orgListener
Types ¶
Click to show internal directories.
Click to hide internal directories.