Versions in this module Expand all Collapse all v1 v1.5.0 Oct 18, 2026 Changes in this version + var Path = "/usr/bin/sandbox" + type Sandbox struct + func New(path string) *Sandbox + func (s *Sandbox) AddEnv(value string) *Sandbox + func (s *Sandbox) AddFile(src, dst string, withLibs bool) *Sandbox + func (s *Sandbox) BuildExecArgs(path string, args []string) []string + func (s *Sandbox) Command(path string, args ...string) *exec.Cmd + func (s *Sandbox) CommandContext(ctx context.Context, path string, args ...string) *exec.Cmd + func (s *Sandbox) ExecDir(dir string) *Sandbox + func (s *Sandbox) MountDir(src, dst string) *Sandbox + func (s *Sandbox) PassListener(addr, socketPath string) *Sandbox + func (s *Sandbox) SaveUsageStat(filename string) *Sandbox + func (s *Sandbox) SetCGroup(name string) *Sandbox + func (s *Sandbox) SetCpuSet(set string) *Sandbox + func (s *Sandbox) SetMemLimit(limit uint64) *Sandbox + func (s *Sandbox) SetNoNewNet(v bool) *Sandbox v1.4.0 Jan 18, 2026