mirror of
https://gitea.com/gitea/act_runner.git
synced 2024-11-06 10:47:22 +01:00
3a1503138b
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
19 lines
396 B
Go
19 lines
396 B
Go
package client
|
|
|
|
import (
|
|
"gitea.com/gitea/proto-go/ping/v1/pingv1connect"
|
|
"gitea.com/gitea/proto-go/runner/v1/runnerv1connect"
|
|
)
|
|
|
|
type Filter struct {
|
|
OS string `json:"os"`
|
|
Arch string `json:"arch"`
|
|
Labels []string `json:"labels"`
|
|
}
|
|
|
|
// A Client manages communication with the runner.
|
|
type Client interface {
|
|
pingv1connect.PingServiceClient
|
|
runnerv1connect.RunnerServiceClient
|
|
}
|