lxcfs

package
v0.0.0-...-2812ca0 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

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.

Jump to

Keyboard shortcuts

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