Documentation ¶ Index ¶ func PivotRoot(newroot string) error type Box func NewBox(cmd string, args, hostmounts, env []string, rootfs string, ...) Box type DefaultBox func (b *DefaultBox) Exec() error func (b *DefaultBox) Run() error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func PivotRoot ¶ func PivotRoot(newroot string) error Types ¶ type Box ¶ type Box interface { Run() error Exec() error } func NewBox ¶ func NewBox(cmd string, args, hostmounts, env []string, rootfs string, stdin, stdout, stderr bool) Box type DefaultBox ¶ type DefaultBox struct { Name string Root string Env []string Cmd string Args []string HostMounts []string Stdin, Stdout, Stderr bool } func (*DefaultBox) Exec ¶ func (b *DefaultBox) Exec() error func (*DefaultBox) Run ¶ func (b *DefaultBox) Run() error Source Files ¶ View all Source files exec.go rootfs.go Click to show internal directories. Click to hide internal directories.