Documentation ¶ Index ¶ func Exec(containerPath string, cmd string, cwd string, mounts []Mount, stdOut io.Writer, ...) error func HostInit() type ExecContext func Use(containerPath string, cwd string, mounts []Mount, stdOut io.Writer, ...) *ExecContext func (context *ExecContext) Exec(cmd string) error type Mount Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Exec ¶ func Exec(containerPath string, cmd string, cwd string, mounts []Mount, stdOut io.Writer, stdErr io.Writer) error func HostInit ¶ func HostInit() Types ¶ type ExecContext ¶ type ExecContext struct { // contains filtered or unexported fields } func Use ¶ func Use(containerPath string, cwd string, mounts []Mount, stdOut io.Writer, stdErr io.Writer) *ExecContext func (*ExecContext) Exec ¶ func (context *ExecContext) Exec(cmd string) error type Mount ¶ type Mount struct { To string From string } Source Files ¶ View all Source files container.go Click to show internal directories. Click to hide internal directories.