Documentation ¶
Index ¶
- func GetBlockDeviceInfo(sysfs sysfs.SysFs) (map[string]info.DiskInfo, error)
- func GetCacheInfo(sysFs sysfs.SysFs, id int) ([]sysfs.CacheInfo, error)
- func GetNetworkDevices(sysfs sysfs.SysFs) ([]info.NetInfo, error)
- func GetNetworkStats(name string) (info.NetworkStats, error)
- func GetSystemUUID(sysFs sysfs.SysFs) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBlockDeviceInfo ¶
Get information about block devices present on the system. Uses the passed in system interface to retrieve the low level OS information.
func GetNetworkDevices ¶
Get information about network devices present on the system.
func GetNetworkStats ¶
func GetNetworkStats(name string) (info.NetworkStats, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.