-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathreport.go
59 lines (51 loc) · 1.21 KB
/
report.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
54
55
56
57
58
59
package saurontypes
type Report struct {
Job string `json:"job"`
Results string `json:"result"`
}
type Results struct {
Results string `json:"result.json"`
}
type TestResult struct {
Total int `json:"total"`
Passed []TestReport `json:"passed"`
Failed []TestReport `json:"failed"`
Pending []TestReport `json:"pending"`
}
type TestReport struct {
Suite string `json:"suite"`
Title string `json:"title"`
}
type DBTestReport struct {
Job string
Result TestResult
FlowID string
Project string
Pusher string
Time string
SHA string
}
type LintReport struct {
RuleID string `json:"ruleId"`
Severity int `json:"severity"`
Message string `json:"message"`
Line int `json:"line"`
Col int `json:"column"`
}
type LintResult struct {
FileName string `json:"filePath"`
Messages []LintReport
ErrorCount int `json:"errorCount"`
WarningCount int `json:"warningCount"`
FixableErrorCount int `json:"fixableErrorCount"`
FixableWarningCount int `json:"fixableWarningCount"`
}
type DBLintReport struct {
Job string
Result []LintResult
FlowID string
Project string
Pusher string
Time string
SHA string
}