-
Notifications
You must be signed in to change notification settings - Fork 0
/
models_gen.go
5162 lines (4375 loc) · 147 KB
/
models_gen.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
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
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Code generated by github.com/99designs/gqlgen, DO NOT EDIT.
package gqlclient
import (
"fmt"
"io"
"strconv"
)
type Account struct {
ID string `json:"id"`
Name *string `json:"name,omitempty"`
BillingCustomerID *string `json:"billingCustomerId,omitempty"`
WorkosConnectionID *string `json:"workosConnectionId,omitempty"`
ClusterCount *string `json:"clusterCount,omitempty"`
UserCount *string `json:"userCount,omitempty"`
DelinquentAt *string `json:"delinquentAt,omitempty"`
GrandfatheredUntil *string `json:"grandfatheredUntil,omitempty"`
BillingAddress *Address `json:"billingAddress,omitempty"`
Trialed *bool `json:"trialed,omitempty"`
Icon *string `json:"icon,omitempty"`
PaymentMethods *PaymentMethodConnection `json:"paymentMethods,omitempty"`
RootUser *User `json:"rootUser,omitempty"`
DomainMappings []*DomainMapping `json:"domainMappings,omitempty"`
Subscription *PlatformSubscription `json:"subscription,omitempty"`
BackgroundColor *string `json:"backgroundColor,omitempty"`
AvailableFeatures *PlanFeatures `json:"availableFeatures,omitempty"`
InsertedAt *string `json:"insertedAt,omitempty"`
UpdatedAt *string `json:"updatedAt,omitempty"`
}
type AccountAttributes struct {
Name *string `json:"name,omitempty"`
Icon *string `json:"icon,omitempty"`
DomainMappings []*DomainMappingInput `json:"domainMappings,omitempty"`
BillingAddress *AddressAttributes `json:"billingAddress,omitempty"`
}
type ActionItem struct {
Type ActionItemType `json:"type"`
Link string `json:"link"`
}
type ActionItemAttributes struct {
Type ActionItemType `json:"type"`
Link string `json:"link"`
}
type Address struct {
Name *string `json:"name,omitempty"`
Line1 *string `json:"line1,omitempty"`
Line2 *string `json:"line2,omitempty"`
City *string `json:"city,omitempty"`
State *string `json:"state,omitempty"`
Country *string `json:"country,omitempty"`
Zip *string `json:"zip,omitempty"`
}
type AddressAttributes struct {
Name *string `json:"name,omitempty"`
Line1 string `json:"line1"`
Line2 *string `json:"line2,omitempty"`
City string `json:"city"`
State *string `json:"state,omitempty"`
Country string `json:"country"`
Zip string `json:"zip"`
}
type AppLink struct {
URL *string `json:"url,omitempty"`
Description *string `json:"description,omitempty"`
}
type ApplicationComponent struct {
Group *string `json:"group,omitempty"`
Name *string `json:"name,omitempty"`
Kind *string `json:"kind,omitempty"`
Status *string `json:"status,omitempty"`
}
type ApplicationInformation struct {
Name string `json:"name"`
Ready *bool `json:"ready,omitempty"`
ComponentsReady *string `json:"componentsReady,omitempty"`
Components []*ApplicationComponent `json:"components,omitempty"`
Spec *ApplicationSpec `json:"spec,omitempty"`
}
type ApplicationSpec struct {
Description *string `json:"description,omitempty"`
Version *string `json:"version,omitempty"`
Links []*AppLink `json:"links,omitempty"`
}
type ApplyLock struct {
ID string `json:"id"`
Lock *string `json:"lock,omitempty"`
Repository *Repository `json:"repository,omitempty"`
Owner *User `json:"owner,omitempty"`
InsertedAt *string `json:"insertedAt,omitempty"`
UpdatedAt *string `json:"updatedAt,omitempty"`
}
type Artifact struct {
ID *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Readme *string `json:"readme,omitempty"`
Type *ArtifactType `json:"type,omitempty"`
Platform *ArtifactPlatform `json:"platform,omitempty"`
Filesize *int64 `json:"filesize,omitempty"`
Sha *string `json:"sha,omitempty"`
Arch *string `json:"arch,omitempty"`
Blob *string `json:"blob,omitempty"`
InsertedAt *string `json:"insertedAt,omitempty"`
UpdatedAt *string `json:"updatedAt,omitempty"`
}
type ArtifactAttributes struct {
Name string `json:"name"`
Readme string `json:"readme"`
Type string `json:"type"`
Platform string `json:"platform"`
Arch *string `json:"arch,omitempty"`
Blob *string `json:"blob,omitempty"`
}
type Audit struct {
ID string `json:"id"`
Action string `json:"action"`
IP *string `json:"ip,omitempty"`
City *string `json:"city,omitempty"`
Country *string `json:"country,omitempty"`
Latitude *string `json:"latitude,omitempty"`
Longitude *string `json:"longitude,omitempty"`
Actor *User `json:"actor,omitempty"`
Group *Group `json:"group,omitempty"`
Role *Role `json:"role,omitempty"`
User *User `json:"user,omitempty"`
IntegrationWebhook *IntegrationWebhook `json:"integrationWebhook,omitempty"`
Repository *Repository `json:"repository,omitempty"`
Version *Version `json:"version,omitempty"`
Image *DockerImage `json:"image,omitempty"`
InsertedAt *string `json:"insertedAt,omitempty"`
UpdatedAt *string `json:"updatedAt,omitempty"`
}
type AuditConnection struct {
PageInfo *PageInfo `json:"pageInfo"`
Edges []*AuditEdge `json:"edges,omitempty"`
}
type AuditEdge struct {
Node *Audit `json:"node,omitempty"`
Cursor *string `json:"cursor,omitempty"`
}
type AuthorizationURL struct {
Provider ScmProvider `json:"provider"`
URL string `json:"url"`
}
type AwsShellCredentialsAttributes struct {
AccessKeyID string `json:"accessKeyId"`
SecretAccessKey string `json:"secretAccessKey"`
}
type AzureShellCredentialsAttributes struct {
TenantID string `json:"tenantId"`
ClientID string `json:"clientId"`
ClientSecret string `json:"clientSecret"`
StorageAccount string `json:"storageAccount"`
SubscriptionID string `json:"subscriptionId"`
}
type BindingAttributes struct {
ID *string `json:"id,omitempty"`
UserID *string `json:"userId,omitempty"`
GroupID *string `json:"groupId,omitempty"`
}
type Card struct {
ID string `json:"id"`
Last4 string `json:"last4"`
ExpMonth int64 `json:"expMonth"`
ExpYear int64 `json:"expYear"`
Brand string `json:"brand"`
Name *string `json:"name,omitempty"`
}
type CardConnection struct {
PageInfo *PageInfo `json:"pageInfo"`
Edges []*CardEdge `json:"edges,omitempty"`
}
type CardEdge struct {
Node *Card `json:"node,omitempty"`
Cursor *string `json:"cursor,omitempty"`
}
type CategoryInfo struct {
Category *Category `json:"category,omitempty"`
Count *int64 `json:"count,omitempty"`
Tags *GroupedTagConnection `json:"tags,omitempty"`
}
type ChangeInstructions struct {
Script *string `json:"script,omitempty"`
Instructions *string `json:"instructions,omitempty"`
}
type Chart struct {
ID *string `json:"id,omitempty"`
Name string `json:"name"`
Description *string `json:"description,omitempty"`
LatestVersion *string `json:"latestVersion,omitempty"`
Repository *Repository `json:"repository,omitempty"`
Dependencies *Dependencies `json:"dependencies,omitempty"`
Tags []*VersionTag `json:"tags,omitempty"`
Installation *ChartInstallation `json:"installation,omitempty"`
InsertedAt *string `json:"insertedAt,omitempty"`
UpdatedAt *string `json:"updatedAt,omitempty"`
}
type ChartAttributes struct {
Tags []*VersionTagAttributes `json:"tags,omitempty"`
}
type ChartConnection struct {
PageInfo *PageInfo `json:"pageInfo"`
Edges []*ChartEdge `json:"edges,omitempty"`
}
type ChartEdge struct {
Node *Chart `json:"node,omitempty"`
Cursor *string `json:"cursor,omitempty"`
}
type ChartInstallation struct {
ID *string `json:"id,omitempty"`
Chart *Chart `json:"chart,omitempty"`
Version *Version `json:"version,omitempty"`
Installation *Installation `json:"installation,omitempty"`
InsertedAt *string `json:"insertedAt,omitempty"`
UpdatedAt *string `json:"updatedAt,omitempty"`
}
type ChartInstallationAttributes struct {
ChartID *string `json:"chartId,omitempty"`
VersionID *string `json:"versionId,omitempty"`
}
type ChartInstallationConnection struct {
PageInfo *PageInfo `json:"pageInfo"`
Edges []*ChartInstallationEdge `json:"edges,omitempty"`
}
type ChartInstallationEdge struct {
Node *ChartInstallation `json:"node,omitempty"`
Cursor *string `json:"cursor,omitempty"`
}
type ChartName struct {
Repo *string `json:"repo,omitempty"`
Chart *string `json:"chart,omitempty"`
}
type ChatMessage struct {
Role string `json:"role"`
Content string `json:"content"`
Name *string `json:"name,omitempty"`
}
type ChatMessageAttributes struct {
Role string `json:"role"`
Content string `json:"content"`
Name *string `json:"name,omitempty"`
}
type ClosureItem struct {
Helm *Chart `json:"helm,omitempty"`
Terraform *Terraform `json:"terraform,omitempty"`
Dep *Dependency `json:"dep,omitempty"`
}
type CloudShell struct {
ID string `json:"id"`
Provider Provider `json:"provider"`
GitURL string `json:"gitUrl"`
AesKey string `json:"aesKey"`
Missing []*string `json:"missing,omitempty"`
Cluster string `json:"cluster"`
Subdomain string `json:"subdomain"`
Alive bool `json:"alive"`
Status *ShellStatus `json:"status,omitempty"`
Region string `json:"region"`
InsertedAt *string `json:"insertedAt,omitempty"`
UpdatedAt *string `json:"updatedAt,omitempty"`
}
type CloudShellAttributes struct {
Provider *Provider `json:"provider,omitempty"`
Workspace *WorkspaceAttributes `json:"workspace"`
Credentials *ShellCredentialsAttributes `json:"credentials"`
Scm *ScmAttributes `json:"scm,omitempty"`
DemoID *string `json:"demoId,omitempty"`
}
// A Kubernetes cluster that can be used to deploy applications on with Plural.
type Cluster struct {
// The ID of the cluster.
ID string `json:"id"`
// The name of the cluster.
Name string `json:"name"`
// The cluster's cloud provider.
Provider Provider `json:"provider"`
// The source of the cluster.
Source *Source `json:"source,omitempty"`
// The git repository URL for the cluster.
GitURL *string `json:"gitUrl,omitempty"`
// The URL of the console running on the cluster.
ConsoleURL *string `json:"consoleUrl,omitempty"`
// The domain name used for applications deployed on the cluster.
Domain *string `json:"domain,omitempty"`
// The last time the cluster was pinged.
PingedAt *string `json:"pingedAt,omitempty"`
// the services deployed from this cluster
ServiceCount *int64 `json:"serviceCount,omitempty"`
// pending upgrades for each installed app
UpgradeInfo []*UpgradeInfo `json:"upgradeInfo,omitempty"`
// whether all installations in the cluster have been synced
Synced *bool `json:"synced,omitempty"`
// whether any installation in the cluster has been locked
Locked *bool `json:"locked,omitempty"`
// CPU/Memory history for this cluster
UsageHistory []*ClusterUsageHistory `json:"usageHistory,omitempty"`
// the dependencies a cluster has
Dependency *ClusterDependency `json:"dependency,omitempty"`
// The user that owns the cluster.
Owner *User `json:"owner,omitempty"`
// The account that the cluster belongs to.
Account *Account `json:"account,omitempty"`
// The upgrade queue for applications running on the cluster.
Queue *UpgradeQueue `json:"queue,omitempty"`
InsertedAt *string `json:"insertedAt,omitempty"`
UpdatedAt *string `json:"updatedAt,omitempty"`
}
// Input for creating or updating a cluster.
type ClusterAttributes struct {
// The name of the cluster.
Name string `json:"name"`
// The cluster's cloud provider.
Provider Provider `json:"provider"`
// The source of the cluster.
Source *Source `json:"source,omitempty"`
// The git repository URL for the cluster.
GitURL *string `json:"gitUrl,omitempty"`
// The URL of the console running on the cluster.
ConsoleURL *string `json:"consoleUrl,omitempty"`
// The domain name used for applications deployed on the cluster.
Domain *string `json:"domain,omitempty"`
}
type ClusterConnection struct {
PageInfo *PageInfo `json:"pageInfo"`
Edges []*ClusterEdge `json:"edges,omitempty"`
}
// A dependncy reference between clusters
type ClusterDependency struct {
ID string `json:"id"`
// the cluster holding this dependency
Cluster *Cluster `json:"cluster,omitempty"`
// the source cluster of this dependency
Dependency *Cluster `json:"dependency,omitempty"`
InsertedAt *string `json:"insertedAt,omitempty"`
UpdatedAt *string `json:"updatedAt,omitempty"`
}
type ClusterEdge struct {
Node *Cluster `json:"node,omitempty"`
Cursor *string `json:"cursor,omitempty"`
}
type ClusterInformation struct {
ID string `json:"id"`
Version *string `json:"version,omitempty"`
GitCommit *string `json:"gitCommit,omitempty"`
Platform *string `json:"platform,omitempty"`
InsertedAt *string `json:"insertedAt,omitempty"`
UpdatedAt *string `json:"updatedAt,omitempty"`
}
type ClusterInformationAttributes struct {
GitCommit *string `json:"gitCommit,omitempty"`
Version *string `json:"version,omitempty"`
Platform *string `json:"platform,omitempty"`
}
// A record of the utilization in a given cluster
type ClusterUsageHistory struct {
CPU *int64 `json:"cpu,omitempty"`
Memory *int64 `json:"memory,omitempty"`
Services *int64 `json:"services,omitempty"`
Cluster *Cluster `json:"cluster,omitempty"`
Account *Account `json:"account,omitempty"`
InsertedAt *string `json:"insertedAt,omitempty"`
UpdatedAt *string `json:"updatedAt,omitempty"`
}
type Community struct {
Discord *string `json:"discord,omitempty"`
Slack *string `json:"slack,omitempty"`
Twitter *string `json:"twitter,omitempty"`
Homepage *string `json:"homepage,omitempty"`
GitURL *string `json:"gitUrl,omitempty"`
Videos []*string `json:"videos,omitempty"`
}
// Input for creating or updating the community links of an application.
type CommunityAttributes struct {
// The application's Discord server.
Discord *string `json:"discord,omitempty"`
// The application's Slack channel.
Slack *string `json:"slack,omitempty"`
// The application's Twitter account.
Twitter *string `json:"twitter,omitempty"`
// The application's homepage.
Homepage *string `json:"homepage,omitempty"`
// The application's git URL.
GitURL *string `json:"gitUrl,omitempty"`
// The videos of the application.
Videos []*string `json:"videos,omitempty"`
}
type ConsentRequest struct {
RequestedScope []*string `json:"requestedScope,omitempty"`
Skip *bool `json:"skip,omitempty"`
}
type ConsoleConfigurationUpdateAttributes struct {
EncryptionKey *string `json:"encryptionKey,omitempty"`
}
type ConsoleInstance struct {
ID string `json:"id"`
// the name of this instance (globally unique)
Name string `json:"name"`
// the subdomain this instance lives under
Subdomain string `json:"subdomain"`
// full console url of this instance
URL string `json:"url"`
// the cloud provider hosting this instance
Cloud CloudProvider `json:"cloud"`
// the heuristic size of this instance
Size ConsoleSize `json:"size"`
// the region this instance is hosted in
Region string `json:"region"`
// the provisioning status of this instance, liveness is fetched through the console field
Status ConsoleInstanceStatus `json:"status"`
// the time this instance was deleted on
DeletedAt *string `json:"deletedAt,omitempty"`
Console *Cluster `json:"console,omitempty"`
Owner *User `json:"owner,omitempty"`
InsertedAt *string `json:"insertedAt,omitempty"`
UpdatedAt *string `json:"updatedAt,omitempty"`
}
type ConsoleInstanceAttributes struct {
// the name of this instance (globally unique)
Name string `json:"name"`
// a heuristic size of this instance
Size ConsoleSize `json:"size"`
// the cloud provider to deploy to
Cloud CloudProvider `json:"cloud"`
// the region to deploy to (provider specific)
Region string `json:"region"`
}
type ConsoleInstanceConnection struct {
PageInfo *PageInfo `json:"pageInfo"`
Edges []*ConsoleInstanceEdge `json:"edges,omitempty"`
}
type ConsoleInstanceEdge struct {
Node *ConsoleInstance `json:"node,omitempty"`
Cursor *string `json:"cursor,omitempty"`
}
type ConsoleInstanceUpdateAttributes struct {
Size *ConsoleSize `json:"size,omitempty"`
Configuration *ConsoleConfigurationUpdateAttributes `json:"configuration,omitempty"`
}
type ContextAttributes struct {
Configuration map[string]interface{} `json:"configuration"`
Buckets []*string `json:"buckets,omitempty"`
Domains []*string `json:"domains,omitempty"`
}
// An external repository contributor
type Contributor struct {
ID string `json:"id"`
User *User `json:"user,omitempty"`
InsertedAt *string `json:"insertedAt,omitempty"`
UpdatedAt *string `json:"updatedAt,omitempty"`
}
type Crd struct {
ID string `json:"id"`
Name string `json:"name"`
Blob *string `json:"blob,omitempty"`
InsertedAt *string `json:"insertedAt,omitempty"`
UpdatedAt *string `json:"updatedAt,omitempty"`
}
type CrdAttributes struct {
Name string `json:"name"`
Blob *string `json:"blob,omitempty"`
}
type Cvss struct {
AttackVector *VulnVector `json:"attackVector,omitempty"`
AttackComplexity *VulnGrade `json:"attackComplexity,omitempty"`
PrivilegesRequired *VulnGrade `json:"privilegesRequired,omitempty"`
UserInteraction *VulnRequirement `json:"userInteraction,omitempty"`
Confidentiality *VulnGrade `json:"confidentiality,omitempty"`
Integrity *VulnGrade `json:"integrity,omitempty"`
Availability *VulnGrade `json:"availability,omitempty"`
}
type DeferredReason struct {
Message *string `json:"message,omitempty"`
Package *string `json:"package,omitempty"`
Repository *string `json:"repository,omitempty"`
}
type DeferredUpdate struct {
ID string `json:"id"`
DequeueAt *string `json:"dequeueAt,omitempty"`
Attempts *int64 `json:"attempts,omitempty"`
Pending *bool `json:"pending,omitempty"`
Messages []*DeferredReason `json:"messages,omitempty"`
ChartInstallation *ChartInstallation `json:"chartInstallation,omitempty"`
TerraformInstallation *TerraformInstallation `json:"terraformInstallation,omitempty"`
Version *Version `json:"version,omitempty"`
InsertedAt *string `json:"insertedAt,omitempty"`
UpdatedAt *string `json:"updatedAt,omitempty"`
}
type DeferredUpdateConnection struct {
PageInfo *PageInfo `json:"pageInfo"`
Edges []*DeferredUpdateEdge `json:"edges,omitempty"`
}
type DeferredUpdateEdge struct {
Node *DeferredUpdate `json:"node,omitempty"`
Cursor *string `json:"cursor,omitempty"`
}
type DemoProject struct {
ID string `json:"id"`
ProjectID string `json:"projectId"`
Credentials *string `json:"credentials,omitempty"`
Ready *bool `json:"ready,omitempty"`
State *DemoProjectState `json:"state,omitempty"`
InsertedAt *string `json:"insertedAt,omitempty"`
UpdatedAt *string `json:"updatedAt,omitempty"`
}
type Dependencies struct {
Dependencies []*Dependency `json:"dependencies,omitempty"`
Providers []*Provider `json:"providers,omitempty"`
Secrets []*string `json:"secrets,omitempty"`
ProviderVsn *string `json:"providerVsn,omitempty"`
CliVsn *string `json:"cliVsn,omitempty"`
Application *bool `json:"application,omitempty"`
ProviderWirings map[string]interface{} `json:"providerWirings,omitempty"`
Outputs map[string]interface{} `json:"outputs,omitempty"`
Wirings *Wirings `json:"wirings,omitempty"`
Breaking *bool `json:"breaking,omitempty"`
Wait *bool `json:"wait,omitempty"`
Instructions *ChangeInstructions `json:"instructions,omitempty"`
}
type Dependency struct {
Type *DependencyType `json:"type,omitempty"`
Name *string `json:"name,omitempty"`
Repo *string `json:"repo,omitempty"`
Version *string `json:"version,omitempty"`
Optional *bool `json:"optional,omitempty"`
}
type DeviceLogin struct {
LoginURL string `json:"loginUrl"`
DeviceToken string `json:"deviceToken"`
}
type DNSAccessPolicy struct {
ID string `json:"id"`
Bindings []*PolicyBinding `json:"bindings,omitempty"`
InsertedAt *string `json:"insertedAt,omitempty"`
UpdatedAt *string `json:"updatedAt,omitempty"`
}
type DNSAccessPolicyAttributes struct {
ID *string `json:"id,omitempty"`
Bindings []*BindingAttributes `json:"bindings,omitempty"`
}
type DNSDomain struct {
ID string `json:"id"`
Name string `json:"name"`
AccessPolicy *DNSAccessPolicy `json:"accessPolicy,omitempty"`
Creator *User `json:"creator,omitempty"`
Account *Account `json:"account,omitempty"`
DNSRecords *DNSRecordConnection `json:"dnsRecords,omitempty"`
InsertedAt *string `json:"insertedAt,omitempty"`
UpdatedAt *string `json:"updatedAt,omitempty"`
}
type DNSDomainAttributes struct {
Name *string `json:"name,omitempty"`
AccessPolicy *DNSAccessPolicyAttributes `json:"accessPolicy,omitempty"`
}
type DNSDomainConnection struct {
PageInfo *PageInfo `json:"pageInfo"`
Edges []*DNSDomainEdge `json:"edges,omitempty"`
}
type DNSDomainEdge struct {
Node *DNSDomain `json:"node,omitempty"`
Cursor *string `json:"cursor,omitempty"`
}
type DNSRecord struct {
ID string `json:"id"`
Type DNSRecordType `json:"type"`
Name string `json:"name"`
Cluster string `json:"cluster"`
Provider Provider `json:"provider"`
Records []*string `json:"records,omitempty"`
Creator *User `json:"creator,omitempty"`
Domain *DNSDomain `json:"domain,omitempty"`
InsertedAt *string `json:"insertedAt,omitempty"`
UpdatedAt *string `json:"updatedAt,omitempty"`
}
type DNSRecordAttributes struct {
Name string `json:"name"`
Type DNSRecordType `json:"type"`
Records []*string `json:"records,omitempty"`
}
type DNSRecordConnection struct {
PageInfo *PageInfo `json:"pageInfo"`
Edges []*DNSRecordEdge `json:"edges,omitempty"`
}
type DNSRecordEdge struct {
Node *DNSRecord `json:"node,omitempty"`
Cursor *string `json:"cursor,omitempty"`
}
type DockerImage struct {
ID string `json:"id"`
Tag *string `json:"tag,omitempty"`
Digest string `json:"digest"`
ScannedAt *string `json:"scannedAt,omitempty"`
ScanCompletedAt *string `json:"scanCompletedAt,omitempty"`
Grade *ImageGrade `json:"grade,omitempty"`
DockerRepository *DockerRepository `json:"dockerRepository,omitempty"`
Vulnerabilities []*Vulnerability `json:"vulnerabilities,omitempty"`
InsertedAt *string `json:"insertedAt,omitempty"`
UpdatedAt *string `json:"updatedAt,omitempty"`
}
type DockerImageConnection struct {
PageInfo *PageInfo `json:"pageInfo"`
Edges []*DockerImageEdge `json:"edges,omitempty"`
}
type DockerImageEdge struct {
Node *DockerImage `json:"node,omitempty"`
Cursor *string `json:"cursor,omitempty"`
}
type DockerRepository struct {
ID string `json:"id"`
Name string `json:"name"`
Public *bool `json:"public,omitempty"`
Repository *Repository `json:"repository,omitempty"`
Metrics []*Metric `json:"metrics,omitempty"`
InsertedAt *string `json:"insertedAt,omitempty"`
UpdatedAt *string `json:"updatedAt,omitempty"`
}
type DockerRepositoryAttributes struct {
Public bool `json:"public"`
}
type DockerRepositoryConnection struct {
PageInfo *PageInfo `json:"pageInfo"`
Edges []*DockerRepositoryEdge `json:"edges,omitempty"`
}
type DockerRepositoryEdge struct {
Node *DockerRepository `json:"node,omitempty"`
Cursor *string `json:"cursor,omitempty"`
}
type DomainMapping struct {
ID string `json:"id"`
Domain string `json:"domain"`
EnableSso *bool `json:"enableSso,omitempty"`
Account *Account `json:"account,omitempty"`
InsertedAt *string `json:"insertedAt,omitempty"`
UpdatedAt *string `json:"updatedAt,omitempty"`
}
type DomainMappingInput struct {
ID *string `json:"id,omitempty"`
Domain *string `json:"domain,omitempty"`
EnableSso *bool `json:"enableSso,omitempty"`
}
type EabCredential struct {
ID string `json:"id"`
Cluster string `json:"cluster"`
Provider Provider `json:"provider"`
KeyID string `json:"keyId"`
HmacKey string `json:"hmacKey"`
InsertedAt *string `json:"insertedAt,omitempty"`
UpdatedAt *string `json:"updatedAt,omitempty"`
}
type EntityAttributes struct {
Type MessageEntityType `json:"type"`
Text *string `json:"text,omitempty"`
UserID *string `json:"userId,omitempty"`
StartIndex *int64 `json:"startIndex,omitempty"`
EndIndex *int64 `json:"endIndex,omitempty"`
}
type File struct {
ID string `json:"id"`
MediaType *MediaType `json:"mediaType,omitempty"`
Filename *string `json:"filename,omitempty"`
Filesize *int64 `json:"filesize,omitempty"`
Width *int64 `json:"width,omitempty"`
Height *int64 `json:"height,omitempty"`
ContentType *string `json:"contentType,omitempty"`
Blob string `json:"blob"`
Message *IncidentMessage `json:"message"`
InsertedAt *string `json:"insertedAt,omitempty"`
UpdatedAt *string `json:"updatedAt,omitempty"`
}
type FileAttributes struct {
Blob *string `json:"blob,omitempty"`
}
type FileConnection struct {
PageInfo *PageInfo `json:"pageInfo"`
Edges []*FileEdge `json:"edges,omitempty"`
}
type FileContent struct {
Path string `json:"path"`
Content string `json:"content"`
}
type FileEdge struct {
Node *File `json:"node,omitempty"`
Cursor *string `json:"cursor,omitempty"`
}
type Follower struct {
ID string `json:"id"`
User *User `json:"user"`
Incident *Incident `json:"incident,omitempty"`
Preferences *NotificationPreferences `json:"preferences,omitempty"`
InsertedAt *string `json:"insertedAt,omitempty"`
UpdatedAt *string `json:"updatedAt,omitempty"`
}
type FollowerAttributes struct {
Preferences *NotificationPreferencesAttributes `json:"preferences,omitempty"`
}
type FollowerConnection struct {
PageInfo *PageInfo `json:"pageInfo"`
Edges []*FollowerEdge `json:"edges,omitempty"`
}
type FollowerEdge struct {
Node *Follower `json:"node,omitempty"`
Cursor *string `json:"cursor,omitempty"`
}
type GcpShellCredentialsAttributes struct {
ApplicationCredentials string `json:"applicationCredentials"`
}
type GeoMetric struct {
Country *string `json:"country,omitempty"`
Count *int64 `json:"count,omitempty"`
}
type GitConfiguration struct {
URL *string `json:"url,omitempty"`
Name *string `json:"name,omitempty"`
Root *string `json:"root,omitempty"`
Branch *string `json:"branch,omitempty"`
}
type Group struct {
ID string `json:"id"`
Name string `json:"name"`
Global *bool `json:"global,omitempty"`
Description *string `json:"description,omitempty"`
InsertedAt *string `json:"insertedAt,omitempty"`
UpdatedAt *string `json:"updatedAt,omitempty"`
}
type GroupAttributes struct {
Name string `json:"name"`
Description *string `json:"description,omitempty"`
Global *bool `json:"global,omitempty"`
}
type GroupConnection struct {
PageInfo *PageInfo `json:"pageInfo"`
Edges []*GroupEdge `json:"edges,omitempty"`
}
type GroupEdge struct {
Node *Group `json:"node,omitempty"`
Cursor *string `json:"cursor,omitempty"`
}
type GroupMember struct {
ID string `json:"id"`
User *User `json:"user,omitempty"`
Group *Group `json:"group,omitempty"`
InsertedAt *string `json:"insertedAt,omitempty"`
UpdatedAt *string `json:"updatedAt,omitempty"`
}
type GroupMemberConnection struct {
PageInfo *PageInfo `json:"pageInfo"`
Edges []*GroupMemberEdge `json:"edges,omitempty"`
}
type GroupMemberEdge struct {
Node *GroupMember `json:"node,omitempty"`
Cursor *string `json:"cursor,omitempty"`
}
type GroupedTag struct {
Tag string `json:"tag"`
Count int64 `json:"count"`
}
type GroupedTagConnection struct {
PageInfo *PageInfo `json:"pageInfo"`
Edges []*GroupedTagEdge `json:"edges,omitempty"`
}
type GroupedTagEdge struct {
Node *GroupedTag `json:"node,omitempty"`
Cursor *string `json:"cursor,omitempty"`
}
type ImageDependency struct {
ID string `json:"id"`
Image *DockerImage `json:"image"`
Version *Version `json:"version"`
InsertedAt *string `json:"insertedAt,omitempty"`
UpdatedAt *string `json:"updatedAt,omitempty"`
}
type ImageLayer struct {
Digest *string `json:"digest,omitempty"`
DiffID *string `json:"diffId,omitempty"`
}
type ImpersonationPolicy struct {
ID string `json:"id"`
Bindings []*ImpersonationPolicyBinding `json:"bindings,omitempty"`
InsertedAt *string `json:"insertedAt,omitempty"`
UpdatedAt *string `json:"updatedAt,omitempty"`
}
type ImpersonationPolicyAttributes struct {
ID *string `json:"id,omitempty"`
Bindings []*ImpersonationPolicyBindingAttributes `json:"bindings,omitempty"`
}
type ImpersonationPolicyBinding struct {
ID string `json:"id"`
User *User `json:"user,omitempty"`
Group *Group `json:"group,omitempty"`
InsertedAt *string `json:"insertedAt,omitempty"`
UpdatedAt *string `json:"updatedAt,omitempty"`
}
type ImpersonationPolicyBindingAttributes struct {
ID *string `json:"id,omitempty"`
UserID *string `json:"userId,omitempty"`
GroupID *string `json:"groupId,omitempty"`
}
type Incident struct {
ID string `json:"id"`
Title string `json:"title"`
Description *string `json:"description,omitempty"`
Severity int64 `json:"severity"`
Status IncidentStatus `json:"status"`
NextResponseAt *string `json:"nextResponseAt,omitempty"`
Repository *Repository `json:"repository"`
Creator *User `json:"creator"`
Owner *User `json:"owner,omitempty"`
Tags []*Tag `json:"tags,omitempty"`
Postmortem *Postmortem `json:"postmortem,omitempty"`
ClusterInformation *ClusterInformation `json:"clusterInformation,omitempty"`
Subscription *SlimSubscription `json:"subscription,omitempty"`
NotificationCount *int64 `json:"notificationCount,omitempty"`
Follower *Follower `json:"follower,omitempty"`
Messages *IncidentMessageConnection `json:"messages,omitempty"`
Files *FileConnection `json:"files,omitempty"`
History *IncidentHistoryConnection `json:"history,omitempty"`
Followers *FollowerConnection `json:"followers,omitempty"`
InsertedAt *string `json:"insertedAt,omitempty"`
UpdatedAt *string `json:"updatedAt,omitempty"`
}
type IncidentAttributes struct {
Title *string `json:"title,omitempty"`
Severity *int64 `json:"severity,omitempty"`
Description *string `json:"description,omitempty"`
Status *IncidentStatus `json:"status,omitempty"`
Tags []*TagAttributes `json:"tags,omitempty"`
ClusterInformation *ClusterInformationAttributes `json:"clusterInformation,omitempty"`
}
type IncidentChange struct {
Key string `json:"key"`
Prev *string `json:"prev,omitempty"`
Next *string `json:"next,omitempty"`
}
type IncidentConnection struct {
PageInfo *PageInfo `json:"pageInfo"`
Edges []*IncidentEdge `json:"edges,omitempty"`
}
type IncidentDelta struct {
Delta *Delta `json:"delta,omitempty"`
Payload *Incident `json:"payload,omitempty"`
}
type IncidentEdge struct {
Node *Incident `json:"node,omitempty"`
Cursor *string `json:"cursor,omitempty"`
}
type IncidentFilter struct {
Type IncidentFilterType `json:"type"`
Value *string `json:"value,omitempty"`
Statuses []*IncidentStatus `json:"statuses,omitempty"`
}
type IncidentHistory struct {
ID string `json:"id"`
Action IncidentAction `json:"action"`
Changes []*IncidentChange `json:"changes,omitempty"`
Actor *User `json:"actor"`
Incident *Incident `json:"incident"`
InsertedAt *string `json:"insertedAt,omitempty"`
UpdatedAt *string `json:"updatedAt,omitempty"`
}
type IncidentHistoryConnection struct {
PageInfo *PageInfo `json:"pageInfo"`
Edges []*IncidentHistoryEdge `json:"edges,omitempty"`
}
type IncidentHistoryEdge struct {
Node *IncidentHistory `json:"node,omitempty"`
Cursor *string `json:"cursor,omitempty"`
}
type IncidentMessage struct {
ID string `json:"id"`
Text string `json:"text"`
Incident *Incident `json:"incident"`
Creator *User `json:"creator"`