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

Method RateLimit

runner/common/util.go:47–47  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

45
46type RateLimitClient interface {
47 RateLimit(ctx context.Context) (*github.RateLimits, error)
48}
49
50// GithubClient that describes the minimum list of functions we need to interact with github.

Callers 1

rateLimitLoopMethod · 0.95

Implementers 8

stubGithubClientrunner/pool/stub_client.go
GithubEntityOperationsrunner/common/mocks/GithubEntityOperat
GithubEntityOperations_Expecterrunner/common/mocks/GithubEntityOperat
GithubClientrunner/common/mocks/GithubClient.go
GithubClient_Expecterrunner/common/mocks/GithubClient.go
RateLimitClientrunner/common/mocks/RateLimitClient.go
RateLimitClient_Expecterrunner/common/mocks/RateLimitClient.go
githubClientutil/github/client.go

Calls

no outgoing calls

Tested by

no test coverage detected