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

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.8.1
Published
Aug 13, 2015
Platform
linux/amd64
Imports
6 packages
Last checked
3 seconds ago

Tools for package owners.