Documentation ¶
Index ¶
Constants ¶
const APIVersionV1 = "v1"
APIVersionV1 is the v1 API version for index and repository files.
Variables ¶
var ( // ErrNoAPIVersion indicates that an API version was not specified. ErrNoAPIVersion = errors.New("no API version specified") // ErrNoChartVersion indicates that a chart with the given version is not found. ErrNoChartVersion = errors.New("no chart version found") // ErrNoChartName indicates that a chart with the given name is not found. ErrNoChartName = errors.New("no chart name found") )
Functions ¶
This section is empty.
Types ¶
type ChartRepository ¶
type ChartRepository struct {
helmRepo.ChartRepository
}
ChartRepository represents a chart repository
ChartRepository is a composite type of Helm's repo.ChartRepository
func NewChartRepository ¶
NewChartRepository constructs ChartRepository
type ChartVersions ¶
type ChartVersions struct {
ChartVersions []*helmRepo.ChartVersion
}
ChartVersions is a list of versioned chart references. Implements a sorter on Version.
This is a composition for helms `type ChartVersions []*ChartVersion`
type File ¶
File represents the repositories.yaml file
File is a composite type of helm/pkg/repo.File
type IndexFile ¶
IndexFile represents the index file in a chart repository
This is a composite type of helm's Indexfile
func IndexDirectory ¶
IndexDirectory reads a (flat) directory and generates an index.
It indexes only charts that have been packaged (*.tgz).
The index returned will be in an unsorted state
func LoadIndexFile ¶
LoadIndexFile takes a file at the given path and returns an IndexFile object