Documentation ¶
Index ¶
Constants ¶
View Source
const ( DriverName = "native" Version = "0.2" )
Variables ¶
This section is empty.
Functions ¶
func InitFactory ¶
func InitFactory(criuPath string, path string, args ...string) func(*libcontainer.LinuxFactory) error
FIXME: move this into libcontainer InitFactory returns an options func to configure a LinuxFactory with the provided absolute path to the init binary and arguements and a path to criu
Types ¶
type TtyConsole ¶
type TtyConsole struct {
// contains filtered or unexported fields
}
func NewTtyConsole ¶
func NewTtyConsole(console libcontainer.Console, pipes *execdriver.Pipes, rootuid int) (*TtyConsole, error)
func (*TtyConsole) AttachPipes ¶
func (t *TtyConsole) AttachPipes(pipes *execdriver.Pipes) error
func (*TtyConsole) Close ¶
func (t *TtyConsole) Close() error
func (*TtyConsole) Master ¶
func (t *TtyConsole) Master() libcontainer.Console
func (*TtyConsole) Resize ¶
func (t *TtyConsole) Resize(h, w int) error
Click to show internal directories.
Click to hide internal directories.