Versions in this module Expand all Collapse all v0 v0.5.0 May 31, 2026 v0.4.0 May 27, 2026 Changes in this version + const SandboxServiceName + func DetectProjectNetwork(ctx context.Context, dockerCLI command.Cli, suffix string) string + func GenerateGostConfig(allowCIDRs, allowHosts []string) string + func NewSandboxProject(pid, uid, gid int, buildContext, dockerfile, image string, ...) (*composetypes.Project, error) + func NormalizeProjectName(name string) string + func ProjectSandboxName(cwd string) string + func RunHost(ctx context.Context, cmd string, stdout, stderr io.Writer) (int, error) + type CleanResult struct + Containers int + Networks int + type ComposeExecutor struct + func NewComposeExecutor(dockerCLI command.Cli, project *composetypes.Project, ...) *ComposeExecutor + func (e *ComposeExecutor) ApplyNetworkPolicy(ctx context.Context) error + func (e *ComposeExecutor) CleanStale(ctx context.Context) (CleanResult, error) + func (e *ComposeExecutor) Down(ctx context.Context) error + func (e *ComposeExecutor) IsRunning(ctx context.Context) (bool, error) + func (e *ComposeExecutor) RunContainer(ctx context.Context, serviceName, cmd string, env []string, ...) (int, error) + func (e *ComposeExecutor) RunContainerDirect(ctx context.Context, serviceName, cmd string, env []string, ...) (int, error) + func (e *ComposeExecutor) StartBackground(ctx context.Context) + func (e *ComposeExecutor) Up(ctx context.Context) error + func (e *ComposeExecutor) WaitReady(ctx context.Context) error