MCPcopy Create free account
hub / github.com/cloudbase/garm / SetTemplateCache

Function SetTemplateCache

cache/template_cache.go:65–67  ·  view source on GitHub ↗
(tpl params.Template)

Source from the content-addressed store, hash-verified

63}
64
65func SetTemplateCache(tpl params.Template) {
66 templateCache.SetTemplateCache(tpl)
67}
68
69func GetTemplate(id uint) (params.Template, bool) {
70 return templateCache.GetTemplate(id)

Callers 1

handleTemplateEventMethod · 0.92

Calls 1

SetTemplateCacheMethod · 0.80

Tested by

no test coverage detected