Versions in this module Expand all Collapse all v3 v3.12.0 Jun 12, 2023 Changes in this version + const APIVersionV1 + var ErrEmptyIndexYaml = errors.New("empty index.yaml file") + var ErrNoAPIVersion = errors.New("no API version specified") + var ErrNoChartName = errors.New("no chart name found") + var ErrNoChartVersion = errors.New("no chart version found") + func FindChartInAuthAndTLSAndPassRepoURL(...) (string, error) + func FindChartInAuthAndTLSRepoURL(...) (string, error) + func FindChartInAuthRepoURL(...) (string, error) + func FindChartInRepoURL(repoURL, chartName, chartVersion, certFile, keyFile, caFile string, ...) (string, error) + func ResolveReferenceURL(baseURL, refURL string) (string, error) + type ChartRepository struct + CachePath string + ChartPaths []string + Client getter.Getter + Config *Entry + IndexFile *IndexFile + func NewChartRepository(cfg *Entry, getters getter.Providers) (*ChartRepository, error) + func (r *ChartRepository) DownloadIndexFile() (string, error) + func (r *ChartRepository) Index() error + func (r *ChartRepository) Load() error + type ChartVersion struct + ChecksumDeprecated string + Created time.Time + Digest string + EngineDeprecated string + Removed bool + TillerVersionDeprecated string + URLDeprecated string + URLs []string + type ChartVersions []*ChartVersion + func (c ChartVersions) Len() int + func (c ChartVersions) Less(a, b int) bool + func (c ChartVersions) Swap(i, j int) + type Entry struct + CAFile string + CertFile string + InsecureSkipTLSverify bool + KeyFile string + Name string + PassCredentialsAll bool + Password string + URL string + Username string + func (e *Entry) String() string + type File struct + APIVersion string + Generated time.Time + Repositories []*Entry + func LoadFile(path string) (*File, error) + func NewFile() *File + func (r *File) Add(re ...*Entry) + func (r *File) Get(name string) *Entry + func (r *File) Has(name string) bool + func (r *File) Remove(name string) bool + func (r *File) Update(re ...*Entry) + func (r *File) WriteFile(path string, perm os.FileMode) error + type IndexFile struct + APIVersion string + Annotations map[string]string + Entries map[string]ChartVersions + Generated time.Time + PublicKeys []string + ServerInfo map[string]interface{} + func IndexDirectory(dir, baseURL string) (*IndexFile, error) + func LoadIndexFile(path string) (*IndexFile, error) + func NewIndexFile() *IndexFile + func (i *IndexFile) Merge(f *IndexFile) + func (i IndexFile) Add(md *chart.Metadata, filename, baseURL, digest string) + func (i IndexFile) Get(name, version string) (*ChartVersion, error) + func (i IndexFile) Has(name, version string) bool + func (i IndexFile) MustAdd(md *chart.Metadata, filename, baseURL, digest string) error + func (i IndexFile) SortEntries() + func (i IndexFile) WriteFile(dest string, mode os.FileMode) error