Create some utility functions that will be used for implementing custom repo configuration files. This commit adds these functions: - a helper to get the filename of a custom repo, or the `<repo-id>.repo` if the filename is empty - a function to convert the custom repos to a map of `RepoConfig`. This function also creates an `fsnode.File` for each inline gpg key set in the customizations and swaps the inline key for the file path. The function returns the map of `RepoConfig` and a list of `fsnode.File` containing the inline gpg keys. |
||
|---|---|---|
| .. | ||
| blueprint.go | ||
| blueprint_test.go | ||
| customizations.go | ||
| customizations_test.go | ||
| filesystem_customizations.go | ||
| fsnode_customizations.go | ||
| fsnode_customizations_test.go | ||
| repository_customizations.go | ||
| repository_customizations_test.go | ||