virtual

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package virtual provides shared building blocks for the virtual workspaces served by this binary, built on the kcp virtual-workspace-framework.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthenticatedOnlyAuthorizer

func AuthenticatedOnlyAuthorizer() authorizer.Authorizer

AuthenticatedOnlyAuthorizer allows any authenticated, non-anonymous user. SCAR is a self-review — the caller only asks about themselves — so the access graph, not the authorizer, decides what the answer contains.

Types

type CoreVirtualWorkspace

CoreVirtualWorkspace is framework.VirtualWorkspace without the admission interfaces.

type WithoutAdmission

type WithoutAdmission struct {
	CoreVirtualWorkspace
}

TODO: if SCAR ever grows persisted (writable) state, replace this with real admission — at minimum validation of the incoming object.

func (*WithoutAdmission) Admit

func (*WithoutAdmission) Validate

Directories

Path Synopsis
Package scar implements the SelfClusterAccessReview API of the Access Virtual Workspace.
Package scar implements the SelfClusterAccessReview API of the Access Virtual Workspace.

Jump to

Keyboard shortcuts

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