mirror of
https://github.com/actions/actions-runner-controller.git
synced 2025-12-10 11:41:27 +00:00
Co-authored-by: Cory Miller <cory-miller@github.com> Co-authored-by: Nikola Jokic <nikola-jokic@github.com> Co-authored-by: Ava Stancu <AvaStancu@github.com> Co-authored-by: Ferenc Hammerl <fhammerl@github.com> Co-authored-by: Francesco Renzi <rentziass@github.com> Co-authored-by: Bassem Dghaidi <Link-@github.com>
14 lines
389 B
Go
14 lines
389 B
Go
package main
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/actions/actions-runner-controller/github/actions"
|
|
)
|
|
|
|
//go:generate mockery --inpackage --name=RunnerScaleSetClient
|
|
type RunnerScaleSetClient interface {
|
|
GetRunnerScaleSetMessage(ctx context.Context, handler func(msg *actions.RunnerScaleSetMessage) error) error
|
|
AcquireJobsForRunnerScaleSet(ctx context.Context, requestIds []int64) error
|
|
}
|