xen_xl

package
v0.0.0-...-3a64f8a Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2016 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Driver

type Driver struct {
	sync.Mutex

	Run func(string) (string, error)
}

func NewDriver

func NewDriver(config *ssh.Config) *Driver

func (*Driver) AllCPUsPinned

func (d *Driver) AllCPUsPinned() (bool, error)

Returns true if all domains configured for CPU affinity

func (*Driver) DefineDomain

func (d *Driver) DefineDomain(domainConfig string) error

func (*Driver) DestroyDomain

func (d *Driver) DestroyDomain(name string) error

func (*Driver) DomainExists

func (d *Driver) DomainExists(name string) bool

func (*Driver) Emulator

func (d *Driver) Emulator(arch string) (string, error)

func (*Driver) Id

func (d *Driver) Id() string

func (*Driver) MaxVCPUsPerGuest

func (d *Driver) MaxVCPUsPerGuest() int

Returns maximal Virtual CPUs per guest

func (*Driver) SetAutostart

func (d *Driver) SetAutostart(name string) error

func (*Driver) StartDomain

func (d *Driver) StartDomain(domainConfig string) error

func (*Driver) UndefineDomain

func (d *Driver) UndefineDomain(name string) error

func (*Driver) Version

func (d *Driver) Version() (string, error)

Version returns Xen version

Jump to

Keyboard shortcuts

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