Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrChartYAMLNotFound = errors.New("chart.yaml not found in archive") ErrChartYAMLTooLarge = errors.New("chart.yaml exceeds max size") )
Sentinel errors for Helm chart parsing.
View Source
var ErrChartTooLarge = errors.New("chart exceeds max unpacked size")
ErrChartTooLarge reports a chart whose unpacked size exceeds the scan limit.
Functions ¶
Types ¶
type ChartMetadata ¶
type ChartMetadata struct {
APIVersion string `yaml:"apiVersion"`
Name string `yaml:"name"`
Version string `yaml:"version"`
AppVersion string `yaml:"appVersion"`
Description string `yaml:"description"`
Type string `yaml:"type"`
Keywords []string `yaml:"keywords"`
Home string `yaml:"home"`
Sources []string `yaml:"sources"`
Maintainers []map[string]any `yaml:"maintainers"`
Icon string `yaml:"icon"`
Annotations map[string]string `yaml:"annotations"`
}
ChartMetadata represents the metadata from Chart.yaml.
Click to show internal directories.
Click to hide internal directories.