sandboxhostapi

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: 18 Imported by: 0

Documentation

Overview

Package sandboxhostapi exposes the private mutually authenticated host control surface. It is not part of the public sandbox Go API.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHandler

func NewHandler(config Config) (http.Handler, error)

NewHandler constructs the bounded host API without opening listeners or provisioning enrollment, database, certificates or signing keys.

Types

type Config

type Config struct {
	Store             sandboxcontrol.HostControlStore
	ControlTrust      sandboxhostprotocol.TrustBundle
	ControlSigningKey ed25519.PrivateKey
	Entropy           io.Reader
	Clock             clock.Clock
	LeaseDuration     time.Duration
	BootProbeStore    *sandboxcontrol.PostgresLedger
}

Config contains explicit durable authority and signing material supplied by the control-process composition root.

Jump to

Keyboard shortcuts

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