openxen

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: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HostinfoDriver

type HostinfoDriver struct {
	// contains filtered or unexported fields
}

func NewHostinfoDriver

func NewHostinfoDriver(conf *ssh.Config, lshwpath, hwinfoFile string) (hi *HostinfoDriver, err error)

func (*HostinfoDriver) CPUInfo

func (hi *HostinfoDriver) CPUInfo() (*host.CPU, error)

Returns information related to the host's CPU

func (*HostinfoDriver) CPUs

func (hi *HostinfoDriver) CPUs() (int, error)

Returns available CPUs

func (*HostinfoDriver) Init

func (hi *HostinfoDriver) Init() error

func (*HostinfoDriver) NICs

func (hi *HostinfoDriver) NICs() (host.NICList, error)

Returns info related to the host's NICs

func (*HostinfoDriver) NUMAInfo

func (hi *HostinfoDriver) NUMAInfo() (host.NUMANodes, error)

Returns amount of NUMA nodes and appropriate CPUs per NUMA node

func (*HostinfoDriver) RAMSize

func (hi *HostinfoDriver) RAMSize() (int, error)

Returns RAM size

Jump to

Keyboard shortcuts

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