(entityID string)
| 104 | } |
| 105 | |
| 106 | func (g *GithubToolsCache) Delete(entityID string) { |
| 107 | g.mux.Lock() |
| 108 | defer g.mux.Unlock() |
| 109 | |
| 110 | delete(g.entities, entityID) |
| 111 | } |
| 112 | |
| 113 | func SetGithubToolsCache(entity params.ForgeEntity, tools []commonParams.RunnerApplicationDownload) { |
| 114 | githubToolsCache.Set(entity, tools) |