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 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
Click to show internal directories.
Click to hide internal directories.