moby/pkg/system
Sebastiaan van Stijn 2d49080056
pkg/sysinfo: move MemInfo and ReadMemInfo to a separate package
Commit 6a516acb2e moved the MemInfo type and
ReadMemInfo() function into the pkg/sysinfo package. In an attempt to assist
consumers of these to migrate to the new location, an alias was added.

Unfortunately, the side effect of this alias is that pkg/system now depends
on pkg/sysinfo, which means that consumers of this (such as docker/cli) now
get all (indirect) dependencies of that package as dependency, which includes
many dependencies that should only be needed for the daemon / runtime;

- github.com/cilium/ebpf
- github.com/containerd/cgroups
- github.com/coreos/go-systemd/v22
- github.com/godbus/dbus/v5
- github.com/moby/sys/mountinfo
- github.com/opencontainers/runtime-spec

This patch moves the MemInfo related code to its own package. As the previous move
was not yet part of a release, we're not adding new aliases in pkg/sysinfo.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-03-15 17:52:45 +01:00
..
args_windows.go Windows: (WCOW) Generate OCI spec that remote runtime can escape 2019-03-12 18:41:55 -07:00
chtimes.go pkg/system: rename maxTime and re-use, define unixEpochTime, update GoDoc 2022-10-07 18:34:44 +02:00
chtimes_linux_test.go pkg/system: fix missing assertions and use sub-tests for ChTimes 2022-10-07 22:57:01 +02:00
chtimes_nowindows.go Update to Go 1.17.0, and gofmt with Go 1.17 2021-08-24 23:33:27 +02:00
chtimes_test.go pkg/system: fix missing assertions and use sub-tests for ChTimes 2022-10-07 22:57:01 +02:00
chtimes_windows.go pkg/system: windows: setCTime(): remove redundant conversion 2022-10-07 18:34:44 +02:00
chtimes_windows_test.go pkg/system: fix missing assertions and use sub-tests for ChTimes 2022-10-07 22:57:01 +02:00
errors.go Add canonical import comment 2018-02-05 16:51:57 -05:00
filesys.go pkg/system: make IsAbs() platform-agnostic 2022-08-27 15:11:27 +02:00
filesys_unix.go replace pkg/system Sequential funcs with moby/sys/sequential 2022-08-30 09:33:49 +02:00
filesys_windows.go pkg/system: synchronize mkdirall() with latest os.MkDirAll() 2022-10-15 13:24:43 +02:00
image_os.go system: remove LCOWSupported() utility 2021-07-27 13:36:19 +02:00
init_windows.go Windows CI: Add support for testing with containerd 2021-08-17 07:09:40 -07:00
lstat_unix.go Update to Go 1.17.0, and gofmt with Go 1.17 2021-08-24 23:33:27 +02:00
lstat_unix_test.go pkg/system: use t.TempDir(), remove some test-utils 2022-10-07 18:36:13 +02:00
lstat_windows.go Add canonical import comment 2018-02-05 16:51:57 -05:00
meminfo_deprecated.go pkg/sysinfo: move MemInfo and ReadMemInfo to a separate package 2023-03-15 17:52:45 +01:00
mknod.go Port pkg/system/mknod.go to FreeBSD 2021-09-22 09:47:35 +03:00
mknod_freebsd.go Port pkg/system/mknod.go to FreeBSD 2021-09-22 09:47:35 +03:00
mknod_unix.go system: unbreak build for darwin 2021-12-15 22:15:07 -08:00
mknod_windows.go Add canonical import comment 2018-02-05 16:51:57 -05:00
path_deprecated.go pkg/system: deprecate DefaultPathEnv, move to oci 2022-11-29 17:02:50 +01:00
process_deprecated.go move pkg/system: process to a separate package 2022-11-04 01:50:23 +01:00
stat_bsd.go Update to Go 1.17.0, and gofmt with Go 1.17 2021-08-24 23:33:27 +02:00
stat_darwin.go Add canonical import comment 2018-02-05 16:51:57 -05:00
stat_linux.go reformat "nolint" comments 2021-06-10 13:03:42 +02:00
stat_openbsd.go Add canonical import comment 2018-02-05 16:51:57 -05:00
stat_unix.go Update to Go 1.17.0, and gofmt with Go 1.17 2021-08-24 23:33:27 +02:00
stat_unix_test.go pkg/system: use t.TempDir(), remove some test-utils 2022-10-07 18:36:13 +02:00
stat_windows.go pkg/system: unconvert 2022-10-05 16:21:04 +02:00
utimes_unix.go Update to Go 1.17.0, and gofmt with Go 1.17 2021-08-24 23:33:27 +02:00
utimes_unix_test.go pkg/system: use t.TempDir(), remove some test-utils 2022-10-07 18:36:13 +02:00
utimes_unsupported.go Update to Go 1.17.0, and gofmt with Go 1.17 2021-08-24 23:33:27 +02:00
xattrs_linux.go pkg/system.getxattr: handle changed size case 2020-02-26 07:56:12 -08:00
xattrs_unsupported.go Update to Go 1.17.0, and gofmt with Go 1.17 2021-08-24 23:33:27 +02:00