mirror of
https://github.com/actions/actions-runner-controller.git
synced 2025-12-10 19:50:30 +00:00
14 lines
406 B
Go
14 lines
406 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, maxCapacity int) error
|
|
AcquireJobsForRunnerScaleSet(ctx context.Context, requestIds []int64) error
|
|
}
|