sandboxhostbootstrap

package
v0.0.0-...-804b954 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2026 License: MIT Imports: 19 Imported by: 0

Documentation

Overview

Package sandboxhostbootstrap enrolls one already-mounted local or CI host identity in the sandbox control ledger. It deliberately has no production profile: production enrollment remains an external operator authority.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, config Config, lookup SecretLookup) error

Run opens the existing ledger and creates or proves the exact enrollment. It never migrates a database, writes secret files, starts a host or logs configuration material.

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}

Config is the strict, non-secret declaration for a one-shot bootstrap.

func Parse

func Parse(input io.Reader) (Config, error)

Parse decodes exactly one strict local/CI bootstrap declaration.

type SecretLookup

type SecretLookup func(string) (string, bool)

SecretLookup resolves only an explicit already-mounted database value.

Jump to

Keyboard shortcuts

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