Documentation
¶
Index ¶
Constants ¶
const ( HelmMajorVersion3 = 3 HelmMajorVersion4 = 4 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Chart ¶
type Chart struct {
Metadata *Metadata
// contains filtered or unexported fields
}
Chart is a helm package that contains metadata
func GetChartByName ¶
GetChartByName returns a chart by "name", which can be either a directory or .tgz package
func (*Chart) GetMetadata ¶ added in v0.11.0
GetMetadata returns the chart metadata
func (*Chart) SetAppVersion ¶ added in v0.10.0
SetAppVersion overrides the app version
func (*Chart) SetVersion ¶
SetVersion overrides the chart version
type HelmMajorVersion ¶ added in v0.8.0
type HelmMajorVersion int
func HelmMajorVersionCurrent ¶ added in v0.8.0
func HelmMajorVersionCurrent() HelmMajorVersion
type Index ¶ added in v0.7.0
type Index struct {
ServerInfo ServerInfo `json:"serverInfo"`
// contains filtered or unexported fields
}
Index represents the index file in a chart repository
func GetIndexByDownloader ¶ added in v0.7.0
func GetIndexByDownloader(downloadIndex IndexDownloader, version HelmMajorVersion) (*Index, error)
GetIndexByDownloader takes binary data from IndexDownloader and returns an Index object
func GetIndexByRepo ¶ added in v0.7.0
func GetIndexByRepo(repo *Repo, downloadIndex IndexDownloader) (*Index, error)
GetIndexByRepo returns index by repository
func LoadIndex ¶ added in v0.7.0
func LoadIndex(data []byte, version HelmMajorVersion) (*Index, error)
LoadIndex loads an index file
func (*Index) SortEntries ¶ added in v0.11.0
func (i *Index) SortEntries()
SortEntries sorts entries in the index
type IndexDownloader ¶ added in v0.7.0
IndexDownloader is a function to download the index
type Repo ¶
type Repo struct {
// contains filtered or unexported fields
}
Repo represents a collection of parameters for chart repository
func GetRepoByName ¶
GetRepoByName returns repository by name
func TempRepoFromURL ¶ added in v0.5.0
TempRepoFromURL builds a temporary Repo from a given URL
func (*Repo) GetCachePath ¶ added in v0.11.0
func (*Repo) GetConfigName ¶ added in v0.11.0
Accessor methods for Config fields
func (*Repo) GetConfigPassword ¶ added in v0.11.0
func (*Repo) GetConfigURL ¶ added in v0.11.0
func (*Repo) GetConfigUsername ¶ added in v0.11.0
type ServerInfo ¶ added in v0.7.0
type ServerInfo struct {
ContextPath string `json:"contextPath"`
}
ServerInfo describes the server information