subsystems

package
v1.785.19 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2026 License: Apache-2.0 Imports: 10 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() (gated by //go:build cloud in the subsystem package, so the registrations fire only when built with -tags cloud).

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