mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-07-23 21:01:40 +02:00
Add tags field to Job
This commit is contained in:
@@ -22,6 +22,7 @@ type Job struct {
|
||||
MemBw_avg *float64 `json:"memBwAvg" db:"mem_bw_avg"`
|
||||
NetBw_avg *float64 `json:"netBwAvg" db:"net_bw_avg"`
|
||||
FileBw_avg *float64 `json:"fileBwAvg" db:"file_bw_avg"`
|
||||
Tags []JobTag `json:"tags"`
|
||||
}
|
||||
|
||||
type JobTag struct {
|
||||
|
@@ -35,6 +35,8 @@ type IntRange struct {
|
||||
}
|
||||
|
||||
type JobFilter struct {
|
||||
TagName *string `json:"tagName"`
|
||||
TagType *string `json:"tagType"`
|
||||
JobID *StringInput `json:"jobId"`
|
||||
UserID *StringInput `json:"userId"`
|
||||
ProjectID *StringInput `json:"projectId"`
|
||||
|
Reference in New Issue
Block a user