Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
weave-agent
command
Command weave-agent is core: the one authenticated, policied, supervised presence on a machine.
|
Command weave-agent is core: the one authenticated, policied, supervised presence on a machine. |
|
weaveboot
command
Command weaveboot supervises core so core can be replaced in place: staged, health-gated, with rollback.
|
Command weaveboot supervises core so core can be replaced in place: staged, health-gated, with rollback. |
|
weavectl
command
Command weavectl is the operator CLI over core's control socket.
|
Command weavectl is the operator CLI over core's control socket. |
|
weavemanifest
command
Command weavemanifest mints and verifies the channel-manifest signing chain: an offline root key endorses named signing keys; signing keys sign channel manifests.
|
Command weavemanifest mints and verifies the channel-manifest signing chain: an offline root key endorses named signing keys; signing keys sign channel manifests. |
|
internal
|
|
|
capability
Package capability performs the one host inventory at startup.
|
Package capability performs the one host inventory at startup. |
|
certtrust
Package certtrust puts a self-signed code-signing certificate into the Windows machine's trust, and takes it out again: the install-time, out-of-band step that lets WinVerifyTrust accept modules signed with it.
|
Package certtrust puts a self-signed code-signing certificate into the Windows machine's trust, and takes it out again: the install-time, out-of-band step that lets WinVerifyTrust accept modules signed with it. |
|
controlsock
Package controlsock serves ControlService: the one endpoint for weavectl and, later, the portal.
|
Package controlsock serves ControlService: the one endpoint for weavectl and, later, the portal. |
|
core
Package core wires the agent together and runs it.
|
Package core wires the agent together and runs it. |
|
eventbus
Package eventbus is core's in-process pub/sub: the only lateral channel between modules.
|
Package eventbus is core's in-process pub/sub: the only lateral channel between modules. |
|
hostserv
Package hostserv serves core's host services to modules, one gRPC server per module socket.
|
Package hostserv serves core's host services to modules, one gRPC server per module socket. |
|
identity
Package identity owns who this device is: the keypair, the device id, and per-module credential scoping.
|
Package identity owns who this device is: the keypair, the device id, and per-module credential scoping. |
|
layout
Package layout resolves where core keeps things.
|
Package layout resolves where core keeps things. |
|
lifecycle
Package lifecycle owns module install: fetch, verify, stage alongside, health-gated promote, N-1 retention, rollback.
|
Package lifecycle owns module install: fetch, verify, stage alongside, health-gated promote, N-1 retention, rollback. |
|
manifestverify
Package manifestverify verifies the channel-manifest signing chain: the offline root key (embedded in core) endorses a signing key, the signing key signs the channel manifest.
|
Package manifestverify verifies the channel-manifest signing chain: the offline root key (embedded in core) endorses a signing key, the signing key signs the channel manifest. |
|
platform
Package platform is the deliberately thin OS seam.
|
Package platform is the deliberately thin OS seam. |
|
policy
Package policy loads, caches and delivers module policy.
|
Package policy loads, caches and delivers module policy. |
|
protocol/handshake
Package handshake is the shared vocabulary of the core↔module handshake: the environment core sets, the one stdout line the module answers with, and the exit code that means "protocol out of window".
|
Package handshake is the shared vocabulary of the core↔module handshake: the environment core sets, the one stdout line the module answers with, and the exit code that means "protocol out of window". |
|
protocol/hvchannel
Package hvchannel is the framing and addressing format of the hypervisor channel — the single byte pipe (virtio-serial / vsock / HvSocket) between core running inside a guest and the host tooling outside it.
|
Package hvchannel is the framing and addressing format of the hypervisor channel — the single byte pipe (virtio-serial / vsock / HvSocket) between core running inside a guest and the host tooling outside it. |
|
protocol/ipc
Package ipc owns local transport: Unix domain sockets on macOS and Linux, named pipes on Windows, behind one Listen/Dial seam so neither core nor a module runtime carries per-OS socket code at call sites.
|
Package ipc owns local transport: Unix domain sockets on macOS and Linux, named pipes on Windows, behind one Listen/Dial seam so neither core nor a module runtime carries per-OS socket code at call sites. |
|
protocol/manifest
Package manifest carries the Go types for the module manifest (schema/module-manifest.schema.json): the document every module authors, embeds, and publishes, and that core gates launch decisions on.
|
Package manifest carries the Go types for the module manifest (schema/module-manifest.schema.json): the document every module authors, embeds, and publishes, and that core gates launch decisions on. |
|
provision
Package provision installs the hypervisor channel's trust anchor from host-supplied boot media, for guests that have no cloud-init to do it: macOS and Windows.
|
Package provision installs the hypervisor channel's trust anchor from host-supplied boot media, for guests that have no cloud-init to do it: macOS and Windows. |
|
registry
Package registry is core's one table of installed modules: what each is, where it answers on the host channel, and what state it is in.
|
Package registry is core's one table of installed modules: what each is, where it answers on the host channel, and what state it is in. |
|
retry
Package retry provides exponential backoff with jitter.
|
Package retry provides exponential backoff with jitter. |
|
session
Package session reports which user owns the console — the logged-in user whose desktop is on the physical display — so the supervisor can run per-user-console modules inside that user's session.
|
Package session reports which user owns the console — the logged-in user whose desktop is on the physical display — so the supervisor can run per-user-console modules inside that user's session. |
|
store
Package store is core's durable, encrypted key/value store: one bbolt file owned by core, one bucket per module namespace, every value sealed with AES-256-GCM under a master key the platform protector guards.
|
Package store is core's durable, encrypted key/value store: one bbolt file owned by core, one bucket per module namespace, every value sealed with AES-256-GCM under a master key the platform protector guards. |
|
store/keyprotect
Package keyprotect owns the store master key's at-rest protection.
|
Package keyprotect owns the store master key's at-rest protection. |
|
supervise
Package supervise owns module processes: spawn, verify-before-exec, handshake, health, crash-loop damping, and a start-limit (restart budget).
|
Package supervise owns module processes: spawn, verify-before-exec, handshake, health, crash-loop damping, and a start-limit (restart budget). |
|
transport
Package transport is core's channel mux: modules address a peer, core routes.
|
Package transport is core's channel mux: modules address a peer, core routes. |
|
verify
Package verify authenticates module binaries before exec.
|
Package verify authenticates module binaries before exec. |
|
version
Package version carries core's build identity, stamped at link time:
|
Package version carries core's build identity, stamped at link time: |
|
weaveboot
Package weaveboot supervises core so core can be replaced in place.
|
Package weaveboot supervises core so core can be replaced in place. |
|
werror
Package werror carries the platform's error conventions: sentinel errors for conditions callers branch on, and wrapping helpers that keep module and operation context attached.
|
Package werror carries the platform's error conventions: sentinel errors for conditions callers branch on, and wrapping helpers that keep module and operation context attached. |
|
winsvc
Package winsvc runs weaveboot as a Windows service and registers it with the Service Control Manager — the Windows counterpart of the systemd unit (packaging/linux/weave-agent.service) and the launchd plist.
|
Package winsvc runs weaveboot as a Windows service and registers it with the Service Control Manager — the Windows counterpart of the systemd unit (packaging/linux/weave-agent.service) and the launchd plist. |
|
wlog
Package wlog constructs the platform's loggers.
|
Package wlog constructs the platform's loggers. |
|
packaging
|
|
|
apt/aptrepo
command
Command aptrepo turns a directory of .deb files into a signed flat apt repository.
|
Command aptrepo turns a directory of .deb files into a signed flat apt repository. |
|
sdk
module
|
Click to show internal directories.
Click to hide internal directories.