lxc

package
v0.0.0-...-88bc37c Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2018 License: GPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetWinsize

func SetWinsize(fd uintptr, ws *Winsize) error

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 (*LXCHypervisorProvider) LoadConfig

func (p *LXCHypervisorProvider) LoadConfig(sub *viper.Viper) error

func (*LXCHypervisorProvider) Name

func (p *LXCHypervisorProvider) Name() string

type Winsize

type Winsize struct {
	Height uint16
	Width  uint16
	// contains filtered or unexported fields
}

https://github.com/creack/termios/blob/master/win/win.go Winsize stores the Heighty and Width of a terminal.

Jump to

Keyboard shortcuts

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