Help us shape the future of Go! Take the 2026 Go Developer Survey

substrates-gen

command
v0.31.0 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2026 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Command substrates-gen writes live/substrates.json, GitHub issue #1588's capability matrix: one row per provider family registered in internal/live/substrate.All, built by asking each family's Substrate value its own questions rather than typing per-provider facts into this generator's control flow. The two columns Substrate has no method for (the fence, and anything about the harness beyond its pin file) are hand-kept lookups in this package, held to a completeness guard against substrate.All rather than left to drift.

go run ./tools/substrates-gen

A second mode re-renders live/SUBSTRATES.md from the committed live/substrates.json:

go run ./tools/substrates-gen -render

It reads only committed artifacts (live/readiness.json, live/floci-image, live/kind-node-image) and the in-process substrate package - no provider, no network, no other generator's process. Run twice with nothing else changed, it writes byte-identical output.

Jump to

Keyboard shortcuts

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