Directories
¶
| Path | Synopsis |
|---|---|
|
adapter
|
|
|
blob/fs
Package fs is a filesystem-backed content-addressable BlobStore.
|
Package fs is a filesystem-backed content-addressable BlobStore. |
|
discovery/mdns
Package mdns provides Multicast-DNS service publication and discovery for Hearth.
|
Package mdns provides Multicast-DNS service publication and discovery for Hearth. |
|
registry/memregistry
Package memregistry is an in-memory app.WorkerRegistry.
|
Package memregistry is an in-memory app.WorkerRegistry. |
|
store/memstore
Package memstore is an in-memory implementation of app.Store.
|
Package memstore is an in-memory implementation of app.Store. |
|
store/sqlite
Package sqlite is the durable Store implementation backed by SQLite in WAL mode.
|
Package sqlite is the durable Store implementation backed by SQLite in WAL mode. |
|
store/storetest
Package storetest exposes a Store conformance suite that any implementation can run against itself.
|
Package storetest exposes a Store conformance suite that any implementation can run against itself. |
|
transport/grpc
Package grpcadapter implements the gRPC transport for Hearth.
|
Package grpcadapter implements the gRPC transport for Hearth. |
|
Package app holds the orchestration layer.
|
Package app holds the orchestration layer. |
|
coordinator
Package coordinator orchestrates job lifecycle on top of the Store and pure-domain helpers.
|
Package coordinator orchestrates job lifecycle on top of the Store and pure-domain helpers. |
|
workerrt
Package workerrt is the worker-side runtime that pulls jobs from the coordinator, dispatches them to user-supplied Handlers, keeps the lease alive with heartbeats, and reports the outcome.
|
Package workerrt is the worker-side runtime that pulls jobs from the coordinator, dispatches them to user-supplied Handlers, keeps the lease alive with heartbeats, and reports the outcome. |
|
domain
|
|
|
jobsm
Package jobsm holds the Job state machine as pure functions.
|
Package jobsm holds the Job state machine as pure functions. |
|
retry
Package retry contains pure backoff math.
|
Package retry contains pure backoff math. |
|
security
|
|
|
bundle
Package bundle defines the single-file enrollment artifact a worker needs to join a coordinator: a tar.gz containing the CA cert, the worker's signed certificate + private key, and a manifest with the coordinator endpoint(s).
|
Package bundle defines the single-file enrollment artifact a worker needs to join a coordinator: a tar.gz containing the CA cert, the worker's signed certificate + private key, and a manifest with the coordinator endpoint(s). |
|
pki
Package pki manages the Hearth home-LAN certificate authority.
|
Package pki manages the Hearth home-LAN certificate authority. |
|
Package wire converts between domain types (pkg/job, internal/app) and the generated protobuf types.
|
Package wire converts between domain types (pkg/job, internal/app) and the generated protobuf types. |
Click to show internal directories.
Click to hide internal directories.