Versions in this module Expand all Collapse all v0 v0.1.4 Oct 12, 2014 v0.1.3 Oct 11, 2014 v0.1.2 Oct 10, 2014 v0.1.1 Oct 10, 2014 Changes in this version + const DriverName + const LxcTemplate + var ErrCannotParse = errors.New("cannot parse raw input") + var ErrExec = errors.New("Unsupported: Exec is not supported by the lxc driver") + var LxcTemplateCompiled *template.Template + func KillLxc(id string, sig int) error + func NewDriver(root, initPath string, apparmor bool) (*driver, error) + type InitArgs struct + Args []string + CapAdd string + CapDrop string + Console string + Env []string + Gateway string + Ip string + Mtu int + Pipe int + Privileged bool + Root string + User string + WorkDir string + type TtyConsole struct + MasterPty *os.File + SlavePty *os.File + func NewTtyConsole(processConfig *execdriver.ProcessConfig, pipes *execdriver.Pipes) (*TtyConsole, error) + func (t *TtyConsole) AttachPipes(command *exec.Cmd, pipes *execdriver.Pipes) error + func (t *TtyConsole) Close() error + func (t *TtyConsole) Master() *os.File + func (t *TtyConsole) Resize(h, w int) error