Documentation ¶
Index ¶
- func SetWinsize(fd uintptr, ws *Winsize) error
- func TcGetAttr(fd uintptr) (*syscall.Termios, error)
- func TcSetAttr(fd uintptr, termios *syscall.Termios) error
- type BridgeType
- type LXCHypervisorDriver
- func (d *LXCHypervisorDriver) CreateInstance() error
- func (d *LXCHypervisorDriver) DestroyInstance() error
- func (d *LXCHypervisorDriver) InstanceConsole() hypervisor.Console
- func (d *LXCHypervisorDriver) RebootInstance() error
- func (d *LXCHypervisorDriver) Recover(instanceState model.InstanceState) error
- func (d *LXCHypervisorDriver) StartInstance() error
- func (d *LXCHypervisorDriver) StopInstance() error
- type LXCHypervisorProvider
- type Winsize
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetWinsize ¶
Types ¶
type BridgeType ¶
type BridgeType int
const ( None BridgeType = iota // 0 Linux OVS )
func (BridgeType) String ¶
func (t BridgeType) String() string
type LXCHypervisorDriver ¶
type LXCHypervisorDriver struct { hypervisor.Base // contains filtered or unexported fields }
func (*LXCHypervisorDriver) CreateInstance ¶
func (d *LXCHypervisorDriver) CreateInstance() error
func (*LXCHypervisorDriver) DestroyInstance ¶
func (d *LXCHypervisorDriver) DestroyInstance() error
func (*LXCHypervisorDriver) InstanceConsole ¶
func (d *LXCHypervisorDriver) InstanceConsole() hypervisor.Console
func (*LXCHypervisorDriver) RebootInstance ¶
func (d *LXCHypervisorDriver) RebootInstance() error
func (*LXCHypervisorDriver) Recover ¶
func (d *LXCHypervisorDriver) Recover(instanceState model.InstanceState) error
func (*LXCHypervisorDriver) StartInstance ¶
func (d *LXCHypervisorDriver) StartInstance() error
func (*LXCHypervisorDriver) StopInstance ¶
func (d *LXCHypervisorDriver) StopInstance() error
type LXCHypervisorProvider ¶
type LXCHypervisorProvider struct { }
func (*LXCHypervisorProvider) CreateDriver ¶
func (p *LXCHypervisorProvider) CreateDriver(instance *model.Instance, template model.ResourceTemplate) (hypervisor.HypervisorDriver, error)
func (*LXCHypervisorProvider) LoadConfig ¶
func (p *LXCHypervisorProvider) LoadConfig(sub *viper.Viper) error
func (*LXCHypervisorProvider) Name ¶
func (p *LXCHypervisorProvider) Name() string
type Winsize ¶
https://github.com/creack/termios/blob/master/win/win.go Winsize stores the Heighty and Width of a terminal.
Click to show internal directories.
Click to hide internal directories.