e34cec1021
Signed-off-by: John Howard <jhoward@microsoft.com>
13 lines
374 B
Go
13 lines
374 B
Go
package sysinfo
|
|
|
|
// SysInfo stores information about which features a kernel supports.
|
|
// TODO Windows: Factor out platform specific capabilities.
|
|
type SysInfo struct {
|
|
MemoryLimit bool
|
|
SwapLimit bool
|
|
CpuCfsPeriod bool
|
|
CpuCfsQuota bool
|
|
IPv4ForwardingDisabled bool
|
|
AppArmor bool
|
|
OomKillDisable bool
|
|
}
|