Skip to content

Commit 71d4395

Browse files
committed
test: add aggregated apiserver bootstrap integration test
1 parent 70509a7 commit 71d4395

3 files changed

Lines changed: 402 additions & 1 deletion

File tree

internal/aggregated/storage/doc.go

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// Package storage implements codersdk-backed REST storage for the aggregated API
2+
// server's CoderWorkspace and CoderTemplate resources.
3+
//
4+
// v1 Semantics:
5+
// - Resources are namespace-scoped; the namespace represents the CoderControlPlane namespace.
6+
// - Template object names follow the format "<organization>.<template-name>".
7+
// - Workspace object names follow "<organization>.<user>.<workspace-name>".
8+
// - The dot separator works because Coder names are alphanumeric-with-hyphens (no dots),
9+
// while Kubernetes object names allow dots (DNS-1123 subdomains).
10+
// - A single admin session token is used for all API calls (no per-request impersonation in v1).
11+
// - Storage resolves the backing codersdk.Client via a ClientProvider interface.
12+
package storage

internal/aggregated/storage/workspace.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// Package storage provides codersdk-backed storage implementations for aggregated API resources.
21
package storage
32

43
import (

0 commit comments

Comments
 (0)