This commits adds simple caching capabilities to the `ChartRepository`, which makes it possible to load the `Index` from a defined `CachePath` using `LoadFromCache()`, and to download the index to a new `CachePath` using `CacheIndex()`. In addition, the repository tests have been updated to make use of Gomega, and some missing ones have been added. Signed-off-by: Hidde Beydals <hello@hidde.co> |
||
|---|---|---|
| .. | ||
| testdata | ||
| chart.go | ||
| chart_test.go | ||
| dependency_manager.go | ||
| dependency_manager_test.go | ||
| getter.go | ||
| getter_test.go | ||
| repository.go | ||
| repository_test.go | ||
| utils.go | ||
| utils_test.go | ||