Documentation
¶
Index ¶
- func ChartExistInIndex(name string, version string, index *helmRepo.IndexFile) (bool, error)
- func FindChartURL(name string, version string, index *helmRepo.IndexFile) (string, error)
- func GetDateThreshold(date string) (time.Time, error)
- func GetFileContentType(filepath string) (string, error)
- func LoadIndexFromRepo(repo *api.Repo) (*helmRepo.IndexFile, error)
- func Untar(filepath, destDir string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChartExistInIndex ¶
ChartExistInIndex checks if a specific chart version is present in the index file.
func FindChartURL ¶
FindChartURL will return the chart url
func GetDateThreshold ¶
GetDateThreshold will parse a string date agains a fixed layout and return a time.Date value
func GetFileContentType ¶
GetFileContentType returns the content type of a file.
func LoadIndexFromRepo ¶
LoadIndexFromRepo get the index.yaml from a Helm repo and returns an index object
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.