mirror of
https://gitea.com/gitea/act_runner.git
synced 2025-06-13 01:57:13 +02:00
chore(runner): refactor register flow
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
This commit is contained in:
@ -6,11 +6,9 @@ import (
|
||||
)
|
||||
|
||||
type Filter struct {
|
||||
Kind string `json:"kind"`
|
||||
Type string `json:"type"`
|
||||
OS string `json:"os"`
|
||||
Arch string `json:"arch"`
|
||||
Capacity int `json:"capacity"`
|
||||
OS string `json:"os"`
|
||||
Arch string `json:"arch"`
|
||||
Labels []string `json:"labels"`
|
||||
}
|
||||
|
||||
// A Client manages communication with the runner.
|
||||
|
Reference in New Issue
Block a user