Versions in this module Expand all Collapse all v0 v0.21.1 Feb 24, 2022 Changes in this version + var ErrNoChartIndex = errors.New("no chart index") + func NormalizeURL(url string) string + type ChartRepository struct + CachePath string + Cached bool + Checksum string + Client getter.Getter + Index *repo.IndexFile + Options []getter.Option + URL string + func NewChartRepository(repositoryURL, cachePath string, providers getter.Providers, ...) (*ChartRepository, error) + func (r *ChartRepository) CacheIndex() (string, error) + func (r *ChartRepository) DownloadChart(chart *repo.ChartVersion) (*bytes.Buffer, error) + func (r *ChartRepository) DownloadIndex(w io.Writer) (err error) + func (r *ChartRepository) Get(name, ver string) (*repo.ChartVersion, error) + func (r *ChartRepository) HasCacheFile() bool + func (r *ChartRepository) HasIndex() bool + func (r *ChartRepository) LoadFromCache() error + func (r *ChartRepository) LoadFromFile(path string) error + func (r *ChartRepository) LoadIndexFromBytes(b []byte) error + func (r *ChartRepository) RemoveCache() error + func (r *ChartRepository) StrategicallyLoadIndex() (err error) + func (r *ChartRepository) Unload()