Previously we had to type the name of the architecture and image type multiple times (in the definition, when inserting it into each parent structure etc.) and it would get even worse because we would have to do the same for all distros. These helper functions make it less error prone by copying the name in the function automatically. |
||
|---|---|---|
| .. | ||
| fedora30 | ||
| fedora31 | ||
| fedora32 | ||
| fedoratest | ||
| rhel81 | ||
| rhel82 | ||
| test | ||
| distro.go | ||
| distro_test.go | ||
| osrelease_test.go | ||