Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PathRoots ¶
PathRoots holds the roots of all the filesystem subtrees ghw wants to access.
func DefaultPathRoots ¶
func DefaultPathRoots() PathRoots
DefaultPathRoots return the canonical default value for PathRoots
func PathRootsFromContext ¶
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.