moby/pkg/sysinfo
Eng Zer Jun a916414b0b refactor: move from io/ioutil to io and os package
The io/ioutil package has been deprecated in Go 1.16. This commit
replaces the existing io/ioutil functions with their new definitions in
io and os packages.

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
(cherry picked from commit c55a4ac779)
Signed-off-by: Cory Snider <csnider@mirantis.com>
2023-02-24 16:11:55 -05:00
..
cgroup2_linux.go refactor: move from io/ioutil to io and os package 2023-02-24 16:11:55 -05:00
numcpu.go Update to Go 1.17.0, and gofmt with Go 1.17 2022-04-07 23:27:50 +02:00
numcpu_linux.go Use functions from x/sys/unix to get number of CPUs on Linux 2019-06-18 19:26:56 +02:00
numcpu_windows.go Use functions from x/sys/unix to get number of CPUs on Linux 2019-06-18 19:26:56 +02:00
README.md Add some basic doc for SysInfo 2015-03-26 23:05:07 -04:00
sysinfo.go pkg/sysinfo: rm duplicates 2020-06-26 16:19:52 -07:00
sysinfo_linux.go refactor: move from io/ioutil to io and os package 2023-02-24 16:11:55 -05:00
sysinfo_linux_test.go refactor: move from io/ioutil to io and os package 2023-02-24 16:11:55 -05:00
sysinfo_test.go Add canonical import comment 2018-02-05 16:51:57 -05:00
sysinfo_unix.go Update to Go 1.17.0, and gofmt with Go 1.17 2022-04-07 23:27:50 +02:00
sysinfo_windows.go cgroup2: implement docker info 2020-04-17 07:20:01 +09:00

SysInfo stores information about which features a kernel supports.