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
+8 -17
View File
@@ -1,29 +1,20 @@
all: false
packages:
github.com/actions/actions-runner-controller/github/actions:
config:
inpackage: true
dir: "{{.InterfaceDir}}"
filename: "mocks_test.go"
pkgname: "actions"
interfaces:
ActionsService:
SessionService:
github.com/actions/actions-runner-controller/cmd/ghalistener/metrics:
config:
dir: "{{.InterfaceDir}}/mocks"
pkgname: mocks
filename: "{{.InterfaceName|snakecase}}.go"
inpackage: true
dir: "{{.InterfaceDir}}"
filename: "mocks_test.go"
pkgname: "metrics"
interfaces:
Publisher:
Recorder:
ServerExporter:
config:
structname: ServerPublisher
filename: server_publisher.go
github.com/actions/actions-runner-controller/cmd/ghalistener/app:
config:
dir: "{{.InterfaceDir}}/mocks"
pkgname: mocks
filename: "{{.InterfaceName|snakecase}}.go"
interfaces:
Listener:
Worker: