Directories
¶
| Path | Synopsis |
|---|---|
|
Package candaceos contains the small, durable domain model shared by CandaceOS controllers and user-facing applications.
|
Package candaceos contains the small, durable domain model shared by CandaceOS controllers and user-facing applications. |
|
agentclient
Package agentclient is CandaceOS Core's transport to one node agent.
|
Package agentclient is CandaceOS Core's transport to one node agent. |
|
browserroutes
Package browserroutes is the single source of truth for CandaceOS Core's browser-facing URL space.
|
Package browserroutes is the single source of truth for CandaceOS Core's browser-facing URL space. |
|
component
Package component defines the public bring-up contract for services an embedding repository composes alongside CandaceOS Core.
|
Package component defines the public bring-up contract for services an embedding repository composes alongside CandaceOS Core. |
|
config
Package config resolves CandaceOS Core's environment into its canonical Liquid Proto contract.
|
Package config resolves CandaceOS Core's environment into its canonical Liquid Proto contract. |
|
control
Package control is CandaceOS Core's control-plane composition root beneath main.
|
Package control is CandaceOS Core's control-plane composition root beneath main. |
|
fleet
Package fleet is CandaceOS Core's read-only view of Warden's cluster membership.
|
Package fleet is CandaceOS Core's read-only view of Warden's cluster membership. |
|
harness
Package harness defines the public behavior boundary between CandaceOS Core and a compiled-in agent runtime implementation.
|
Package harness defines the public behavior boundary between CandaceOS Core and a compiled-in agent runtime implementation. |
|
harness/opencode
Package opencode implements the built-in OpenCode agent runtime behind the public CandaceOS harness seam.
|
Package opencode implements the built-in OpenCode agent runtime behind the public CandaceOS harness seam. |
|
httpapi
Package httpapi is CandaceOS Core's operator-facing HTTP transport.
|
Package httpapi is CandaceOS Core's operator-facing HTTP transport. |
|
httpserver
Package httpserver owns CandaceOS Core's single configured Gin engine.
|
Package httpserver owns CandaceOS Core's single configured Gin engine. |
|
internal/storedb
Package storedb is the sqlc-generated query layer over the CandaceOS control schema.
|
Package storedb is the sqlc-generated query layer over the CandaceOS control schema. |
|
operator
Package operator owns CandaceOS Core's agent turn: policy, approvals, and run state.
|
Package operator owns CandaceOS Core's agent turn: policy, approvals, and run state. |
|
reconcile
Package reconcile turns approved desired state into fenced node-agent calls.
|
Package reconcile turns approved desired state into fenced node-agent calls. |
|
store
Package store is CandaceOS Core's durable control-plane state.
|
Package store is CandaceOS Core's durable control-plane state. |
|
webui
Package webui serves CandaceOS Core's local-first operator interface and is the seam where an embedding product supplies its own branding.
|
Package webui serves CandaceOS Core's local-first operator interface and is the seam where an embedding product supplies its own branding. |
|
Package warden defines the shared contracts for the candacenet warden service: core types, the wire protocol, and the interfaces that the election, watchdog, notification, dashboard, and configuration packages implement or consume.
|
Package warden defines the shared contracts for the candacenet warden service: core types, the wire protocol, and the interfaces that the election, watchdog, notification, dashboard, and configuration packages implement or consume. |
|
config
Package config loads warden node configuration from built-in defaults, an optional YAML file, and environment overrides, in that precedence order (env beats file beats defaults).
|
Package config loads warden node configuration from built-in defaults, an optional YAML file, and environment overrides, in that precedence order (env beats file beats defaults). |
|
dashboard
Package dashboard renders the operator-facing observability surface of a warden node: a server-side-rendered, HTMX-refreshed dashboard, an HTMX partial for live cluster refresh, and a JSON status API.
|
Package dashboard renders the operator-facing observability surface of a warden node: a server-side-rendered, HTMX-refreshed dashboard, an HTMX partial for live cluster refresh, and a JSON status API. |
|
discovery
Package discovery implements warden.PeerDiscoverer: the sources that report which nodes are candidate members of the cluster.
|
Package discovery implements warden.PeerDiscoverer: the sources that report which nodes are candidate members of the cluster. |
|
election
Package election implements Raft-style leader election (terms and votes, no log replication) over a static peer set, plus the peer-liveness tracking that feeds the cluster ClusterView.
|
Package election implements Raft-style leader election (terms and votes, no log replication) over a static peer set, plus the peer-liveness tracking that feeds the cluster ClusterView. |
|
grpcmux
Package grpcmux multiplexes the warden gRPC plane and the existing HTTP surface onto a SINGLE bound port using soheilhy/cmux.
|
Package grpcmux multiplexes the warden gRPC plane and the existing HTTP surface onto a SINGLE bound port using soheilhy/cmux. |
|
grpcserver
Package grpcserver implements the candacenet.warden.v1 WardenService: the three unary cluster RPCs (Vote/Heartbeat/Identify) delegating to the existing warden.RPCHandler through the wireconv boundary, and the server-streaming WatchCluster that pushes full ClusterView snapshots from a warden.ViewSource.
|
Package grpcserver implements the candacenet.warden.v1 WardenService: the three unary cluster RPCs (Vote/Heartbeat/Identify) delegating to the existing warden.RPCHandler through the wireconv boundary, and the server-streaming WatchCluster that pushes full ClusterView snapshots from a warden.ViewSource. |
|
grpctransport
Package grpctransport is the gRPC client side of the warden cluster wire protocol: it implements warden.Transport (RequestVote/SendHeartbeat/Identify) over the candacenet.warden.v1 WardenService, replacing the retired HTTP/JSON HTTPTransport.
|
Package grpctransport is the gRPC client side of the warden cluster wire protocol: it implements warden.Transport (RequestVote/SendHeartbeat/Identify) over the candacenet.warden.v1 WardenService, replacing the retired HTTP/JSON HTTPTransport. |
|
httpserver
Package httpserver builds the single gin.Engine every warden node serves its HTTP surface from (dashboard + /api/status + /metrics).
|
Package httpserver builds the single gin.Engine every warden node serves its HTTP surface from (dashboard + /api/status + /metrics). |
|
internal/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
|
metrics
Package metrics exposes a warden node's cluster state as Prometheus metrics.
|
Package metrics exposes a warden node's cluster state as Prometheus metrics. |
|
notify
Package notify implements the warden.Notifier delivery backends used by the watchdog:
|
Package notify implements the warden.Notifier delivery backends used by the watchdog: |
|
proto/warden/v1
Package wardenv1 holds the generated Go bindings for the candacenet warden wire contracts (candacenet.warden.v1).
|
Package wardenv1 holds the generated Go bindings for the candacenet warden wire contracts (candacenet.warden.v1). |
|
store
Package store provides persistence for warden.PersistentState (the Raft current term and vote).
|
Package store provides persistence for warden.PersistentState (the Raft current term and vote). |
|
testclock
Package testclock provides a deterministic, manually-advanced implementation of warden.Clock for tests.
|
Package testclock provides a deterministic, manually-advanced implementation of warden.Clock for tests. |
|
watchdog
Package watchdog turns cluster views into operator alerts.
|
Package watchdog turns cluster views into operator alerts. |
|
wireconv
Package wireconv provides total, composable conversions between the frozen warden domain types (services/warden) and the generated candacenet.warden.v1 protobuf messages (services/warden/proto/warden/v1).
|
Package wireconv provides total, composable conversions between the frozen warden domain types (services/warden) and the generated candacenet.warden.v1 protobuf messages (services/warden/proto/warden/v1). |
Click to show internal directories.
Click to hide internal directories.