containerd/platforms
Jason Hall 363f2c392c Derive cpuinfo as needed, instead of at init-time
This changes platforms.Parse to hit /proc to look up CPU info only when
it's needed, instead of in init(). This makes the package a bit easier
for other packages to consume, especially clients that don't call
platforms.Parse or need to lookup CPU info.

Signed-off-by: Jason Hall <jasonhall@redhat.com>
2021-01-19 14:10:39 -05:00
..
compare_test.go Allow arm64 to fallback to arm (v8, v7, v6, v5) 2021-01-13 09:19:08 -08:00
compare.go Allow arm64 to fallback to arm (v8, v7, v6, v5) 2021-01-13 09:19:08 -08:00
cpuinfo_test.go Licence header added 2018-02-19 10:32:26 +09:00
cpuinfo.go Derive cpuinfo as needed, instead of at init-time 2021-01-19 14:10:39 -05:00
database.go Merge pull request #3624 from tklauser/platforms-update 2019-09-05 16:53:37 -07:00
defaults_test.go Derive cpuinfo as needed, instead of at init-time 2021-01-19 14:10:39 -05:00
defaults_unix.go Introduce the Windows lcow diff/snaphotter 2018-08-28 13:51:04 -07:00
defaults_windows.go Do not hardcode "amd64" on LCOW and Windows-related files 2020-11-09 13:39:07 -08:00
defaults.go Derive cpuinfo as needed, instead of at init-time 2021-01-19 14:10:39 -05:00
platforms_test.go Derive cpuinfo as needed, instead of at init-time 2021-01-19 14:10:39 -05:00
platforms.go Derive cpuinfo as needed, instead of at init-time 2021-01-19 14:10:39 -05:00