helm

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: AGPL-3.0 Imports: 8 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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.

Functions

func ParseChart

func ParseChart(r io.Reader) (map[string]any, error)

ParseChart extracts metadata from a Helm chart tarball.

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.

Jump to

Keyboard shortcuts

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