helm

package
v2.1.2-rc9+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 9, 2018 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchFiles

func FetchFiles(version *ChartVersion, urls []string) ([]v3.File, error)

func FetchTgz

func FetchTgz(url string) ([]v3.File, error)

func Icon

func Icon(versions ChartVersions) (string, string, error)

func LoadFile

func LoadFile(version *ChartVersion, path string) (*v3.File, error)

func SaveIndex

func SaveIndex(index *RepoIndex, repoPath string) 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"`
	KubeVersion string   `json:"kubeVersion,omitempty" yaml:"kubeVersion,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"`
}

type RepoIndex

type RepoIndex struct {
	IndexFile *IndexFile `json:"indexFile" yaml:"indexFile"`
	Hash      string     `json:"hash" yaml:"hash"`
}

func DownloadIndex

func DownloadIndex(indexURL string) (*RepoIndex, error)

func LoadIndex

func LoadIndex(repoPath string) (*RepoIndex, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL