lxc

package
v0.8.2-0...-ed8466c Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2014 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

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

Variables

View Source
var LxcTemplateCompiled *template.Template

Functions

func NewDriver

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

func SetTerminal

func SetTerminal(command *execdriver.Command, pipes *execdriver.Pipes) error

Types

type StdConsole

type StdConsole struct {
}

func NewStdConsole

func NewStdConsole(command *execdriver.Command, pipes *execdriver.Pipes) (*StdConsole, error)

func (*StdConsole) Close

func (s *StdConsole) Close() error

func (*StdConsole) Resize

func (s *StdConsole) Resize(h, w int) error

type TtyConsole

type TtyConsole struct {
	// contains filtered or unexported fields
}

func NewTtyConsole

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