Switch client to scaleset library for the listener and update mocks (#4383)

This commit is contained in:
Nikola Jokic
2026-02-24 14:17:31 +01:00
committed by GitHub
parent c6e4c94a6a
commit 8b7fd9ffef
30 changed files with 1129 additions and 3309 deletions

View File

@@ -34,7 +34,6 @@ const (
// Header used to propagate capacity information to the back-end
const HeaderScaleSetMaxCapacity = "X-ScaleSetMaxCapacity"
//go:generate mockery
type ActionsService interface {
GetRunnerScaleSet(ctx context.Context, runnerGroupId int, runnerScaleSetName string) (*RunnerScaleSet, error)
GetRunnerScaleSetById(ctx context.Context, runnerScaleSetId int) (*RunnerScaleSet, error)

View File

@@ -5,7 +5,6 @@ import (
"io"
)
//go:generate mockery
type SessionService interface {
GetMessage(ctx context.Context, lastMessageId int64, maxCapacity int) (*RunnerScaleSetMessage, error)
DeleteMessage(ctx context.Context, messageId int64) error