Documentation
¶
Overview ¶
Package bootstrap verifies the catalog generation embedded in the binary.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Embedded ¶ added in v0.2.0
func Embedded() (*catalogs.Catalog, catalogs.BootstrapManifest, error)
Embedded returns the process-wide verified immutable bootstrap catalog and its digest-bound manifest. The catalog is safe to retain across goroutines. Verification and YAML decoding run once because the embedded filesystem cannot change during a process lifetime.
func Generation ¶
func Generation() (catalogs.Generation, error)
Generation returns the embedded bootstrap as a complete validated immutable generation suitable for deterministic release artifact publication.
func Load ¶
func Load(reader catalogs.Reader) (catalogs.BootstrapManifest, error)
Load parses embedded generation metadata and verifies it against the exact canonical bytes produced by the embedded catalog.
func NewEmbeddedBuilder ¶ added in v0.7.0
NewEmbeddedBuilder composes the repository-owned embedded filesystem with a catalog builder. Callers that only need the verified immutable generation should use Embedded.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package budget measures the checked-in catalog and applies release policy.
|
Package budget measures the checked-in catalog and applies release policy. |
|
Package manifest derives embedded generation identity from canonical catalog bytes without rewriting unchanged generations.
|
Package manifest derives embedded generation identity from canonical catalog bytes without rewriting unchanged generations. |