-
Notifications
You must be signed in to change notification settings - Fork 4
/
const.go
154 lines (103 loc) · 3.71 KB
/
const.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
package dads
// CacheCleanupProb - probability of cache cleanup in %
const CacheCleanupProb int = 2
// OK - common constant string
const OK string = "ok"
// DADSOrigin - common constant string
const DADSOrigin string = "dads"
// Groupsio - common constant string
const Groupsio string = "groupsio"
// Jira - common constant string
const Jira string = "jira"
// Git - common constant string
const Git string = "git"
// GitHub - common constant string
const GitHub string = "github"
// Gerrit - common constant string
const Gerrit string = "gerrit"
// Confluence - common constant string
const Confluence string = "confluence"
// Rocketchat - common constant string
const Rocketchat string = "rocketchat"
// Stub - common constant string
const Stub string = "stub"
// Get - common constant string
const Get string = "GET"
// Post - common constant string
const Post string = "POST"
// Put - common constant string
const Put string = "PUT"
// Delete - common constant string
const Delete string = "DELETE"
// DefaultDateField - default date field
const DefaultDateField string = "metadata__updated_on"
// DefaultEnrichDateField - default date field
const DefaultEnrichDateField string = "metadata__enriched_on"
// DefaultOffsetField - default offset field
const DefaultOffsetField string = "updated_on"
// DefaultTimestampField - default timestamp field
const DefaultTimestampField string = "metadata__timestamp"
// DefaultOriginField - default origin field
const DefaultOriginField string = "origin"
// DefaultTagField - default tag field
const DefaultTagField string = "tag"
// DefaultIDField - default id field
const DefaultIDField string = "id"
// DefaultAuthorField - default author field
const DefaultAuthorField string = "author"
// Issue - common constant string
const Issue string = "issue"
// Comment - common constant string
const Comment string = "comment"
// TooManyScrolls - this appearch in error message when too many scrolls are created
const TooManyScrolls = "Trying to create too many scroll contexts"
// NoSearchContextFound - this appearch when processing takes so long, that the scroll expires
const NoSearchContextFound = "No search context found for id"
// Nil - common constant string
const Nil = "none"
// None - common constant string
const None = "None"
// Offset - common constant string
const Offset = "offset"
// UUID - common constant string
const UUID = "uuid"
// ID - common constant string
const ID = "id"
// Unknown - common constant string
const Unknown = "Unknown"
// Wait59m - common constant string
const Wait59m = "59m"
// Redacted - [redacted]
const Redacted string = "[redacted]"
// Message - common constant string
const Message = "message"
// ContentType - common constant string
const ContentType = "Content-Type"
// LowerContentType - common constant string
const LowerContentType = "content-type"
// Author - default author field
const Author string = "author"
// Recipient - default author field
const Recipient string = "recipient"
// From - common constant string
const From = "from"
// Commit - common constant string
const Commit = "commit"
// Review - common constant string
const Review = "review"
// Patchset - common constant string
const Patchset = "patchset"
// Changeset - common constant string
const Changeset = "changeset"
// Approval - common constant string
const Approval = "approval"
// HistoricalContent - common constant string
const HistoricalContent = "historical content"
// ProjectSlug - common constant string
const ProjectSlug = "project_slug"
// DadsWarning - common constant string
const DadsWarning = "da-ds WARNING"
// MissingName - common constant string
const MissingName = "-MISSING-NAME"
// RedactedEmail - common constant string
const RedactedEmail = "-REDACTED-EMAIL"