mirror of
https://gitea.com/gitea/act_runner.git
synced 2024-12-29 04:17:09 +01:00
20 lines
420 B
Go
20 lines
420 B
Go
package client
|
|
|
|
import (
|
|
"code.gitea.io/bots-proto-go/ping/v1/pingv1connect"
|
|
"code.gitea.io/bots-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
|
|
Address() string
|
|
}
|