MCPcopy Index your code
hub / github.com/evryfs/github-actions-runner-operator / IRunnerAPI

Interface IRunnerAPI

controllers/githubapi/runnerapi.go:16–20  ·  view source on GitHub ↗

IRunnerAPI is a service towards GitHubs runners

Source from the content-addressed store, hash-verified

14
15// IRunnerAPI is a service towards GitHubs runners
16type IRunnerAPI interface {
17 GetRunners(ctx context.Context, organization string, repository string, token string) ([]*github.Runner, error)
18 UnregisterRunner(ctx context.Context, organization string, repository string, token string, runnerID int64) error
19 CreateRegistrationToken(ctx context.Context, organization string, repository string, token string) (*github.RegistrationToken, error)
20}
21
22type runnerAPI struct {
23 clientCreator githubapp.ClientCreator

Callers 4

getPodRunnerPairsMethod · 0.65
unregisterRunnerMethod · 0.65

Implementers 2

mockAPIcontrollers/githubactionrunner_control
runnerAPIcontrollers/githubapi/runnerapi.go

Calls

no outgoing calls

Tested by

no test coverage detected