Documentation ¶
Index ¶
Constants ¶
View Source
const ( HelmMajorVersion2 = 2 HelmMajorVersion3 = 3 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Chart ¶
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) 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 { *repo.IndexFile ServerInfo ServerInfo `json:"serverInfo"` }
Index represents the index file in a chart repository
func GetIndexByDownloader ¶ added in v0.7.0
func GetIndexByDownloader(downloadIndex IndexDownloader) (*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
type IndexDownloader ¶ added in v0.7.0
IndexDownloader is a function to download the index
type Repo ¶
type Repo struct {
*repo.ChartRepository
}
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
type ServerInfo ¶ added in v0.7.0
type ServerInfo struct {
ContextPath string `json:"contextPath"`
}
ServerInfo describes the server information
Click to show internal directories.
Click to hide internal directories.