1
0

feat(daemon): timestamps

This commit is contained in:
2024-02-27 02:00:07 +00:00
parent e633fd2e79
commit c909c2a352
7 changed files with 116 additions and 38 deletions

View File

@@ -6,6 +6,7 @@ import (
"fmt"
"net"
"reflect"
"time"
"code.dumpstack.io/tools/out-of-tree/artifact"
"code.dumpstack.io/tools/out-of-tree/distro"
@@ -57,6 +58,10 @@ type Job struct {
Artifact artifact.Artifact
Target distro.KernelInfo
Created time.Time
Started time.Time
Finished time.Time
Status Status
}
@@ -77,6 +82,12 @@ type ListJobsParams struct {
// Status of the job
Status Status
// Time range (unix timestamps)
Time struct {
After int64
Before int64
}
}
type Repo struct {