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

Method GetEntityJITConfig

runner/common/util.go:37–37  ·  view source on GitHub ↗
(ctx context.Context, instance string, pool params.Pool, labels []string)

Source from the content-addressed store, hash-verified

35 RateLimit(ctx context.Context) (*github.RateLimits, error)
36 CreateEntityRegistrationToken(ctx context.Context) (*github.RegistrationToken, *github.Response, error)
37 GetEntityJITConfig(ctx context.Context, instance string, pool params.Pool, labels []string) (jitConfigMap map[string]string, runner *github.Runner, err error)
38 GetEntityRunnerGroupIDByName(ctx context.Context, runnerGroupName string) (int64, error)
39
40 // GetEntity returns the GitHub entity for which the github client was instanciated.

Callers 1

AddRunnerMethod · 0.65

Implementers 6

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
githubClientutil/github/client.go

Calls

no outgoing calls

Tested by

no test coverage detected