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

Function GetAllGithubCredentials

cache/credentials_cache.go:134–136  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

132}
133
134func GetAllGithubCredentials() []params.ForgeCredentials {
135 return credentialsCache.GetAllCredentials()
136}
137
138func SetCredentialsRateLimit(credsID uint, rateLimit params.GithubRateLimit) {
139 credentialsCache.SetCredentialsRateLimit(credsID, rateLimit)

Callers 2

rateLimitLoopMethod · 0.92

Calls 1

GetAllCredentialsMethod · 0.80

Tested by 1