containerd/platforms
Brian Goff 8442521645 Add fallback for windows platforms without osversion
The background for this change:

1. Windows host-process containers do not have an OS version set
2. Buildx v0.10 started pushing manifest lists by default, but it never
   has the OSVersion in the platform data (not that there is any way to
   specify what particular OS version you want). The change means that
   containerd cannot run images created with the new buildx on Windows
   because there is no matching OSVersion in the list of manifests.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2023-02-13 23:07:06 +00: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 Add unit test to function GetCPUVariantFromArch 2022-12-20 22:00:12 +00:00
cpuinfo_linux.go Add unit test to function GetCPUVariantFromArch 2022-12-20 22:00:12 +00:00
cpuinfo_other.go chore: use go fix to cleanup old +build buildtag 2022-12-29 14:25:14 +08: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 Add fallback for windows platforms without osversion 2023-02-13 23:07:06 +00:00
defaults_windows.go Add fallback for windows platforms without osversion 2023-02-13 23:07:06 +00:00
defaults.go windows: The DefaultSpec platform should match the Default matcher 2021-08-26 16:01:21 +00:00
platforms_other.go Cleanup build constraints 2022-12-08 09:36:20 -08: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 Initialize platform matchers for current platform 2022-02-10 08:03:25 -08:00
platforms.go Use Platform instead of generated API 2023-01-12 10:30:42 -08:00