package sysinfo
import "github.com/dotcloud/docker/pkg/sysinfo"
Index ¶
Types ¶
type SysInfo ¶
type SysInfo struct { AppArmor bool IPv4ForwardingDisabled bool BridgeNfCallIptablesDisabled bool BridgeNfCallIp6tablesDisabled bool CgroupDevicesEnabled bool // contains filtered or unexported fields }
SysInfo stores information about which features a kernel supports. TODO Windows: Factor out platform specific capabilities.
func New ¶
New returns a new SysInfo, using the filesystem to detect which features the kernel supports.
Source Files ¶
- Version
- v1.8.2-rc1
- Published
- Sep 3, 2015
- Platform
- linux/amd64
- Imports
- 6 packages
- Last checked
- 6 seconds ago –
Tools for package owners.