sandboxbootprobehostprocess

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Prepare

func Prepare(ctx context.Context, client *http.Client, origin, principal, operationID, instanceID string) (firecrackerbootprobev2.Snapshot, error)

Prepare requests one distinct persisted v2 prepared-session snapshot over the already-mutually-authenticated control transport. M4 owns post-stage authorization, journal, launch-started, and terminal-ACK recovery.

func SubmitStageReady

SubmitStageReady signs the locally compiled M4 stage with the distinct observation key, submits it to the private M3 route, and accepts a response only after its command signature and compiled identity have been verified. It does not journal, start, or report a Jailer launch.

Types

type StageReadySubmitter

type StageReadySubmitter struct {
	Client   *http.Client
	Origin   string
	Now      func() time.Time
	Resolver firecrackerbootprobeprotocol.HostTrustResolver
}

StageReadySubmitter binds the concrete mutually-authenticated control client to the M4 composition root. It contains no M4 identity: that identity is compiled by the staged host immediately before submission.

func (StageReadySubmitter) Submit

Submit signs and verifies the private M4 stage-ready handoff through this exact control transport.

Jump to

Keyboard shortcuts

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