Documentation
¶
Index ¶
- func Load(ctx context.Context, name string) (*chart.Chart, error)
- func LoadArchive(ctx context.Context, in io.Reader) (*chart.Chart, error)
- func LoadDir(ctx context.Context, dir string) (*chart.Chart, error)
- func LoadFile(ctx context.Context, name string) (*chart.Chart, error)
- func LoadFiles(ctx context.Context, files []*archive.BufferedFile) (*chart.Chart, error)
- func LoadValues(data io.Reader) (map[string]any, error)
- func MergeMaps(a, b map[string]any) map[string]any
- type ChartLoader
- type DirLoader
- type FileLoader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Load ¶
Load takes a string name, tries to resolve it to a file or directory, and then loads it.
This is the preferred way to load a chart. It will discover the chart encoding and hand off to the appropriate chart reader.
If a .helmignore file is present, the directory loader will skip loading any files matching it. But .helmignore is not evaluated when reading out of an archive.
func LoadArchive ¶
LoadArchive loads from a reader containing a compressed tar archive.
func LoadValues ¶
LoadValues loads values from a reader.
The reader is expected to contain one or more YAML documents, the values of which are merged. And the values can be either a chart's default values or user-supplied values.
Types ¶
type ChartLoader ¶
ChartLoader loads a chart.
func Loader ¶
func Loader(name string) (ChartLoader, error)
Loader returns a new ChartLoader appropriate for the given chart name