ghw

package
v0.0.0-...-b344db4 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2025 License: Zlib Imports: 2 Imported by: 1

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

Jump to

Keyboard shortcuts

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