package
Version:
v1.7.1-rc3
Opens a new window with list of versions in this module.
Published: Jul 9, 2015
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 8
Opens a new window with list of known importers.
README
¶
SysInfo stores information about which features a kernel supports.
Documentation
¶
type SysInfo struct {
MemoryLimit bool
SwapLimit bool
CpuCfsPeriod bool
CpuCfsQuota bool
IPv4ForwardingDisabled bool
AppArmor bool
OomKillDisable bool
}
SysInfo stores information about which features a kernel supports.
TODO Windows: Factor out platform specific capabilities.
New returns a new SysInfo, using the filesystem to detect which features the kernel supports.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.