subsystems

package
v1.786.72 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 4, 2026 License: Apache-2.0 Imports: 47 Imported by: 0

Documentation

Overview

Package subsystems is the single source of truth for which Hanzo cloud subsystems are linked into a binary.

Blank-importing this package pulls every subsystem into the build graph; each one registers a cloud.MountSpec into cloud.Registry from its own init(). Registration is unconditional — a plain `go build ./cmd/cloud` (no build tags) links and mounts the full set. There is no //go:build gate on any subsystem.

Both entrypoints — cmd/cloud (the full fused surface) and cmd/hanzo (the subcommand dispatcher) — blank-import THIS package and nothing else. The subsystem set is therefore defined ONCE, here; adding or removing a subsystem is a one-line change in one file, never duplicated per binary.

(This package must NOT live in the root `cloud` package: the subsystems import `cloud` for Deps + Register, so a root-package bundle would form an import cycle. As a sibling subpackage it composes them without one.)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL