pkg/

directory
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2026 License: Apache-2.0

Directories

Path Synopsis
Package bootstrap installs the kcp-side objects the tenancy component needs: the four APIExports and their endpoint slices, the two WorkspaceTypes that bind the capability exports into provisioned workspaces, and the platform tier's own bindings.
Package bootstrap installs the kcp-side objects the tenancy component needs: the four APIExports and their endpoint slices, the two WorkspaceTypes that bind the capability exports into provisioned workspaces, and the platform tier's own bindings.
Package cli implements tenancyctl, the day-to-day client for the tenancy model: provisioning organization workspaces, creating tenants and projects, granting and revoking access, and asking the virtual workspace what the caller can reach.
Package cli implements tenancyctl, the day-to-day client for the tenancy model: provisioning organization workspaces, creating tenants and projects, granting and revoking access, and asking the virtual workspace what the caller can reach.
Package clicontext holds what the CLI remembers between commands: the server it talks to, and where the user is working.
Package clicontext holds what the CLI remembers between commands: the server it talks to, and where the user is working.
Package directory keeps the tenancy virtual workspace's in-memory answer state: every Tenant, Project and Membership across all organization workspaces, indexed for the one question the VW answers — "what does this identity belong to?".
Package directory keeps the tenancy virtual workspace's in-memory answer state: every Tenant, Project and Membership across all organization workspaces, indexed for the one question the VW answers — "what does this identity belong to?".
generated
Package naming turns human display names into kcp workspace names.
Package naming turns human display names into kcp workspace names.
Package operator reconciles the tenancy API into kcp workspaces and RBAC.
Package operator reconciles the tenancy API into kcp workspaces and RBAC.
Package provider populates the tenancy directory from the tenant workspaces bound to the tenancy APIExport.
Package provider populates the tenancy directory from the tenant workspaces bound to the tenancy APIExport.
Package server wires the tenancy virtual workspace binary together: the directory, the provider that fills it from tenant workspaces, and a virtual-workspace root apiserver serving SelfTenancyReview at /services/tenancy behind kcp's front-proxy.
Package server wires the tenancy virtual workspace binary together: the directory, the provider that fills it from tenant workspaces, and a virtual-workspace root apiserver serving SelfTenancyReview at /services/tenancy behind kcp's front-proxy.
virtual
membership
Package membership serves the grants of the tenants a caller administers, so RBAC can be managed without entering the workspace the grants live in.
Package membership serves the grants of the tenants a caller administers, so RBAC can be managed without entering the workspace the grants live in.
selfprojectrequest
Package selfprojectrequest implements the one write the tenancy virtual workspace performs on a caller's behalf: creating a project in a tenant the caller administers.
Package selfprojectrequest implements the one write the tenancy virtual workspace performs on a caller's behalf: creating a project in a tenant the caller administers.
selftenancyreview
Package selftenancyreview implements the SelfTenancyReview API of the tenancy virtual workspace.
Package selftenancyreview implements the SelfTenancyReview API of the tenancy virtual workspace.
selftenantrequest
Package selftenantrequest lets a caller with nothing get their first tenant.
Package selftenantrequest lets a caller with nothing get their first tenant.

Jump to

Keyboard shortcuts

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