Directories
¶
| Path | Synopsis |
|---|---|
|
clib
|
|
|
go
command
Command libreflop builds the reFLOP C API as a shared library:
|
Command libreflop builds the reFLOP C API as a shared library: |
|
pkg
|
|
|
opset
Package opset exposes opset v1 (generated from opset/v1/opset.yaml, the single source of truth, invariant I10) to Go code: reflopd and libreflop.
|
Package opset exposes opset v1 (generated from opset/v1/opset.yaml, the single source of truth, invariant I10) to Go code: reflopd and libreflop. |
|
sshhost
Package sshhost handles the sshd host keys that SSH invites carry, so the Guest's ssh trusts exactly the host the Owner paired them with (SEC_SWEEP L6).
|
Package sshhost handles the sshd host keys that SSH invites carry, so the Guest's ssh trusts exactly the host the Owner paired them with (SEC_SWEEP L6). |
|
wire
Package wire implements reflop framing: a uint32 big-endian length prefix followed by a protobuf message.
|
Package wire implements reflop framing: a uint32 big-endian length prefix followed by a protobuf message. |
|
Package server embeds the Python worker into reflopd so that a single binary carries everything the Owner needs (PLAN.md §4.2).
|
Package server embeds the Python worker into reflopd so that a single binary carries everything the Owner needs (PLAN.md §4.2). |
|
reflopd/cmd/reflopd
command
Command reflopd is the reFLOP server daemon.
|
Command reflopd is the reFLOP server daemon. |
|
reflopd/internal/audit
Package audit keeps an append-only, per-identity log of what Guests did (PLAN.md §9.9): registrations, executes, transfers, validation failures, rail hits and kills.
|
Package audit keeps an append-only, per-identity log of what Guests did (PLAN.md §9.9): registrations, executes, transfers, validation failures, rail hits and kills. |
|
reflopd/internal/auth
Package auth manages the server key, Guest identities, invites, and the challenge-response authentication of PLAN.md §15 (ADR-006).
|
Package auth manages the server key, Guest identities, invites, and the challenge-response authentication of PLAN.md §15 (ADR-006). |
|
reflopd/internal/buildinfo
Package buildinfo carries version metadata injected at build time with -ldflags "-X github.com/reflopai/reflop/server/reflopd/internal/buildinfo.Version=...".
|
Package buildinfo carries version metadata injected at build time with -ldflags "-X github.com/reflopai/reflop/server/reflopd/internal/buildinfo.Version=...". |
|
reflopd/internal/cgroup
Package cgroup manages worker cgroups inside a delegated cgroup v2 subtree (systemd user service or scope with Delegate=yes, or the Level 1 system unit).
|
Package cgroup manages worker cgroups inside a delegated cgroup v2 subtree (systemd user service or scope with Delegate=yes, or the Level 1 system unit). |
|
reflopd/internal/cli
Package cli implements the reflopd command line (PLAN.md §16.1).
|
Package cli implements the reflopd command line (PLAN.md §16.1). |
|
reflopd/internal/config
Package config holds reflopd settings.
|
Package config holds reflopd settings. |
|
reflopd/internal/gpu
Package gpu detects NVIDIA GPUs and the driver without loading CUDA in reflopd (reflopd never touches the GPU, PLAN.md §9.1).
|
Package gpu detects NVIDIA GPUs and the driver without loading CUDA in reflopd (reflopd never touches the GPU, PLAN.md §9.1). |
|
reflopd/internal/paths
Package paths decides every server-side location.
|
Package paths decides every server-side location. |
|
reflopd/internal/rails
Package rails implements the always-on safety rails of PLAN.md §9.6: a disk free floor on the store filesystem and a host RAM floor.
|
Package rails implements the always-on safety rails of PLAN.md §9.6: a disk free floor on the store filesystem and a host RAM floor. |
|
reflopd/internal/runtime
Package runtime installs the pinned compute runtime: a standalone CPython plus PyTorch wheels whose SHA-256 hashes are embedded in this reflopd build (lock.json, generated by codegen/lock_runtime.py).
|
Package runtime installs the pinned compute runtime: a standalone CPython plus PyTorch wheels whose SHA-256 hashes are embedded in this reflopd build (lock.json, generated by codegen/lock_runtime.py). |
|
reflopd/internal/selfupdate
Package selfupdate replaces the running reflopd binary with a published GitHub release.
|
Package selfupdate replaces the running reflopd binary with a published GitHub release. |
|
reflopd/internal/server
Package server is reflopd's daemon: listeners, authentication, sessions, workers, rails, Owner controls and audit (PLAN.md §9).
|
Package server is reflopd's daemon: listeners, authentication, sessions, workers, rails, Owner controls and audit (PLAN.md §9). |
|
reflopd/internal/sshpipe
Package sshpipe manages SSH pipe mode (PLAN.md §4.4, §15.4): the Guest's key goes into authorized_keys with restrict and a forced command, so SSH is a pipe that can only run `reflopd serve --stdio`, never a shell.
|
Package sshpipe manages SSH pipe mode (PLAN.md §4.4, §15.4): the Guest's key goes into authorized_keys with restrict and a forced command, so SSH is a pipe that can only run `reflopd serve --stdio`, never a shell. |
|
reflopd/internal/store
Package store keeps each identity's TensorPacks content-addressed under a server-chosen path: <root>/<identity>/blobs/<sha256> (invariant I7).
|
Package store keeps each identity's TensorPacks content-addressed under a server-chosen path: <root>/<identity>/blobs/<sha256> (invariant I7). |
|
reflopd/internal/supervisor
Package supervisor spawns, watches and kills sandboxed workers: one process per (identity, session), invariant I5.
|
Package supervisor spawns, watches and kills sandboxed workers: one process per (identity, session), invariant I5. |
|
reflopd/internal/suspend
Package suspend moves a worker's GPU memory to host RAM and back with the CUDA driver's process checkpoint API (ADR-030).
|
Package suspend moves a worker's GPU memory to host RAM and back with the CUDA driver's process checkpoint API (ADR-030). |
|
reflopd/internal/usage
Package usage accounts how much compute each Guest identity has used.
|
Package usage accounts how much compute each Guest identity has used. |
Click to show internal directories.
Click to hide internal directories.