Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SystemService ¶
type SystemService struct {
// contains filtered or unexported fields
}
SystemService is used to get info about the host
func NewSystemService ¶
func NewSystemService(hostRoot string) *SystemService
NewSystemService returns a pointer to a new SystemService
func (*SystemService) GetDiskInfo ¶
func (service *SystemService) GetDiskInfo() ([]agent.PhysicalDisk, error)
GetDiskInfo returns info about the host disks
func (*SystemService) GetPciDevices ¶
func (service *SystemService) GetPciDevices() ([]agent.PciDevice, error)
GetPciDevices returns a list of pci devices
Click to show internal directories.
Click to hide internal directories.