package lxc
import "github.com/docker/docker/daemon/execdriver/lxc"
Index ¶
- Constants
- Variables
- func KillLxc(id string, sig int) error
- func NewDriver(root, libPath, initPath string, apparmor bool) (*driver, error)
- type InitArgs
- type TtyConsole
- 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
Constants ¶
const DriverName = "lxc"
const LxcTemplate = "" /* 4206 byte string literal not displayed */
Variables ¶
Functions ¶
func KillLxc ¶
func NewDriver ¶
Types ¶
type InitArgs ¶
type InitArgs struct { User string Gateway string Ip string WorkDir string Privileged bool Env []string Args []string Mtu int Console string Pipe int Root string CapAdd string CapDrop string }
Args provided to the init function for a driver
type TtyConsole ¶
func NewTtyConsole ¶
func NewTtyConsole(processConfig *execdriver.ProcessConfig, pipes *execdriver.Pipes) (*TtyConsole, error)
func (*TtyConsole) AttachPipes ¶
func (t *TtyConsole) AttachPipes(command *exec.Cmd, pipes *execdriver.Pipes) error
func (*TtyConsole) Close ¶
func (t *TtyConsole) Close() error
func (*TtyConsole) Master ¶
func (t *TtyConsole) Master() *os.File
func (*TtyConsole) Resize ¶
func (t *TtyConsole) Resize(h, w int) error
Source Files ¶
driver.go info.go init.go lxc_init_unsupported.go lxc_template.go
- Version
- v1.6.0-rc6
- Published
- Apr 13, 2015
- Platform
- js/wasm
- Imports
- 34 packages
- Last checked
- 3 minutes ago –
Tools for package owners.