forked from evergreen-ci/evergreen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gqlgen.yml
410 lines (409 loc) · 15.2 KB
/
gqlgen.yml
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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
# .gqlgen.yml example
#
# Refer to https://gqlgen.com/config/
# for detailed .gqlgen.yml documentation.
schema:
- graphql/schema/**/*.graphql
exec:
filename: graphql/generated.go
model:
filename: graphql/models_gen.go
resolver:
layout: follow-schema
dir: graphql
filename_template: "{name}_resolver.go"
models:
Annotation:
model: github.com/evergreen-ci/evergreen/rest/model.APITaskAnnotation
AWSConfig:
model: github.com/evergreen-ci/evergreen/rest/model.APIAWSConfig
AWSPodConfig:
model: github.com/evergreen-ci/evergreen/rest/model.APIAWSPodConfig
BannerTheme:
model: github.com/evergreen-ci/evergreen.BannerTheme
Build:
model: github.com/evergreen-ci/evergreen/rest/model.APIBuild
BuildBaronSettings:
model: github.com/evergreen-ci/evergreen/rest/model.APIBuildBaronSettings
BuildBaronSettingsInput:
model: github.com/evergreen-ci/evergreen/rest/model.APIBuildBaronSettings
BuildVariantTuple:
model: github.com/evergreen-ci/evergreen/model/task.BuildVariantTuple
ChildPatch:
model: github.com/evergreen-ci/evergreen/rest/model.ChildPatch
ChildPatchAlias:
model: github.com/evergreen-ci/evergreen/rest/model.APIChildPatchAlias
ClientBinary:
model: github.com/evergreen-ci/evergreen/rest/model.APIClientBinary
ClientConfig:
model: github.com/evergreen-ci/evergreen/rest/model.APIClientConfig
CloudProviderConfig:
model: github.com/evergreen-ci/evergreen/rest/model.APICloudProviders
CommitQueue:
model: github.com/evergreen-ci/evergreen/rest/model.APICommitQueue
CommitQueueItem:
model: github.com/evergreen-ci/evergreen/rest/model.APICommitQueueItem
CommitQueueParams:
model: github.com/evergreen-ci/evergreen/rest/model.APICommitQueueParams
CommitQueueParamsInput:
model: github.com/evergreen-ci/evergreen/rest/model.APICommitQueueParams
CopyProjectInput:
model: github.com/evergreen-ci/evergreen/rest/data.CopyProjectOpts
CreateProjectInput:
model: github.com/evergreen-ci/evergreen/rest/model.APIProjectRef
DistroInfo:
model: github.com/evergreen-ci/evergreen/rest/model.DistroInfo
Distro:
model: github.com/evergreen-ci/evergreen/rest/model.APIDistro
Duration:
model: github.com/evergreen-ci/evergreen/rest/model.APIDuration
ECSConfig:
model: github.com/evergreen-ci/evergreen/rest/model.APIECSConfig
ExternalLink:
model: github.com/evergreen-ci/evergreen/rest/model.APIExternalLink
ExternalLinkInput:
model: github.com/evergreen-ci/evergreen/rest/model.APIExternalLink
File:
model: github.com/evergreen-ci/evergreen/rest/model.APIFile
FileDiff:
model: github.com/evergreen-ci/evergreen/rest/model.FileDiff
GeneralSubscription:
model: github.com/evergreen-ci/evergreen/rest/model.APISubscription
GithubCheckSubscriber:
model: github.com/evergreen-ci/evergreen/rest/model.APIGithubCheckSubscriber
GithubProjectConflicts:
model: github.com/evergreen-ci/evergreen/model.GithubProjectConflicts
GithubPRSubscriber:
model: github.com/evergreen-ci/evergreen/rest/model.APIGithubPRSubscriber
GithubUser:
model: github.com/evergreen-ci/evergreen/rest/model.APIGithubUser
GithubUserInput:
model: github.com/evergreen-ci/evergreen/rest/model.APIGithubUser
GroupedTaskStatusCount:
model: github.com/evergreen-ci/evergreen/model/task.GroupedTaskStatusCount
Host:
model: github.com/evergreen-ci/evergreen/rest/model.APIHost
HostEventLogData:
model: github.com/evergreen-ci/evergreen/rest/model.HostAPIEventData
HostEventLogEntry:
model: github.com/evergreen-ci/evergreen/rest/model.HostAPIEventLogEntry
InstanceTag:
model: github.com/evergreen-ci/evergreen/model/host.Tag
InstanceTagInput:
model: github.com/evergreen-ci/evergreen/model/host.Tag
IssueLink:
model: github.com/evergreen-ci/evergreen/rest/model.APIIssueLink
IssueLinkInput:
model: github.com/evergreen-ci/evergreen/rest/model.APIIssueLink
JiraConfig:
model: github.com/evergreen-ci/evergreen/rest/model.APIJiraConfig
JiraField:
model: github.com/evergreen-ci/evergreen/rest/model.APIJiraField
JiraFieldInput:
model: github.com/evergreen-ci/evergreen/rest/model.APIJiraField
JiraIssueSubscriber:
model: github.com/evergreen-ci/evergreen/rest/model.APIJIRAIssueSubscriber
JiraIssueSubscriberInput:
model: github.com/evergreen-ci/evergreen/rest/model.APIJIRAIssueSubscriber
JiraStatus:
model: github.com/evergreen-ci/evergreen/thirdparty.JiraStatus
JiraTicket:
model: github.com/evergreen-ci/evergreen/thirdparty.JiraTicket
LogkeeperBuild:
model: github.com/evergreen-ci/plank.Build
LogkeeperTest:
model: github.com/evergreen-ci/plank.Test
LogMessage:
model: github.com/evergreen-ci/evergreen/apimodels.LogMessage
Module:
model: github.com/evergreen-ci/evergreen/rest/model.APIModule
ModuleCodeChange:
model: github.com/evergreen-ci/evergreen/rest/model.APIModulePatch
Note:
model: github.com/evergreen-ci/evergreen/rest/model.APINote
Notifications:
model: github.com/evergreen-ci/evergreen/rest/model.APINotificationPreferences
NotificationsInput:
model: github.com/evergreen-ci/evergreen/rest/model.APINotificationPreferences
OomTrackerInfo:
model: github.com/evergreen-ci/evergreen/rest/model.APIOomTrackerInfo
Parameter:
model: github.com/evergreen-ci/evergreen/rest/model.APIParameter
ParameterInput:
model: github.com/evergreen-ci/evergreen/rest/model.APIParameter
Patch:
model: github.com/evergreen-ci/evergreen/rest/model.APIPatch
fields:
projectIdentifier:
resolver: true
commitQueuePosition:
resolver: true
PatchTriggerAlias:
model: github.com/evergreen-ci/evergreen/rest/model.APIPatchTriggerDefinition
PatchTriggerAliasInput:
model: github.com/evergreen-ci/evergreen/rest/model.APIPatchTriggerDefinition
PeriodicBuild:
model: github.com/evergreen-ci/evergreen/rest/model.APIPeriodicBuildDefinition
PeriodicBuildInput:
model: github.com/evergreen-ci/evergreen/rest/model.APIPeriodicBuildDefinition
Permissions:
fields:
canCreateProject:
resolver: true
Pod:
model: github.com/evergreen-ci/evergreen/rest/model.APIPod
PodEventLogEntry:
model: github.com/evergreen-ci/evergreen/rest/model.PodAPIEventLogEntry
PodEventLogData:
model: github.com/evergreen-ci/evergreen/rest/model.PodAPIEventData
Project:
model: github.com/evergreen-ci/evergreen/rest/model.APIProjectRef
fields:
patches:
resolver: true
ProjectAlias:
model: github.com/evergreen-ci/evergreen/rest/model.APIProjectAlias
ProjectAliasInput:
model: github.com/evergreen-ci/evergreen/rest/model.APIProjectAlias
ProjectBanner:
model: github.com/evergreen-ci/evergreen/rest/model.APIProjectBanner
ProjectBannerInput:
model: github.com/evergreen-ci/evergreen/rest/model.APIProjectBanner
ProjectEventLogEntry:
model: github.com/evergreen-ci/evergreen/rest/model.APIProjectEvent
ProjectEventSettings:
model: github.com/evergreen-ci/evergreen/rest/model.APIProjectEventSettings
fields:
projectSubscriptions:
resolver: true
ProjectInput:
model: github.com/evergreen-ci/evergreen/rest/model.APIProjectRef
ProjectSettings:
model: github.com/evergreen-ci/evergreen/rest/model.APIProjectSettings
fields:
githubWebhooksEnabled:
resolver: true
vars:
resolver: true
aliases:
resolver: true
projectSubscriptions:
resolver: true
subscriptions:
resolver: true
ProjectSettingsInput:
model: github.com/evergreen-ci/evergreen/rest/model.APIProjectSettings
ProjectSubscription:
model: github.com/evergreen-ci/evergreen/rest/model.APISubscription
ProjectVars:
model: github.com/evergreen-ci/evergreen/rest/model.APIProjectVars
fields:
privateVars:
resolver: true
adminOnlyVars:
resolver: true
ProjectVarsInput:
model: github.com/evergreen-ci/evergreen/rest/model.APIProjectVars
PublicKey:
model: github.com/evergreen-ci/evergreen/rest/model.APIPubKey
RepoCommitQueueParams:
model: github.com/evergreen-ci/evergreen/rest/model.APICommitQueueParams
RepoEventLogEntry:
model: github.com/evergreen-ci/evergreen/rest/model.APIProjectEvent
RepoEventSettings:
model: github.com/evergreen-ci/evergreen/rest/model.APIProjectEventSettings
RepoRef:
model: github.com/evergreen-ci/evergreen/rest/model.APIProjectRef
RepoRefInput:
model: github.com/evergreen-ci/evergreen/rest/model.APIProjectRef
RepoSettings:
model: github.com/evergreen-ci/evergreen/rest/model.APIProjectSettings
fields:
githubWebhooksEnabled:
resolver: true
vars:
resolver: true
aliases:
resolver: true
projectSubscriptions:
resolver: true
subscriptions:
resolver: true
RepoSettingsInput:
model: github.com/evergreen-ci/evergreen/rest/model.APIProjectSettings
RepoTaskSyncOptions:
model: github.com/evergreen-ci/evergreen/rest/model.APITaskSyncOptions
RepoWorkstationConfig:
model: github.com/evergreen-ci/evergreen/rest/model.APIWorkstationConfig
SearchReturnInfo:
model: github.com/evergreen-ci/evergreen/thirdparty.SearchReturnInfo
Selector:
model: github.com/evergreen-ci/evergreen/rest/model.APISelector
SelectorInput:
model: github.com/evergreen-ci/evergreen/rest/model.APISelector
SiteBanner:
model: github.com/evergreen-ci/evergreen/rest/model.APIBanner
Source:
model: github.com/evergreen-ci/evergreen/rest/model.APISource
SpawnHostConfig:
model: github.com/evergreen-ci/evergreen/rest/model.APISpawnHostConfig
SpruceConfig:
model: github.com/evergreen-ci/evergreen/rest/model.APIAdminSettings
SlackConfig:
model: github.com/evergreen-ci/evergreen/rest/model.APISlackConfig
StatusCount:
model: github.com/evergreen-ci/evergreen/model/task.StatusCount
StringMap:
model: github.com/evergreen-ci/evergreen/graphql.StringMap
SubscriberInput:
model: github.com/evergreen-ci/evergreen/rest/model.APISubscriber
SubscriberWrapper:
model: github.com/evergreen-ci/evergreen/rest/model.APISubscriber
fields:
subscriber:
resolver: true
SubscriptionInput:
model: github.com/evergreen-ci/evergreen/rest/model.APISubscription
Task:
model: github.com/evergreen-ci/evergreen/rest/model.APITask
fields:
ami:
resolver: true
annotation:
resolver: true
baseTaskMetadata:
resolver: true
baseTask:
resolver: true
baseStatus:
resolver: true
buildVariantDisplayName:
resolver: true
canModifyAnnotation:
resolver: true
estimatedStart:
resolver: true
executionTasksFull:
resolver: true
patchMetadata:
resolver: true
projectIdentifier:
resolver: true
reliesOn:
resolver: true
spawnHostLink:
resolver: true
status:
resolver: true
isPerfPluginEnabled:
resolver: true
project:
resolver: true
TaskAnnotationSettings:
model: github.com/evergreen-ci/evergreen/rest/model.APITaskAnnotationSettings
TaskAnnotationSettingsInput:
model: github.com/evergreen-ci/evergreen/rest/model.APITaskAnnotationSettings
TaskContainerCreationOpts:
model: github.com/evergreen-ci/evergreen/rest/model.APIPodTaskContainerCreationOptions
TaskEndDetail:
model: github.com/evergreen-ci/evergreen/rest/model.ApiTaskEndDetail
TaskEventLogData:
model: github.com/evergreen-ci/evergreen/rest/model.TaskEventData
TaskEventLogEntry:
model: github.com/evergreen-ci/evergreen/rest/model.TaskAPIEventLogEntry
TaskInfo:
model: github.com/evergreen-ci/evergreen/rest/model.TaskInfo
MetadataLink:
model: github.com/evergreen-ci/evergreen/rest/model.APIMetadataLink
MetadataLinkInput:
model: github.com/evergreen-ci/evergreen/rest/model.APIMetadataLink
TaskLogLinks:
model: github.com/evergreen-ci/evergreen/rest/model.LogLinks
TaskLogs:
fields:
eventLogs:
resolver: true
taskLogs:
resolver: true
systemLogs:
resolver: true
agentLogs:
resolver: true
allLogs:
resolver: true
TaskSpecifier:
model: github.com/evergreen-ci/evergreen/rest/model.APITaskSpecifier
TaskSpecifierInput:
model: github.com/evergreen-ci/evergreen/rest/model.APITaskSpecifier
TaskStats:
model: github.com/evergreen-ci/evergreen/model/task.TaskStats
TaskSyncOptions:
model: github.com/evergreen-ci/evergreen/rest/model.APITaskSyncOptions
TaskSyncOptionsInput:
model: github.com/evergreen-ci/evergreen/rest/model.APITaskSyncOptions
TaskQueueItem:
model: github.com/evergreen-ci/evergreen/rest/model.APITaskQueueItem
TicketFields:
model: github.com/evergreen-ci/evergreen/thirdparty.TicketFields
TestLog:
model: github.com/evergreen-ci/evergreen/rest/model.TestLogs
TestResult:
model: github.com/evergreen-ci/evergreen/rest/model.APITest
ContainerResources:
model: github.com/evergreen-ci/evergreen/rest/model.APIContainerResources
ContainerResourcesInput:
model: github.com/evergreen-ci/evergreen/rest/model.APIContainerResources
TriggerAlias:
model: github.com/evergreen-ci/evergreen/rest/model.APITriggerDefinition
TriggerAliasInput:
model: github.com/evergreen-ci/evergreen/rest/model.APITriggerDefinition
UIConfig:
model: github.com/evergreen-ci/evergreen/rest/model.APIUIConfig
User:
model: github.com/evergreen-ci/evergreen/rest/model.APIDBUser
fields:
patches:
resolver: true
subscriptions:
resolver: true
UserSettings:
model: github.com/evergreen-ci/evergreen/rest/model.APIUserSettings
UserSettingsInput:
model: github.com/evergreen-ci/evergreen/rest/model.APIUserSettings
UseSpruceOptions:
model: github.com/evergreen-ci/evergreen/rest/model.APIUseSpruceOptions
UseSpruceOptionsInput:
model: github.com/evergreen-ci/evergreen/rest/model.APIUseSpruceOptions
VariantTask:
model: github.com/evergreen-ci/evergreen/rest/model.VariantTask
VariantTaskInput:
model: github.com/evergreen-ci/evergreen/rest/model.VariantTask
Version:
model: github.com/evergreen-ci/evergreen/rest/model.APIVersion
fields:
status:
resolver: true
VersionToRestart:
model: github.com/evergreen-ci/evergreen/model.VersionToRestart
Volume:
model: github.com/evergreen-ci/evergreen/rest/model.APIVolume
Webhook:
model: github.com/evergreen-ci/evergreen/rest/model.APIWebHook
WebhookHeader:
model: github.com/evergreen-ci/evergreen/rest/model.APIWebhookHeader
WebhookHeaderInput:
model: github.com/evergreen-ci/evergreen/rest/model.APIWebhookHeader
WebhookInput:
model: github.com/evergreen-ci/evergreen/rest/model.APIWebHook
WebhookSubscriber:
model: github.com/evergreen-ci/evergreen/rest/model.APIWebhookSubscriber
WebhookSubscriberInput:
model: github.com/evergreen-ci/evergreen/rest/model.APIWebhookSubscriber
WorkstationConfig:
model: github.com/evergreen-ci/evergreen/rest/model.APIWorkstationConfig
WorkstationConfigInput:
model: github.com/evergreen-ci/evergreen/rest/model.APIWorkstationConfig
WorkstationSetupCommand:
model: github.com/evergreen-ci/evergreen/rest/model.APIWorkstationSetupCommand
WorkstationSetupCommandInput:
model: github.com/evergreen-ci/evergreen/rest/model.APIWorkstationSetupCommand