Directories
¶
| Path | Synopsis |
|---|---|
|
Package api holds the wire types of the vedette-host socket API (docs/specs/host-api.md), shared by host/server and host/client so the two cannot drift apart.
|
Package api holds the wire types of the vedette-host socket API (docs/specs/host-api.md), shared by host/server and host/client so the two cannot drift apart. |
|
Package archive is the format of a Vedette backup (docs/specs/host-api.md 6.11): one tar.gz (Go standard library) with fixed member names.
|
Package archive is the format of a Vedette backup (docs/specs/host-api.md 6.11): one tar.gz (Go standard library) with fixed member names. |
|
Package client is how core talks to vedette-host over its unix socket (docs/specs/host-api.md).
|
Package client is how core talks to vedette-host over its unix socket (docs/specs/host-api.md). |
|
Package config parses /etc/vedette/host.conf, the small file the installer writes for vedette-host (docs/specs/host-api.md section 3 and 13).
|
Package config parses /etc/vedette/host.conf, the small file the installer writes for vedette-host (docs/specs/host-api.md section 3 and 13). |
|
Package ops implements the system commands of vedette-host (docs/specs/host-api.md section 6) that the host delivers: os.check, os.install, os.auto_security.set, os.reboot, os.reboot.cancel, backup.create, backup.restore and logs.export, plus the read-only state endpoints that belong to them, and (part 3) net.apply, net.confirm, net.revert and the NTP sources, (slice 3-5) decoy_ip.add and decoy_ip.remove with the honeypot namespace, and (slice 3-6) the Quadlet units with container.start (the current image) and container.stop, and (slice 3-7) container.pull, which verifies a signed release itself before it pulls an image by digest, and (slice 3-8a) container.start with a version, container.rollback and the retention of images, and (slice 3-8b) the bootstrap that writes the first units (Bootstrap, run by vedette-host -bootstrap, never from the socket) and the way out of core_data_unrecoverable through backup.restore.
|
Package ops implements the system commands of vedette-host (docs/specs/host-api.md section 6) that the host delivers: os.check, os.install, os.auto_security.set, os.reboot, os.reboot.cancel, backup.create, backup.restore and logs.export, plus the read-only state endpoints that belong to them, and (part 3) net.apply, net.confirm, net.revert and the NTP sources, (slice 3-5) decoy_ip.add and decoy_ip.remove with the honeypot namespace, and (slice 3-6) the Quadlet units with container.start (the current image) and container.stop, and (slice 3-7) container.pull, which verifies a signed release itself before it pulls an image by digest, and (slice 3-8a) container.start with a version, container.rollback and the retention of images, and (slice 3-8b) the bootstrap that writes the first units (Bootstrap, run by vedette-host -bootstrap, never from the socket) and the way out of core_data_unrecoverable through backup.restore. |
|
opstest
Package opstest builds a fake machine for tests of host/ops, host/client and the host contract: a temporary root directory with the files the commands read (os-release, dpkg lock files, boot id, apt.conf.d, core's data directory with a database file and a key), and fake binaries, small shell scripts that record their argv and environment and print fixture files.
|
Package opstest builds a fake machine for tests of host/ops, host/client and the host contract: a temporary root directory with the files the commands read (os-release, dpkg lock files, boot id, apt.conf.d, core's data directory with a database file and a key), and fake binaries, small shell scripts that record their argv and environment and print fixture files. |
|
Package peer authenticates the process on the other end of the host socket (spec section 3).
|
Package peer authenticates the process on the other end of the host socket (spec section 3). |
|
Package server is the vedette-host socket server: a unix-socket HTTP/1.1 JSON API with a closed command table, durable runs, one global write lock, a hash-chained audit log and per-connection peer authentication (docs/specs/host-api.md).
|
Package server is the vedette-host socket server: a unix-socket HTTP/1.1 JSON API with a closed command table, durable runs, one global write lock, a hash-chained audit log and per-connection peer authentication (docs/specs/host-api.md). |
|
servertest
Package servertest starts a real host server on a temporary unix socket with an injected fake peer check, for tests of host/server, host/client and the host contract.
|
Package servertest starts a real host server on a temporary unix socket with an injected fake peer check, for tests of host/server, host/client and the host contract. |
Click to show internal directories.
Click to hide internal directories.