Directories
¶
| Path | Synopsis |
|---|---|
|
Package auth holds the relay's own credentials: the teacher's admin token, a class's join code, and the session tokens the relay signs for students.
|
Package auth holds the relay's own credentials: the teacher's admin token, a class's join code, and the session tokens the relay signs for students. |
|
cmd
|
|
|
wctr-relay
command
Command wctr-relay is the classroom relay and firewall for WASI containers: `wctr-relay serve` runs it, the other commands manage it.
|
Command wctr-relay is the classroom relay and firewall for WASI containers: `wctr-relay serve` runs it, the other commands manage it. |
|
Package driver is the client side of the relay's data plane: what an engine uses to give its containers a network through the relay.
|
Package driver is the client side of the relay's data plane: what an engine uses to give its containers a network through the relay. |
|
Package firewall is the relay's security-group model, after OpenStack Neutron's networking API: ports carry security groups, groups hold rules, rules only allow, and everything not allowed is denied.
|
Package firewall is the relay's security-group model, after OpenStack Neutron's networking API: ports carry security groups, groups hold rules, rules only allow, and everything not allowed is denied. |
|
Package frame is the relay's data-plane wire format, version 1.
|
Package frame is the relay's data-plane wire format, version 1. |
|
gen
|
|
|
internal
|
|
|
buildflowmap
command
Command buildflowmap builds the flow-map page's WebAssembly (module web/flowmap, GOOS=js) and writes what server/flowmap embeds: flowmap.wasm.gz (gzip, no name, no time: reproducible) and wasm_exec.js (from the toolchain that built it).
|
Command buildflowmap builds the flow-map page's WebAssembly (module web/flowmap, GOOS=js) and writes what server/flowmap embeds: flowmap.wasm.gz (gzip, no name, no time: reproducible) and wasm_exec.js (from the toolchain that built it). |
|
cli
Package cli is the wctr-relay command line: the relay daemon (serve) and the teacher's client of its control API, in one cobra tree.
|
Package cli is the wctr-relay command line: the relay daemon (serve) and the teacher's client of its control API, in one cobra tree. |
|
statedir
Package statedir lays out the relay's state directory: the control-plane state, the admin token, the session-token signing keys, the internal CA, the audit log and the admin socket.
|
Package statedir lays out the relay's state directory: the control-plane state, the admin token, the session-token signing keys, the internal CA, the audit log and the admin socket. |
|
Package relay is the classroom relay's core, independent of any network transport: classes, sessions, ports and their addresses and DNS names, security groups enforced on every flow, connection tracking, the flow log, and the data plane that brokers streams and datagrams between sessions.
|
Package relay is the classroom relay's core, independent of any network transport: classes, sessions, ports and their addresses and DNS names, security groups enforced on every flow, connection tracking, the flow log, and the data plane that brokers streams and datagrams between sessions. |
|
Package server puts the relay on the network: the data plane as a WebSocket at /v1/data, the control API as Connect handlers (gRPC, gRPC-Web and the Connect protocol on one handler), and /v1/info.
|
Package server puts the relay on the network: the data plane as a WebSocket at /v1/data, the control API as Connect handlers (gRPC, gRPC-Web and the Connect protocol on one handler), and /v1/info. |
|
Package tlsca is the relay's internal CA, for a classroom with no public name: a root (ECDSA P-256) that a school installs on its machines, NAME-CONSTRAINED to the relay's names and addresses, so that even a stolen key cannot sign for any other site; and short leaf certificates issued from it on demand.
|
Package tlsca is the relay's internal CA, for a classroom with no public name: a root (ECDSA P-256) that a school installs on its machines, NAME-CONSTRAINED to the relay's names and addresses, so that even a stolen key cannot sign for any other site; and short leaf certificates issued from it on demand. |
|
web
|
|
|
flowmap
module
|
Click to show internal directories.
Click to hide internal directories.