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

Function SetGithubClient

cache/github_client.go:61–63  ·  view source on GitHub ↗
(entityID string, client common.GithubClient)

Source from the content-addressed store, hash-verified

59}
60
61func SetGithubClient(entityID string, client common.GithubClient) {
62 ghClientCache.SetClient(entityID, client)
63}
64
65func GetGithubClient(entityID string) (common.GithubClient, bool) {
66 return ghClientCache.GetClient(entityID)

Callers 3

StartMethod · 0.92

Calls 1

SetClientMethod · 0.80

Tested by

no test coverage detected