helm

package
v2.0.0-alpha15+incompa... Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2018 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchFiles

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

func LoadFile

func LoadFile(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"`
	Home        string        `json:"home,omitempty" yaml:"home,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"`
	Maintainers []*Maintainer `json:"maintainers,omitempty" yaml:"maintainers,omitempty"`
	Engine      string        `json:"engine,omitempty" yaml:"engine,omitempty"`
	Icon        string        `json:"icon,omitempty" yaml:"icon,omitempty"`
	APIVersion  string        `json:"apiVersion,omitempty" yaml:"apiVersion,omitempty"`
	Condition   string        `json:"condition,omitempty" yaml:"condition,omitempty"`
	Tags        string        `json:"tags,omitempty" yaml:"tags,omitempty"`
	AppVersion  string        `json:"appVersion,omitempty" yaml:"appVersion,omitempty"`
	Deprecated  bool          `json:"deprecated,omitempty" yaml:"deprecated,omitempty"`
}

func LoadMetadata

func LoadMetadata(path string) (*ChartMetadata, error)

type ChartVersion

type ChartVersion struct {
	ChartMetadata `yaml:",inline"`
	URLs          []string  `json:"urls" yaml:"urls"`
	Created       time.Time `json:"created,omitempty" yaml:"created,omitempty"`
	Removed       bool      `json:"removed,omitempty" yaml:"removed,omitempty"`
	Digest        string    `json:"digest,omitempty" yaml:"digest,omitempty"`
}

type ChartVersions

type ChartVersions []*ChartVersion

type IndexFile

type IndexFile struct {
	APIVersion string                   `json:"apiVersion" yaml:"apiVersion"`
	Generated  time.Time                `json:"generated" yaml:"generated"`
	Entries    map[string]ChartVersions `json:"entries" yaml:"entries"`
	PublicKeys []string                 `json:"publicKeys,omitempty" yaml:"publicKeys,omitempty"`
}

type Maintainer

type Maintainer struct {
	Name  string `json:"name,omitempty" yaml:"name,omitempty"`
	Email string `json:"email,omitempty" yaml:"email,omitempty"`
}

type RepoIndex

type RepoIndex struct {
	URL       string     `json:"url" yaml:"url"`
	CertFile  string     `json:"certFile,omitempty" yaml:"certFile,omitempty"`
	KeyFile   string     `json:"keyFile,omitempty" yaml:"keyFile,omitempty"`
	CAFile    string     `json:"caFile,omitempty" yaml:"caFile,omitempty"`
	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