package sysinfo

import "github.com/dotcloud/docker/pkg/sysinfo"

Index

Types

type SysInfo

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.

func New

func New(quiet bool) *SysInfo

New returns a new SysInfo, using the filesystem to detect which features the kernel supports.

Source Files

sysinfo.go sysinfo_linux.go

Version
v1.7.0-rc5
Published
Jun 16, 2015
Platform
linux/amd64
Imports
7 packages
Last checked
2 minutes ago

Tools for package owners.