Versions in this module Expand all Collapse all v0 v0.20.3 Nov 15, 2023 v0.20.2 Nov 13, 2023 Changes in this version + var DefaultClient = &http.Client + var InsecureClient = &http.Client + var UnixEpoch = time.Unix(0, 0) + func ChartExistInIndex(name string, version string, index *helmRepo.IndexFile) (bool, error) + func CopyFile(destPath string, srcPath string) error + func EncodeSha1(s string) string + func FetchAndCache(name, version string, cache cache.Cacher, fopts ...FetchOption) (string, error) + func FileExists(f string) (bool, error) + func FindChartURL(name string, version string, index *helmRepo.IndexFile, sourceURL string) (string, error) + func GetDateThreshold(date string) (time.Time, error) + func GetFileContentType(filepath string) (string, error) + func GetListenAddress() (string, error) + func HTTPResponseBody(res *http.Response) string + func LoadIndexFromRepo(repo *api.Repo) (*helmRepo.IndexFile, error) + func NormalizeChartURL(repoURL, chartURL string) (string, error) + func Untar(tarball, targetDir string) error + type FetchOption func(opts *fetchOptions) + func WithFetchInsecure(insecure bool) FetchOption + func WithFetchPassword(pass string) FetchOption + func WithFetchStatusHandler(h statusHandler) FetchOption + func WithFetchURLBuilder(h urlBuilder) FetchOption + func WithFetchUsername(user string) FetchOption