Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrMissingChartFile indicates a missing Chart.yaml file ErrMissingChartFile = errors.New("Chart.yaml file is missing") // ErrInvalidName indicates an invalid package name ErrInvalidName = errors.New("package name is invalid") // ErrInvalidVersion indicates an invalid package version ErrInvalidVersion = errors.New("package version is invalid") // ErrInvalidChart indicates an invalid chart ErrInvalidChart = errors.New("chart is invalid") )
Functions ¶
This section is empty.
Types ¶
type Dependency ¶
type Dependency struct { Name string `json:"name" yaml:"name"` Version string `json:"version,omitempty" yaml:"version,omitempty"` Repository string `json:"repository" yaml:"repository"` Condition string `json:"condition,omitempty" yaml:"condition,omitempty"` Tags []string `json:"tags,omitempty" yaml:"tags,omitempty"` Enabled bool `json:"enabled,omitempty" yaml:"enabled,omitempty"` ImportValues []interface{} `json:"import_values,omitempty" yaml:"import-values,omitempty"` Alias string `json:"alias,omitempty" yaml:"alias,omitempty"` }
type Maintainer ¶
type Metadata ¶
type Metadata struct { APIVersion string `json:"api_version" yaml:"apiVersion"` Type string `json:"type,omitempty" yaml:"type,omitempty"` Name string `json:"name" yaml:"name"` Version string `json:"version" yaml:"version"` AppVersion string `json:"app_version,omitempty" yaml:"appVersion,omitempty"` Home string `json:"home,omitempty" yaml:"home,omitempty"` Sources []string `json:"sources,omitempty" yaml:"sources,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"` Icon string `json:"icon,omitempty" yaml:"icon,omitempty"` Condition string `json:"condition,omitempty" yaml:"condition,omitempty"` Tags string `json:"tags,omitempty" yaml:"tags,omitempty"` Deprecated bool `json:"deprecated,omitempty" yaml:"deprecated,omitempty"` Annotations map[string]string `json:"annotations,omitempty" yaml:"annotations,omitempty"` KubeVersion string `json:"kube_version,omitempty" yaml:"kubeVersion,omitempty"` Dependencies []*Dependency `json:"dependencies,omitempty" yaml:"dependencies,omitempty"` }
Metadata for a Chart file. This models the structure of a Chart.yaml file.
func ParseChartArchive ¶
ParseChartArchive parses the metadata of a Helm archive
Click to show internal directories.
Click to hide internal directories.