IRunnerAPI is a service towards GitHubs runners
| 14 | |
| 15 | // IRunnerAPI is a service towards GitHubs runners |
| 16 | type 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 | |
| 22 | type runnerAPI struct { |
| 23 | clientCreator githubapp.ClientCreator |
no outgoing calls
no test coverage detected