libct

package
v0.10.1-0...-f0cca05 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const DriverName = "libct"

Variables

This section is empty.

Functions

func NewDriver

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

Types

type Pipes

type Pipes struct {
	Stdin, Stdout, Stderr *os.File
}

type StdTerminal

type StdTerminal struct {
	execdriver.StdConsole
	// contains filtered or unexported fields
}

func (*StdTerminal) Attach

func (s *StdTerminal) Attach() (*Pipes, error)

func (*StdTerminal) SetMaster

func (s *StdTerminal) SetMaster(*os.File)

type Terminal

type Terminal interface {
	io.Closer
	SetMaster(*os.File)
	Attach() (*Pipes, error)
	Resize(h, w int) error
}

type TtyTerminal

type TtyTerminal struct {
	execdriver.TtyConsole
	// contains filtered or unexported fields
}

func (*TtyTerminal) Attach

func (t *TtyTerminal) Attach() (*Pipes, error)

func (*TtyTerminal) SetMaster

func (t *TtyTerminal) SetMaster(master *os.File)

Jump to

Keyboard shortcuts

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