containerd/platforms
Sebastiaan van Stijn e916d77c81
platforms: move ToProto, FromProto to api/types
These utilities resulted in the platforms package to have the containerd
API as dependency. As this package is used in many parts of the code, as
well as external consumers, we should try to keep it light on dependencies,
with the potential to make it a standalone module.

These utilities were added in f3b7436b61,
which has not yet been included in a release, so skipping deprecation
and aliases for these.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-09-13 16:44:52 +02:00
..
compare_test.go platforms: add support for matching amd64 variants 2022-01-18 20:13:37 -08:00
compare.go platforms: add support for matching amd64 variants 2022-01-18 20:13:37 -08:00
cpuinfo_linux_test.go platforms: remove errdefs dependency 2023-09-13 16:44:48 +02:00
cpuinfo_linux.go platforms: remove errdefs dependency 2023-09-13 16:44:48 +02:00
cpuinfo_other.go platforms: remove errdefs dependency 2023-09-13 16:44:48 +02:00
cpuinfo.go Add unit test to function GetCPUVariantFromArch 2022-12-20 22:00:12 +00:00
database.go Use uname machine field to get CPU variant if fails at /proc/cpuinfo 2022-12-20 21:59:32 +00:00
defaults_darwin.go Cleanup build constraints 2022-12-08 09:36:20 -08:00
defaults_freebsd.go platforms: Run goimports for FreeBSD 2022-06-09 18:54:10 -07:00
defaults_unix_test.go Cleanup build constraints 2022-12-08 09:36:20 -08:00
defaults_unix.go Cleanup build constraints 2022-12-08 09:36:20 -08:00
defaults_windows_test.go Invoke Stable ABI compatibility function in windows platform matcher 2023-08-15 12:52:11 -07:00
defaults_windows.go Invoke Stable ABI compatibility function in windows platform matcher 2023-08-15 12:52:11 -07:00
defaults.go windows: The DefaultSpec platform should match the Default matcher 2021-08-26 16:01:21 +00:00
errors.go platforms: remove errdefs dependency 2023-09-13 16:44:48 +02:00
platforms_other.go Fix transfer service dependencies: 2023-08-15 15:32:51 -07:00
platforms_test.go Use testing.F on FuzzPlatformsParse 2022-06-15 14:56:20 +00:00
platforms_windows_test.go Add fallback for windows platforms without osversion 2023-02-13 23:07:06 +00:00
platforms_windows.go Fix transfer service dependencies: 2023-08-15 15:32:51 -07:00
platforms.go platforms: move ToProto, FromProto to api/types 2023-09-13 16:44:52 +02:00