forked from concourse/concourse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
debug_versions_db.go
53 lines (44 loc) · 940 Bytes
/
debug_versions_db.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
package atc
type DebugVersionsDB struct {
Jobs []DebugJob
Resources []DebugResource
ResourceVersions []DebugResourceVersion
BuildOutputs []DebugBuildOutput
BuildInputs []DebugBuildInput
BuildReruns []DebugBuildRerun
// backwards-compatibility with pre-6.0 VersionsDB
LegacyJobIDs map[string]int `json:"JobIDs,omitempty"`
LegacyResourceIDs map[string]int `json:"ResourceIDs,omitempty"`
}
type DebugResourceVersion struct {
VersionID int
ResourceID int
CheckOrder int
// not present pre-6.0
ScopeID int
}
type DebugBuildOutput struct {
DebugResourceVersion
BuildID int
JobID int
}
type DebugBuildInput struct {
DebugResourceVersion
BuildID int
JobID int
InputName string
}
type DebugBuildRerun struct {
BuildID int
JobID int
RerunOf int
}
type DebugJob struct {
Name string
ID int
}
type DebugResource struct {
Name string
ID int
ScopeID *int
}