code: func (r *Runner) TemplateConfigMapping() map[string][]config.TemplateConfig {
  	m := make(map[string][]config.TemplateConfig, len(r.ctemplatesMap))
  
  	for id, set := range r.ctemplatesMap {
  		ctmpls := make([]config.TemplateConfig, len(set))
  		m[id] = ctmpls
  		for i, ctmpl := range set {
  			ctmpls[i] = *ctmpl
  		}
  	}
  
  	return m
  }
docs: // TemplateConfigMapping returns a mapping between the template ID and the set
  // of TemplateConfig represented by the template ID