Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
65
func
SetTemplateCache(tpl params.Template) {
66
templateCache.SetTemplateCache(tpl)
67
}
68
69
func
GetTemplate(id uint) (params.Template, bool) {
70
return
templateCache.GetTemplate(id)
Callers
1
handleTemplateEvent
Method · 0.92
Calls
1
SetTemplateCache
Method · 0.80
Tested by
no test coverage detected