bootstrap

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2026 License: AGPL-3.0 Imports: 6 Imported by: 0

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

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

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

func NewEmbeddedBuilder() (*catalogs.Builder, error)

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.

Jump to

Keyboard shortcuts

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