Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* pkg/shortnames * Finally, split configuration loading and merging * Reorder merging code in loadConfig to match field order in V2RegistriesConf * Remove "TODO: separate upper format from internal data below:" * Move shortNameMode from V2RegistriesConf to parsedConfig * Behavior change: Move unqualifiedSearchRegistriesOrigin to parsedConfig * Deprecate TryUpdatingCache return value, warn about parsedConfig.v2 * Some progress: Move aliasCache out of V2RegistriesConf to parsedConfig * Add a parsedConfig return value to loadConfigFile * Split shortNameAliasCache.updateWithConfigurationFrom from loadConfig * Move the creation of shortNameAliasCache to loadConfigFile * Rename shortNameAliasConf.parseAndValidate to newShortNameAliasCache * Move the allocation of an empty alias map to editShortNameAlias * Bump github.com/klauspost/compress from 1.11.1 to 1.11.2 * Split shortNameAliasCache from shortNameAliasConf * Split the error and success return paths of shortNameAliasConf.parseAndValidate * Sort Registries in V2RegistriesConf.postProcess * Make it clearer that .postProcessRegistries() is called on the V2RegistriesConf data * Make tomlConfig private * Split loadConfigFile from loadConfig * Make loadConfig a method on parsedConfig instead of tomlConfig * Introduce sysregistriesv2.parsedConfig, use it for configCache * Don't hard-code cache implementation details in tests * Add a test for correctly merging unqualified-search-registries * sysregistriesv2: short-name aliasing * Add GetDigest method to retrieve digest from manifest HEAD request * Fix misleading network error * Bump github.com/containers/storage from 1.23.6 to 1.23.7 * docs: update reference to containers-registeries.d.md Signed-off-by: Valentin Rothberg <[email protected]>
- Loading branch information