moby--moby/pkg/sysinfo
Sebastiaan van Stijn 10ce0d84c2
pkg/sysinfo.New() move v1 code to a newV1() function
This makes it clearer that this code is the cgroups v1 equivalent of newV2().

Also moves the "options" handling to newV2() because it's currently only used
for cgroupsv2.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-07-14 16:36:56 +02:00
..
README.md
cgroup2_linux.go pkg/sysinfo.New() move v1 code to a newV1() function 2021-07-14 16:36:56 +02:00
numcpu.go
numcpu_linux.go
numcpu_windows.go
sysinfo.go pkg/sysinfo: rm duplicates 2020-06-26 16:19:52 -07:00
sysinfo_linux.go pkg/sysinfo.New() move v1 code to a newV1() function 2021-07-14 16:36:56 +02:00
sysinfo_linux_test.go
sysinfo_test.go
sysinfo_unix.go
sysinfo_windows.go

README.md

SysInfo stores information about which features a kernel supports.