Directories
¶
| Path | Synopsis |
|---|---|
|
Package attachplane is the dial-back half of Rainier's terminal attach: the pairing table, the runner's dial-back endpoint, and the splice that joins one client stream to one runner socket.
|
Package attachplane is the dial-back half of Rainier's terminal attach: the pairing table, the runner's dial-back endpoint, and the splice that joins one client stream to one runner socket. |
|
cmd
|
|
|
controld
command
cmd/controld/main.go
|
cmd/controld/main.go |
|
egressd
command
Command egressd is the per-VM HTTP CONNECT proxy that is the only egress path for session containers (spec §8).
|
Command egressd is the per-VM HTTP CONNECT proxy that is the only egress path for session containers (spec §8). |
|
rainier
command
Command rainier is the client CLI for controld and for Rainier Cloud.
|
Command rainier is the client CLI for controld and for Rainier Cloud. |
|
rainier-latency
command
Command rainier-latency measures Rainier's terminal happy path against a real configured fleet.
|
Command rainier-latency measures Rainier's terminal happy path against a real configured fleet. |
|
rattach
command
Command rattach is the dev attach client: it dials sessiond's (or runnerd's/controld's) /attach websocket, puts the local terminal in raw mode, and pipes stdin/stdout through.
|
Command rattach is the dev attach client: it dials sessiond's (or runnerd's/controld's) /attach websocket, puts the local terminal in raw mode, and pipes stdin/stdout through. |
|
runnerctl
command
cmd/runnerctl/main.go
|
cmd/runnerctl/main.go |
|
runnerd
command
cmd/runnerd/main.go
|
cmd/runnerd/main.go |
|
sessiond
command
|
|
|
vtcap
command
Command vtcap records a program's raw PTY output to a fixture file.
|
Command vtcap records a program's raw PTY output to a fixture file. |
|
Package control defines Rainier's public control-plane application contract: the portable domain vocabulary, the caller-facing application interfaces, and the narrow host-supplied ports that self-hosted controld and Rainier Cloud both consume.
|
Package control defines Rainier's public control-plane application contract: the portable domain vocabulary, the caller-facing application interfaces, and the narrow host-supplied ports that self-hosted controld and Rainier Cloud both consume. |
|
Package controlapp implements the portable application behavior behind the frozen public control contract: session lifecycle, environment definition, provider-neutral fleet truth and within-pool scheduling, and authorized terminal attachment with bounded workspace diff/push/pull orchestration.
|
Package controlapp implements the portable application behavior behind the frozen public control contract: session lifecycle, environment definition, provider-neutral fleet truth and within-pool scheduling, and authorized terminal attachment with bounded workspace diff/push/pull orchestration. |
|
repotest
Package repotest is the executable contract of the three control repository ports: control.SessionRepository, control.EnvironmentRepository, and control.FleetRepository.
|
Package repotest is the executable contract of the three control repository ports: control.SessionRepository, control.EnvironmentRepository, and control.FleetRepository. |
|
internal
|
|
|
attachio
Package attachio is the raw-mode terminal attach loop, extracted from cmd/rattach: raw mode (tty stdin only), SIGWINCH-driven resize, Ctrl-] detach, and sequence-number tracking for --since resume.
|
Package attachio is the raw-mode terminal attach loop, extracted from cmd/rattach: raw mode (tty stdin only), SIGWINCH-driven resize, Ctrl-] detach, and sequence-number tracking for --since resume. |
|
cli
Package cli is the rainier CLI's HTTP client and on-disk config — the pieces cmd/rainier composes into the actual command surface, and the pieces a smoke test can drive against a real controld without going through main().
|
Package cli is the rainier CLI's HTTP client and on-disk config — the pieces cmd/rainier composes into the actual command surface, and the pieces a smoke test can drive against a real controld without going through main(). |
|
controld
internal/controld/agentvault.go
|
internal/controld/agentvault.go |
|
controld/pgstore
internal/controld/pgstore/environments.go
|
internal/controld/pgstore/environments.go |
|
driver
internal/driver/contract.go
|
internal/driver/contract.go |
|
egress
Package egress is a per-VM CONNECT proxy: default-deny, per-session allowlist, audit log.
|
Package egress is a per-VM CONNECT proxy: default-deny, per-session allowlist, audit log. |
|
eventlog
Package eventlog is an append-only, sequence-numbered event log backed by a JSONL file.
|
Package eventlog is an append-only, sequence-numbered event log backed by a JSONL file. |
|
reap
Package reap installs a SIGCHLD-driven loop that wait()s children reparented to this process (PID 1 in the sandbox), and is the single authoritative waiter for every child on Linux so no other caller races it with its own wait4/cmd.Wait.
|
Package reap installs a SIGCHLD-driven loop that wait()s children reparented to this process (PID 1 in the sandbox), and is the single authoritative waiter for every child on Linux so no other caller races it with its own wait4/cmd.Wait. |
|
relay
Package relay multiplexes many client attachments over the single outbound WebSocket a session opens to runnerd (spec rule 3).
|
Package relay multiplexes many client attachments over the single outbound WebSocket a session opens to runnerd (spec rule 3). |
|
runnerd
internal/runnerd/agent.go
|
internal/runnerd/agent.go |
|
server
serve(conn) is deliberately transport-direction-agnostic: Plan 2 reuses it verbatim on an outbound-dialed connection (spec portability rule 3).
|
serve(conn) is deliberately transport-direction-agnostic: Plan 2 reuses it verbatim on an outbound-dialed connection (spec portability rule 3). |
|
session
internal/session/session.go Session wires a PTY process to the emulator, the event log, and viewer fan-out.
|
internal/session/session.go Session wires a PTY process to the emulator, the event log, and viewer fan-out. |
|
Package protocol documents Rainier's public wire-contract namespace.
|
Package protocol documents Rainier's public wire-contract namespace. |
|
runner
Package runner defines the JSON messages exchanged between runnerd and controld over runnerd's single outbound control WebSocket.
|
Package runner defines the JSON messages exchanged between runnerd and controld over runnerd's single outbound control WebSocket. |
|
terminal
Package terminal defines the JSON messages a terminal attach exchanges between a viewer and a session: ClientMessage carries stdin and resize into the pty, ServerMessage carries snapshot, output, and exit back out.
|
Package terminal defines the JSON messages a terminal attach exchanges between a viewer and a session: ClientMessage carries stdin and resize into the pty, ServerMessage carries snapshot, output, and exit back out. |
|
workspace
Package workspace defines the JSON messages and security rules of Rainier's workspace-inspection and transfer protocol — the per-repository diff and the bounded push/pull file transfer — together with the path and archive rules both ends of a transfer apply.
|
Package workspace defines the JSON messages and security rules of Rainier's workspace-inspection and transfer protocol — the per-repository diff and the bounded push/pull file transfer — together with the path and archive rules both ends of a transfer apply. |
|
Package runnerplane is the runner half of a Rainier control plane: the WebSocket endpoint runners dial, the connection registry behind it, the generation mint and its two fences, capability acceptance, reconciliation, event translation, and the dispatch correlation that makes control.RunnerTransport work.
|
Package runnerplane is the runner half of a Rainier control plane: the WebSocket endpoint runners dial, the connection registry behind it, the generation mint and its two fences, capability acceptance, reconciliation, event translation, and the dispatch correlation that makes control.RunnerTransport work. |
|
v0wire/agents.go
|
v0wire/agents.go |
Click to show internal directories.
Click to hide internal directories.