Directories
¶
| Path | Synopsis |
|---|---|
|
access
|
|
|
cmd/access-vw
command
|
|
|
cmd/init
command
Command access-vw-init installs the kcp-side objects the access virtual workspace needs — the APIResourceSchema, the APIExport, and the APIExportEndpointSlice the RBAC provider follows — and verifies they came up.
|
Command access-vw-init installs the kcp-side objects the access virtual workspace needs — the APIResourceSchema, the APIExport, and the APIExportEndpointSlice the RBAC provider follows — and verifies they came up. |
|
cmd/scar-to-kubeconfig
command
Command scar-to-kubeconfig calls the SCAR endpoint with a bearer token and writes a kubeconfig with one context per authorized cluster.
|
Command scar-to-kubeconfig calls the SCAR endpoint with a bearer token and writes a kubeconfig with one context per authorized cluster. |
|
config/apiexport
Package apiexport holds the kcp-side assets the access virtual workspace needs in the workspace that hosts its APIExport: the APIResourceSchema for SelfClusterAccessReview, the APIExport itself, the RBAC that makes the export bindable, and the APIExportEndpointSlice the RBAC provider follows.
|
Package apiexport holds the kcp-side assets the access virtual workspace needs in the workspace that hosts its APIExport: the APIResourceSchema for SelfClusterAccessReview, the APIExport itself, the RBAC that makes the export bindable, and the APIExportEndpointSlice the RBAC provider follows. |
|
config/controller
Package controller holds the identity the access virtual workspace runs as: a ServiceAccount in the workspace that hosts the APIExport, its token, and the RBAC it needs.
|
Package controller holds the identity the access virtual workspace runs as: a ServiceAccount in the workspace that hosts the APIExport, its token, and the RBAC it needs. |
|
pkg/accessprovider
Package accessprovider defines the AccessProvider interface — the writer-side seam between the access graph and the various sources of authorization data that may populate it.
|
Package accessprovider defines the AccessProvider interface — the writer-side seam between the access graph and the various sources of authorization data that may populate it. |
|
pkg/bootstrap
Package bootstrap installs the kcp-side objects the access virtual workspace needs and verifies they came up.
|
Package bootstrap installs the kcp-side objects the access virtual workspace needs and verifies they came up. |
|
pkg/cli
Package cli holds the access component's user-facing commands, shaped so the repo-wide CLI can mount them and the standalone binaries stay thin wrappers.
|
Package cli holds the access component's user-facing commands, shaped so the repo-wide CLI can mount them and the standalone binaries stay thin wrappers. |
|
pkg/graph
Package graph provides an in-memory RBAC permission map for kcp.
|
Package graph provides an in-memory RBAC permission map for kcp. |
|
pkg/rbacprovider
Package rbacprovider implements the kcp-native RBAC AccessProvider.
|
Package rbacprovider implements the kcp-native RBAC AccessProvider. |
|
pkg/server
Package server wires the Access Virtual Workspace binary together: the shared access graph, the RBAC provider that populates it, and a virtual-workspace root apiserver (kcp virtual-workspace-framework) serving the access virtual workspace at /services/access behind kcp's front-proxy.
|
Package server wires the Access Virtual Workspace binary together: the shared access graph, the RBAC provider that populates it, and a virtual-workspace root apiserver (kcp virtual-workspace-framework) serving the access virtual workspace at /services/access behind kcp's front-proxy. |
|
pkg/virtual
Package virtual provides shared building blocks for the virtual workspaces served by this binary, built on the kcp virtual-workspace-framework.
|
Package virtual provides shared building blocks for the virtual workspaces served by this binary, built on the kcp virtual-workspace-framework. |
|
pkg/virtual/scar
Package scar implements the SelfClusterAccessReview API of the Access Virtual Workspace.
|
Package scar implements the SelfClusterAccessReview API of the Access Virtual Workspace. |
|
sdk/apis/access/v1alpha1
Package v1alpha1 holds the API types for the Access Virtual Workspace (group access.contrib.kcp.io).
|
Package v1alpha1 holds the API types for the Access Virtual Workspace (group access.contrib.kcp.io). |
|
cmd
|
|
|
cli
command
contribctl is the repo-wide CLI.
|
contribctl is the repo-wide CLI. |
|
ephemeral
|
|
|
cmd/endpointslice-controller
command
Command endpointslice-controller publishes a virtual workspace's address into the EphemeralResourceEndpointSlices of one workspace.
|
Command endpointslice-controller publishes a virtual workspace's address into the EphemeralResourceEndpointSlices of one workspace. |
|
cmd/ephemeral-virtual-workspace
command
|
|
|
cmd/ephemeral-virtual-workspace/command
Package command wires the ephemeral virtual workspace server together.
|
Package command wires the ephemeral virtual workspace server together. |
|
cmd/ephemeral-virtual-workspace/options
Package options holds the command line surface of the ephemeral virtual workspace server.
|
Package options holds the command line surface of the ephemeral virtual workspace server. |
|
examples/webhook
command
Command example-webhook is a reference implementation of the EphemeralReview contract: a BucketInfo service that answers with live numbers.
|
Command example-webhook is a reference implementation of the EphemeralReview contract: a BucketInfo service that answers with live numbers. |
|
pkg/apis/ephemeral/v1alpha1
Package v1alpha1 defines the wire contract between the ephemeral virtual workspace and a provider's webhook.
|
Package v1alpha1 defines the wire contract between the ephemeral virtual workspace and a provider's webhook. |
|
pkg/cacheclient
Package cacheclient builds a rest.Config that talks to a kcp cache server.
|
Package cacheclient builds a rest.Config that talks to a kcp cache server. |
|
pkg/config
Package config holds the operator-supplied registry of webhook-backed resources.
|
Package config holds the operator-supplied registry of webhook-backed resources. |
|
pkg/endpointslice
Package endpointslice publishes a virtual workspace's address into the endpoint slices that APIExports reference.
|
Package endpointslice publishes a virtual workspace's address into the endpoint slices that APIExports reference. |
|
pkg/registry
Package registry implements the REST storage that answers a create by calling a provider webhook.
|
Package registry implements the REST storage that answers a create by calling a provider webhook. |
|
pkg/virtualworkspace/apidefinitions
Package apidefinitions turns the operator's webhook registry plus the APIExport/APIResourceSchema objects in kcp into the served API surface.
|
Package apidefinitions turns the operator's webhook registry plus the APIExport/APIResourceSchema objects in kcp into the served API surface. |
|
pkg/virtualworkspace/apidomainkey
Package apidomainkey encodes which APIExport a request is being served for.
|
Package apidomainkey encodes which APIExport a request is being served for. |
|
pkg/virtualworkspace/authorizer
Package authorizer gates access to the ephemeral virtual workspace.
|
Package authorizer gates access to the ephemeral virtual workspace. |
|
pkg/virtualworkspace/builder
Package builder assembles the ephemeral virtual workspace.
|
Package builder assembles the ephemeral virtual workspace. |
|
pkg/webhook
Package webhook implements the client half of the EphemeralReview contract.
|
Package webhook implements the client half of the EphemeralReview contract. |
|
marketplace-vw is the marketplace component in one binary: `init` installs the kcp-side objects, `operator` materializes producer workspaces, bind grants and enablement bindings, and `virtualworkspace` serves the catalog and the enablements write path.
|
marketplace-vw is the marketplace component in one binary: `init` installs the kcp-side objects, `operator` materializes producer workspaces, bind grants and enablement bindings, and `virtualworkspace` serves the catalog and the enablements write path. |
|
cmd
Package cmd holds the marketplace binary's subcommands.
|
Package cmd holds the marketplace binary's subcommands. |
|
config/apiexport
Package apiexport holds the kcp-side assets the marketplace component needs.
|
Package apiexport holds the kcp-side assets the marketplace component needs. |
|
pkg/bootstrap
Package bootstrap installs the kcp-side objects the marketplace needs: the three APIExports and their endpoint slices, the producer WorkspaceType, and the two hand-bound tiers (catalog and producers parent).
|
Package bootstrap installs the kcp-side objects the marketplace needs: the three APIExports and their endpoint slices, the producer WorkspaceType, and the two hand-bound tiers (catalog and producers parent). |
|
pkg/cli
Package cli holds the marketplace's user-facing commands: browsing the catalog, and enabling an offering in a workspace.
|
Package cli holds the marketplace's user-facing commands: browsing the catalog, and enabling an offering in a workspace. |
|
pkg/directory
Package directory is the in-memory index the marketplace virtual workspace answers from: Providers mirrored from the catalog tier, published APIExports mirrored from every producer workspace.
|
Package directory is the in-memory index the marketplace virtual workspace answers from: Providers mirrored from the catalog tier, published APIExports mirrored from every producer workspace. |
|
pkg/offering
Package offering reads an APIExport as a catalog card.
|
Package offering reads an APIExport as a catalog card. |
|
pkg/operator
Package operator reconciles the marketplace API into producer workspaces and bind grants.
|
Package operator reconciles the marketplace API into producer workspaces and bind grants. |
|
pkg/provider
Package provider populates the marketplace directory: Providers from the catalog tier's export, offerings from the APIExports published in each producer workspace — the same multicluster discovery the operator runs, but read-only into the in-memory directory the virtual workspace answers from.
|
Package provider populates the marketplace directory: Providers from the catalog tier's export, offerings from the APIExports published in each producer workspace — the same multicluster discovery the operator runs, but read-only into the in-memory directory the virtual workspace answers from. |
|
pkg/server
Package server wires the marketplace virtual workspace binary together: the directory, the producer that fills it, and a virtual-workspace root apiserver serving the catalog read-only at /services/marketplace behind kcp's front-proxy.
|
Package server wires the marketplace virtual workspace binary together: the directory, the producer that fills it, and a virtual-workspace root apiserver serving the catalog read-only at /services/marketplace behind kcp's front-proxy. |
|
pkg/virtual/catalog
Package catalog implements the marketplace virtual workspace: the read-only catalog at /services/marketplace.
|
Package catalog implements the marketplace virtual workspace: the read-only catalog at /services/marketplace. |
|
sdk/apis/marketplace/v1alpha1
Package v1alpha1 holds the API types for the marketplace component (group marketplace.platform.kcp.io).
|
Package v1alpha1 holds the API types for the marketplace component (group marketplace.platform.kcp.io). |
|
config/apiexport
Package apiexport holds the kcp-side assets the mcp component needs in the workspace hosting its APIExport.
|
Package apiexport holds the kcp-side assets the mcp component needs in the workspace hosting its APIExport. |
|
internal/access
Package access asks the access virtual workspace which workspaces a caller can see.
|
Package access asks the access virtual workspace which workspaces a caller can see. |
|
internal/mcp
Package mcp serves the Model Context Protocol as a kcp virtual workspace.
|
Package mcp serves the Model Context Protocol as a kcp virtual workspace. |
|
pkg/bootstrap
Package bootstrap installs the mcp component's kcp-side objects: the workspace that owns them, the APIExport a consumer enables by binding, and the grant the operator needs to read through it.
|
Package bootstrap installs the mcp component's kcp-side objects: the workspace that owns them, the APIExport a consumer enables by binding, and the grant the operator needs to read through it. |
|
pkg/operator
Package operator turns a consumer's APIBinding into working MCP.
|
Package operator turns a consumer's APIBinding into working MCP. |
|
pkg/tools
Package tools is the shared kit for kcp MCP tools: the Scope authorization contract every tool operates within, plus helpers for GVR parsing and unstructured object handling.
|
Package tools is the shared kit for kcp MCP tools: the Scope authorization contract every tool operates within, plus helpers for GVR parsing and unstructured object handling. |
|
pkg/tools/admin
Package admin provides read tools for kcp operator internals — LogicalClusters, Shards, Partitions and PartitionSets.
|
Package admin provides read tools for kcp operator internals — LogicalClusters, Shards, Partitions and PartitionSets. |
|
pkg/tools/apis
Package apis provides read tools for the machinery of kcp's API sharing model — APIResourceSchemas and APIConversions.
|
Package apis provides read tools for the machinery of kcp's API sharing model — APIResourceSchemas and APIConversions. |
|
pkg/tools/core
Package core is the default toolset: navigating the caller's workspaces (workspaces, APIBindings, APIExports, WorkspaceTypes, workspace lifecycle) plus generic read access to any resource by GVR.
|
Package core is the default toolset: navigating the caller's workspaces (workspaces, APIBindings, APIExports, WorkspaceTypes, workspace lifecycle) plus generic read access to any resource by GVR. |
|
pkg/tools/write
Package write provides generic mutation tools — create, update, patch, delete and scale by GVR.
|
Package write provides generic mutation tools — create, update, patch, delete and scale by GVR. |
|
pkg/toolsets
Package toolsets names the groups of MCP tools an operator can enable.
|
Package toolsets names the groups of MCP tools an operator can enable. |
|
sdk/apis/mcp/v1alpha1
Package v1alpha1 holds the API type for the mcp component (group mcp.platform.kcp.io).
|
Package v1alpha1 holds the API type for the mcp component (group mcp.platform.kcp.io). |
|
tenancy-vw is the tenancy component in one binary: `init` installs the kcp-side objects, `operator` materializes tenants, projects and memberships, and `virtualworkspace` serves SelfTenancyReview.
|
tenancy-vw is the tenancy component in one binary: `init` installs the kcp-side objects, `operator` materializes tenants, projects and memberships, and `virtualworkspace` serves SelfTenancyReview. |
|
cmd
Package cmd holds the tenancy binary's subcommands.
|
Package cmd holds the tenancy binary's subcommands. |
|
cmd/tenancyctl
command
tenancyctl is the client for the kcp tenancy model: organization workspaces, tenants, projects and access grants for administrators, and "whoami"/"kubeconfig" for the people those grants are about.
|
tenancyctl is the client for the kcp tenancy model: organization workspaces, tenants, projects and access grants for administrators, and "whoami"/"kubeconfig" for the people those grants are about. |
|
config/apiexport
Package apiexport holds the kcp-side assets the tenancy component needs.
|
Package apiexport holds the kcp-side assets the tenancy component needs. |
|
pkg/bootstrap
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. |
|
pkg/cli
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. |
|
pkg/clicontext
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. |
|
pkg/directory
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?". |
|
pkg/naming
Package naming turns human display names into kcp workspace names.
|
Package naming turns human display names into kcp workspace names. |
|
pkg/operator
Package operator reconciles the tenancy API into kcp workspaces and RBAC.
|
Package operator reconciles the tenancy API into kcp workspaces and RBAC. |
|
pkg/provider
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. |
|
pkg/server
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. |
|
pkg/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. |
|
pkg/virtual/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. |
|
pkg/virtual/selftenancyreview
Package selftenancyreview implements the SelfTenancyReview API of the tenancy virtual workspace.
|
Package selftenancyreview implements the SelfTenancyReview API of the tenancy virtual workspace. |
|
pkg/virtual/selftenantrequest
Package selftenantrequest lets a caller with nothing get their first tenant.
|
Package selftenantrequest lets a caller with nothing get their first tenant. |
|
sdk/apis/tenancy/v1alpha1
Package v1alpha1 holds the API types for the tenancy component (group tenancy.platform.kcp.io).
|
Package v1alpha1 holds the API types for the tenancy component (group tenancy.platform.kcp.io). |
Click to show internal directories.
Click to hide internal directories.