sandboxcontrolprocess

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

Documentation

Overview

Package sandboxcontrolprocess composes the separately runnable sandbox control role from one strict operator document and explicit secret sources.

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 starts the TLS sandbox-control process and blocks until cancellation or a server failure. It never creates or migrates infrastructure.

func RunWithReady

func RunWithReady(ctx context.Context, config Config, lookup SecretLookup, onReady func(BoundAddresses)) error

RunWithReady starts the TLS sandbox-control process and reports bound local listener addresses after every declared listener is held and serving.

Types

type BoundAddresses

type BoundAddresses struct {
	Public      string
	HostControl string
}

BoundAddresses identifies the local control listeners that were successfully bound. It contains no configuration, credential, request, or backend identity material.

type Config

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

Config is a validated immutable sandbox-control process declaration.

func Parse

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

Parse decodes exactly one strict versioned process declaration.

type SecretLookup

type SecretLookup func(string) (string, bool)

SecretLookup resolves only the explicitly named, already-injected process environment values at the composition boundary.

Jump to

Keyboard shortcuts

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