Directories
¶
| Path | Synopsis |
|---|---|
|
gen
Package gen provides primitives to interact with the openapi HTTP API.
|
Package gen provides primitives to interact with the openapi HTTP API. |
|
handlers
Package handlers implements the StrictServerInterface generated from the OpenAPI spec.
|
Package handlers implements the StrictServerInterface generated from the OpenAPI spec. |
|
service/envautoscaler
Package envautoscaler serves the Env-scoped autoscaler-config CRUD surface.
|
Package envautoscaler serves the Env-scoped autoscaler-config CRUD surface. |
|
service/envcommon
Package envcommon hosts the helpers shared between the env shell service (pkg/apiserver/service) and the per-resource sub-services (envmember, envautoscaler).
|
Package envcommon hosts the helpers shared between the env shell service (pkg/apiserver/service) and the per-resource sub-services (envmember, envautoscaler). |
|
service/envmember
Package envmember serves the Env-scoped Pool CRUD surface: `/v1/sandboxenvs/{name}/sandboxpools/*`.
|
Package envmember serves the Env-scoped Pool CRUD surface: `/v1/sandboxenvs/{name}/sandboxpools/*`. |
|
service/envscheduler
Package envscheduler implements the in-process Env-level request router.
|
Package envscheduler implements the in-process Env-level request router. |
|
controllers
|
|
|
sandboxenv
Package sandboxenv implements the SandboxEnv Reconciler.
|
Package sandboxenv implements the SandboxEnv Reconciler. |
|
sandboxenv/poolmigration
Package poolmigration owns the steady-state sync that keeps legacy (same-name) SandboxPool ↔ SandboxEnv pairs aligned.
|
Package poolmigration owns the steady-state sync that keeps legacy (same-name) SandboxPool ↔ SandboxEnv pairs aligned. |
|
sandboxenv/poolrender
Package poolrender produces a fully rendered SandboxPool CR from an Env + Member + SandboxTemplate triple.
|
Package poolrender produces a fully rendered SandboxPool CR from an Env + Member + SandboxTemplate triple. |
|
sandboxpool/autoscalingstate
Package autoscalingstate hosts the read-snapshot / write-accumulator abstraction used by the SandboxPool autoscaler.
|
Package autoscalingstate hosts the read-snapshot / write-accumulator abstraction used by the SandboxPool autoscaler. |
|
sandboxpool/poststarthooks
Package poststarthooks executes post-start hook actions on sandbox pods that have just transitioned Starting → Running.
|
Package poststarthooks executes post-start hook actions on sandbox pods that have just transitioned Starting → Running. |
|
Package e2bcompat provides an E2B-compatible HTTP API server for AgentBox.
|
Package e2bcompat provides an E2B-compatible HTTP API server for AgentBox. |
|
domain
Package domain provides E2B-compatible conversion utilities.
|
Package domain provides E2B-compatible conversion utilities. |
|
gen
Package e2bgen provides primitives to interact with the openapi HTTP API.
|
Package e2bgen provides primitives to interact with the openapi HTTP API. |
|
handlers
Package handlers implements the E2B-compatible StrictServerInterface generated by oapi-codegen.
|
Package handlers implements the E2B-compatible StrictServerInterface generated by oapi-codegen. |
|
router
Package router provides E2B-compatible HTTP route registration.
|
Package router provides E2B-compatible HTTP route registration. |
|
router/middleware
Package middleware provides E2B-compatible authentication middleware.
|
Package middleware provides E2B-compatible authentication middleware. |
|
envoy
|
|
|
extproc
Package extproc implements an Envoy ExternalProcessor (ExtProc) gRPC server.
|
Package extproc implements an Envoy ExternalProcessor (ExtProc) gRPC server. |
|
Package framework defines the host/extension contract shared by every extension point in AgentBox (SandboxPool lifecycle Plugins, quota Providers, and future Providers such as billing or telemetry).
|
Package framework defines the host/extension contract shared by every extension point in AgentBox (SandboxPool lifecycle Plugins, quota Providers, and future Providers such as billing or telemetry). |
|
providers/instancetype
Package instancetype defines the catalog abstraction for "named base resource shapes that a sandbox can scale up from by an integer multiplier".
|
Package instancetype defines the catalog abstraction for "named base resource shapes that a sandbox can scale up from by an integer multiplier". |
|
providerset
Package providerset bundles every framework Provider into a single value passed to Plugin Factories.
|
Package providerset bundles every framework Provider into a single value passed to Plugin Factories. |
|
lifecycle
|
|
|
lastcreate
Package lastcreate hosts the in-process Sandbox.Create timestamp tracker that the Pool autoscaler's quiet-window gate consumes.
|
Package lastcreate hosts the in-process Sandbox.Create timestamp tracker that the Pool autoscaler's quiet-window gate consumes. |
|
schedule
Package schedule implements the per-pool streaming claim scheduler.
|
Package schedule implements the per-pool streaming claim scheduler. |
|
Package metrics defines and registers all custom Prometheus metrics for AgentBox.
|
Package metrics defines and registers all custom Prometheus metrics for AgentBox. |
|
proto
|
|
|
Package sandboxrender turns an EmbeddedSandboxTemplate + overrides into the concrete Pool spec consumed by the SandboxPool controller.
|
Package sandboxrender turns an EmbeddedSandboxTemplate + overrides into the concrete Pool spec consumed by the SandboxPool controller. |
|
utils
|
|
|
dockerconfig
Package dockerconfig builds and parses Kubernetes `.dockerconfigjson` payloads for imagePullSecret Secrets of type kubernetes.io/dockerconfigjson.
|
Package dockerconfig builds and parses Kubernetes `.dockerconfigjson` payloads for imagePullSecret Secrets of type kubernetes.io/dockerconfigjson. |
|
hostalias
Package hostalias provides an in-process /etc/hosts-style resolver driven by the Manager-pushed ClusterConfig.HostAliases list.
|
Package hostalias provides an in-process /etc/hosts-style resolver driven by the Manager-pushed ClusterConfig.HostAliases list. |
|
httpctx
Package httpctx provides shared helpers for extracting authentication context from gin-based HTTP handlers.
|
Package httpctx provides shared helpers for extracting authentication context from gin-based HTTP handlers. |
|
httplog
Package httplog centralizes HTTP request logging for the AgentBox API servers.
|
Package httplog centralizes HTTP request logging for the AgentBox API servers. |
|
k8sname
Package k8sname provides validation for Kubernetes resource names with a stricter variant of RFC 1123 DNS label rules: names must start with a lowercase letter (not a digit).
|
Package k8sname provides validation for Kubernetes resource names with a stricter variant of RFC 1123 DNS label rules: names must start with a lowercase letter (not a digit). |
|
resource
Package resource provides utilities for computing resource sums across Pod containers.
|
Package resource provides utilities for computing resource sums across Pod containers. |
|
Package version holds the build-time version for all AgentBox components.
|
Package version holds the build-time version for all AgentBox components. |
|
Package wsmux adapts a gorilla/websocket connection into a net.Conn so that yamux can multiplex independent logical streams on top of it, and gRPC can run on top of yamux.
|
Package wsmux adapts a gorilla/websocket connection into a net.Conn so that yamux can multiplex independent logical streams on top of it, and gRPC can run on top of yamux. |
|
wsproxy
|
|
|
config
Package config holds the wsproxy runtime configuration.
|
Package config holds the wsproxy runtime configuration. |
|
gen
Package wsproxygen provides primitives to interact with the openapi HTTP API.
|
Package wsproxygen provides primitives to interact with the openapi HTTP API. |
|
server
Package server provides the two HTTP servers for wsproxy:
|
Package server provides the two HTTP servers for wsproxy: |
|
syncmgr
Package syncmgr implements the WSProxy sync manager that maintains persistent WebSocket connections to every Worker cluster and pushes API key, SandboxTemplate, and ClusterConfig updates.
|
Package syncmgr implements the WSProxy sync manager that maintains persistent WebSocket connections to every Worker cluster and pushes API key, SandboxTemplate, and ClusterConfig updates. |
|
syncmgr/handlers
Package handlers implements the wsproxygen.StrictServerInterface for the internal management API (:9004).
|
Package handlers implements the wsproxygen.StrictServerInterface for the internal management API (:9004). |
Click to show internal directories.
Click to hide internal directories.