Directories
¶
| Path | Synopsis |
|---|---|
|
cluster-gateway
|
|
|
cmd/cluster-gateway
command
|
|
|
ctld
|
|
|
cmd/ctld
command
|
|
|
global-gateway
|
|
|
cmd/global-gateway
command
|
|
|
pkg/memcache
Package memcache provides a thread-safe, bounded in-memory cache with TTL and LRU eviction.
|
Package memcache provides a thread-safe, bounded in-memory cache with TTL and LRU eviction. |
|
infra-operator
|
|
|
api/config
+kubebuilder:object:generate=true
|
+kubebuilder:object:generate=true |
|
api/v1alpha1
Package v1alpha1 contains API Schema definitions for the infra v1alpha1 API group +kubebuilder:object:generate=true +groupName=infra.sandbox0.ai
|
Package v1alpha1 contains API Schema definitions for the infra v1alpha1 API group +kubebuilder:object:generate=true +groupName=infra.sandbox0.ai |
|
cmd/infra-operator
command
|
|
|
internal
|
|
|
manager
|
|
|
cmd/manager
command
|
|
|
cmd/procd
command
Package main is the entry point for the Procd service.
|
Package main is the entry point for the Procd service. |
|
cmd/python-runner
command
|
|
|
pkg/apis/sandbox0/v1alpha1
Package v1alpha1 is the v1alpha1 version of the API.
|
Package v1alpha1 is the v1alpha1 version of the API. |
|
pkg/appservice
Package appservice owns manager-side sandbox application-service validation.
|
Package appservice owns manager-side sandbox application-service validation. |
|
pkg/eventbase
Package eventbase constructs manager-owned pubsub event metadata.
|
Package eventbase constructs manager-owned pubsub event metadata. |
|
pkg/generated/clientset/versioned/fake
This package has the automatically generated fake clientset.
|
This package has the automatically generated fake clientset. |
|
pkg/generated/clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
|
This package contains the scheme of the automatically generated clientset. |
|
pkg/generated/clientset/versioned/typed/sandbox0/v1alpha1
This package has the automatically generated typed clients.
|
This package has the automatically generated typed clients. |
|
pkg/generated/clientset/versioned/typed/sandbox0/v1alpha1/fake
Package fake has the automatically generated clients.
|
Package fake has the automatically generated clients. |
|
pkg/naming
Package naming owns manager-specific Kubernetes resource names.
|
Package naming owns manager-specific Kubernetes resource names. |
|
pkg/podmeta
Package podmeta contains manager-owned helpers for reading sandbox pod metadata.
|
Package podmeta contains manager-owned helpers for reading sandbox pod metadata. |
|
pkg/retryqueue
Package retryqueue contains small mechanics shared by manager durable retry queues.
|
Package retryqueue contains small mechanics shared by manager durable retry queues. |
|
pkg/rootfsmaintenance
Package rootfsmaintenance owns background rootfs metadata and object-store reconciliation.
|
Package rootfsmaintenance owns background rootfs metadata and object-store reconciliation. |
|
pkg/sandboxindex
Package sandboxindex maintains the informer-backed sandbox-to-pod index.
|
Package sandboxindex maintains the informer-backed sandbox-to-pod index. |
|
pkg/sandboxobservability
Package sandboxobservability contains manager-owned observability producers.
|
Package sandboxobservability contains manager-owned observability producers. |
|
pkg/sandboxstore
Package sandboxstore owns durable sandbox identity and rootfs persistence.
|
Package sandboxstore owns durable sandbox identity and rootfs persistence. |
|
procd/pkg/context
Package context provides context management for Procd.
|
Package context provides context management for Procd. |
|
procd/pkg/file
Package file provides file system operations for Procd.
|
Package file provides file system operations for Procd. |
|
procd/pkg/http
Package http provides the HTTP server for Procd.
|
Package http provides the HTTP server for Procd. |
|
procd/pkg/http/handlers
Package handlers provides HTTP handlers for Procd.
|
Package handlers provides HTTP handlers for Procd. |
|
procd/pkg/process
Package process provides process management for Procd.
|
Package process provides process management for Procd. |
|
procd/pkg/process/cmd
Package cmd provides one-time command execution.
|
Package cmd provides one-time command execution. |
|
procd/pkg/process/repl
Package repl provides configurable REPL process implementations.
|
Package repl provides configurable REPL process implementations. |
|
procd/pkg/reaper
Package reaper removes orphaned zombie processes adopted by procd as PID 1.
|
Package reaper removes orphaned zombie processes adopted by procd as PID 1. |
|
procd/pkg/session
Package session supervises durable, process-backed execution sessions.
|
Package session supervises durable, process-backed execution sessions. |
|
netd
|
|
|
nomad-driver-sandbox0
module
|
|
|
pkg
|
|
|
apispec
Package apispec provides primitives to interact with the openapi HTTP API.
|
Package apispec provides primitives to interact with the openapi HTTP API. |
|
clock
Package clock provides a synchronized clock across multiple clusters by periodically syncing with a shared PostgreSQL database.
|
Package clock provides a synchronized clock across multiple clusters by periodically syncing with a shared PostgreSQL database. |
|
gateway/meteringbackend
Package meteringbackend initializes the shared gateway metering read model.
|
Package meteringbackend initializes the shared gateway metering read model. |
|
internalauth
Package internalauth provides internal token-based authentication for inter-service communication within the sandbox0 infrastructure.
|
Package internalauth provides internal token-based authentication for inter-service communication within the sandbox0 infrastructure. |
|
migrate
Package migrate provides a universal database migration solution for sandbox0 services.
|
Package migrate provides a universal database migration solution for sandbox0 services. |
|
observability
Package observability provides unified observability (tracing, metrics, logging) for all types of clients used in the infra codebase.
|
Package observability provides unified observability (tracing, metrics, logging) for all types of clients used in the infra codebase. |
|
observability/httpserver
Package httpserver instruments net/http servers without importing a web framework.
|
Package httpserver instruments net/http servers without importing a web framework. |
|
observability/internal/httpattrs
Package httpattrs contains shared HTTP semantic-convention helpers.
|
Package httpattrs contains shared HTTP semantic-convention helpers. |
|
procdapi
Package procdapi defines the manager-side contract for procd HTTP APIs.
|
Package procdapi defines the manager-side contract for procd HTTP APIs. |
|
procdconfig
Package procdconfig defines the lightweight runtime configuration shared by procd and the components that inject its environment variables.
|
Package procdconfig defines the lightweight runtime configuration shared by procd and the components that inject its environment variables. |
|
rediscache
Package rediscache provides shared Redis client and cache helpers.
|
Package rediscache provides shared Redis client and cache helpers. |
|
runtimecontrol
Package runtimecontrol defines the event-driven assignment contract shared by manager, ctld, and procd.
|
Package runtimecontrol defines the event-driven assignment contract shared by manager, ctld, and procd. |
|
sandboxobservability
Package sandboxobservability defines the per-sandbox historical event, log, and metric query contract.
|
Package sandboxobservability defines the per-sandbox historical event, log, and metric query contract. |
|
sandboxobservability/clickhouse
Package clickhouse implements the ClickHouse query backend for per-sandbox historical observability events, logs, and metric samples.
|
Package clickhouse implements the ClickHouse query backend for per-sandbox historical observability events, logs, and metric samples. |
|
sandboxpod
Package sandboxpod defines the Kubernetes Pod metadata and readiness contract shared by manager, ctld, and the embedded network runtime.
|
Package sandboxpod defines the Kubernetes Pod metadata and readiness contract shared by manager, ctld, and the embedded network runtime. |
|
streaming
Package streaming provides transport helpers for long-lived HTTP streams.
|
Package streaming provides transport helpers for long-lived HTTP streams. |
|
tokenbucket
Package tokenbucket provides shared local and Redis-backed token buckets for request admission and byte-rate backpressure.
|
Package tokenbucket provides shared local and Redis-backed token buckets for request admission and byte-rate backpressure. |
|
regional-gateway
|
|
|
cmd/regional-gateway
command
|
|
|
scheduler
|
|
|
cmd/scheduler
command
|
|
|
scripts
|
|
|
license-sign
command
|
|
|
ssh-gateway
|
|
|
cmd/ssh-gateway
command
|
|
|
storage-proxy
|
|
|
pkg/coordinator
Package coordinator handles distributed coordination for snapshot operations across multiple manager storage runtime instances using PostgreSQL LISTEN/NOTIFY.
|
Package coordinator handles distributed coordination for snapshot operations across multiple manager storage runtime instances using PostgreSQL LISTEN/NOTIFY. |
|
pkg/runtime
Package runtime assembles and runs manager's storage API runtime.
|
Package runtime assembles and runs manager's storage API runtime. |
|
tests
|
|
|
e2e/cmd/prepare-s0fs-posix
command
|
|
|
e2e/internal/framework
Package framework contains helpers used only by sandbox0 end-to-end tests.
|
Package framework contains helpers used only by sandbox0 end-to-end tests. |
|
tools
|
|
|
clickhouse-oss-gc
command
|
Click to show internal directories.
Click to hide internal directories.