It uses the same approach as fedora31 few commits ago. The pointer to distro is moved to "arch" and "arch" now contains a map of allowed image types for each arch. Also include setArches and setImageTypes helper functions to ease the creation of pointers from the structures to a parent structure while creating the distro->arches->image types hierarchy. |
||
|---|---|---|
| .. | ||
| distro.go | ||
| distro_test.go | ||