Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PathRoots ¶ added in v0.9.0
PathRoots holds the roots of all the filesystem subtrees ghw wants to access.
func DefaultPathRoots ¶ added in v0.9.0
func DefaultPathRoots() PathRoots
DefaultPathRoots return the canonical default value for PathRoots
func PathRootsFromContext ¶ added in v0.9.0
PathRootsFromContext initialize PathRoots from the given Context, allowing overrides of the canonical default paths.
type Paths ¶
type Paths struct { VarLog string ProcMeminfo string ProcCpuinfo string ProcMounts string SysKernelMMHugepages string SysBlock string SysDevicesSystemNode string SysDevicesSystemMemory string SysDevicesSystemCPU string SysBusPciDevices string SysClassDRM string SysClassDMI string SysClassNet string RunUdevData string }
Click to show internal directories.
Click to hide internal directories.