Directories
¶
| Path | Synopsis |
|---|---|
|
Package api is Headmesh's public REST API (OpenAPI 3.1, RFC 9457 errors), a thin layer over package service.
|
Package api is Headmesh's public REST API (OpenAPI 3.1, RFC 9457 errors), a thin layer over package service. |
|
Package cli implements the headmesh command-line tool.
|
Package cli implements the headmesh command-line tool. |
|
cmd
|
|
|
headmesh
command
Command headmesh is the Headmesh CLI.
|
Command headmesh is the Headmesh CLI. |
|
headmesh-cellagent
command
Command headmesh-cellagent runs beside a Headscale server and applies Headmesh's desired state to it under local guardrails.
|
Command headmesh-cellagent runs beside a Headscale server and applies Headmesh's desired state to it under local guardrails. |
|
headmesh-server
command
Command headmesh-server runs the Headmesh control server: the public REST API and the mutual-TLS endpoint cell agents dial into.
|
Command headmesh-server runs the Headmesh control server: the public REST API and the mutual-TLS endpoint cell agents dial into. |
|
core
|
|
|
cellagent
Package cellagent is the logic of headmesh-cellagent, the process that runs beside each Headscale.
|
Package cellagent is the logic of headmesh-cellagent, the process that runs beside each Headscale. |
|
cellserver
Package cellserver is the server side of the cell protocol: it accepts outbound Sync streams from cell agents, pushes each cell's compiled policy timeline, and delivers signed operations whose results callers wait for.
|
Package cellserver is the server side of the cell protocol: it accepts outbound Sync streams from cell agents, pushes each cell's compiled policy timeline, and delivers signed operations whose results callers wait for. |
|
policy
Package policy compiles Headmesh tenancy state into a Headscale (v0.29+) policy document.
|
Package policy compiles Headmesh tenancy state into a Headscale (v0.29+) policy document. |
|
Package db embeds the SQL migrations so every binary carries the schema it expects.
|
Package db embeds the SQL migrations so every binary carries the schema it expects. |
|
gen
|
|
|
cell/v1/cellv1connect
The cell protocol connects headmesh-server to the headmesh-cellagent running beside each Headscale.
|
The cell protocol connects headmesh-server to the headmesh-cellagent running beside each Headscale. |
|
internal
|
|
|
headscale
Package headscale wraps the Headscale v0.29 gRPC API with the narrow set of calls Headmesh needs.
|
Package headscale wraps the Headscale v0.29 gRPC API with the narrow set of calls Headmesh needs. |
|
service
Package service holds Headmesh's use cases — enrollment, grants, API keys, bootstrap — on top of the store and the cell hub.
|
Package service holds Headmesh's use cases — enrollment, grants, API keys, bootstrap — on top of the store and the cell hub. |
|
store
Package store is Headmesh's Postgres access layer: tenant-scoped transactions, migrations, the tamper-evident audit log and the loader that turns database state into a policy.Snapshot.
|
Package store is Headmesh's Postgres access layer: tenant-scoped transactions, migrations, the tamper-evident audit log and the loader that turns database state into a policy.Snapshot. |
Click to show internal directories.
Click to hide internal directories.