source-controller/internal/helm
Hidde Beydals 8537a0f8fa internal/helm: add helpers to load chart metadata
This commits adds `LoadChartMetadataFromArchive` and
`LoadChartMetadataFromDir` helpers to the internal `helm` package
to be able to make observations to the Helm metadata file without
loading the chart in full.

The helpers are compatible with charts of the v1 format (with a
separate `requirements.yaml` file), and an additional
`LoadChartMetadata` helper is available to automatically call the
right `LoadChartMetadataFrom*` version by looking at the file
description of the given path.

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 Drop deprecated `io/ioutil` 2021-07-29 09:58:00 +02:00
repository_test.go Drop deprecated `io/ioutil` 2021-07-29 09:58:00 +02:00
utils.go Change copyright wording to accomodate convention 2020-10-28 18:08:44 +02:00