debian-forge-composer/internal/distro
Tom Gundersen bbd8dc338d distro: introduce Arch and ImageType interfaces
Objects implementing these interfaces will represent the
architecture support for a given distro and the image type
support for a given architecture distro combination, respectively.

The idea is to always resolve to these objects early, and drop
the equilavent methods from the distro interface. This means that
we convert our input strings to real objects once, and then never
have to verify their correctness again.

Signed-off-by: Tom Gundersen <teg@jklm.no>
2020-03-23 15:43:55 +01:00
..
fedora30 distro: introduce Arch and ImageType interfaces 2020-03-23 15:43:55 +01:00
fedora31 distro: introduce Arch and ImageType interfaces 2020-03-23 15:43:55 +01:00
fedora32 distro: introduce Arch and ImageType interfaces 2020-03-23 15:43:55 +01:00
fedoratest distro: introduce Arch and ImageType interfaces 2020-03-23 15:43:55 +01:00
rhel81 distro: introduce Arch and ImageType interfaces 2020-03-23 15:43:55 +01:00
rhel82 distro: introduce Arch and ImageType interfaces 2020-03-23 15:43:55 +01:00
test distro: introduce Arch and ImageType interfaces 2020-03-23 15:43:55 +01:00
distro.go distro: introduce Arch and ImageType interfaces 2020-03-23 15:43:55 +01:00
distro_test.go distro: drop NewDefaultRegistry() 2020-03-23 15:43:55 +01:00
osrelease_test.go distro: add DetectHost 2019-11-10 17:23:14 +01:00