Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // IsLxcfsEnabled Whether to enable lxcfs IsLxcfsEnabled bool // LxcfsHomeDir is the absolute path of lxcfs LxcfsHomeDir string // LxcfsParentDir is the absolute path of the parent directory of lxcfs LxcfsParentDir string // LxcfsProcFiles is the crucial files in procfs LxcfsProcFiles = []string{"uptime", "swaps", "stat", "diskstats", "meminfo", "cpuinfo"} )
Functions ¶
func CheckLxcfsMount ¶
func CheckLxcfsMount() error
CheckLxcfsMount check if the the mount point of lxcfs exists
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.