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 m
(name string)
| 61 | // If a .helmignore file is present, the directory loader will skip loading any files |
| 62 | // matching it. But .helmignore is not evaluated when reading out of an archive. |
| 63 | func Load(name string) (*chart.Chart, error) { |
| 64 | l, err := Loader(name) |
| 65 | if err != nil { |
| 66 | return nil, err |
| 67 | } |
| 68 | return l.Load() |
| 69 | } |
| 70 | |
| 71 | // LoadFiles loads from in-memory files. |
| 72 | func LoadFiles(files []*archive.BufferedFile) (*chart.Chart, error) { |
searching dependent graphs…