containerd/platforms
Ian Campbell c83f9773bc platforms: Add MustParse
This function is analogous to `regexp.MustCompile` and can simplify production
of a `Platform` from a hard-coded strings, e.g. for global variable
initialisation.

Signed-off-by: Ian Campbell <ian.campbell@docker.com>
2018-08-15 11:30:46 +01:00
..
cpuinfo_test.go Licence header added 2018-02-19 10:32:26 +09:00
cpuinfo.go Licence header added 2018-02-19 10:32:26 +09:00
database.go Normalize arm64 to an empty variant 2018-06-23 16:35:46 -07:00
defaults_test.go Licence header added 2018-02-19 10:32:26 +09:00
defaults.go Licence header added 2018-02-19 10:32:26 +09:00
platforms_test.go Fix arm platform matching 2018-06-21 17:07:58 -07:00
platforms.go platforms: Add MustParse 2018-08-15 11:30:46 +01:00