chore(runner): refactor register flow

Signed-off-by: Bo-Yi.Wu <[email protected]>
This commit is contained in:
Bo-Yi.Wu authored and Jason Song committed 2022-11-24 15:37:24 +08:00
1 parent 7486d2ab91
commit 3a1503138b
8 files changed
+165 -97

No files matched your search

+3 -5
View File
@@ -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.