Implement the host agent as a Connect RPC server that orchestrates sandbox creation, destruction, pause/resume, and command execution. Includes sandbox manager with TTL-based reaper, network slot allocator, rootfs cloning, hostagent proto definition with generated stubs, and test/debug scripts. Fix Firecracker process lifetime bug where VM was tied to HTTP request context instead of background context.
14 lines
300 B
YAML
14 lines
300 B
YAML
version: v2
|
|
plugins:
|
|
- protoc_builtin: go
|
|
out: gen
|
|
opt: paths=source_relative
|
|
- local: protoc-gen-connect-go
|
|
out: gen
|
|
opt: paths=source_relative
|
|
managed:
|
|
enabled: true
|
|
override:
|
|
- file_option: go_package_prefix
|
|
value: git.omukk.dev/wrenn/sandbox/proto/hostagent/gen
|