# Packages
Package repotest provides utilities for testing.
# Functions
AddChartToLocalRepo saves a chart in the given path and then reindexes the index file.
FindChartInAuthRepoURL finds chart in chart repository pointed by repoURL without adding repo to repositories, like FindChartInRepoURL, but it also receives credentials for the chart repository.
FindChartInRepoURL finds chart in chart repository pointed by repoURL without adding repo to repositories.
IndexDirectory reads a (flat) directory and generates an index.
LoadIndexFile takes a file at the given path and returns an IndexFile object.
LoadRepositoriesFile takes a file at the given path and returns a RepoFile object
If this returns ErrRepoOutOfDate, it also returns a recovered RepoFile that can be saved as a replacement to the out of date file.
NewChartRepository constructs ChartRepository.
NewIndexFile initializes an index.
NewRepoFile generates an empty repositories file.
Reindex adds an entry to the index file at the given path.
ResolveReferenceURL resolves refURL relative to baseURL.
StartLocalRepo starts a web server and serves files from the given path.
# Constants
APIVersionV1 is the v1 API version for index and repository files.
# Variables
ErrNoAPIVersion indicates that an API version was not specified.
ErrNoChartName indicates that a chart with the given name is not found.
ErrNoChartVersion indicates that a chart with the given version is not found.
ErrRepoOutOfDate indicates that the repository file is out of date, but is fixable.
# Structs
ChartRepository represents a chart repository.
ChartVersion represents a chart entry in the IndexFile.
Entry represents a collection of parameters for chart repository.
IndexFile represents the index file in a chart repository.
IndexValidation is used to validate the integrity of an index file.
RepoFile represents the repositories.yaml file in $HELM_HOME TODO: change type name to File in Helm 3 to resolve linter warning.
RepositoryServer is an HTTP handler for serving a chart repository.
# Type aliases
ChartVersions is a list of versioned chart references.