Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddChartToLocalRepo ¶
AddChartToLocalRepo saves a chart in the given path and then reindexes the index file
func DownloadIndexFile ¶
DownloadIndexFile uses
func Reindex ¶
Reindex adds an entry to the index file at the given path
Types ¶
type ChartRef ¶
type ChartRef struct { Name string `yaml:"name"` URL string `yaml:"url"` Created string `yaml:"created,omitempty"` Removed bool `yaml:"removed,omitempty"` Checksum string `yaml:"checksum,omitempty"` Chartfile *chart.Metadata `yaml:"chartfile"` }
ChartRef represents a chart entry in the IndexFile
type ChartRepository ¶
type ChartRepository struct { RootPath string URL string // URL of repository ChartPaths []string IndexFile *IndexFile }
ChartRepository represents a chart repository
func LoadChartRepository ¶
func LoadChartRepository(dir, url string) (*ChartRepository, error)
LoadChartRepository takes in a path to a local chart repository
which contains packaged charts and an index.yaml file
This function evaluates the contents of the directory and returns a ChartRepository
func (*ChartRepository) Index ¶
func (r *ChartRepository) Index() error
Index generates an index for the chart repository and writes an index.yaml file
type IndexFile ¶
IndexFile represents the index file in a chart repository
func LoadIndexFile ¶
LoadIndexFile takes a file at the given path and returns an IndexFile object
Click to show internal directories.
Click to hide internal directories.