Documentation ¶
Index ¶
- func Load(name string) (*chart.Chart, error)
- func LoadArchive(in io.Reader) (*chart.Chart, error)
- func LoadDir(dir string) (*chart.Chart, error)
- func LoadFS(fsys fs.FS) (*chart.Chart, error)
- func LoadFile(name string) (*chart.Chart, error)
- func LoadFiles(files []*BufferedFile) (*chart.Chart, error)
- type BufferedFile
- type ByteLoader
- 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.
Types ¶
type BufferedFile ¶
BufferedFile represents an archive file buffered for later processing.
func LoadArchiveFiles ¶
func LoadArchiveFiles(in io.Reader) ([]*BufferedFile, error)
LoadArchiveFiles reads in files out of an archive into memory. This function performs important path security checks and should always be used before expanding a tarball
type ByteLoader ¶
ByteLoader loads a chart from a bytes.Reader
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