LoadYAML decodes chart-template YAML, compiles it, and publishes the program.
(data []byte, revision uint64)
| 86 | |
| 87 | // LoadYAML decodes chart-template YAML, compiles it, and publishes the program. |
| 88 | func (e *Engine) LoadYAML(data []byte, revision uint64) error { |
| 89 | spec, err := charttpl.DecodeYAML(data) |
| 90 | if err != nil { |
| 91 | return err |
| 92 | } |
| 93 | return e.Load(spec, revision) |
| 94 | } |
| 95 | |
| 96 | // ResetMaterialized clears only materialized chart/dimension lifecycle state. |
| 97 | // |