internal/

directory
v0.1.17 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2026 License: Apache-2.0

Directories

Path Synopsis
Package guest implements the in-box guest and its host-side client.
Package guest implements the in-box guest and its host-side client.
hub
Package server ties the box manager to the HTTP front-ends that share one process and one port:
Package server ties the box manager to the HTTP front-ends that share one process and one port:
apikey
Package apikey mints and verifies the API keys that authenticate callers of the llmbox box-control API.
Package apikey mints and verifies the API keys that authenticate callers of the llmbox box-control API.
auth
Package auth gates the admin UI and the per-box HTTP proxies behind OIDC provider sign-in.
Package auth gates the admin UI and the per-box HTTP proxies behind OIDC provider sign-in.
config
Package config loads llmbox's YAML configuration file for the hub (the llmbox-server).
Package config loads llmbox's YAML configuration file for the hub (the llmbox-server).
hooks
Package hooks runs external hook executables at box lifecycle events.
Package hooks runs external hook executables at box lifecycle events.
store
Package store persists llmbox's durable state — the box registry, the admin sign-in (identity) state, the cluster enrollment records, API keys, and hub-wide settings — behind a small set of interfaces.
Package store persists llmbox's durable state — the box registry, the admin sign-in (identity) state, the cluster enrollment records, API keys, and hub-wide settings — behind a small set of interfaces.
token
Package token implements the llmbox-server `token` command tree — creating, listing, and revoking the one-time join tokens a hub issues to enroll spokes.
Package token implements the llmbox-server `token` command tree — creating, listing, and revoking the one-time join tokens a hub issues to enroll spokes.
Package mcpserver exposes the llmbox box operations as MCP tools.
Package mcpserver exposes the llmbox box operations as MCP tools.
shared
api
Package api is the llmbox HTTP box-control API: the JSON surface the server exposes for box operations (create/get/list/destroy/logs/exec, proxies, spokes) and a Client that speaks it.
Package api is the llmbox HTTP box-control API: the JSON surface the server exposes for box operations (create/get/list/destroy/logs/exec, proxies, spokes) and a Client that speaks it.
boxconfig
Package boxconfig holds the box-provisioning configuration shared by the hub (which fills these from its YAML config) and the spoke (which fills them from command-line flags): the per-box resource caps and the registry credentials, their built-in defaults, and the conversion into the Docker registry auth map the box layer consumes.
Package boxconfig holds the box-provisioning configuration shared by the hub (which fills these from its YAML config) and the spoke (which fills them from command-line flags): the per-box resource caps and the registry credentials, their built-in defaults, and the conversion into the Docker registry auth map the box layer consumes.
cluster
Package cluster implements llmbox's hub-and-spoke model: a single hub (the MCP front-end the chatbot talks to) drives box operations on one or more spokes, each of which owns a local Docker daemon.
Package cluster implements llmbox's hub-and-spoke model: a single hub (the MCP front-end the chatbot talks to) drives box operations on one or more spokes, each of which owns a local Docker daemon.
sandbox
Package sandbox holds the backend-neutral box lifecycle types shared across llmbox: the inputs and views that cross the hub/spoke boundary and the box-id validation rule.
Package sandbox holds the backend-neutral box lifecycle types shared across llmbox: the inputs and views that cross the hub/spoke boundary and the box-id validation rule.
Package spoke implements the llmbox-spoke command tree: running a spoke that joins a hub and serves boxes against the local Docker daemon.
Package spoke implements the llmbox-spoke command tree: running a spoke that joins a hub and serves boxes against the local Docker daemon.
box
Package box holds the backend-neutral box manager.
Package box holds the backend-neutral box manager.
box/backend
Package backend is the registry that decouples box-backend selection from the composition roots.
Package backend is the registry that decouples box-backend selection from the composition roots.
box/conformance
Package conformance provides the backend-neutral behavioural contract for box provisioners (Run) and an in-process Fake provisioner that satisfies it without Docker.
Package conformance provides the backend-neutral behavioural contract for box provisioners (Run) and an in-process Fake provisioner that satisfies it without Docker.
boxapi
Package boxapi serves the box-facing port-publishing API: a small HTTP/JSON API on a per-box unix socket that lets the workload inside a box open, close, and list public URLs for ports of ITS OWN box only.
Package boxapi serves the box-facing port-publishing API: a small HTTP/JSON API on a per-box unix socket that lets the workload inside a box open, close, and list public URLs for ports of ITS OWN box only.
docker
Package docker implements a box.Provisioner backed by the Docker Engine API.
Package docker implements a box.Provisioner backed by the Docker Engine API.
firecracker
Package firecracker implements a box.Provisioner backed by Firecracker microVMs.
Package firecracker implements a box.Provisioner backed by Firecracker microVMs.

Jump to

Keyboard shortcuts

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