allTemplates returns all templates for a chart and its dependencies. As it goes, it also prepares the values in a scope-sensitive manner.
(c ci.Charter, vals common.Values)
| 522 | // |
| 523 | // As it goes, it also prepares the values in a scope-sensitive manner. |
| 524 | func allTemplates(c ci.Charter, vals common.Values) map[string]renderable { |
| 525 | templates := make(map[string]renderable) |
| 526 | recAllTpls(c, templates, vals) |
| 527 | return templates |
| 528 | } |
| 529 | |
| 530 | // recAllTpls recurses through the templates in a chart. |
| 531 | // |
searching dependent graphs…