Documentation ¶
Index ¶
- func FetchFiles(version *ChartVersion, urls []string) ([]v3.File, error)
- func FetchTgz(url string) ([]v3.File, error)
- func Icon(versions ChartVersions) (string, string, error)
- func LoadFile(version *ChartVersion, path string) (*v3.File, error)
- func SaveIndex(index *RepoIndex, repoPath string) error
- type ChartMetadata
- type ChartVersion
- type ChartVersions
- type IndexFile
- type RepoIndex
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FetchFiles ¶
func FetchFiles(version *ChartVersion, urls []string) ([]v3.File, error)
Types ¶
type ChartMetadata ¶
type ChartMetadata struct { Name string `json:"name,omitempty" yaml:"name,omitempty"` Sources []string `json:"sources,omitempty" yaml:"sources,omitempty"` Version string `json:"version,omitempty" yaml:"version,omitempty"` Description string `json:"description,omitempty" yaml:"description,omitempty"` Keywords []string `json:"keywords,omitempty" yaml:"keywords,omitempty"` Icon string `json:"icon,omitempty" yaml:"icon,omitempty"` }
type ChartVersion ¶
type ChartVersion struct { ChartMetadata `yaml:",inline"` Dir string `json:"-" yaml:"-"` URLs []string `json:"urls" yaml:"urls"` Digest string `json:"digest,omitempty" yaml:"digest,omitempty"` }
type ChartVersions ¶
type ChartVersions []*ChartVersion
type IndexFile ¶
type IndexFile struct {
Entries map[string]ChartVersions `json:"entries" yaml:"entries"`
}
Click to show internal directories.
Click to hide internal directories.