pkg/

directory
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 10, 2026 License: Apache-2.0

Directories

Path Synopsis
api
protocol
Package protocol defines the WebSocket sync protocol shared between the Worker (pkg/apiserver) and the ws-proxy (cmd/wsproxy).
Package protocol defines the WebSocket sync protocol shared between the Worker (pkg/apiserver) and the ws-proxy (cmd/wsproxy).
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.
controllers
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 domain conversion utilities.
Package domain provides E2B-compatible domain 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).
lifecycle
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
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.
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.

Jump to

Keyboard shortcuts

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