source-controller/internal/helm
Hidde Beydals 44c1863334 internal/helm: add repository cache helpers
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>
2021-11-19 17:04:00 +01:00
..
testdata internal/helm: add helpers to load chart metadata 2021-11-19 17:04:00 +01:00
chart.go internal/helm: add helpers to load chart metadata 2021-11-19 17:04:00 +01:00
chart_test.go internal/helm: add helpers to load chart metadata 2021-11-19 17:04:00 +01:00
dependency_manager.go Copy loop iterator var for use by goroutine 2021-02-18 01:39:07 +01:00
dependency_manager_test.go internal/helm: add helpers to load chart metadata 2021-11-19 17:04:00 +01:00
getter.go Drop deprecated `io/ioutil` 2021-07-29 09:58:00 +02:00
getter_test.go Change copyright to Flux authors 2020-10-27 17:54:22 +01:00
repository.go internal/helm: add repository cache helpers 2021-11-19 17:04:00 +01:00
repository_test.go internal/helm: add repository cache helpers 2021-11-19 17:04:00 +01:00
utils.go Change copyright wording to accomodate convention 2020-10-28 18:08:44 +02:00
utils_test.go internal/helm: add repository cache helpers 2021-11-19 17:04:00 +01:00