2022-10-15 09:12:32 +01:00
|
|
|
package core
|
|
|
|
|
2022-10-28 16:23:19 +01:00
|
|
|
const (
|
|
|
|
UUIDHeader = "x-runner-uuid"
|
|
|
|
TokenHeader = "x-runner-token"
|
|
|
|
)
|
2022-10-15 09:40:35 +01:00
|
|
|
|
2022-10-15 09:12:32 +01:00
|
|
|
// Runner struct
|
|
|
|
type Runner struct {
|
2022-11-22 12:56:14 +00:00
|
|
|
ID int64 `json:"id"`
|
|
|
|
UUID string `json:"uuid"`
|
|
|
|
Name string `json:"name"`
|
|
|
|
Token string `json:"token"`
|
|
|
|
Address string `json:"address"`
|
|
|
|
Labels []string `json:"labels"`
|
2022-10-15 09:12:32 +01:00
|
|
|
}
|