ba8bb0c1d7
Signed-off-by: Lei Jitang <leijitang@huawei.com>
15 lines
495 B
Go
15 lines
495 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
|
|
BridgeNfCallIptablesDisabled bool
|
|
BridgeNfCallIp6tablesDisabled bool
|
|
}
|