-
-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathannotations.go
More file actions
23 lines (20 loc) · 810 Bytes
/
annotations.go
File metadata and controls
23 lines (20 loc) · 810 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package run
type AnnotationLevel string
const (
UNKNOWN AnnotationLevel = "UNKNOWN"
NOTICE AnnotationLevel = "NOTICE"
WARNING AnnotationLevel = "WARNING"
FAILURE AnnotationLevel = "FAILURE"
)
type Annotation struct {
Level AnnotationLevel `json:"level"`
Message string `json:"message"`
RawDetails string `json:"rawDetails"`
Path string `json:"path"`
IsInfrastructureIssue bool `json:"isInfrastructureIssue"`
StartLine int64 `json:"startLine"`
EndLine int64 `json:"endLine"`
StartColumn int64 `json:"startColumn"`
EndColumn int64 `json:"endColumn"`
StepNumber int64 `json:"stepNumber"`
}