Documentation
¶
Index ¶
- func JoinHTTPPaths(baseURL, paths string) string
- type Chart
- type ChartDownloadOption
- type ChartFiles
- type Repository
- func (r *Repository) ChartVersions(name string, maxAmount int) iter.Seq2[*repo.ChartVersion, error]
- func (r *Repository) Close() error
- func (r *Repository) FindChartVersion(name string, version string) (*repo.ChartVersion, error)
- func (r *Repository) GetChart(name, version string) (*Chart, error)
- func (r *Repository) ResolveReferenceURL(url string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JoinHTTPPaths ¶
Types ¶
type Chart ¶
type Chart struct {
// contains filtered or unexported fields
}
func LoadChart ¶
func LoadChart(repository *Repository, chart *repo.ChartVersion) (*Chart, error)
func (*Chart) Chart ¶
func (c *Chart) Chart() *repo.ChartVersion
func (*Chart) Download ¶
func (c *Chart) Download(options ...ChartDownloadOption) (*ChartFiles, error)
type ChartDownloadOption ¶
type ChartDownloadOption func(*chartDownloadOptions)
func WithChartDownloadPath ¶
func WithChartDownloadPath(path string) ChartDownloadOption
type ChartFiles ¶
type ChartFiles struct {
// contains filtered or unexported fields
}
func (*ChartFiles) ChartPath ¶
func (c *ChartFiles) ChartPath() string
func (*ChartFiles) Close ¶
func (c *ChartFiles) Close() error
type Repository ¶
type Repository struct {
// contains filtered or unexported fields
}
func LoadRepository ¶
func LoadRepository(repoURL string) (*Repository, error)
func (*Repository) ChartVersions ¶
func (r *Repository) ChartVersions(name string, maxAmount int) iter.Seq2[*repo.ChartVersion, error]
func (*Repository) Close ¶
func (r *Repository) Close() error
func (*Repository) FindChartVersion ¶
func (r *Repository) FindChartVersion(name string, version string) (*repo.ChartVersion, error)
func (*Repository) ResolveReferenceURL ¶
func (r *Repository) ResolveReferenceURL(url string) (string, error)
Click to show internal directories.
Click to hide internal directories.