Documentation ¶
Index ¶
- type HostinfoDriver
- func (hi *HostinfoDriver) CPUInfo() (*host.CPU, error)
- func (hi *HostinfoDriver) CPUs() (int, error)
- func (hi *HostinfoDriver) Init() error
- func (hi *HostinfoDriver) NICs() (host.NICList, error)
- func (hi *HostinfoDriver) NUMAInfo() (host.NUMANodes, error)
- func (hi *HostinfoDriver) RAMSize() (int, error)
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) Init ¶
func (hi *HostinfoDriver) Init() error
func (*HostinfoDriver) NICs ¶
func (hi *HostinfoDriver) NICs() (host.NICList, error)
Returns info related to the host's NICs
Click to show internal directories.
Click to hide internal directories.