gitd 0.7.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
gitd/contract.json ADDED
@@ -0,0 +1,1291 @@
1
+ {
2
+ "file": [
3
+ {
4
+ "name": "google/protobuf/timestamp.proto",
5
+ "package": "google.protobuf",
6
+ "messageType": [
7
+ {
8
+ "name": "Timestamp",
9
+ "field": [
10
+ {
11
+ "name": "seconds",
12
+ "number": 1,
13
+ "label": "LABEL_OPTIONAL",
14
+ "type": "TYPE_INT64",
15
+ "jsonName": "seconds"
16
+ },
17
+ {
18
+ "name": "nanos",
19
+ "number": 2,
20
+ "label": "LABEL_OPTIONAL",
21
+ "type": "TYPE_INT32",
22
+ "jsonName": "nanos"
23
+ }
24
+ ]
25
+ }
26
+ ],
27
+ "options": {
28
+ "javaPackage": "com.google.protobuf",
29
+ "javaOuterClassname": "TimestampProto",
30
+ "javaMultipleFiles": true,
31
+ "goPackage": "google.golang.org/protobuf/types/known/timestamppb",
32
+ "ccEnableArenas": true,
33
+ "objcClassPrefix": "GPB",
34
+ "csharpNamespace": "Google.Protobuf.WellKnownTypes"
35
+ },
36
+ "syntax": "proto3"
37
+ },
38
+ {
39
+ "name": "gitd/v1/gitd.proto",
40
+ "package": "gitd.v1",
41
+ "dependency": [
42
+ "google/protobuf/timestamp.proto"
43
+ ],
44
+ "messageType": [
45
+ {
46
+ "name": "Credential",
47
+ "field": [
48
+ {
49
+ "name": "url_prefix",
50
+ "number": 1,
51
+ "label": "LABEL_OPTIONAL",
52
+ "type": "TYPE_STRING",
53
+ "jsonName": "urlPrefix"
54
+ },
55
+ {
56
+ "name": "https_token",
57
+ "number": 2,
58
+ "label": "LABEL_OPTIONAL",
59
+ "type": "TYPE_STRING",
60
+ "oneofIndex": 0,
61
+ "jsonName": "httpsToken"
62
+ },
63
+ {
64
+ "name": "ssh_key_path",
65
+ "number": 3,
66
+ "label": "LABEL_OPTIONAL",
67
+ "type": "TYPE_STRING",
68
+ "oneofIndex": 0,
69
+ "jsonName": "sshKeyPath"
70
+ },
71
+ {
72
+ "name": "https_user",
73
+ "number": 4,
74
+ "label": "LABEL_OPTIONAL",
75
+ "type": "TYPE_STRING",
76
+ "jsonName": "httpsUser"
77
+ }
78
+ ],
79
+ "oneofDecl": [
80
+ {
81
+ "name": "secret"
82
+ }
83
+ ]
84
+ },
85
+ {
86
+ "name": "Revision",
87
+ "field": [
88
+ {
89
+ "name": "branch",
90
+ "number": 1,
91
+ "label": "LABEL_OPTIONAL",
92
+ "type": "TYPE_STRING",
93
+ "oneofIndex": 0,
94
+ "jsonName": "branch"
95
+ },
96
+ {
97
+ "name": "commit",
98
+ "number": 2,
99
+ "label": "LABEL_OPTIONAL",
100
+ "type": "TYPE_STRING",
101
+ "oneofIndex": 0,
102
+ "jsonName": "commit"
103
+ }
104
+ ],
105
+ "oneofDecl": [
106
+ {
107
+ "name": "target"
108
+ }
109
+ ]
110
+ },
111
+ {
112
+ "name": "Progress",
113
+ "field": [
114
+ {
115
+ "name": "phase",
116
+ "number": 1,
117
+ "label": "LABEL_OPTIONAL",
118
+ "type": "TYPE_STRING",
119
+ "jsonName": "phase"
120
+ },
121
+ {
122
+ "name": "percent",
123
+ "number": 2,
124
+ "label": "LABEL_OPTIONAL",
125
+ "type": "TYPE_INT32",
126
+ "jsonName": "percent"
127
+ },
128
+ {
129
+ "name": "repository",
130
+ "number": 3,
131
+ "label": "LABEL_OPTIONAL",
132
+ "type": "TYPE_STRING",
133
+ "jsonName": "repository"
134
+ }
135
+ ]
136
+ },
137
+ {
138
+ "name": "SubmoduleState",
139
+ "field": [
140
+ {
141
+ "name": "path",
142
+ "number": 1,
143
+ "label": "LABEL_OPTIONAL",
144
+ "type": "TYPE_STRING",
145
+ "jsonName": "path"
146
+ },
147
+ {
148
+ "name": "url",
149
+ "number": 2,
150
+ "label": "LABEL_OPTIONAL",
151
+ "type": "TYPE_STRING",
152
+ "jsonName": "url"
153
+ },
154
+ {
155
+ "name": "commit",
156
+ "number": 3,
157
+ "label": "LABEL_OPTIONAL",
158
+ "type": "TYPE_STRING",
159
+ "jsonName": "commit"
160
+ },
161
+ {
162
+ "name": "checked_out",
163
+ "number": 4,
164
+ "label": "LABEL_OPTIONAL",
165
+ "type": "TYPE_BOOL",
166
+ "jsonName": "checkedOut"
167
+ }
168
+ ]
169
+ },
170
+ {
171
+ "name": "PendingSubmodule",
172
+ "field": [
173
+ {
174
+ "name": "url",
175
+ "number": 1,
176
+ "label": "LABEL_OPTIONAL",
177
+ "type": "TYPE_STRING",
178
+ "jsonName": "url"
179
+ },
180
+ {
181
+ "name": "path",
182
+ "number": 2,
183
+ "label": "LABEL_OPTIONAL",
184
+ "type": "TYPE_STRING",
185
+ "jsonName": "path"
186
+ },
187
+ {
188
+ "name": "failure",
189
+ "number": 3,
190
+ "label": "LABEL_OPTIONAL",
191
+ "type": "TYPE_MESSAGE",
192
+ "typeName": ".gitd.v1.GitFailure",
193
+ "jsonName": "failure"
194
+ }
195
+ ]
196
+ },
197
+ {
198
+ "name": "GitFailure",
199
+ "field": [
200
+ {
201
+ "name": "reason",
202
+ "number": 1,
203
+ "label": "LABEL_OPTIONAL",
204
+ "type": "TYPE_ENUM",
205
+ "typeName": ".gitd.v1.GitFailure.Reason",
206
+ "jsonName": "reason"
207
+ },
208
+ {
209
+ "name": "git_said",
210
+ "number": 2,
211
+ "label": "LABEL_OPTIONAL",
212
+ "type": "TYPE_STRING",
213
+ "jsonName": "gitSaid"
214
+ },
215
+ {
216
+ "name": "repository",
217
+ "number": 3,
218
+ "label": "LABEL_OPTIONAL",
219
+ "type": "TYPE_STRING",
220
+ "jsonName": "repository"
221
+ }
222
+ ],
223
+ "enumType": [
224
+ {
225
+ "name": "Reason",
226
+ "value": [
227
+ {
228
+ "name": "REASON_UNSPECIFIED",
229
+ "number": 0
230
+ },
231
+ {
232
+ "name": "REASON_AUTH_REQUIRED",
233
+ "number": 1
234
+ },
235
+ {
236
+ "name": "REASON_AUTH_REFUSED",
237
+ "number": 2
238
+ },
239
+ {
240
+ "name": "REASON_NOT_FOUND",
241
+ "number": 3
242
+ },
243
+ {
244
+ "name": "REASON_BAD_ADDRESS",
245
+ "number": 4
246
+ },
247
+ {
248
+ "name": "REASON_PATH_REFUSED",
249
+ "number": 5
250
+ },
251
+ {
252
+ "name": "REASON_BUSY",
253
+ "number": 6
254
+ },
255
+ {
256
+ "name": "REASON_TIMEOUT",
257
+ "number": 7
258
+ },
259
+ {
260
+ "name": "REASON_CORRUPT",
261
+ "number": 8
262
+ },
263
+ {
264
+ "name": "REASON_GIT_FAILED",
265
+ "number": 9
266
+ },
267
+ {
268
+ "name": "REASON_NOTHING_NEW",
269
+ "number": 10
270
+ },
271
+ {
272
+ "name": "REASON_BRANCH_REFUSED",
273
+ "number": 11
274
+ },
275
+ {
276
+ "name": "REASON_CONFIG_REFUSED",
277
+ "number": 12
278
+ }
279
+ ]
280
+ }
281
+ ]
282
+ },
283
+ {
284
+ "name": "PrepareRequest",
285
+ "field": [
286
+ {
287
+ "name": "url",
288
+ "number": 1,
289
+ "label": "LABEL_OPTIONAL",
290
+ "type": "TYPE_STRING",
291
+ "jsonName": "url"
292
+ },
293
+ {
294
+ "name": "path",
295
+ "number": 2,
296
+ "label": "LABEL_OPTIONAL",
297
+ "type": "TYPE_STRING",
298
+ "jsonName": "path"
299
+ },
300
+ {
301
+ "name": "revision",
302
+ "number": 3,
303
+ "label": "LABEL_OPTIONAL",
304
+ "type": "TYPE_MESSAGE",
305
+ "typeName": ".gitd.v1.Revision",
306
+ "jsonName": "revision"
307
+ },
308
+ {
309
+ "name": "with_submodules",
310
+ "number": 4,
311
+ "label": "LABEL_OPTIONAL",
312
+ "type": "TYPE_BOOL",
313
+ "jsonName": "withSubmodules"
314
+ },
315
+ {
316
+ "name": "credentials",
317
+ "number": 5,
318
+ "label": "LABEL_REPEATED",
319
+ "type": "TYPE_MESSAGE",
320
+ "typeName": ".gitd.v1.Credential",
321
+ "jsonName": "credentials"
322
+ },
323
+ {
324
+ "name": "full_history",
325
+ "number": 6,
326
+ "label": "LABEL_OPTIONAL",
327
+ "type": "TYPE_BOOL",
328
+ "jsonName": "fullHistory"
329
+ },
330
+ {
331
+ "name": "strategy",
332
+ "number": 7,
333
+ "label": "LABEL_OPTIONAL",
334
+ "type": "TYPE_ENUM",
335
+ "typeName": ".gitd.v1.Strategy",
336
+ "jsonName": "strategy"
337
+ }
338
+ ]
339
+ },
340
+ {
341
+ "name": "Layers",
342
+ "field": [
343
+ {
344
+ "name": "lower",
345
+ "number": 1,
346
+ "label": "LABEL_OPTIONAL",
347
+ "type": "TYPE_STRING",
348
+ "jsonName": "lower"
349
+ },
350
+ {
351
+ "name": "upper",
352
+ "number": 2,
353
+ "label": "LABEL_OPTIONAL",
354
+ "type": "TYPE_STRING",
355
+ "jsonName": "upper"
356
+ },
357
+ {
358
+ "name": "work",
359
+ "number": 3,
360
+ "label": "LABEL_OPTIONAL",
361
+ "type": "TYPE_STRING",
362
+ "jsonName": "work"
363
+ }
364
+ ]
365
+ },
366
+ {
367
+ "name": "PrepareResponse",
368
+ "field": [
369
+ {
370
+ "name": "progress",
371
+ "number": 1,
372
+ "label": "LABEL_OPTIONAL",
373
+ "type": "TYPE_MESSAGE",
374
+ "typeName": ".gitd.v1.Progress",
375
+ "oneofIndex": 0,
376
+ "jsonName": "progress"
377
+ },
378
+ {
379
+ "name": "result",
380
+ "number": 2,
381
+ "label": "LABEL_OPTIONAL",
382
+ "type": "TYPE_MESSAGE",
383
+ "typeName": ".gitd.v1.WorkspaceResult",
384
+ "oneofIndex": 0,
385
+ "jsonName": "result"
386
+ }
387
+ ],
388
+ "oneofDecl": [
389
+ {
390
+ "name": "event"
391
+ }
392
+ ]
393
+ },
394
+ {
395
+ "name": "WorkspaceResult",
396
+ "field": [
397
+ {
398
+ "name": "commit",
399
+ "number": 1,
400
+ "label": "LABEL_OPTIONAL",
401
+ "type": "TYPE_STRING",
402
+ "jsonName": "commit"
403
+ },
404
+ {
405
+ "name": "branch",
406
+ "number": 2,
407
+ "label": "LABEL_OPTIONAL",
408
+ "type": "TYPE_STRING",
409
+ "jsonName": "branch"
410
+ },
411
+ {
412
+ "name": "pending_submodules",
413
+ "number": 3,
414
+ "label": "LABEL_REPEATED",
415
+ "type": "TYPE_MESSAGE",
416
+ "typeName": ".gitd.v1.PendingSubmodule",
417
+ "jsonName": "pendingSubmodules"
418
+ },
419
+ {
420
+ "name": "strategy",
421
+ "number": 4,
422
+ "label": "LABEL_OPTIONAL",
423
+ "type": "TYPE_ENUM",
424
+ "typeName": ".gitd.v1.Strategy",
425
+ "jsonName": "strategy"
426
+ },
427
+ {
428
+ "name": "layers",
429
+ "number": 5,
430
+ "label": "LABEL_OPTIONAL",
431
+ "type": "TYPE_MESSAGE",
432
+ "typeName": ".gitd.v1.Layers",
433
+ "jsonName": "layers"
434
+ },
435
+ {
436
+ "name": "lfs_patterns",
437
+ "number": 6,
438
+ "label": "LABEL_REPEATED",
439
+ "type": "TYPE_STRING",
440
+ "jsonName": "lfsPatterns"
441
+ }
442
+ ]
443
+ },
444
+ {
445
+ "name": "UpdateRequest",
446
+ "field": [
447
+ {
448
+ "name": "path",
449
+ "number": 1,
450
+ "label": "LABEL_OPTIONAL",
451
+ "type": "TYPE_STRING",
452
+ "jsonName": "path"
453
+ },
454
+ {
455
+ "name": "branch",
456
+ "number": 2,
457
+ "label": "LABEL_OPTIONAL",
458
+ "type": "TYPE_STRING",
459
+ "jsonName": "branch"
460
+ },
461
+ {
462
+ "name": "with_submodules",
463
+ "number": 3,
464
+ "label": "LABEL_OPTIONAL",
465
+ "type": "TYPE_BOOL",
466
+ "jsonName": "withSubmodules"
467
+ },
468
+ {
469
+ "name": "credentials",
470
+ "number": 4,
471
+ "label": "LABEL_REPEATED",
472
+ "type": "TYPE_MESSAGE",
473
+ "typeName": ".gitd.v1.Credential",
474
+ "jsonName": "credentials"
475
+ }
476
+ ]
477
+ },
478
+ {
479
+ "name": "UpdateResponse",
480
+ "field": [
481
+ {
482
+ "name": "progress",
483
+ "number": 1,
484
+ "label": "LABEL_OPTIONAL",
485
+ "type": "TYPE_MESSAGE",
486
+ "typeName": ".gitd.v1.Progress",
487
+ "oneofIndex": 0,
488
+ "jsonName": "progress"
489
+ },
490
+ {
491
+ "name": "result",
492
+ "number": 2,
493
+ "label": "LABEL_OPTIONAL",
494
+ "type": "TYPE_MESSAGE",
495
+ "typeName": ".gitd.v1.WorkspaceResult",
496
+ "oneofIndex": 0,
497
+ "jsonName": "result"
498
+ }
499
+ ],
500
+ "oneofDecl": [
501
+ {
502
+ "name": "event"
503
+ }
504
+ ]
505
+ },
506
+ {
507
+ "name": "CheckoutRequest",
508
+ "field": [
509
+ {
510
+ "name": "path",
511
+ "number": 1,
512
+ "label": "LABEL_OPTIONAL",
513
+ "type": "TYPE_STRING",
514
+ "jsonName": "path"
515
+ },
516
+ {
517
+ "name": "commit",
518
+ "number": 2,
519
+ "label": "LABEL_OPTIONAL",
520
+ "type": "TYPE_STRING",
521
+ "jsonName": "commit"
522
+ },
523
+ {
524
+ "name": "with_submodules",
525
+ "number": 3,
526
+ "label": "LABEL_OPTIONAL",
527
+ "type": "TYPE_BOOL",
528
+ "jsonName": "withSubmodules"
529
+ },
530
+ {
531
+ "name": "credentials",
532
+ "number": 4,
533
+ "label": "LABEL_REPEATED",
534
+ "type": "TYPE_MESSAGE",
535
+ "typeName": ".gitd.v1.Credential",
536
+ "jsonName": "credentials"
537
+ }
538
+ ]
539
+ },
540
+ {
541
+ "name": "CheckoutResponse",
542
+ "field": [
543
+ {
544
+ "name": "progress",
545
+ "number": 1,
546
+ "label": "LABEL_OPTIONAL",
547
+ "type": "TYPE_MESSAGE",
548
+ "typeName": ".gitd.v1.Progress",
549
+ "oneofIndex": 0,
550
+ "jsonName": "progress"
551
+ },
552
+ {
553
+ "name": "result",
554
+ "number": 2,
555
+ "label": "LABEL_OPTIONAL",
556
+ "type": "TYPE_MESSAGE",
557
+ "typeName": ".gitd.v1.WorkspaceResult",
558
+ "oneofIndex": 0,
559
+ "jsonName": "result"
560
+ }
561
+ ],
562
+ "oneofDecl": [
563
+ {
564
+ "name": "event"
565
+ }
566
+ ]
567
+ },
568
+ {
569
+ "name": "SyncSubmodulesRequest",
570
+ "field": [
571
+ {
572
+ "name": "path",
573
+ "number": 1,
574
+ "label": "LABEL_OPTIONAL",
575
+ "type": "TYPE_STRING",
576
+ "jsonName": "path"
577
+ },
578
+ {
579
+ "name": "only_url",
580
+ "number": 2,
581
+ "label": "LABEL_OPTIONAL",
582
+ "type": "TYPE_STRING",
583
+ "jsonName": "onlyUrl"
584
+ },
585
+ {
586
+ "name": "credentials",
587
+ "number": 3,
588
+ "label": "LABEL_REPEATED",
589
+ "type": "TYPE_MESSAGE",
590
+ "typeName": ".gitd.v1.Credential",
591
+ "jsonName": "credentials"
592
+ }
593
+ ]
594
+ },
595
+ {
596
+ "name": "SyncSubmodulesResponse",
597
+ "field": [
598
+ {
599
+ "name": "progress",
600
+ "number": 1,
601
+ "label": "LABEL_OPTIONAL",
602
+ "type": "TYPE_MESSAGE",
603
+ "typeName": ".gitd.v1.Progress",
604
+ "oneofIndex": 0,
605
+ "jsonName": "progress"
606
+ },
607
+ {
608
+ "name": "result",
609
+ "number": 2,
610
+ "label": "LABEL_OPTIONAL",
611
+ "type": "TYPE_MESSAGE",
612
+ "typeName": ".gitd.v1.SyncSubmodulesResult",
613
+ "oneofIndex": 0,
614
+ "jsonName": "result"
615
+ }
616
+ ],
617
+ "oneofDecl": [
618
+ {
619
+ "name": "event"
620
+ }
621
+ ]
622
+ },
623
+ {
624
+ "name": "SyncSubmodulesResult",
625
+ "field": [
626
+ {
627
+ "name": "submodules",
628
+ "number": 1,
629
+ "label": "LABEL_REPEATED",
630
+ "type": "TYPE_MESSAGE",
631
+ "typeName": ".gitd.v1.SubmoduleState",
632
+ "jsonName": "submodules"
633
+ },
634
+ {
635
+ "name": "pending_submodules",
636
+ "number": 2,
637
+ "label": "LABEL_REPEATED",
638
+ "type": "TYPE_MESSAGE",
639
+ "typeName": ".gitd.v1.PendingSubmodule",
640
+ "jsonName": "pendingSubmodules"
641
+ }
642
+ ]
643
+ },
644
+ {
645
+ "name": "DescribeRequest",
646
+ "field": [
647
+ {
648
+ "name": "path",
649
+ "number": 1,
650
+ "label": "LABEL_OPTIONAL",
651
+ "type": "TYPE_STRING",
652
+ "jsonName": "path"
653
+ }
654
+ ]
655
+ },
656
+ {
657
+ "name": "DescribeResponse",
658
+ "field": [
659
+ {
660
+ "name": "url",
661
+ "number": 1,
662
+ "label": "LABEL_OPTIONAL",
663
+ "type": "TYPE_STRING",
664
+ "jsonName": "url"
665
+ },
666
+ {
667
+ "name": "commit",
668
+ "number": 2,
669
+ "label": "LABEL_OPTIONAL",
670
+ "type": "TYPE_STRING",
671
+ "jsonName": "commit"
672
+ },
673
+ {
674
+ "name": "branch",
675
+ "number": 3,
676
+ "label": "LABEL_OPTIONAL",
677
+ "type": "TYPE_STRING",
678
+ "jsonName": "branch"
679
+ },
680
+ {
681
+ "name": "modified",
682
+ "number": 4,
683
+ "label": "LABEL_OPTIONAL",
684
+ "type": "TYPE_BOOL",
685
+ "jsonName": "modified"
686
+ },
687
+ {
688
+ "name": "submodules",
689
+ "number": 5,
690
+ "label": "LABEL_REPEATED",
691
+ "type": "TYPE_MESSAGE",
692
+ "typeName": ".gitd.v1.SubmoduleState",
693
+ "jsonName": "submodules"
694
+ },
695
+ {
696
+ "name": "strategy",
697
+ "number": 6,
698
+ "label": "LABEL_OPTIONAL",
699
+ "type": "TYPE_ENUM",
700
+ "typeName": ".gitd.v1.Strategy",
701
+ "jsonName": "strategy"
702
+ },
703
+ {
704
+ "name": "layers",
705
+ "number": 7,
706
+ "label": "LABEL_OPTIONAL",
707
+ "type": "TYPE_MESSAGE",
708
+ "typeName": ".gitd.v1.Layers",
709
+ "jsonName": "layers"
710
+ },
711
+ {
712
+ "name": "lfs_patterns",
713
+ "number": 8,
714
+ "label": "LABEL_REPEATED",
715
+ "type": "TYPE_STRING",
716
+ "jsonName": "lfsPatterns"
717
+ }
718
+ ]
719
+ },
720
+ {
721
+ "name": "RemoveRequest",
722
+ "field": [
723
+ {
724
+ "name": "path",
725
+ "number": 1,
726
+ "label": "LABEL_OPTIONAL",
727
+ "type": "TYPE_STRING",
728
+ "jsonName": "path"
729
+ }
730
+ ]
731
+ },
732
+ {
733
+ "name": "RemoveResponse"
734
+ },
735
+ {
736
+ "name": "AdoptRequest",
737
+ "field": [
738
+ {
739
+ "name": "path",
740
+ "number": 1,
741
+ "label": "LABEL_OPTIONAL",
742
+ "type": "TYPE_STRING",
743
+ "jsonName": "path"
744
+ }
745
+ ]
746
+ },
747
+ {
748
+ "name": "AdoptResponse",
749
+ "field": [
750
+ {
751
+ "name": "progress",
752
+ "number": 1,
753
+ "label": "LABEL_OPTIONAL",
754
+ "type": "TYPE_MESSAGE",
755
+ "typeName": ".gitd.v1.Progress",
756
+ "oneofIndex": 0,
757
+ "jsonName": "progress"
758
+ },
759
+ {
760
+ "name": "result",
761
+ "number": 2,
762
+ "label": "LABEL_OPTIONAL",
763
+ "type": "TYPE_MESSAGE",
764
+ "typeName": ".gitd.v1.AdoptResult",
765
+ "oneofIndex": 0,
766
+ "jsonName": "result"
767
+ }
768
+ ],
769
+ "oneofDecl": [
770
+ {
771
+ "name": "event"
772
+ }
773
+ ]
774
+ },
775
+ {
776
+ "name": "AdoptResult",
777
+ "field": [
778
+ {
779
+ "name": "bytes_released",
780
+ "number": 1,
781
+ "label": "LABEL_OPTIONAL",
782
+ "type": "TYPE_INT64",
783
+ "jsonName": "bytesReleased"
784
+ }
785
+ ]
786
+ },
787
+ {
788
+ "name": "PublishRequest",
789
+ "field": [
790
+ {
791
+ "name": "path",
792
+ "number": 1,
793
+ "label": "LABEL_OPTIONAL",
794
+ "type": "TYPE_STRING",
795
+ "jsonName": "path"
796
+ },
797
+ {
798
+ "name": "branch",
799
+ "number": 2,
800
+ "label": "LABEL_OPTIONAL",
801
+ "type": "TYPE_STRING",
802
+ "jsonName": "branch"
803
+ },
804
+ {
805
+ "name": "credentials",
806
+ "number": 3,
807
+ "label": "LABEL_REPEATED",
808
+ "type": "TYPE_MESSAGE",
809
+ "typeName": ".gitd.v1.Credential",
810
+ "jsonName": "credentials"
811
+ }
812
+ ]
813
+ },
814
+ {
815
+ "name": "PublishedRepository",
816
+ "field": [
817
+ {
818
+ "name": "url",
819
+ "number": 1,
820
+ "label": "LABEL_OPTIONAL",
821
+ "type": "TYPE_STRING",
822
+ "jsonName": "url"
823
+ },
824
+ {
825
+ "name": "path",
826
+ "number": 2,
827
+ "label": "LABEL_OPTIONAL",
828
+ "type": "TYPE_STRING",
829
+ "jsonName": "path"
830
+ },
831
+ {
832
+ "name": "commit",
833
+ "number": 3,
834
+ "label": "LABEL_OPTIONAL",
835
+ "type": "TYPE_STRING",
836
+ "jsonName": "commit"
837
+ },
838
+ {
839
+ "name": "subjects",
840
+ "number": 4,
841
+ "label": "LABEL_REPEATED",
842
+ "type": "TYPE_STRING",
843
+ "jsonName": "subjects"
844
+ }
845
+ ]
846
+ },
847
+ {
848
+ "name": "PublishResponse",
849
+ "field": [
850
+ {
851
+ "name": "branch",
852
+ "number": 1,
853
+ "label": "LABEL_OPTIONAL",
854
+ "type": "TYPE_STRING",
855
+ "jsonName": "branch"
856
+ },
857
+ {
858
+ "name": "repository",
859
+ "number": 2,
860
+ "label": "LABEL_OPTIONAL",
861
+ "type": "TYPE_MESSAGE",
862
+ "typeName": ".gitd.v1.PublishedRepository",
863
+ "jsonName": "repository"
864
+ },
865
+ {
866
+ "name": "submodules",
867
+ "number": 3,
868
+ "label": "LABEL_REPEATED",
869
+ "type": "TYPE_MESSAGE",
870
+ "typeName": ".gitd.v1.PublishedRepository",
871
+ "jsonName": "submodules"
872
+ }
873
+ ]
874
+ },
875
+ {
876
+ "name": "ProbeRequest",
877
+ "field": [
878
+ {
879
+ "name": "url",
880
+ "number": 1,
881
+ "label": "LABEL_OPTIONAL",
882
+ "type": "TYPE_STRING",
883
+ "jsonName": "url"
884
+ },
885
+ {
886
+ "name": "credentials",
887
+ "number": 2,
888
+ "label": "LABEL_REPEATED",
889
+ "type": "TYPE_MESSAGE",
890
+ "typeName": ".gitd.v1.Credential",
891
+ "jsonName": "credentials"
892
+ }
893
+ ]
894
+ },
895
+ {
896
+ "name": "ProbeResponse",
897
+ "field": [
898
+ {
899
+ "name": "access",
900
+ "number": 1,
901
+ "label": "LABEL_OPTIONAL",
902
+ "type": "TYPE_ENUM",
903
+ "typeName": ".gitd.v1.ProbeResponse.Access",
904
+ "jsonName": "access"
905
+ },
906
+ {
907
+ "name": "branches",
908
+ "number": 2,
909
+ "label": "LABEL_REPEATED",
910
+ "type": "TYPE_STRING",
911
+ "jsonName": "branches"
912
+ },
913
+ {
914
+ "name": "default_branch",
915
+ "number": 3,
916
+ "label": "LABEL_OPTIONAL",
917
+ "type": "TYPE_STRING",
918
+ "jsonName": "defaultBranch"
919
+ },
920
+ {
921
+ "name": "failure",
922
+ "number": 4,
923
+ "label": "LABEL_OPTIONAL",
924
+ "type": "TYPE_MESSAGE",
925
+ "typeName": ".gitd.v1.GitFailure",
926
+ "jsonName": "failure"
927
+ },
928
+ {
929
+ "name": "commits",
930
+ "number": 5,
931
+ "label": "LABEL_REPEATED",
932
+ "type": "TYPE_MESSAGE",
933
+ "typeName": ".gitd.v1.ProbeResponse.CommitsEntry",
934
+ "jsonName": "commits"
935
+ }
936
+ ],
937
+ "nestedType": [
938
+ {
939
+ "name": "CommitsEntry",
940
+ "field": [
941
+ {
942
+ "name": "key",
943
+ "number": 1,
944
+ "label": "LABEL_OPTIONAL",
945
+ "type": "TYPE_STRING",
946
+ "jsonName": "key"
947
+ },
948
+ {
949
+ "name": "value",
950
+ "number": 2,
951
+ "label": "LABEL_OPTIONAL",
952
+ "type": "TYPE_STRING",
953
+ "jsonName": "value"
954
+ }
955
+ ],
956
+ "options": {
957
+ "mapEntry": true
958
+ }
959
+ }
960
+ ],
961
+ "enumType": [
962
+ {
963
+ "name": "Access",
964
+ "value": [
965
+ {
966
+ "name": "ACCESS_UNSPECIFIED",
967
+ "number": 0
968
+ },
969
+ {
970
+ "name": "ACCESS_PUBLIC",
971
+ "number": 1
972
+ },
973
+ {
974
+ "name": "ACCESS_REACHABLE",
975
+ "number": 2
976
+ },
977
+ {
978
+ "name": "ACCESS_DENIED",
979
+ "number": 3
980
+ }
981
+ ]
982
+ }
983
+ ]
984
+ },
985
+ {
986
+ "name": "RetireRequest",
987
+ "field": [
988
+ {
989
+ "name": "unused_for_seconds",
990
+ "number": 1,
991
+ "label": "LABEL_OPTIONAL",
992
+ "type": "TYPE_INT64",
993
+ "jsonName": "unusedForSeconds"
994
+ }
995
+ ]
996
+ },
997
+ {
998
+ "name": "RetireResponse",
999
+ "field": [
1000
+ {
1001
+ "name": "retired",
1002
+ "number": 1,
1003
+ "label": "LABEL_OPTIONAL",
1004
+ "type": "TYPE_INT32",
1005
+ "jsonName": "retired"
1006
+ },
1007
+ {
1008
+ "name": "freed_bytes",
1009
+ "number": 2,
1010
+ "label": "LABEL_OPTIONAL",
1011
+ "type": "TYPE_INT64",
1012
+ "jsonName": "freedBytes"
1013
+ }
1014
+ ]
1015
+ },
1016
+ {
1017
+ "name": "InfoRequest"
1018
+ },
1019
+ {
1020
+ "name": "InfoResponse",
1021
+ "field": [
1022
+ {
1023
+ "name": "version",
1024
+ "number": 1,
1025
+ "label": "LABEL_OPTIONAL",
1026
+ "type": "TYPE_STRING",
1027
+ "jsonName": "version"
1028
+ },
1029
+ {
1030
+ "name": "git_version",
1031
+ "number": 2,
1032
+ "label": "LABEL_OPTIONAL",
1033
+ "type": "TYPE_STRING",
1034
+ "jsonName": "gitVersion"
1035
+ },
1036
+ {
1037
+ "name": "pools",
1038
+ "number": 3,
1039
+ "label": "LABEL_OPTIONAL",
1040
+ "type": "TYPE_INT32",
1041
+ "jsonName": "pools"
1042
+ },
1043
+ {
1044
+ "name": "pools_bytes",
1045
+ "number": 4,
1046
+ "label": "LABEL_OPTIONAL",
1047
+ "type": "TYPE_INT64",
1048
+ "jsonName": "poolsBytes"
1049
+ },
1050
+ {
1051
+ "name": "strategy",
1052
+ "number": 5,
1053
+ "label": "LABEL_OPTIONAL",
1054
+ "type": "TYPE_ENUM",
1055
+ "typeName": ".gitd.v1.Strategy",
1056
+ "jsonName": "strategy"
1057
+ },
1058
+ {
1059
+ "name": "strategy_reason",
1060
+ "number": 6,
1061
+ "label": "LABEL_OPTIONAL",
1062
+ "type": "TYPE_STRING",
1063
+ "jsonName": "strategyReason"
1064
+ },
1065
+ {
1066
+ "name": "templates",
1067
+ "number": 7,
1068
+ "label": "LABEL_OPTIONAL",
1069
+ "type": "TYPE_INT32",
1070
+ "jsonName": "templates"
1071
+ },
1072
+ {
1073
+ "name": "templates_bytes",
1074
+ "number": 8,
1075
+ "label": "LABEL_OPTIONAL",
1076
+ "type": "TYPE_INT64",
1077
+ "jsonName": "templatesBytes"
1078
+ }
1079
+ ]
1080
+ },
1081
+ {
1082
+ "name": "AuditRequest",
1083
+ "field": [
1084
+ {
1085
+ "name": "since",
1086
+ "number": 1,
1087
+ "label": "LABEL_OPTIONAL",
1088
+ "type": "TYPE_MESSAGE",
1089
+ "typeName": ".google.protobuf.Timestamp",
1090
+ "jsonName": "since"
1091
+ },
1092
+ {
1093
+ "name": "url",
1094
+ "number": 2,
1095
+ "label": "LABEL_OPTIONAL",
1096
+ "type": "TYPE_STRING",
1097
+ "jsonName": "url"
1098
+ },
1099
+ {
1100
+ "name": "limit",
1101
+ "number": 3,
1102
+ "label": "LABEL_OPTIONAL",
1103
+ "type": "TYPE_INT32",
1104
+ "jsonName": "limit"
1105
+ }
1106
+ ]
1107
+ },
1108
+ {
1109
+ "name": "AuditResponse",
1110
+ "field": [
1111
+ {
1112
+ "name": "entries",
1113
+ "number": 1,
1114
+ "label": "LABEL_REPEATED",
1115
+ "type": "TYPE_MESSAGE",
1116
+ "typeName": ".gitd.v1.AuditEntry",
1117
+ "jsonName": "entries"
1118
+ }
1119
+ ]
1120
+ },
1121
+ {
1122
+ "name": "AuditEntry",
1123
+ "field": [
1124
+ {
1125
+ "name": "time",
1126
+ "number": 1,
1127
+ "label": "LABEL_OPTIONAL",
1128
+ "type": "TYPE_MESSAGE",
1129
+ "typeName": ".google.protobuf.Timestamp",
1130
+ "jsonName": "time"
1131
+ },
1132
+ {
1133
+ "name": "workspace",
1134
+ "number": 2,
1135
+ "label": "LABEL_OPTIONAL",
1136
+ "type": "TYPE_STRING",
1137
+ "jsonName": "workspace"
1138
+ },
1139
+ {
1140
+ "name": "url",
1141
+ "number": 3,
1142
+ "label": "LABEL_OPTIONAL",
1143
+ "type": "TYPE_STRING",
1144
+ "jsonName": "url"
1145
+ },
1146
+ {
1147
+ "name": "branch",
1148
+ "number": 4,
1149
+ "label": "LABEL_OPTIONAL",
1150
+ "type": "TYPE_STRING",
1151
+ "jsonName": "branch"
1152
+ },
1153
+ {
1154
+ "name": "repository",
1155
+ "number": 5,
1156
+ "label": "LABEL_OPTIONAL",
1157
+ "type": "TYPE_MESSAGE",
1158
+ "typeName": ".gitd.v1.PublishedRepository",
1159
+ "jsonName": "repository"
1160
+ },
1161
+ {
1162
+ "name": "submodules",
1163
+ "number": 6,
1164
+ "label": "LABEL_REPEATED",
1165
+ "type": "TYPE_MESSAGE",
1166
+ "typeName": ".gitd.v1.PublishedRepository",
1167
+ "jsonName": "submodules"
1168
+ },
1169
+ {
1170
+ "name": "refusal",
1171
+ "number": 7,
1172
+ "label": "LABEL_OPTIONAL",
1173
+ "type": "TYPE_MESSAGE",
1174
+ "typeName": ".gitd.v1.GitFailure",
1175
+ "jsonName": "refusal"
1176
+ }
1177
+ ]
1178
+ }
1179
+ ],
1180
+ "enumType": [
1181
+ {
1182
+ "name": "Strategy",
1183
+ "value": [
1184
+ {
1185
+ "name": "STRATEGY_UNSPECIFIED",
1186
+ "number": 0
1187
+ },
1188
+ {
1189
+ "name": "STRATEGY_COPY",
1190
+ "number": 1
1191
+ },
1192
+ {
1193
+ "name": "STRATEGY_OVERLAY",
1194
+ "number": 2
1195
+ },
1196
+ {
1197
+ "name": "STRATEGY_REFLINK",
1198
+ "number": 3
1199
+ }
1200
+ ]
1201
+ }
1202
+ ],
1203
+ "service": [
1204
+ {
1205
+ "name": "WorkspaceService",
1206
+ "method": [
1207
+ {
1208
+ "name": "Prepare",
1209
+ "inputType": ".gitd.v1.PrepareRequest",
1210
+ "outputType": ".gitd.v1.PrepareResponse",
1211
+ "serverStreaming": true
1212
+ },
1213
+ {
1214
+ "name": "Update",
1215
+ "inputType": ".gitd.v1.UpdateRequest",
1216
+ "outputType": ".gitd.v1.UpdateResponse",
1217
+ "serverStreaming": true
1218
+ },
1219
+ {
1220
+ "name": "Checkout",
1221
+ "inputType": ".gitd.v1.CheckoutRequest",
1222
+ "outputType": ".gitd.v1.CheckoutResponse",
1223
+ "serverStreaming": true
1224
+ },
1225
+ {
1226
+ "name": "SyncSubmodules",
1227
+ "inputType": ".gitd.v1.SyncSubmodulesRequest",
1228
+ "outputType": ".gitd.v1.SyncSubmodulesResponse",
1229
+ "serverStreaming": true
1230
+ },
1231
+ {
1232
+ "name": "Describe",
1233
+ "inputType": ".gitd.v1.DescribeRequest",
1234
+ "outputType": ".gitd.v1.DescribeResponse"
1235
+ },
1236
+ {
1237
+ "name": "Remove",
1238
+ "inputType": ".gitd.v1.RemoveRequest",
1239
+ "outputType": ".gitd.v1.RemoveResponse"
1240
+ },
1241
+ {
1242
+ "name": "Adopt",
1243
+ "inputType": ".gitd.v1.AdoptRequest",
1244
+ "outputType": ".gitd.v1.AdoptResponse",
1245
+ "serverStreaming": true
1246
+ },
1247
+ {
1248
+ "name": "Publish",
1249
+ "inputType": ".gitd.v1.PublishRequest",
1250
+ "outputType": ".gitd.v1.PublishResponse"
1251
+ }
1252
+ ]
1253
+ },
1254
+ {
1255
+ "name": "RepositoryService",
1256
+ "method": [
1257
+ {
1258
+ "name": "Probe",
1259
+ "inputType": ".gitd.v1.ProbeRequest",
1260
+ "outputType": ".gitd.v1.ProbeResponse"
1261
+ }
1262
+ ]
1263
+ },
1264
+ {
1265
+ "name": "ServerService",
1266
+ "method": [
1267
+ {
1268
+ "name": "Info",
1269
+ "inputType": ".gitd.v1.InfoRequest",
1270
+ "outputType": ".gitd.v1.InfoResponse"
1271
+ },
1272
+ {
1273
+ "name": "Retire",
1274
+ "inputType": ".gitd.v1.RetireRequest",
1275
+ "outputType": ".gitd.v1.RetireResponse"
1276
+ },
1277
+ {
1278
+ "name": "Audit",
1279
+ "inputType": ".gitd.v1.AuditRequest",
1280
+ "outputType": ".gitd.v1.AuditResponse"
1281
+ }
1282
+ ]
1283
+ }
1284
+ ],
1285
+ "options": {
1286
+ "goPackage": "github.com/dooservice/gitd/gen/go/gitd/v1;gitdv1"
1287
+ },
1288
+ "syntax": "proto3"
1289
+ }
1290
+ ]
1291
+ }