lxc

package
v0.6.6-0...-d48492a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 3, 2014 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

View Source
const DriverName = "lxc"
View Source
const LxcTemplate = `` /* 3190-byte string literal not displayed */

Variables

View Source
var (
	ErrCannotParse = errors.New("cannot parse raw input")
)
View Source
var LxcTemplateCompiled *template.Template

Functions

func KillLxc

func KillLxc(id string, sig int) error

func NewDriver

func NewDriver(root, initPath string, apparmor bool) (*driver, error)

Types

type TtyConsole

type TtyConsole struct {
	MasterPty *os.File
	SlavePty  *os.File
}

func NewTtyConsole

func NewTtyConsole(command *execdriver.Command, 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL