local

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package local is the OSS swarms.Registry: it resolves exactly one swarm, the one this controller runs in, over the docker.sock it is mounted with (D2).

It is a package of its own rather than a default inside the seam, so that the seam stays a leaf. swarms is the contract a companion implements; building the local backend needs swarmcli-cd/backend, the whole Docker applier, and with the default living in the seam every importer of the contract linked the implementation. prune is the one that shows why that is wrong — it advertises itself as pure policy and could not build without the applier.

The binary blank-imports this. cmd/swarmcli-cd/main.go is already the file whose entire purpose is blank imports, which is where the companion adds its own; see docs/extensibility.md.

Jump to

Keyboard shortcuts

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