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

Method CreateEntityRegistrationToken

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

Source from the content-addressed store, hash-verified

34 RemoveEntityRunner(ctx context.Context, runnerID int64) error
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

Callers 2

ensureAdminInfoMethod · 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