Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Digest ¶ added in v0.1.1
Digest hashes a reader and returns a SHA256 digest.
Helm uses SHA256 as its default hash for all non-cryptographic applications.
func DigestFile ¶ added in v0.1.1
DigestFile calculates a SHA256 hash (like Docker) for a given file.
It takes the path to the archive file, and returns a string representation of the SHA256 sum.
The intended use of this function is to generate a sum of a chart TGZ file.
Types ¶
type ChartVersion ¶
type ChartVersions ¶
type ChartVersions []ChartVersion
func (ChartVersions) Len ¶
func (c ChartVersions) Len() int
func (ChartVersions) Less ¶
func (c ChartVersions) Less(a, b int) bool
func (ChartVersions) Swap ¶
func (c ChartVersions) Swap(i, j int)
type Dependency ¶
type Dependency struct {
Name string `json:"name"`
Version string `json:"version,omitempty"`
Repository string `json:"repository"`
Condition string `json:"condition,omitempty"`
Tags []string `json:"tags,omitempty"`
Enabled bool `json:"enabled,omitempty"`
ImportValues []interface{} `json:"import-values,omitempty"`
Alias string `json:"alias,omitempty"`
}
type IndexFile ¶
type IndexFile struct {
ServerInfo map[string]interface{} `json:"serverInfo,omitempty"`
APIVersion string `json:"apiVersion"`
Generated time.Time `json:"generated"`
Entries map[string]ChartVersions `json:"entries"`
PublicKeys []string `json:"publicKeys,omitempty"`
Annotations map[string]string `json:"annotations,omitempty"`
}
IndexFile represents the index file in a chart repository.
func (IndexFile) SortEntries ¶
func (i IndexFile) SortEntries()
type Maintainer ¶
type Metadata ¶
type Metadata struct {
Name string `json:"name,omitempty"`
Home string `json:"home,omitempty"`
Sources []string `json:"sources,omitempty"`
Version string `json:"version,omitempty"`
Description string `json:"description,omitempty"`
Keywords []string `json:"keywords,omitempty"`
Maintainers []*Maintainer `json:"maintainers,omitempty"`
Icon string `json:"icon,omitempty"`
APIVersion string `json:"apiVersion,omitempty"`
Condition string `json:"condition,omitempty"`
Tags string `json:"tags,omitempty"`
AppVersion string `json:"appVersion,omitempty"`
Deprecated bool `json:"deprecated,omitempty"`
Annotations map[string]string `json:"annotations,omitempty"`
KubeVersion string `json:"kubeVersion,omitempty"`
Dependencies []*Dependency `json:"dependencies,omitempty"`
Type string `json:"type,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.