Debian Codegraph @

rpc/rpc.pb.go

raw
1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // source: rpc.proto
3
4 package rpc
5
6 import (
7 context "context"
8 fmt "fmt"
9 proto "github.com/golang/protobuf/proto"
10 empty "github.com/golang/protobuf/ptypes/empty"
11 timestamp "github.com/golang/protobuf/ptypes/timestamp"
12 grpc "google.golang.org/grpc"
13 codes "google.golang.org/grpc/codes"
14 status "google.golang.org/grpc/status"
15 math "math"
16 )
17
18 // Reference imports to suppress errors if they are not otherwise used.
19 var _ = proto.Marshal
20 var _ = fmt.Errorf
21 var _ = math.Inf
22
23 // This is a compile-time assertion to ensure that this generated file
24 // is compatible with the proto package it is being compiled against.
25 // A compilation error at this line likely means your copy of the
26 // proto package needs to be updated.
27 const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
28
29 type ScanMirrorRequest_Method int32
30
31 const (
32 ScanMirrorRequest_ALL ScanMirrorRequest_Method = 0
33 ScanMirrorRequest_FTP ScanMirrorRequest_Method = 1
34 ScanMirrorRequest_RSYNC ScanMirrorRequest_Method = 2
35 )
36
37 var ScanMirrorRequest_Method_name = map[int32]string{
38 0: "ALL",
39 1: "FTP",
40 2: "RSYNC",
41 }
42
43 var ScanMirrorRequest_Method_value = map[string]int32{
44 "ALL": 0,
45 "FTP": 1,
46 "RSYNC": 2,
47 }
48
49 func (x ScanMirrorRequest_Method) String() string {
50 return proto.EnumName(ScanMirrorRequest_Method_name, int32(x))
51 }
52
53 func (ScanMirrorRequest_Method) EnumDescriptor() ([]byte, []int) {
54 return fileDescriptor_77a6da22d6a3feb1, []int{12, 0}
55 }
56
57 type VersionReply struct {
58 Version string `protobuf:"bytes,1,opt,name=Version,proto3" json:"Version,omitempty"`
59 Build string `protobuf:"bytes,2,opt,name=Build,proto3" json:"Build,omitempty"`
60 GoVersion string `protobuf:"bytes,3,opt,name=GoVersion,proto3" json:"GoVersion,omitempty"`
61 OS string `protobuf:"bytes,4,opt,name=OS,proto3" json:"OS,omitempty"`
62 Arch string `protobuf:"bytes,5,opt,name=Arch,proto3" json:"Arch,omitempty"`
63 GoMaxProcs int32 `protobuf:"varint,6,opt,name=GoMaxProcs,proto3" json:"GoMaxProcs,omitempty"`
64 XXX_NoUnkeyedLiteral struct{} `json:"-"`
65 XXX_unrecognized []byte `json:"-"`
66 XXX_sizecache int32 `json:"-"`
67 }
68
69 func (m *VersionReply) Reset() { *m = VersionReply{} }
70 func (m *VersionReply) String() string { return proto.CompactTextString(m) }
71 func (*VersionReply) ProtoMessage() {}
72 func (*VersionReply) Descriptor() ([]byte, []int) {
73 return fileDescriptor_77a6da22d6a3feb1, []int{0}
74 }
75
76 func (m *VersionReply) XXX_Unmarshal(b []byte) error {
77 return xxx_messageInfo_VersionReply.Unmarshal(m, b)
78 }
79 func (m *VersionReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
80 return xxx_messageInfo_VersionReply.Marshal(b, m, deterministic)
81 }
82 func (m *VersionReply) XXX_Merge(src proto.Message) {
83 xxx_messageInfo_VersionReply.Merge(m, src)
84 }
85 func (m *VersionReply) XXX_Size() int {
86 return xxx_messageInfo_VersionReply.Size(m)
87 }
88 func (m *VersionReply) XXX_DiscardUnknown() {
89 xxx_messageInfo_VersionReply.DiscardUnknown(m)
90 }
91
92 var xxx_messageInfo_VersionReply proto.InternalMessageInfo
93
94 func (m *VersionReply) GetVersion() string {
95 if m != nil {
96 return m.Version
97 }
98 return ""
99 }
100
101 func (m *VersionReply) GetBuild() string {
102 if m != nil {
103 return m.Build
104 }
105 return ""
106 }
107
108 func (m *VersionReply) GetGoVersion() string {
109 if m != nil {
110 return m.GoVersion
111 }
112 return ""
113 }
114
115 func (m *VersionReply) GetOS() string {
116 if m != nil {
117 return m.OS
118 }
119 return ""
120 }
121
122 func (m *VersionReply) GetArch() string {
123 if m != nil {
124 return m.Arch
125 }
126 return ""
127 }
128
129 func (m *VersionReply) GetGoMaxProcs() int32 {
130 if m != nil {
131 return m.GoMaxProcs
132 }
133 return 0
134 }
135
136 type MatchRequest struct {
137 Pattern string `protobuf:"bytes,1,opt,name=Pattern,proto3" json:"Pattern,omitempty"`
138 XXX_NoUnkeyedLiteral struct{} `json:"-"`
139 XXX_unrecognized []byte `json:"-"`
140 XXX_sizecache int32 `json:"-"`
141 }
142
143 func (m *MatchRequest) Reset() { *m = MatchRequest{} }
144 func (m *MatchRequest) String() string { return proto.CompactTextString(m) }
145 func (*MatchRequest) ProtoMessage() {}
146 func (*MatchRequest) Descriptor() ([]byte, []int) {
147 return fileDescriptor_77a6da22d6a3feb1, []int{1}
148 }
149
150 func (m *MatchRequest) XXX_Unmarshal(b []byte) error {
151 return xxx_messageInfo_MatchRequest.Unmarshal(m, b)
152 }
153 func (m *MatchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
154 return xxx_messageInfo_MatchRequest.Marshal(b, m, deterministic)
155 }
156 func (m *MatchRequest) XXX_Merge(src proto.Message) {
157 xxx_messageInfo_MatchRequest.Merge(m, src)
158 }
159 func (m *MatchRequest) XXX_Size() int {
160 return xxx_messageInfo_MatchRequest.Size(m)
161 }
162 func (m *MatchRequest) XXX_DiscardUnknown() {
163 xxx_messageInfo_MatchRequest.DiscardUnknown(m)
164 }
165
166 var xxx_messageInfo_MatchRequest proto.InternalMessageInfo
167
168 func (m *MatchRequest) GetPattern() string {
169 if m != nil {
170 return m.Pattern
171 }
172 return ""
173 }
174
175 type Mirror struct {
176 ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
177 Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
178 HttpURL string `protobuf:"bytes,3,opt,name=HttpURL,proto3" json:"HttpURL,omitempty"`
179 RsyncURL string `protobuf:"bytes,4,opt,name=RsyncURL,proto3" json:"RsyncURL,omitempty"`
180 FtpURL string `protobuf:"bytes,5,opt,name=FtpURL,proto3" json:"FtpURL,omitempty"`
181 SponsorName string `protobuf:"bytes,6,opt,name=SponsorName,proto3" json:"SponsorName,omitempty"`
182 SponsorURL string `protobuf:"bytes,7,opt,name=SponsorURL,proto3" json:"SponsorURL,omitempty"`
183 SponsorLogoURL string `protobuf:"bytes,8,opt,name=SponsorLogoURL,proto3" json:"SponsorLogoURL,omitempty"`
184 AdminName string `protobuf:"bytes,9,opt,name=AdminName,proto3" json:"AdminName,omitempty"`
185 AdminEmail string `protobuf:"bytes,10,opt,name=AdminEmail,proto3" json:"AdminEmail,omitempty"`
186 CustomData string `protobuf:"bytes,11,opt,name=CustomData,proto3" json:"CustomData,omitempty"`
187 ContinentOnly bool `protobuf:"varint,12,opt,name=ContinentOnly,proto3" json:"ContinentOnly,omitempty"`
188 CountryOnly bool `protobuf:"varint,13,opt,name=CountryOnly,proto3" json:"CountryOnly,omitempty"`
189 ASOnly bool `protobuf:"varint,14,opt,name=ASOnly,proto3" json:"ASOnly,omitempty"`
190 Score int32 `protobuf:"varint,15,opt,name=Score,proto3" json:"Score,omitempty"`
191 Latitude float32 `protobuf:"fixed32,16,opt,name=Latitude,proto3" json:"Latitude,omitempty"`
192 Longitude float32 `protobuf:"fixed32,17,opt,name=Longitude,proto3" json:"Longitude,omitempty"`
193 ContinentCode string `protobuf:"bytes,18,opt,name=ContinentCode,proto3" json:"ContinentCode,omitempty"`
194 CountryCodes string `protobuf:"bytes,19,opt,name=CountryCodes,proto3" json:"CountryCodes,omitempty"`
195 ExcludedCountryCodes string `protobuf:"bytes,20,opt,name=ExcludedCountryCodes,proto3" json:"ExcludedCountryCodes,omitempty"`
196 Asnum uint32 `protobuf:"varint,21,opt,name=Asnum,proto3" json:"Asnum,omitempty"`
197 Comment string `protobuf:"bytes,22,opt,name=Comment,proto3" json:"Comment,omitempty"`
198 Enabled bool `protobuf:"varint,23,opt,name=Enabled,proto3" json:"Enabled,omitempty"`
199 HttpUp bool `protobuf:"varint,24,opt,name=HttpUp,proto3" json:"HttpUp,omitempty"`
200 HttpDownReason string `protobuf:"bytes,25,opt,name=HttpDownReason,proto3" json:"HttpDownReason,omitempty"`
201 StateSince *timestamp.Timestamp `protobuf:"bytes,26,opt,name=StateSince,proto3" json:"StateSince,omitempty"`
202 AllowRedirects int32 `protobuf:"varint,27,opt,name=AllowRedirects,proto3" json:"AllowRedirects,omitempty"`
203 LastSync *timestamp.Timestamp `protobuf:"bytes,28,opt,name=LastSync,proto3" json:"LastSync,omitempty"`
204 LastSuccessfulSync *timestamp.Timestamp `protobuf:"bytes,29,opt,name=LastSuccessfulSync,proto3" json:"LastSuccessfulSync,omitempty"`
205 LastModTime *timestamp.Timestamp `protobuf:"bytes,30,opt,name=LastModTime,proto3" json:"LastModTime,omitempty"`
206 HttpsUp bool `protobuf:"varint,31,opt,name=HttpsUp,proto3" json:"HttpsUp,omitempty"`
207 HttpsDownReason string `protobuf:"bytes,32,opt,name=HttpsDownReason,proto3" json:"HttpsDownReason,omitempty"`
208 XXX_NoUnkeyedLiteral struct{} `json:"-"`
209 XXX_unrecognized []byte `json:"-"`
210 XXX_sizecache int32 `json:"-"`
211 }
212
213 func (m *Mirror) Reset() { *m = Mirror{} }
214 func (m *Mirror) String() string { return proto.CompactTextString(m) }
215 func (*Mirror) ProtoMessage() {}
216 func (*Mirror) Descriptor() ([]byte, []int) {
217 return fileDescriptor_77a6da22d6a3feb1, []int{2}
218 }
219
220 func (m *Mirror) XXX_Unmarshal(b []byte) error {
221 return xxx_messageInfo_Mirror.Unmarshal(m, b)
222 }
223 func (m *Mirror) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
224 return xxx_messageInfo_Mirror.Marshal(b, m, deterministic)
225 }
226 func (m *Mirror) XXX_Merge(src proto.Message) {
227 xxx_messageInfo_Mirror.Merge(m, src)
228 }
229 func (m *Mirror) XXX_Size() int {
230 return xxx_messageInfo_Mirror.Size(m)
231 }
232 func (m *Mirror) XXX_DiscardUnknown() {
233 xxx_messageInfo_Mirror.DiscardUnknown(m)
234 }
235
236 var xxx_messageInfo_Mirror proto.InternalMessageInfo
237
238 func (m *Mirror) GetID() int32 {
239 if m != nil {
240 return m.ID
241 }
242 return 0
243 }
244
245 func (m *Mirror) GetName() string {
246 if m != nil {
247 return m.Name
248 }
249 return ""
250 }
251
252 func (m *Mirror) GetHttpURL() string {
253 if m != nil {
254 return m.HttpURL
255 }
256 return ""
257 }
258
259 func (m *Mirror) GetRsyncURL() string {
260 if m != nil {
261 return m.RsyncURL
262 }
263 return ""
264 }
265
266 func (m *Mirror) GetFtpURL() string {
267 if m != nil {
268 return m.FtpURL
269 }
270 return ""
271 }
272
273 func (m *Mirror) GetSponsorName() string {
274 if m != nil {
275 return m.SponsorName
276 }
277 return ""
278 }
279
280 func (m *Mirror) GetSponsorURL() string {
281 if m != nil {
282 return m.SponsorURL
283 }
284 return ""
285 }
286
287 func (m *Mirror) GetSponsorLogoURL() string {
288 if m != nil {
289 return m.SponsorLogoURL
290 }
291 return ""
292 }
293
294 func (m *Mirror) GetAdminName() string {
295 if m != nil {
296 return m.AdminName
297 }
298 return ""
299 }
300
301 func (m *Mirror) GetAdminEmail() string {
302 if m != nil {
303 return m.AdminEmail
304 }
305 return ""
306 }
307
308 func (m *Mirror) GetCustomData() string {
309 if m != nil {
310 return m.CustomData
311 }
312 return ""
313 }
314
315 func (m *Mirror) GetContinentOnly() bool {
316 if m != nil {
317 return m.ContinentOnly
318 }
319 return false
320 }
321
322 func (m *Mirror) GetCountryOnly() bool {
323 if m != nil {
324 return m.CountryOnly
325 }
326 return false
327 }
328
329 func (m *Mirror) GetASOnly() bool {
330 if m != nil {
331 return m.ASOnly
332 }
333 return false
334 }
335
336 func (m *Mirror) GetScore() int32 {
337 if m != nil {
338 return m.Score
339 }
340 return 0
341 }
342
343 func (m *Mirror) GetLatitude() float32 {
344 if m != nil {
345 return m.Latitude
346 }
347 return 0
348 }
349
350 func (m *Mirror) GetLongitude() float32 {
351 if m != nil {
352 return m.Longitude
353 }
354 return 0
355 }
356
357 func (m *Mirror) GetContinentCode() string {
358 if m != nil {
359 return m.ContinentCode
360 }
361 return ""
362 }
363
364 func (m *Mirror) GetCountryCodes() string {
365 if m != nil {
366 return m.CountryCodes
367 }
368 return ""
369 }
370
371 func (m *Mirror) GetExcludedCountryCodes() string {
372 if m != nil {
373 return m.ExcludedCountryCodes
374 }
375 return ""
376 }
377
378 func (m *Mirror) GetAsnum() uint32 {
379 if m != nil {
380 return m.Asnum
381 }
382 return 0
383 }
384
385 func (m *Mirror) GetComment() string {
386 if m != nil {
387 return m.Comment
388 }
389 return ""
390 }
391
392 func (m *Mirror) GetEnabled() bool {
393 if m != nil {
394 return m.Enabled
395 }
396 return false
397 }
398
399 func (m *Mirror) GetHttpUp() bool {
400 if m != nil {
401 return m.HttpUp
402 }
403 return false
404 }
405
406 func (m *Mirror) GetHttpDownReason() string {
407 if m != nil {
408 return m.HttpDownReason
409 }
410 return ""
411 }
412
413 func (m *Mirror) GetStateSince() *timestamp.Timestamp {
414 if m != nil {
415 return m.StateSince
416 }
417 return nil
418 }
419
420 func (m *Mirror) GetAllowRedirects() int32 {
421 if m != nil {
422 return m.AllowRedirects
423 }
424 return 0
425 }
426
427 func (m *Mirror) GetLastSync() *timestamp.Timestamp {
428 if m != nil {
429 return m.LastSync
430 }
431 return nil
432 }
433
434 func (m *Mirror) GetLastSuccessfulSync() *timestamp.Timestamp {
435 if m != nil {
436 return m.LastSuccessfulSync
437 }
438 return nil
439 }
440
441 func (m *Mirror) GetLastModTime() *timestamp.Timestamp {
442 if m != nil {
443 return m.LastModTime
444 }
445 return nil
446 }
447
448 func (m *Mirror) GetHttpsUp() bool {
449 if m != nil {
450 return m.HttpsUp
451 }
452 return false
453 }
454
455 func (m *Mirror) GetHttpsDownReason() string {
456 if m != nil {
457 return m.HttpsDownReason
458 }
459 return ""
460 }
461
462 type MirrorListReply struct {
463 Mirrors []*Mirror `protobuf:"bytes,1,rep,name=Mirrors,proto3" json:"Mirrors,omitempty"`
464 XXX_NoUnkeyedLiteral struct{} `json:"-"`
465 XXX_unrecognized []byte `json:"-"`
466 XXX_sizecache int32 `json:"-"`
467 }
468
469 func (m *MirrorListReply) Reset() { *m = MirrorListReply{} }
470 func (m *MirrorListReply) String() string { return proto.CompactTextString(m) }
471 func (*MirrorListReply) ProtoMessage() {}
472 func (*MirrorListReply) Descriptor() ([]byte, []int) {
473 return fileDescriptor_77a6da22d6a3feb1, []int{3}
474 }
475
476 func (m *MirrorListReply) XXX_Unmarshal(b []byte) error {
477 return xxx_messageInfo_MirrorListReply.Unmarshal(m, b)
478 }
479 func (m *MirrorListReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
480 return xxx_messageInfo_MirrorListReply.Marshal(b, m, deterministic)
481 }
482 func (m *MirrorListReply) XXX_Merge(src proto.Message) {
483 xxx_messageInfo_MirrorListReply.Merge(m, src)
484 }
485 func (m *MirrorListReply) XXX_Size() int {
486 return xxx_messageInfo_MirrorListReply.Size(m)
487 }
488 func (m *MirrorListReply) XXX_DiscardUnknown() {
489 xxx_messageInfo_MirrorListReply.DiscardUnknown(m)
490 }
491
492 var xxx_messageInfo_MirrorListReply proto.InternalMessageInfo
493
494 func (m *MirrorListReply) GetMirrors() []*Mirror {
495 if m != nil {
496 return m.Mirrors
497 }
498 return nil
499 }
500
501 type MirrorID struct {
502 ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
503 Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
504 XXX_NoUnkeyedLiteral struct{} `json:"-"`
505 XXX_unrecognized []byte `json:"-"`
506 XXX_sizecache int32 `json:"-"`
507 }
508
509 func (m *MirrorID) Reset() { *m = MirrorID{} }
510 func (m *MirrorID) String() string { return proto.CompactTextString(m) }
511 func (*MirrorID) ProtoMessage() {}
512 func (*MirrorID) Descriptor() ([]byte, []int) {
513 return fileDescriptor_77a6da22d6a3feb1, []int{4}
514 }
515
516 func (m *MirrorID) XXX_Unmarshal(b []byte) error {
517 return xxx_messageInfo_MirrorID.Unmarshal(m, b)
518 }
519 func (m *MirrorID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
520 return xxx_messageInfo_MirrorID.Marshal(b, m, deterministic)
521 }
522 func (m *MirrorID) XXX_Merge(src proto.Message) {
523 xxx_messageInfo_MirrorID.Merge(m, src)
524 }
525 func (m *MirrorID) XXX_Size() int {
526 return xxx_messageInfo_MirrorID.Size(m)
527 }
528 func (m *MirrorID) XXX_DiscardUnknown() {
529 xxx_messageInfo_MirrorID.DiscardUnknown(m)
530 }
531
532 var xxx_messageInfo_MirrorID proto.InternalMessageInfo
533
534 func (m *MirrorID) GetID() int32 {
535 if m != nil {
536 return m.ID
537 }
538 return 0
539 }
540
541 func (m *MirrorID) GetName() string {
542 if m != nil {
543 return m.Name
544 }
545 return ""
546 }
547
548 type MatchReply struct {
549 Mirrors []*MirrorID `protobuf:"bytes,1,rep,name=Mirrors,proto3" json:"Mirrors,omitempty"`
550 XXX_NoUnkeyedLiteral struct{} `json:"-"`
551 XXX_unrecognized []byte `json:"-"`
552 XXX_sizecache int32 `json:"-"`
553 }
554
555 func (m *MatchReply) Reset() { *m = MatchReply{} }
556 func (m *MatchReply) String() string { return proto.CompactTextString(m) }
557 func (*MatchReply) ProtoMessage() {}
558 func (*MatchReply) Descriptor() ([]byte, []int) {
559 return fileDescriptor_77a6da22d6a3feb1, []int{5}
560 }
561
562 func (m *MatchReply) XXX_Unmarshal(b []byte) error {
563 return xxx_messageInfo_MatchReply.Unmarshal(m, b)
564 }
565 func (m *MatchReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
566 return xxx_messageInfo_MatchReply.Marshal(b, m, deterministic)
567 }
568 func (m *MatchReply) XXX_Merge(src proto.Message) {
569 xxx_messageInfo_MatchReply.Merge(m, src)
570 }
571 func (m *MatchReply) XXX_Size() int {
572 return xxx_messageInfo_MatchReply.Size(m)
573 }
574 func (m *MatchReply) XXX_DiscardUnknown() {
575 xxx_messageInfo_MatchReply.DiscardUnknown(m)
576 }
577
578 var xxx_messageInfo_MatchReply proto.InternalMessageInfo
579
580 func (m *MatchReply) GetMirrors() []*MirrorID {
581 if m != nil {
582 return m.Mirrors
583 }
584 return nil
585 }
586
587 type ChangeStatusRequest struct {
588 ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
589 Enabled bool `protobuf:"varint,2,opt,name=Enabled,proto3" json:"Enabled,omitempty"`
590 XXX_NoUnkeyedLiteral struct{} `json:"-"`
591 XXX_unrecognized []byte `json:"-"`
592 XXX_sizecache int32 `json:"-"`
593 }
594
595 func (m *ChangeStatusRequest) Reset() { *m = ChangeStatusRequest{} }
596 func (m *ChangeStatusRequest) String() string { return proto.CompactTextString(m) }
597 func (*ChangeStatusRequest) ProtoMessage() {}
598 func (*ChangeStatusRequest) Descriptor() ([]byte, []int) {
599 return fileDescriptor_77a6da22d6a3feb1, []int{6}
600 }
601
602 func (m *ChangeStatusRequest) XXX_Unmarshal(b []byte) error {
603 return xxx_messageInfo_ChangeStatusRequest.Unmarshal(m, b)
604 }
605 func (m *ChangeStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
606 return xxx_messageInfo_ChangeStatusRequest.Marshal(b, m, deterministic)
607 }
608 func (m *ChangeStatusRequest) XXX_Merge(src proto.Message) {
609 xxx_messageInfo_ChangeStatusRequest.Merge(m, src)
610 }
611 func (m *ChangeStatusRequest) XXX_Size() int {
612 return xxx_messageInfo_ChangeStatusRequest.Size(m)
613 }
614 func (m *ChangeStatusRequest) XXX_DiscardUnknown() {
615 xxx_messageInfo_ChangeStatusRequest.DiscardUnknown(m)
616 }
617
618 var xxx_messageInfo_ChangeStatusRequest proto.InternalMessageInfo
619
620 func (m *ChangeStatusRequest) GetID() int32 {
621 if m != nil {
622 return m.ID
623 }
624 return 0
625 }
626
627 func (m *ChangeStatusRequest) GetEnabled() bool {
628 if m != nil {
629 return m.Enabled
630 }
631 return false
632 }
633
634 type MirrorIDRequest struct {
635 ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
636 XXX_NoUnkeyedLiteral struct{} `json:"-"`
637 XXX_unrecognized []byte `json:"-"`
638 XXX_sizecache int32 `json:"-"`
639 }
640
641 func (m *MirrorIDRequest) Reset() { *m = MirrorIDRequest{} }
642 func (m *MirrorIDRequest) String() string { return proto.CompactTextString(m) }
643 func (*MirrorIDRequest) ProtoMessage() {}
644 func (*MirrorIDRequest) Descriptor() ([]byte, []int) {
645 return fileDescriptor_77a6da22d6a3feb1, []int{7}
646 }
647
648 func (m *MirrorIDRequest) XXX_Unmarshal(b []byte) error {
649 return xxx_messageInfo_MirrorIDRequest.Unmarshal(m, b)
650 }
651 func (m *MirrorIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
652 return xxx_messageInfo_MirrorIDRequest.Marshal(b, m, deterministic)
653 }
654 func (m *MirrorIDRequest) XXX_Merge(src proto.Message) {
655 xxx_messageInfo_MirrorIDRequest.Merge(m, src)
656 }
657 func (m *MirrorIDRequest) XXX_Size() int {
658 return xxx_messageInfo_MirrorIDRequest.Size(m)
659 }
660 func (m *MirrorIDRequest) XXX_DiscardUnknown() {
661 xxx_messageInfo_MirrorIDRequest.DiscardUnknown(m)
662 }
663
664 var xxx_messageInfo_MirrorIDRequest proto.InternalMessageInfo
665
666 func (m *MirrorIDRequest) GetID() int32 {
667 if m != nil {
668 return m.ID
669 }
670 return 0
671 }
672
673 type AddMirrorReply struct {
674 Latitude float32 `protobuf:"fixed32,1,opt,name=Latitude,proto3" json:"Latitude,omitempty"`
675 Longitude float32 `protobuf:"fixed32,2,opt,name=Longitude,proto3" json:"Longitude,omitempty"`
676 Country string `protobuf:"bytes,3,opt,name=Country,proto3" json:"Country,omitempty"`
677 Continent string `protobuf:"bytes,4,opt,name=Continent,proto3" json:"Continent,omitempty"`
678 ASN string `protobuf:"bytes,5,opt,name=ASN,proto3" json:"ASN,omitempty"`
679 Warnings []string `protobuf:"bytes,6,rep,name=Warnings,proto3" json:"Warnings,omitempty"`
680 XXX_NoUnkeyedLiteral struct{} `json:"-"`
681 XXX_unrecognized []byte `json:"-"`
682 XXX_sizecache int32 `json:"-"`
683 }
684
685 func (m *AddMirrorReply) Reset() { *m = AddMirrorReply{} }
686 func (m *AddMirrorReply) String() string { return proto.CompactTextString(m) }
687 func (*AddMirrorReply) ProtoMessage() {}
688 func (*AddMirrorReply) Descriptor() ([]byte, []int) {
689 return fileDescriptor_77a6da22d6a3feb1, []int{8}
690 }
691
692 func (m *AddMirrorReply) XXX_Unmarshal(b []byte) error {
693 return xxx_messageInfo_AddMirrorReply.Unmarshal(m, b)
694 }
695 func (m *AddMirrorReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
696 return xxx_messageInfo_AddMirrorReply.Marshal(b, m, deterministic)
697 }
698 func (m *AddMirrorReply) XXX_Merge(src proto.Message) {
699 xxx_messageInfo_AddMirrorReply.Merge(m, src)
700 }
701 func (m *AddMirrorReply) XXX_Size() int {
702 return xxx_messageInfo_AddMirrorReply.Size(m)
703 }
704 func (m *AddMirrorReply) XXX_DiscardUnknown() {
705 xxx_messageInfo_AddMirrorReply.DiscardUnknown(m)
706 }
707
708 var xxx_messageInfo_AddMirrorReply proto.InternalMessageInfo
709
710 func (m *AddMirrorReply) GetLatitude() float32 {
711 if m != nil {
712 return m.Latitude
713 }
714 return 0
715 }
716
717 func (m *AddMirrorReply) GetLongitude() float32 {
718 if m != nil {
719 return m.Longitude
720 }
721 return 0
722 }
723
724 func (m *AddMirrorReply) GetCountry() string {
725 if m != nil {
726 return m.Country
727 }
728 return ""
729 }
730
731 func (m *AddMirrorReply) GetContinent() string {
732 if m != nil {
733 return m.Continent
734 }
735 return ""
736 }
737
738 func (m *AddMirrorReply) GetASN() string {
739 if m != nil {
740 return m.ASN
741 }
742 return ""
743 }
744
745 func (m *AddMirrorReply) GetWarnings() []string {
746 if m != nil {
747 return m.Warnings
748 }
749 return nil
750 }
751
752 type UpdateMirrorReply struct {
753 Diff string `protobuf:"bytes,1,opt,name=Diff,proto3" json:"Diff,omitempty"`
754 XXX_NoUnkeyedLiteral struct{} `json:"-"`
755 XXX_unrecognized []byte `json:"-"`
756 XXX_sizecache int32 `json:"-"`
757 }
758
759 func (m *UpdateMirrorReply) Reset() { *m = UpdateMirrorReply{} }
760 func (m *UpdateMirrorReply) String() string { return proto.CompactTextString(m) }
761 func (*UpdateMirrorReply) ProtoMessage() {}
762 func (*UpdateMirrorReply) Descriptor() ([]byte, []int) {
763 return fileDescriptor_77a6da22d6a3feb1, []int{9}
764 }
765
766 func (m *UpdateMirrorReply) XXX_Unmarshal(b []byte) error {
767 return xxx_messageInfo_UpdateMirrorReply.Unmarshal(m, b)
768 }
769 func (m *UpdateMirrorReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
770 return xxx_messageInfo_UpdateMirrorReply.Marshal(b, m, deterministic)
771 }
772 func (m *UpdateMirrorReply) XXX_Merge(src proto.Message) {
773 xxx_messageInfo_UpdateMirrorReply.Merge(m, src)
774 }
775 func (m *UpdateMirrorReply) XXX_Size() int {
776 return xxx_messageInfo_UpdateMirrorReply.Size(m)
777 }
778 func (m *UpdateMirrorReply) XXX_DiscardUnknown() {
779 xxx_messageInfo_UpdateMirrorReply.DiscardUnknown(m)
780 }
781
782 var xxx_messageInfo_UpdateMirrorReply proto.InternalMessageInfo
783
784 func (m *UpdateMirrorReply) GetDiff() string {
785 if m != nil {
786 return m.Diff
787 }
788 return ""
789 }
790
791 type GeoUpdateMirrorReply struct {
792 Mirror *Mirror `protobuf:"bytes,1,opt,name=Mirror,proto3" json:"Mirror,omitempty"`
793 Diff string `protobuf:"bytes,2,opt,name=Diff,proto3" json:"Diff,omitempty"`
794 Warnings []string `protobuf:"bytes,3,rep,name=Warnings,proto3" json:"Warnings,omitempty"`
795 XXX_NoUnkeyedLiteral struct{} `json:"-"`
796 XXX_unrecognized []byte `json:"-"`
797 XXX_sizecache int32 `json:"-"`
798 }
799
800 func (m *GeoUpdateMirrorReply) Reset() { *m = GeoUpdateMirrorReply{} }
801 func (m *GeoUpdateMirrorReply) String() string { return proto.CompactTextString(m) }
802 func (*GeoUpdateMirrorReply) ProtoMessage() {}
803 func (*GeoUpdateMirrorReply) Descriptor() ([]byte, []int) {
804 return fileDescriptor_77a6da22d6a3feb1, []int{10}
805 }
806
807 func (m *GeoUpdateMirrorReply) XXX_Unmarshal(b []byte) error {
808 return xxx_messageInfo_GeoUpdateMirrorReply.Unmarshal(m, b)
809 }
810 func (m *GeoUpdateMirrorReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
811 return xxx_messageInfo_GeoUpdateMirrorReply.Marshal(b, m, deterministic)
812 }
813 func (m *GeoUpdateMirrorReply) XXX_Merge(src proto.Message) {
814 xxx_messageInfo_GeoUpdateMirrorReply.Merge(m, src)
815 }
816 func (m *GeoUpdateMirrorReply) XXX_Size() int {
817 return xxx_messageInfo_GeoUpdateMirrorReply.Size(m)
818 }
819 func (m *GeoUpdateMirrorReply) XXX_DiscardUnknown() {
820 xxx_messageInfo_GeoUpdateMirrorReply.DiscardUnknown(m)
821 }
822
823 var xxx_messageInfo_GeoUpdateMirrorReply proto.InternalMessageInfo
824
825 func (m *GeoUpdateMirrorReply) GetMirror() *Mirror {
826 if m != nil {
827 return m.Mirror
828 }
829 return nil
830 }
831
832 func (m *GeoUpdateMirrorReply) GetDiff() string {
833 if m != nil {
834 return m.Diff
835 }
836 return ""
837 }
838
839 func (m *GeoUpdateMirrorReply) GetWarnings() []string {
840 if m != nil {
841 return m.Warnings
842 }
843 return nil
844 }
845
846 type RefreshRepositoryRequest struct {
847 Rehash bool `protobuf:"varint,1,opt,name=Rehash,proto3" json:"Rehash,omitempty"`
848 XXX_NoUnkeyedLiteral struct{} `json:"-"`
849 XXX_unrecognized []byte `json:"-"`
850 XXX_sizecache int32 `json:"-"`
851 }
852
853 func (m *RefreshRepositoryRequest) Reset() { *m = RefreshRepositoryRequest{} }
854 func (m *RefreshRepositoryRequest) String() string { return proto.CompactTextString(m) }
855 func (*RefreshRepositoryRequest) ProtoMessage() {}
856 func (*RefreshRepositoryRequest) Descriptor() ([]byte, []int) {
857 return fileDescriptor_77a6da22d6a3feb1, []int{11}
858 }
859
860 func (m *RefreshRepositoryRequest) XXX_Unmarshal(b []byte) error {
861 return xxx_messageInfo_RefreshRepositoryRequest.Unmarshal(m, b)
862 }
863 func (m *RefreshRepositoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
864 return xxx_messageInfo_RefreshRepositoryRequest.Marshal(b, m, deterministic)
865 }
866 func (m *RefreshRepositoryRequest) XXX_Merge(src proto.Message) {
867 xxx_messageInfo_RefreshRepositoryRequest.Merge(m, src)
868 }
869 func (m *RefreshRepositoryRequest) XXX_Size() int {
870 return xxx_messageInfo_RefreshRepositoryRequest.Size(m)
871 }
872 func (m *RefreshRepositoryRequest) XXX_DiscardUnknown() {
873 xxx_messageInfo_RefreshRepositoryRequest.DiscardUnknown(m)
874 }
875
876 var xxx_messageInfo_RefreshRepositoryRequest proto.InternalMessageInfo
877
878 func (m *RefreshRepositoryRequest) GetRehash() bool {
879 if m != nil {
880 return m.Rehash
881 }
882 return false
883 }
884
885 type ScanMirrorRequest struct {
886 ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
887 AutoEnable bool `protobuf:"varint,2,opt,name=AutoEnable,proto3" json:"AutoEnable,omitempty"`
888 Protocol ScanMirrorRequest_Method `protobuf:"varint,3,opt,name=Protocol,proto3,enum=ScanMirrorRequest_Method" json:"Protocol,omitempty"`
889 XXX_NoUnkeyedLiteral struct{} `json:"-"`
890 XXX_unrecognized []byte `json:"-"`
891 XXX_sizecache int32 `json:"-"`
892 }
893
894 func (m *ScanMirrorRequest) Reset() { *m = ScanMirrorRequest{} }
895 func (m *ScanMirrorRequest) String() string { return proto.CompactTextString(m) }
896 func (*ScanMirrorRequest) ProtoMessage() {}
897 func (*ScanMirrorRequest) Descriptor() ([]byte, []int) {
898 return fileDescriptor_77a6da22d6a3feb1, []int{12}
899 }
900
901 func (m *ScanMirrorRequest) XXX_Unmarshal(b []byte) error {
902 return xxx_messageInfo_ScanMirrorRequest.Unmarshal(m, b)
903 }
904 func (m *ScanMirrorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
905 return xxx_messageInfo_ScanMirrorRequest.Marshal(b, m, deterministic)
906 }
907 func (m *ScanMirrorRequest) XXX_Merge(src proto.Message) {
908 xxx_messageInfo_ScanMirrorRequest.Merge(m, src)
909 }
910 func (m *ScanMirrorRequest) XXX_Size() int {
911 return xxx_messageInfo_ScanMirrorRequest.Size(m)
912 }
913 func (m *ScanMirrorRequest) XXX_DiscardUnknown() {
914 xxx_messageInfo_ScanMirrorRequest.DiscardUnknown(m)
915 }
916
917 var xxx_messageInfo_ScanMirrorRequest proto.InternalMessageInfo
918
919 func (m *ScanMirrorRequest) GetID() int32 {
920 if m != nil {
921 return m.ID
922 }
923 return 0
924 }
925
926 func (m *ScanMirrorRequest) GetAutoEnable() bool {
927 if m != nil {
928 return m.AutoEnable
929 }
930 return false
931 }
932
933 func (m *ScanMirrorRequest) GetProtocol() ScanMirrorRequest_Method {
934 if m != nil {
935 return m.Protocol
936 }
937 return ScanMirrorRequest_ALL
938 }
939
940 type ScanMirrorReply struct {
941 Enabled bool `protobuf:"varint,1,opt,name=Enabled,proto3" json:"Enabled,omitempty"`
942 FilesIndexed int64 `protobuf:"varint,2,opt,name=FilesIndexed,proto3" json:"FilesIndexed,omitempty"`
943 KnownIndexed int64 `protobuf:"varint,3,opt,name=KnownIndexed,proto3" json:"KnownIndexed,omitempty"`
944 Removed int64 `protobuf:"varint,4,opt,name=Removed,proto3" json:"Removed,omitempty"`
945 TZOffsetMs int64 `protobuf:"varint,5,opt,name=TZOffsetMs,proto3" json:"TZOffsetMs,omitempty"`
946 XXX_NoUnkeyedLiteral struct{} `json:"-"`
947 XXX_unrecognized []byte `json:"-"`
948 XXX_sizecache int32 `json:"-"`
949 }
950
951 func (m *ScanMirrorReply) Reset() { *m = ScanMirrorReply{} }
952 func (m *ScanMirrorReply) String() string { return proto.CompactTextString(m) }
953 func (*ScanMirrorReply) ProtoMessage() {}
954 func (*ScanMirrorReply) Descriptor() ([]byte, []int) {
955 return fileDescriptor_77a6da22d6a3feb1, []int{13}
956 }
957
958 func (m *ScanMirrorReply) XXX_Unmarshal(b []byte) error {
959 return xxx_messageInfo_ScanMirrorReply.Unmarshal(m, b)
960 }
961 func (m *ScanMirrorReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
962 return xxx_messageInfo_ScanMirrorReply.Marshal(b, m, deterministic)
963 }
964 func (m *ScanMirrorReply) XXX_Merge(src proto.Message) {
965 xxx_messageInfo_ScanMirrorReply.Merge(m, src)
966 }
967 func (m *ScanMirrorReply) XXX_Size() int {
968 return xxx_messageInfo_ScanMirrorReply.Size(m)
969 }
970 func (m *ScanMirrorReply) XXX_DiscardUnknown() {
971 xxx_messageInfo_ScanMirrorReply.DiscardUnknown(m)
972 }
973
974 var xxx_messageInfo_ScanMirrorReply proto.InternalMessageInfo
975
976 func (m *ScanMirrorReply) GetEnabled() bool {
977 if m != nil {
978 return m.Enabled
979 }
980 return false
981 }
982
983 func (m *ScanMirrorReply) GetFilesIndexed() int64 {
984 if m != nil {
985 return m.FilesIndexed
986 }
987 return 0
988 }
989
990 func (m *ScanMirrorReply) GetKnownIndexed() int64 {
991 if m != nil {
992 return m.KnownIndexed
993 }
994 return 0
995 }
996
997 func (m *ScanMirrorReply) GetRemoved() int64 {
998 if m != nil {
999 return m.Removed
1000 }
1001 return 0
1002 }
1003
1004 func (m *ScanMirrorReply) GetTZOffsetMs() int64 {
1005 if m != nil {
1006 return m.TZOffsetMs
1007 }
1008 return 0
1009 }
1010
1011 type StatsFileRequest struct {
1012 Pattern string `protobuf:"bytes,1,opt,name=Pattern,proto3" json:"Pattern,omitempty"`
1013 DateStart *timestamp.Timestamp `protobuf:"bytes,2,opt,name=DateStart,proto3" json:"DateStart,omitempty"`
1014 DateEnd *timestamp.Timestamp `protobuf:"bytes,3,opt,name=DateEnd,proto3" json:"DateEnd,omitempty"`
1015 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1016 XXX_unrecognized []byte `json:"-"`
1017 XXX_sizecache int32 `json:"-"`
1018 }
1019
1020 func (m *StatsFileRequest) Reset() { *m = StatsFileRequest{} }
1021 func (m *StatsFileRequest) String() string { return proto.CompactTextString(m) }
1022 func (*StatsFileRequest) ProtoMessage() {}
1023 func (*StatsFileRequest) Descriptor() ([]byte, []int) {
1024 return fileDescriptor_77a6da22d6a3feb1, []int{14}
1025 }
1026
1027 func (m *StatsFileRequest) XXX_Unmarshal(b []byte) error {
1028 return xxx_messageInfo_StatsFileRequest.Unmarshal(m, b)
1029 }
1030 func (m *StatsFileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1031 return xxx_messageInfo_StatsFileRequest.Marshal(b, m, deterministic)
1032 }
1033 func (m *StatsFileRequest) XXX_Merge(src proto.Message) {
1034 xxx_messageInfo_StatsFileRequest.Merge(m, src)
1035 }
1036 func (m *StatsFileRequest) XXX_Size() int {
1037 return xxx_messageInfo_StatsFileRequest.Size(m)
1038 }
1039 func (m *StatsFileRequest) XXX_DiscardUnknown() {
1040 xxx_messageInfo_StatsFileRequest.DiscardUnknown(m)
1041 }
1042
1043 var xxx_messageInfo_StatsFileRequest proto.InternalMessageInfo
1044
1045 func (m *StatsFileRequest) GetPattern() string {
1046 if m != nil {
1047 return m.Pattern
1048 }
1049 return ""
1050 }
1051
1052 func (m *StatsFileRequest) GetDateStart() *timestamp.Timestamp {
1053 if m != nil {
1054 return m.DateStart
1055 }
1056 return nil
1057 }
1058
1059 func (m *StatsFileRequest) GetDateEnd() *timestamp.Timestamp {
1060 if m != nil {
1061 return m.DateEnd
1062 }
1063 return nil
1064 }
1065
1066 type StatsFileReply struct {
1067 Files map[string]int64 `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
1068 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1069 XXX_unrecognized []byte `json:"-"`
1070 XXX_sizecache int32 `json:"-"`
1071 }
1072
1073 func (m *StatsFileReply) Reset() { *m = StatsFileReply{} }
1074 func (m *StatsFileReply) String() string { return proto.CompactTextString(m) }
1075 func (*StatsFileReply) ProtoMessage() {}
1076 func (*StatsFileReply) Descriptor() ([]byte, []int) {
1077 return fileDescriptor_77a6da22d6a3feb1, []int{15}
1078 }
1079
1080 func (m *StatsFileReply) XXX_Unmarshal(b []byte) error {
1081 return xxx_messageInfo_StatsFileReply.Unmarshal(m, b)
1082 }
1083 func (m *StatsFileReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1084 return xxx_messageInfo_StatsFileReply.Marshal(b, m, deterministic)
1085 }
1086 func (m *StatsFileReply) XXX_Merge(src proto.Message) {
1087 xxx_messageInfo_StatsFileReply.Merge(m, src)
1088 }
1089 func (m *StatsFileReply) XXX_Size() int {
1090 return xxx_messageInfo_StatsFileReply.Size(m)
1091 }
1092 func (m *StatsFileReply) XXX_DiscardUnknown() {
1093 xxx_messageInfo_StatsFileReply.DiscardUnknown(m)
1094 }
1095
1096 var xxx_messageInfo_StatsFileReply proto.InternalMessageInfo
1097
1098 func (m *StatsFileReply) GetFiles() map[string]int64 {
1099 if m != nil {
1100 return m.Files
1101 }
1102 return nil
1103 }
1104
1105 type StatsMirrorRequest struct {
1106 ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
1107 DateStart *timestamp.Timestamp `protobuf:"bytes,2,opt,name=DateStart,proto3" json:"DateStart,omitempty"`
1108 DateEnd *timestamp.Timestamp `protobuf:"bytes,3,opt,name=DateEnd,proto3" json:"DateEnd,omitempty"`
1109 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1110 XXX_unrecognized []byte `json:"-"`
1111 XXX_sizecache int32 `json:"-"`
1112 }
1113
1114 func (m *StatsMirrorRequest) Reset() { *m = StatsMirrorRequest{} }
1115 func (m *StatsMirrorRequest) String() string { return proto.CompactTextString(m) }
1116 func (*StatsMirrorRequest) ProtoMessage() {}
1117 func (*StatsMirrorRequest) Descriptor() ([]byte, []int) {
1118 return fileDescriptor_77a6da22d6a3feb1, []int{16}
1119 }
1120
1121 func (m *StatsMirrorRequest) XXX_Unmarshal(b []byte) error {
1122 return xxx_messageInfo_StatsMirrorRequest.Unmarshal(m, b)
1123 }
1124 func (m *StatsMirrorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1125 return xxx_messageInfo_StatsMirrorRequest.Marshal(b, m, deterministic)
1126 }
1127 func (m *StatsMirrorRequest) XXX_Merge(src proto.Message) {
1128 xxx_messageInfo_StatsMirrorRequest.Merge(m, src)
1129 }
1130 func (m *StatsMirrorRequest) XXX_Size() int {
1131 return xxx_messageInfo_StatsMirrorRequest.Size(m)
1132 }
1133 func (m *StatsMirrorRequest) XXX_DiscardUnknown() {
1134 xxx_messageInfo_StatsMirrorRequest.DiscardUnknown(m)
1135 }
1136
1137 var xxx_messageInfo_StatsMirrorRequest proto.InternalMessageInfo
1138
1139 func (m *StatsMirrorRequest) GetID() int32 {
1140 if m != nil {
1141 return m.ID
1142 }
1143 return 0
1144 }
1145
1146 func (m *StatsMirrorRequest) GetDateStart() *timestamp.Timestamp {
1147 if m != nil {
1148 return m.DateStart
1149 }
1150 return nil
1151 }
1152
1153 func (m *StatsMirrorRequest) GetDateEnd() *timestamp.Timestamp {
1154 if m != nil {
1155 return m.DateEnd
1156 }
1157 return nil
1158 }
1159
1160 type StatsMirrorReply struct {
1161 Mirror *Mirror `protobuf:"bytes,1,opt,name=Mirror,proto3" json:"Mirror,omitempty"`
1162 Requests int64 `protobuf:"varint,2,opt,name=Requests,proto3" json:"Requests,omitempty"`
1163 Bytes int64 `protobuf:"varint,3,opt,name=Bytes,proto3" json:"Bytes,omitempty"`
1164 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1165 XXX_unrecognized []byte `json:"-"`
1166 XXX_sizecache int32 `json:"-"`
1167 }
1168
1169 func (m *StatsMirrorReply) Reset() { *m = StatsMirrorReply{} }
1170 func (m *StatsMirrorReply) String() string { return proto.CompactTextString(m) }
1171 func (*StatsMirrorReply) ProtoMessage() {}
1172 func (*StatsMirrorReply) Descriptor() ([]byte, []int) {
1173 return fileDescriptor_77a6da22d6a3feb1, []int{17}
1174 }
1175
1176 func (m *StatsMirrorReply) XXX_Unmarshal(b []byte) error {
1177 return xxx_messageInfo_StatsMirrorReply.Unmarshal(m, b)
1178 }
1179 func (m *StatsMirrorReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1180 return xxx_messageInfo_StatsMirrorReply.Marshal(b, m, deterministic)
1181 }
1182 func (m *StatsMirrorReply) XXX_Merge(src proto.Message) {
1183 xxx_messageInfo_StatsMirrorReply.Merge(m, src)
1184 }
1185 func (m *StatsMirrorReply) XXX_Size() int {
1186 return xxx_messageInfo_StatsMirrorReply.Size(m)
1187 }
1188 func (m *StatsMirrorReply) XXX_DiscardUnknown() {
1189 xxx_messageInfo_StatsMirrorReply.DiscardUnknown(m)
1190 }
1191
1192 var xxx_messageInfo_StatsMirrorReply proto.InternalMessageInfo
1193
1194 func (m *StatsMirrorReply) GetMirror() *Mirror {
1195 if m != nil {
1196 return m.Mirror
1197 }
1198 return nil
1199 }
1200
1201 func (m *StatsMirrorReply) GetRequests() int64 {
1202 if m != nil {
1203 return m.Requests
1204 }
1205 return 0
1206 }
1207
1208 func (m *StatsMirrorReply) GetBytes() int64 {
1209 if m != nil {
1210 return m.Bytes
1211 }
1212 return 0
1213 }
1214
1215 type GetMirrorLogsRequest struct {
1216 ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
1217 MaxResults int32 `protobuf:"varint,2,opt,name=MaxResults,proto3" json:"MaxResults,omitempty"`
1218 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1219 XXX_unrecognized []byte `json:"-"`
1220 XXX_sizecache int32 `json:"-"`
1221 }
1222
1223 func (m *GetMirrorLogsRequest) Reset() { *m = GetMirrorLogsRequest{} }
1224 func (m *GetMirrorLogsRequest) String() string { return proto.CompactTextString(m) }
1225 func (*GetMirrorLogsRequest) ProtoMessage() {}
1226 func (*GetMirrorLogsRequest) Descriptor() ([]byte, []int) {
1227 return fileDescriptor_77a6da22d6a3feb1, []int{18}
1228 }
1229
1230 func (m *GetMirrorLogsRequest) XXX_Unmarshal(b []byte) error {
1231 return xxx_messageInfo_GetMirrorLogsRequest.Unmarshal(m, b)
1232 }
1233 func (m *GetMirrorLogsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1234 return xxx_messageInfo_GetMirrorLogsRequest.Marshal(b, m, deterministic)
1235 }
1236 func (m *GetMirrorLogsRequest) XXX_Merge(src proto.Message) {
1237 xxx_messageInfo_GetMirrorLogsRequest.Merge(m, src)
1238 }
1239 func (m *GetMirrorLogsRequest) XXX_Size() int {
1240 return xxx_messageInfo_GetMirrorLogsRequest.Size(m)
1241 }
1242 func (m *GetMirrorLogsRequest) XXX_DiscardUnknown() {
1243 xxx_messageInfo_GetMirrorLogsRequest.DiscardUnknown(m)
1244 }
1245
1246 var xxx_messageInfo_GetMirrorLogsRequest proto.InternalMessageInfo
1247
1248 func (m *GetMirrorLogsRequest) GetID() int32 {
1249 if m != nil {
1250 return m.ID
1251 }
1252 return 0
1253 }
1254
1255 func (m *GetMirrorLogsRequest) GetMaxResults() int32 {
1256 if m != nil {
1257 return m.MaxResults
1258 }
1259 return 0
1260 }
1261
1262 type GetMirrorLogsReply struct {
1263 Line []string `protobuf:"bytes,1,rep,name=line,proto3" json:"line,omitempty"`
1264 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1265 XXX_unrecognized []byte `json:"-"`
1266 XXX_sizecache int32 `json:"-"`
1267 }
1268
1269 func (m *GetMirrorLogsReply) Reset() { *m = GetMirrorLogsReply{} }
1270 func (m *GetMirrorLogsReply) String() string { return proto.CompactTextString(m) }
1271 func (*GetMirrorLogsReply) ProtoMessage() {}
1272 func (*GetMirrorLogsReply) Descriptor() ([]byte, []int) {
1273 return fileDescriptor_77a6da22d6a3feb1, []int{19}
1274 }
1275
1276 func (m *GetMirrorLogsReply) XXX_Unmarshal(b []byte) error {
1277 return xxx_messageInfo_GetMirrorLogsReply.Unmarshal(m, b)
1278 }
1279 func (m *GetMirrorLogsReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1280 return xxx_messageInfo_GetMirrorLogsReply.Marshal(b, m, deterministic)
1281 }
1282 func (m *GetMirrorLogsReply) XXX_Merge(src proto.Message) {
1283 xxx_messageInfo_GetMirrorLogsReply.Merge(m, src)
1284 }
1285 func (m *GetMirrorLogsReply) XXX_Size() int {
1286 return xxx_messageInfo_GetMirrorLogsReply.Size(m)
1287 }
1288 func (m *GetMirrorLogsReply) XXX_DiscardUnknown() {
1289 xxx_messageInfo_GetMirrorLogsReply.DiscardUnknown(m)
1290 }
1291
1292 var xxx_messageInfo_GetMirrorLogsReply proto.InternalMessageInfo
1293
1294 func (m *GetMirrorLogsReply) GetLine() []string {
1295 if m != nil {
1296 return m.Line
1297 }
1298 return nil
1299 }
1300
1301 func init() {
1302 proto.RegisterEnum("ScanMirrorRequest_Method", ScanMirrorRequest_Method_name, ScanMirrorRequest_Method_value)
1303 proto.RegisterType((*VersionReply)(nil), "VersionReply")
1304 proto.RegisterType((*MatchRequest)(nil), "MatchRequest")
1305 proto.RegisterType((*Mirror)(nil), "Mirror")
1306 proto.RegisterType((*MirrorListReply)(nil), "MirrorListReply")
1307 proto.RegisterType((*MirrorID)(nil), "MirrorID")
1308 proto.RegisterType((*MatchReply)(nil), "MatchReply")
1309 proto.RegisterType((*ChangeStatusRequest)(nil), "ChangeStatusRequest")
1310 proto.RegisterType((*MirrorIDRequest)(nil), "MirrorIDRequest")
1311 proto.RegisterType((*AddMirrorReply)(nil), "AddMirrorReply")
1312 proto.RegisterType((*UpdateMirrorReply)(nil), "UpdateMirrorReply")
1313 proto.RegisterType((*GeoUpdateMirrorReply)(nil), "GeoUpdateMirrorReply")
1314 proto.RegisterType((*RefreshRepositoryRequest)(nil), "RefreshRepositoryRequest")
1315 proto.RegisterType((*ScanMirrorRequest)(nil), "ScanMirrorRequest")
1316 proto.RegisterType((*ScanMirrorReply)(nil), "ScanMirrorReply")
1317 proto.RegisterType((*StatsFileRequest)(nil), "StatsFileRequest")
1318 proto.RegisterType((*StatsFileReply)(nil), "StatsFileReply")
1319 proto.RegisterMapType((map[string]int64)(nil), "StatsFileReply.FilesEntry")
1320 proto.RegisterType((*StatsMirrorRequest)(nil), "StatsMirrorRequest")
1321 proto.RegisterType((*StatsMirrorReply)(nil), "StatsMirrorReply")
1322 proto.RegisterType((*GetMirrorLogsRequest)(nil), "GetMirrorLogsRequest")
1323 proto.RegisterType((*GetMirrorLogsReply)(nil), "GetMirrorLogsReply")
1324 }
1325
1326 func init() {
1327 proto.RegisterFile("rpc.proto", fileDescriptor_77a6da22d6a3feb1)
1328 }
1329
1330 var fileDescriptor_77a6da22d6a3feb1 = []byte{
1331 // 1472 bytes of a gzipped FileDescriptorProto
1332 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x57, 0xdd, 0x72, 0x1b, 0xc5,
1333 0x12, 0xd6, 0x4a, 0xb6, 0x65, 0xb5, 0x64, 0x5b, 0x1e, 0x3b, 0x3e, 0x1b, 0x25, 0x27, 0x51, 0xe6,
1334 0xfc, 0x44, 0xa7, 0x4e, 0x9d, 0xcd, 0x89, 0x49, 0xc0, 0x15, 0x02, 0x94, 0x90, 0x6c, 0xc7, 0x20,
1335 0xc7, 0xae, 0x55, 0x0c, 0x05, 0x77, 0x1b, 0xed, 0x48, 0xde, 0x62, 0xb5, 0x23, 0x76, 0x46, 0x89,
1336 0x55, 0xc5, 0x63, 0x70, 0xc9, 0x05, 0x3c, 0x00, 0x55, 0x5c, 0xf2, 0x40, 0x3c, 0x08, 0xd5, 0x33,
1337 0xb3, 0xd2, 0x6a, 0xe5, 0x1f, 0xc8, 0x05, 0x77, 0xf3, 0x7d, 0xdd, 0x33, 0xdd, 0xd3, 0xd3, 0x3f,
1338 0xbb, 0x50, 0x8a, 0x47, 0x3d, 0x67, 0x14, 0x73, 0xc9, 0x6b, 0x77, 0x06, 0x9c, 0x0f, 0x42, 0xf6,
1339 0x48, 0xa1, 0xd7, 0xe3, 0xfe, 0x23, 0x36, 0x1c, 0xc9, 0x89, 0x11, 0xde, 0xcf, 0x0a, 0x65, 0x30,
1340 0x64, 0x42, 0x7a, 0xc3, 0x91, 0x56, 0xa0, 0x3f, 0x5a, 0x50, 0xf9, 0x82, 0xc5, 0x22, 0xe0, 0x91,
1341 0xcb, 0x46, 0xe1, 0x84, 0xd8, 0x50, 0x34, 0xd8, 0xb6, 0xea, 0x56, 0xa3, 0xe4, 0x26, 0x90, 0x6c,
1342 0xc3, 0xf2, 0xa7, 0xe3, 0x20, 0xf4, 0xed, 0xbc, 0xe2, 0x35, 0x20, 0x77, 0xa1, 0x74, 0xc8, 0x93,
1343 0x1d, 0x05, 0x25, 0x99, 0x11, 0x64, 0x1d, 0xf2, 0x27, 0x5d, 0x7b, 0x49, 0xd1, 0xf9, 0x93, 0x2e,
1344 0x21, 0xb0, 0xd4, 0x8c, 0x7b, 0xe7, 0xf6, 0xb2, 0x62, 0xd4, 0x9a, 0xdc, 0x03, 0x38, 0xe4, 0xc7,
1345 0xde, 0xc5, 0x69, 0xcc, 0x7b, 0xc2, 0x5e, 0xa9, 0x5b, 0x8d, 0x65, 0x37, 0xc5, 0xd0, 0x06, 0x54,
1346 0x8e, 0x3d, 0xd9, 0x3b, 0x77, 0xd9, 0xb7, 0x63, 0x26, 0x24, 0x7a, 0x78, 0xea, 0x49, 0xc9, 0xe2,
1347 0xa9, 0x87, 0x06, 0xd2, 0xdf, 0x56, 0x61, 0xe5, 0x38, 0x88, 0x63, 0x1e, 0xa3, 0xe1, 0xa3, 0xb6,
1348 0x92, 0x2f, 0xbb, 0xf9, 0xa3, 0x36, 0x1a, 0x7e, 0xe9, 0x0d, 0x99, 0xf1, 0x5d, 0xad, 0xf1, 0xa0,
1349 0x17, 0x52, 0x8e, 0xce, 0xdc, 0x8e, 0x71, 0x3c, 0x81, 0xa4, 0x06, 0xab, 0xae, 0x98, 0x44, 0x3d,
1350 0x14, 0x69, 0xe7, 0xa7, 0x98, 0xec, 0xc0, 0xca, 0x81, 0xde, 0xa4, 0x2f, 0x61, 0x10, 0xa9, 0x43,
1351 0xb9, 0x3b, 0xe2, 0x91, 0xe0, 0xb1, 0x32, 0xb4, 0xa2, 0x84, 0x69, 0x0a, 0x2f, 0x6a, 0x20, 0xee,
1352 0x2e, 0x2a, 0x85, 0x14, 0x43, 0xfe, 0x0d, 0xeb, 0x06, 0x75, 0xf8, 0x80, 0xa3, 0xce, 0xaa, 0xd2,
1353 0xc9, 0xb0, 0x18, 0xf2, 0xa6, 0x3f, 0x0c, 0x22, 0x65, 0xa7, 0xa4, 0x43, 0x3e, 0x25, 0xd0, 0x8a,
1354 0x02, 0xfb, 0x43, 0x2f, 0x08, 0x6d, 0xd0, 0x56, 0x66, 0x0c, 0xca, 0x5b, 0x63, 0x21, 0xf9, 0xb0,
1355 0xed, 0x49, 0xcf, 0x2e, 0x6b, 0xf9, 0x8c, 0x21, 0xff, 0x84, 0xb5, 0x16, 0x8f, 0x64, 0x10, 0xb1,
1356 0x48, 0x9e, 0x44, 0xe1, 0xc4, 0xae, 0xd4, 0xad, 0xc6, 0xaa, 0x3b, 0x4f, 0xe2, 0x6d, 0x5b, 0x7c,
1357 0x1c, 0xc9, 0x78, 0xa2, 0x74, 0xd6, 0x94, 0x4e, 0x9a, 0xc2, 0x38, 0x35, 0xbb, 0x4a, 0xb8, 0xae,
1358 0x84, 0x06, 0x61, 0x1a, 0x75, 0x7b, 0x3c, 0x66, 0xf6, 0x86, 0x7a, 0x1c, 0x0d, 0x30, 0xe2, 0x1d,
1359 0x4f, 0x06, 0x72, 0xec, 0x33, 0xbb, 0x5a, 0xb7, 0x1a, 0x79, 0x77, 0x8a, 0xf1, 0xbe, 0x1d, 0x1e,
1360 0x0d, 0xb4, 0x70, 0x53, 0x09, 0x67, 0xc4, 0x9c, 0xbf, 0x2d, 0xee, 0x33, 0x9b, 0xa8, 0x2b, 0xcd,
1361 0x93, 0x84, 0x42, 0xc5, 0x38, 0x87, 0x50, 0xd8, 0x5b, 0x4a, 0x69, 0x8e, 0x23, 0xbb, 0xb0, 0xbd,
1362 0x7f, 0xd1, 0x0b, 0xc7, 0x3e, 0xf3, 0xe7, 0x74, 0xb7, 0x95, 0xee, 0xa5, 0x32, 0xbc, 0x4d, 0x53,
1363 0x44, 0xe3, 0xa1, 0x7d, 0xab, 0x6e, 0x35, 0xd6, 0x5c, 0x0d, 0x30, 0xb3, 0x5a, 0x7c, 0x38, 0x64,
1364 0x91, 0xb4, 0x77, 0x74, 0x66, 0x19, 0x88, 0x92, 0xfd, 0xc8, 0x7b, 0x1d, 0x32, 0xdf, 0xfe, 0x9b,
1365 0x0a, 0x4b, 0x02, 0x31, 0x5e, 0x2a, 0xfd, 0x46, 0xb6, 0xad, 0xe3, 0xa5, 0x11, 0x66, 0x05, 0xae,
1366 0xda, 0xfc, 0x6d, 0xe4, 0x32, 0x4f, 0xf0, 0xc8, 0xbe, 0xad, 0xb3, 0x62, 0x9e, 0x25, 0xcf, 0x00,
1367 0xba, 0xd2, 0x93, 0xac, 0x1b, 0x44, 0x3d, 0x66, 0xd7, 0xea, 0x56, 0xa3, 0xbc, 0x5b, 0x73, 0x74,
1368 0xfd, 0x3b, 0x49, 0xfd, 0x3b, 0xaf, 0x92, 0xfa, 0x77, 0x53, 0xda, 0x68, 0xa3, 0x19, 0x86, 0xfc,
1369 0xad, 0xcb, 0xfc, 0x20, 0x66, 0x3d, 0x29, 0xec, 0x3b, 0xea, 0x71, 0x32, 0x2c, 0x79, 0x1f, 0x5f,
1370 0x49, 0xc8, 0xee, 0x24, 0xea, 0xd9, 0x77, 0x6f, 0xb4, 0x30, 0xd5, 0x25, 0x9f, 0x01, 0x51, 0xeb,
1371 0x71, 0xaf, 0xc7, 0x84, 0xe8, 0x8f, 0x43, 0x75, 0xc2, 0xdf, 0x6f, 0x3c, 0xe1, 0x92, 0x5d, 0xe4,
1372 0x39, 0x94, 0x91, 0x3d, 0xe6, 0x3e, 0xea, 0xd9, 0xf7, 0x6e, 0x3c, 0x24, 0xad, 0x9e, 0xd4, 0xbc,
1373 0x38, 0x1b, 0xd9, 0xf7, 0x75, 0xfc, 0x0d, 0x24, 0x0d, 0xd8, 0x50, 0xcb, 0x54, 0xa0, 0xeb, 0x2a,
1374 0xd0, 0x59, 0x9a, 0x3e, 0x81, 0x0d, 0xdd, 0x65, 0x3a, 0x81, 0x90, 0xba, 0x6b, 0x3e, 0x80, 0xa2,
1375 0xa6, 0x84, 0x6d, 0xd5, 0x0b, 0x8d, 0xf2, 0x6e, 0xd1, 0xd1, 0xd8, 0x4d, 0x78, 0xea, 0xc0, 0xaa,
1376 0x5e, 0x1e, 0xb5, 0xff, 0x48, 0x77, 0xa2, 0x8f, 0x01, 0x4c, 0xdb, 0x43, 0x03, 0xff, 0xc8, 0x1a,
1377 0x28, 0x39, 0xc9, 0x69, 0x33, 0x13, 0x9f, 0xc0, 0x56, 0xeb, 0xdc, 0x8b, 0x06, 0x0c, 0x9f, 0x76,
1378 0x2c, 0x92, 0x86, 0x99, 0xb5, 0x96, 0xca, 0xc1, 0xfc, 0x5c, 0x0e, 0xd2, 0x07, 0xc9, 0xcd, 0x8e,
1379 0xda, 0x57, 0x6c, 0xa6, 0xbf, 0x58, 0xb0, 0xde, 0xf4, 0x7d, 0x73, 0x3b, 0xe5, 0x5b, 0xba, 0x76,
1380 0xad, 0xeb, 0x6a, 0x37, 0x9f, 0xad, 0x5d, 0x55, 0x27, 0xaa, 0x9a, 0x92, 0x0e, 0x6c, 0x20, 0xee,
1381 0x9b, 0x16, 0xb0, 0x69, 0xc1, 0x33, 0x82, 0x54, 0xa1, 0xd0, 0xec, 0xbe, 0x34, 0x0d, 0x18, 0x97,
1382 0xe8, 0xc3, 0x97, 0x5e, 0x1c, 0x05, 0xd1, 0x00, 0x47, 0x48, 0x01, 0x3b, 0x76, 0x82, 0xe9, 0x43,
1383 0xd8, 0x3c, 0x1b, 0xf9, 0x9e, 0x64, 0x69, 0xa7, 0x09, 0x2c, 0xb5, 0x83, 0x7e, 0xdf, 0x8c, 0x10,
1384 0xb5, 0xa6, 0x03, 0xd8, 0x3e, 0x64, 0x7c, 0x51, 0xf7, 0x7e, 0x32, 0x56, 0x94, 0x76, 0xea, 0x71,
1385 0x93, 0x69, 0x93, 0x1c, 0x96, 0x9f, 0x1d, 0x36, 0xe7, 0x51, 0x21, 0xe3, 0xd1, 0x2e, 0xd8, 0x2e,
1386 0xeb, 0xc7, 0x4c, 0xe0, 0xeb, 0x72, 0x11, 0x48, 0x1e, 0x4f, 0x92, 0x80, 0xef, 0xc0, 0x8a, 0xcb,
1387 0xce, 0x3d, 0x71, 0xae, 0x8c, 0xad, 0xba, 0x06, 0xd1, 0x9f, 0x2c, 0xd8, 0xec, 0xf6, 0xbc, 0x28,
1388 0x71, 0xec, 0xf2, 0xb7, 0xc5, 0xee, 0x3f, 0x96, 0x5c, 0x3f, 0xa8, 0x79, 0xde, 0x14, 0x43, 0x9e,
1389 0xc2, 0xea, 0x29, 0x96, 0x48, 0x8f, 0x87, 0x2a, 0xe4, 0xeb, 0xbb, 0xb7, 0x9d, 0x85, 0x53, 0x9d,
1390 0x63, 0x26, 0xcf, 0xb9, 0xef, 0x4e, 0x55, 0xe9, 0xbf, 0x60, 0x45, 0x73, 0xa4, 0x08, 0x85, 0x66,
1391 0xa7, 0x53, 0xcd, 0xe1, 0xe2, 0xe0, 0xd5, 0x69, 0xd5, 0x22, 0x25, 0x58, 0x76, 0xbb, 0x5f, 0xbd,
1392 0x6c, 0x55, 0xf3, 0xf4, 0x67, 0x0b, 0x36, 0xd2, 0xa7, 0x99, 0x0f, 0x8a, 0x24, 0xdb, 0xac, 0xf9,
1393 0x8e, 0x47, 0xa1, 0x72, 0x10, 0x84, 0x4c, 0x1c, 0x45, 0x3e, 0xbb, 0x30, 0xc9, 0x58, 0x70, 0xe7,
1394 0x38, 0xd4, 0xf9, 0x3c, 0xe2, 0x6f, 0xa3, 0x44, 0xa7, 0xa0, 0x75, 0xd2, 0x1c, 0x5a, 0x70, 0xd9,
1395 0x90, 0xbf, 0x61, 0xbe, 0xca, 0x94, 0x82, 0x9b, 0x40, 0x8c, 0xc6, 0xab, 0xaf, 0x4f, 0xfa, 0x7d,
1396 0xc1, 0xe4, 0xb1, 0x50, 0xe9, 0x52, 0x70, 0x53, 0x0c, 0xfd, 0xc1, 0x82, 0x2a, 0xd6, 0x8a, 0x40,
1397 0x9b, 0x37, 0x7e, 0x5f, 0x90, 0x3d, 0x28, 0xb5, 0xb1, 0x67, 0x4a, 0x2f, 0x96, 0xca, 0xdb, 0xeb,
1398 0x1b, 0xcf, 0x4c, 0x99, 0x3c, 0x81, 0x22, 0x82, 0xfd, 0x48, 0xdf, 0xe0, 0xfa, 0x7d, 0x89, 0x2a,
1399 0xfd, 0x0e, 0xd6, 0x53, 0xde, 0x61, 0x30, 0xff, 0x0f, 0xcb, 0x7d, 0x0c, 0x8f, 0x69, 0x02, 0x35,
1400 0x67, 0x5e, 0xee, 0xa8, 0xd8, 0xed, 0x63, 0x05, 0xb9, 0x5a, 0xb1, 0xb6, 0x07, 0x30, 0x23, 0xb1,
1401 0x70, 0xbe, 0x61, 0x13, 0x73, 0x2f, 0x5c, 0xe2, 0x00, 0x7b, 0xe3, 0x85, 0x63, 0x66, 0xa2, 0xaf,
1402 0xc1, 0xb3, 0xfc, 0x9e, 0x45, 0xbf, 0xb7, 0x80, 0xa8, 0xe3, 0xaf, 0xcf, 0xb8, 0xbf, 0x3a, 0x28,
1403 0xcc, 0x3c, 0xd9, 0x9f, 0x2a, 0x50, 0xfc, 0xa0, 0xd3, 0xfe, 0x0b, 0x73, 0xd1, 0x29, 0x56, 0xdf,
1404 0xb5, 0x13, 0xc9, 0x84, 0xc9, 0x2d, 0x0d, 0xe8, 0x01, 0xf6, 0x02, 0x69, 0xfa, 0x3c, 0x1f, 0x88,
1405 0x6b, 0x0a, 0xee, 0xd8, 0xbb, 0x70, 0x99, 0x18, 0x87, 0xe6, 0xec, 0x65, 0x37, 0xc5, 0xd0, 0x06,
1406 0x90, 0xcc, 0x39, 0xa6, 0xfb, 0x84, 0x41, 0xc4, 0xd4, 0x33, 0x96, 0x5c, 0xb5, 0xde, 0xfd, 0xb5,
1407 0x08, 0x85, 0x56, 0xe7, 0x88, 0x3c, 0x05, 0x38, 0x64, 0x32, 0xf9, 0x82, 0xde, 0x59, 0x88, 0xc9,
1408 0x3e, 0x7e, 0xdf, 0xd7, 0xd6, 0x9c, 0xf4, 0x67, 0x3b, 0xcd, 0x91, 0x0f, 0xa1, 0x78, 0x36, 0x1a,
1409 0xc4, 0x9e, 0xcf, 0xae, 0xdc, 0x73, 0x05, 0x4f, 0x73, 0xe4, 0x19, 0x36, 0x9d, 0x90, 0x7b, 0xfe,
1410 0x3b, 0xec, 0xfd, 0x18, 0x2a, 0xe9, 0xa9, 0x43, 0xb6, 0x9d, 0x4b, 0x86, 0xd0, 0x35, 0xfb, 0x77,
1411 0x61, 0x09, 0x07, 0xe9, 0x95, 0x96, 0xab, 0x4e, 0x66, 0xda, 0xd2, 0x1c, 0xf9, 0x0f, 0x80, 0x19,
1412 0x54, 0x51, 0x9f, 0x93, 0xaa, 0x93, 0x99, 0x5a, 0xb5, 0x24, 0x01, 0x68, 0x8e, 0x3c, 0xc4, 0xaf,
1413 0x65, 0x33, 0xaf, 0x48, 0xc2, 0xd7, 0x36, 0x9c, 0xf9, 0x21, 0x46, 0x73, 0xe4, 0x7f, 0x50, 0x49,
1414 0xb7, 0xfe, 0x99, 0x2e, 0x71, 0x16, 0x46, 0x82, 0x0a, 0x59, 0x45, 0xb7, 0x19, 0xa3, 0xbe, 0xe8,
1415 0xc4, 0xd5, 0x57, 0x7e, 0x0e, 0x1b, 0x99, 0x41, 0x73, 0xc9, 0xf6, 0x5b, 0xce, 0x65, 0xc3, 0x88,
1416 0xe6, 0xc8, 0x0b, 0xd8, 0x5c, 0x98, 0x1e, 0xe4, 0xb6, 0x73, 0xd5, 0x44, 0xb9, 0xc6, 0x8f, 0x27,
1417 0x00, 0xb3, 0x76, 0x4d, 0xc8, 0xe2, 0x24, 0xa8, 0x55, 0x9d, 0x4c, 0x3f, 0xa7, 0x39, 0xf2, 0x18,
1418 0x4a, 0xd3, 0xb6, 0x43, 0x36, 0x9d, 0x6c, 0x03, 0xad, 0x6d, 0x64, 0xba, 0x12, 0xcd, 0x91, 0x0f,
1419 0xa0, 0x9c, 0x2a, 0x5a, 0xb2, 0xe5, 0x2c, 0x36, 0x96, 0xda, 0xa6, 0x93, 0xad, 0x6b, 0x9a, 0x23,
1420 0x7b, 0xb0, 0x74, 0x1a, 0x44, 0x83, 0x77, 0x48, 0xcb, 0x8f, 0x60, 0x6d, 0xae, 0xf0, 0x08, 0xc6,
1421 0x73, 0xb1, 0xa0, 0x6b, 0x5b, 0xce, 0x62, 0x7d, 0xd2, 0x1c, 0xf9, 0x2f, 0x94, 0xd5, 0xe7, 0x97,
1422 0xf1, 0x78, 0xcd, 0x49, 0xff, 0x83, 0xd6, 0xca, 0xce, 0xec, 0xdb, 0x8c, 0xe6, 0x5e, 0xaf, 0x28,
1423 0xeb, 0xef, 0xfd, 0x1e, 0x00, 0x00, 0xff, 0xff, 0x8e, 0xac, 0x3b, 0x6f, 0x97, 0x0f, 0x00, 0x00,
1424 }
1425
1426 // Reference imports to suppress errors if they are not otherwise used.
1427 var _ context.Context
1428 var _ grpc.ClientConnInterface
1429
1430 // This is a compile-time assertion to ensure that this generated file
1431 // is compatible with the grpc package it is being compiled against.
1432 const _ = grpc.SupportPackageIsVersion6
1433
1434 // CLIClient is the client API for CLI service.
1435 //
1436 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
1437 type CLIClient interface {
1438 GetVersion(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*VersionReply, error)
1439 Upgrade(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error)
1440 Reload(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error)
1441 ChangeStatus(ctx context.Context, in *ChangeStatusRequest, opts ...grpc.CallOption) (*empty.Empty, error)
1442 List(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*MirrorListReply, error)
1443 MirrorInfo(ctx context.Context, in *MirrorIDRequest, opts ...grpc.CallOption) (*Mirror, error)
1444 AddMirror(ctx context.Context, in *Mirror, opts ...grpc.CallOption) (*AddMirrorReply, error)
1445 UpdateMirror(ctx context.Context, in *Mirror, opts ...grpc.CallOption) (*UpdateMirrorReply, error)
1446 RemoveMirror(ctx context.Context, in *MirrorIDRequest, opts ...grpc.CallOption) (*empty.Empty, error)
1447 GeoUpdateMirror(ctx context.Context, in *MirrorIDRequest, opts ...grpc.CallOption) (*GeoUpdateMirrorReply, error)
1448 RefreshRepository(ctx context.Context, in *RefreshRepositoryRequest, opts ...grpc.CallOption) (*empty.Empty, error)
1449 ScanMirror(ctx context.Context, in *ScanMirrorRequest, opts ...grpc.CallOption) (*ScanMirrorReply, error)
1450 StatsFile(ctx context.Context, in *StatsFileRequest, opts ...grpc.CallOption) (*StatsFileReply, error)
1451 StatsMirror(ctx context.Context, in *StatsMirrorRequest, opts ...grpc.CallOption) (*StatsMirrorReply, error)
1452 Ping(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error)
1453 GetMirrorLogs(ctx context.Context, in *GetMirrorLogsRequest, opts ...grpc.CallOption) (*GetMirrorLogsReply, error)
1454 // Tools
1455 MatchMirror(ctx context.Context, in *MatchRequest, opts ...grpc.CallOption) (*MatchReply, error)
1456 }
1457
1458 type cLIClient struct {
1459 cc grpc.ClientConnInterface
1460 }
1461
1462 func NewCLIClient(cc grpc.ClientConnInterface) CLIClient {
1463 return &cLIClient{cc}
1464 }
1465
1466 func (c *cLIClient) GetVersion(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*VersionReply, error) {
1467 out := new(VersionReply)
1468 err := c.cc.Invoke(ctx, "/CLI/GetVersion", in, out, opts...)
1469 if err != nil {
1470 return nil, err
1471 }
1472 return out, nil
1473 }
1474
1475 func (c *cLIClient) Upgrade(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) {
1476 out := new(empty.Empty)
1477 err := c.cc.Invoke(ctx, "/CLI/Upgrade", in, out, opts...)
1478 if err != nil {
1479 return nil, err
1480 }
1481 return out, nil
1482 }
1483
1484 func (c *cLIClient) Reload(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) {
1485 out := new(empty.Empty)
1486 err := c.cc.Invoke(ctx, "/CLI/Reload", in, out, opts...)
1487 if err != nil {
1488 return nil, err
1489 }
1490 return out, nil
1491 }
1492
1493 func (c *cLIClient) ChangeStatus(ctx context.Context, in *ChangeStatusRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
1494 out := new(empty.Empty)
1495 err := c.cc.Invoke(ctx, "/CLI/ChangeStatus", in, out, opts...)
1496 if err != nil {
1497 return nil, err
1498 }
1499 return out, nil
1500 }
1501
1502 func (c *cLIClient) List(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*MirrorListReply, error) {
1503 out := new(MirrorListReply)
1504 err := c.cc.Invoke(ctx, "/CLI/List", in, out, opts...)
1505 if err != nil {
1506 return nil, err
1507 }
1508 return out, nil
1509 }
1510
1511 func (c *cLIClient) MirrorInfo(ctx context.Context, in *MirrorIDRequest, opts ...grpc.CallOption) (*Mirror, error) {
1512 out := new(Mirror)
1513 err := c.cc.Invoke(ctx, "/CLI/MirrorInfo", in, out, opts...)
1514 if err != nil {
1515 return nil, err
1516 }
1517 return out, nil
1518 }
1519
1520 func (c *cLIClient) AddMirror(ctx context.Context, in *Mirror, opts ...grpc.CallOption) (*AddMirrorReply, error) {
1521 out := new(AddMirrorReply)
1522 err := c.cc.Invoke(ctx, "/CLI/AddMirror", in, out, opts...)
1523 if err != nil {
1524 return nil, err
1525 }
1526 return out, nil
1527 }
1528
1529 func (c *cLIClient) UpdateMirror(ctx context.Context, in *Mirror, opts ...grpc.CallOption) (*UpdateMirrorReply, error) {
1530 out := new(UpdateMirrorReply)
1531 err := c.cc.Invoke(ctx, "/CLI/UpdateMirror", in, out, opts...)
1532 if err != nil {
1533 return nil, err
1534 }
1535 return out, nil
1536 }
1537
1538 func (c *cLIClient) RemoveMirror(ctx context.Context, in *MirrorIDRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
1539 out := new(empty.Empty)
1540 err := c.cc.Invoke(ctx, "/CLI/RemoveMirror", in, out, opts...)
1541 if err != nil {
1542 return nil, err
1543 }
1544 return out, nil
1545 }
1546
1547 func (c *cLIClient) GeoUpdateMirror(ctx context.Context, in *MirrorIDRequest, opts ...grpc.CallOption) (*GeoUpdateMirrorReply, error) {
1548 out := new(GeoUpdateMirrorReply)
1549 err := c.cc.Invoke(ctx, "/CLI/GeoUpdateMirror", in, out, opts...)
1550 if err != nil {
1551 return nil, err
1552 }
1553 return out, nil
1554 }
1555
1556 func (c *cLIClient) RefreshRepository(ctx context.Context, in *RefreshRepositoryRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
1557 out := new(empty.Empty)
1558 err := c.cc.Invoke(ctx, "/CLI/RefreshRepository", in, out, opts...)
1559 if err != nil {
1560 return nil, err
1561 }
1562 return out, nil
1563 }
1564
1565 func (c *cLIClient) ScanMirror(ctx context.Context, in *ScanMirrorRequest, opts ...grpc.CallOption) (*ScanMirrorReply, error) {
1566 out := new(ScanMirrorReply)
1567 err := c.cc.Invoke(ctx, "/CLI/ScanMirror", in, out, opts...)
1568 if err != nil {
1569 return nil, err
1570 }
1571 return out, nil
1572 }
1573
1574 func (c *cLIClient) StatsFile(ctx context.Context, in *StatsFileRequest, opts ...grpc.CallOption) (*StatsFileReply, error) {
1575 out := new(StatsFileReply)
1576 err := c.cc.Invoke(ctx, "/CLI/StatsFile", in, out, opts...)
1577 if err != nil {
1578 return nil, err
1579 }
1580 return out, nil
1581 }
1582
1583 func (c *cLIClient) StatsMirror(ctx context.Context, in *StatsMirrorRequest, opts ...grpc.CallOption) (*StatsMirrorReply, error) {
1584 out := new(StatsMirrorReply)
1585 err := c.cc.Invoke(ctx, "/CLI/StatsMirror", in, out, opts...)
1586 if err != nil {
1587 return nil, err
1588 }
1589 return out, nil
1590 }
1591
1592 func (c *cLIClient) Ping(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) {
1593 out := new(empty.Empty)
1594 err := c.cc.Invoke(ctx, "/CLI/Ping", in, out, opts...)
1595 if err != nil {
1596 return nil, err
1597 }
1598 return out, nil
1599 }
1600
1601 func (c *cLIClient) GetMirrorLogs(ctx context.Context, in *GetMirrorLogsRequest, opts ...grpc.CallOption) (*GetMirrorLogsReply, error) {
1602 out := new(GetMirrorLogsReply)
1603 err := c.cc.Invoke(ctx, "/CLI/GetMirrorLogs", in, out, opts...)
1604 if err != nil {
1605 return nil, err
1606 }
1607 return out, nil
1608 }
1609
1610 func (c *cLIClient) MatchMirror(ctx context.Context, in *MatchRequest, opts ...grpc.CallOption) (*MatchReply, error) {
1611 out := new(MatchReply)
1612 err := c.cc.Invoke(ctx, "/CLI/MatchMirror", in, out, opts...)
1613 if err != nil {
1614 return nil, err
1615 }
1616 return out, nil
1617 }
1618
1619 // CLIServer is the server API for CLI service.
1620 type CLIServer interface {
1621 GetVersion(context.Context, *empty.Empty) (*VersionReply, error)
1622 Upgrade(context.Context, *empty.Empty) (*empty.Empty, error)
1623 Reload(context.Context, *empty.Empty) (*empty.Empty, error)
1624 ChangeStatus(context.Context, *ChangeStatusRequest) (*empty.Empty, error)
1625 List(context.Context, *empty.Empty) (*MirrorListReply, error)
1626 MirrorInfo(context.Context, *MirrorIDRequest) (*Mirror, error)
1627 AddMirror(context.Context, *Mirror) (*AddMirrorReply, error)
1628 UpdateMirror(context.Context, *Mirror) (*UpdateMirrorReply, error)
1629 RemoveMirror(context.Context, *MirrorIDRequest) (*empty.Empty, error)
1630 GeoUpdateMirror(context.Context, *MirrorIDRequest) (*GeoUpdateMirrorReply, error)
1631 RefreshRepository(context.Context, *RefreshRepositoryRequest) (*empty.Empty, error)
1632 ScanMirror(context.Context, *ScanMirrorRequest) (*ScanMirrorReply, error)
1633 StatsFile(context.Context, *StatsFileRequest) (*StatsFileReply, error)
1634 StatsMirror(context.Context, *StatsMirrorRequest) (*StatsMirrorReply, error)
1635 Ping(context.Context, *empty.Empty) (*empty.Empty, error)
1636 GetMirrorLogs(context.Context, *GetMirrorLogsRequest) (*GetMirrorLogsReply, error)
1637 // Tools
1638 MatchMirror(context.Context, *MatchRequest) (*MatchReply, error)
1639 }
1640
1641 // UnimplementedCLIServer can be embedded to have forward compatible implementations.
1642 type UnimplementedCLIServer struct {
1643 }
1644
1645 func (*UnimplementedCLIServer) GetVersion(ctx context.Context, req *empty.Empty) (*VersionReply, error) {
1646 return nil, status.Errorf(codes.Unimplemented, "method GetVersion not implemented")
1647 }
1648 func (*UnimplementedCLIServer) Upgrade(ctx context.Context, req *empty.Empty) (*empty.Empty, error) {
1649 return nil, status.Errorf(codes.Unimplemented, "method Upgrade not implemented")
1650 }
1651 func (*UnimplementedCLIServer) Reload(ctx context.Context, req *empty.Empty) (*empty.Empty, error) {
1652 return nil, status.Errorf(codes.Unimplemented, "method Reload not implemented")
1653 }
1654 func (*UnimplementedCLIServer) ChangeStatus(ctx context.Context, req *ChangeStatusRequest) (*empty.Empty, error) {
1655 return nil, status.Errorf(codes.Unimplemented, "method ChangeStatus not implemented")
1656 }
1657 func (*UnimplementedCLIServer) List(ctx context.Context, req *empty.Empty) (*MirrorListReply, error) {
1658 return nil, status.Errorf(codes.Unimplemented, "method List not implemented")
1659 }
1660 func (*UnimplementedCLIServer) MirrorInfo(ctx context.Context, req *MirrorIDRequest) (*Mirror, error) {
1661 return nil, status.Errorf(codes.Unimplemented, "method MirrorInfo not implemented")
1662 }
1663 func (*UnimplementedCLIServer) AddMirror(ctx context.Context, req *Mirror) (*AddMirrorReply, error) {
1664 return nil, status.Errorf(codes.Unimplemented, "method AddMirror not implemented")
1665 }
1666 func (*UnimplementedCLIServer) UpdateMirror(ctx context.Context, req *Mirror) (*UpdateMirrorReply, error) {
1667 return nil, status.Errorf(codes.Unimplemented, "method UpdateMirror not implemented")
1668 }
1669 func (*UnimplementedCLIServer) RemoveMirror(ctx context.Context, req *MirrorIDRequest) (*empty.Empty, error) {
1670 return nil, status.Errorf(codes.Unimplemented, "method RemoveMirror not implemented")
1671 }
1672 func (*UnimplementedCLIServer) GeoUpdateMirror(ctx context.Context, req *MirrorIDRequest) (*GeoUpdateMirrorReply, error) {
1673 return nil, status.Errorf(codes.Unimplemented, "method GeoUpdateMirror not implemented")
1674 }
1675 func (*UnimplementedCLIServer) RefreshRepository(ctx context.Context, req *RefreshRepositoryRequest) (*empty.Empty, error) {
1676 return nil, status.Errorf(codes.Unimplemented, "method RefreshRepository not implemented")
1677 }
1678 func (*UnimplementedCLIServer) ScanMirror(ctx context.Context, req *ScanMirrorRequest) (*ScanMirrorReply, error) {
1679 return nil, status.Errorf(codes.Unimplemented, "method ScanMirror not implemented")
1680 }
1681 func (*UnimplementedCLIServer) StatsFile(ctx context.Context, req *StatsFileRequest) (*StatsFileReply, error) {
1682 return nil, status.Errorf(codes.Unimplemented, "method StatsFile not implemented")
1683 }
1684 func (*UnimplementedCLIServer) StatsMirror(ctx context.Context, req *StatsMirrorRequest) (*StatsMirrorReply, error) {
1685 return nil, status.Errorf(codes.Unimplemented, "method StatsMirror not implemented")
1686 }
1687 func (*UnimplementedCLIServer) Ping(ctx context.Context, req *empty.Empty) (*empty.Empty, error) {
1688 return nil, status.Errorf(codes.Unimplemented, "method Ping not implemented")
1689 }
1690 func (*UnimplementedCLIServer) GetMirrorLogs(ctx context.Context, req *GetMirrorLogsRequest) (*GetMirrorLogsReply, error) {
1691 return nil, status.Errorf(codes.Unimplemented, "method GetMirrorLogs not implemented")
1692 }
1693 func (*UnimplementedCLIServer) MatchMirror(ctx context.Context, req *MatchRequest) (*MatchReply, error) {
1694 return nil, status.Errorf(codes.Unimplemented, "method MatchMirror not implemented")
1695 }
1696
1697 func RegisterCLIServer(s *grpc.Server, srv CLIServer) {
1698 s.RegisterService(&_CLI_serviceDesc, srv)
1699 }
1700
1701 func _CLI_GetVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1702 in := new(empty.Empty)
1703 if err := dec(in); err != nil {
1704 return nil, err
1705 }
1706 if interceptor == nil {
1707 return srv.(CLIServer).GetVersion(ctx, in)
1708 }
1709 info := &grpc.UnaryServerInfo{
1710 Server: srv,
1711 FullMethod: "/CLI/GetVersion",
1712 }
1713 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1714 return srv.(CLIServer).GetVersion(ctx, req.(*empty.Empty))
1715 }
1716 return interceptor(ctx, in, info, handler)
1717 }
1718
1719 func _CLI_Upgrade_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1720 in := new(empty.Empty)
1721 if err := dec(in); err != nil {
1722 return nil, err
1723 }
1724 if interceptor == nil {
1725 return srv.(CLIServer).Upgrade(ctx, in)
1726 }
1727 info := &grpc.UnaryServerInfo{
1728 Server: srv,
1729 FullMethod: "/CLI/Upgrade",
1730 }
1731 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1732 return srv.(CLIServer).Upgrade(ctx, req.(*empty.Empty))
1733 }
1734 return interceptor(ctx, in, info, handler)
1735 }
1736
1737 func _CLI_Reload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1738 in := new(empty.Empty)
1739 if err := dec(in); err != nil {
1740 return nil, err
1741 }
1742 if interceptor == nil {
1743 return srv.(CLIServer).Reload(ctx, in)
1744 }
1745 info := &grpc.UnaryServerInfo{
1746 Server: srv,
1747 FullMethod: "/CLI/Reload",
1748 }
1749 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1750 return srv.(CLIServer).Reload(ctx, req.(*empty.Empty))
1751 }
1752 return interceptor(ctx, in, info, handler)
1753 }
1754
1755 func _CLI_ChangeStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1756 in := new(ChangeStatusRequest)
1757 if err := dec(in); err != nil {
1758 return nil, err
1759 }
1760 if interceptor == nil {
1761 return srv.(CLIServer).ChangeStatus(ctx, in)
1762 }
1763 info := &grpc.UnaryServerInfo{
1764 Server: srv,
1765 FullMethod: "/CLI/ChangeStatus",
1766 }
1767 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1768 return srv.(CLIServer).ChangeStatus(ctx, req.(*ChangeStatusRequest))
1769 }
1770 return interceptor(ctx, in, info, handler)
1771 }
1772
1773 func _CLI_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1774 in := new(empty.Empty)
1775 if err := dec(in); err != nil {
1776 return nil, err
1777 }
1778 if interceptor == nil {
1779 return srv.(CLIServer).List(ctx, in)
1780 }
1781 info := &grpc.UnaryServerInfo{
1782 Server: srv,
1783 FullMethod: "/CLI/List",
1784 }
1785 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1786 return srv.(CLIServer).List(ctx, req.(*empty.Empty))
1787 }
1788 return interceptor(ctx, in, info, handler)
1789 }
1790
1791 func _CLI_MirrorInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1792 in := new(MirrorIDRequest)
1793 if err := dec(in); err != nil {
1794 return nil, err
1795 }
1796 if interceptor == nil {
1797 return srv.(CLIServer).MirrorInfo(ctx, in)
1798 }
1799 info := &grpc.UnaryServerInfo{
1800 Server: srv,
1801 FullMethod: "/CLI/MirrorInfo",
1802 }
1803 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1804 return srv.(CLIServer).MirrorInfo(ctx, req.(*MirrorIDRequest))
1805 }
1806 return interceptor(ctx, in, info, handler)
1807 }
1808
1809 func _CLI_AddMirror_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1810 in := new(Mirror)
1811 if err := dec(in); err != nil {
1812 return nil, err
1813 }
1814 if interceptor == nil {
1815 return srv.(CLIServer).AddMirror(ctx, in)
1816 }
1817 info := &grpc.UnaryServerInfo{
1818 Server: srv,
1819 FullMethod: "/CLI/AddMirror",
1820 }
1821 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1822 return srv.(CLIServer).AddMirror(ctx, req.(*Mirror))
1823 }
1824 return interceptor(ctx, in, info, handler)
1825 }
1826
1827 func _CLI_UpdateMirror_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1828 in := new(Mirror)
1829 if err := dec(in); err != nil {
1830 return nil, err
1831 }
1832 if interceptor == nil {
1833 return srv.(CLIServer).UpdateMirror(ctx, in)
1834 }
1835 info := &grpc.UnaryServerInfo{
1836 Server: srv,
1837 FullMethod: "/CLI/UpdateMirror",
1838 }
1839 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1840 return srv.(CLIServer).UpdateMirror(ctx, req.(*Mirror))
1841 }
1842 return interceptor(ctx, in, info, handler)
1843 }
1844
1845 func _CLI_RemoveMirror_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1846 in := new(MirrorIDRequest)
1847 if err := dec(in); err != nil {
1848 return nil, err
1849 }
1850 if interceptor == nil {
1851 return srv.(CLIServer).RemoveMirror(ctx, in)
1852 }
1853 info := &grpc.UnaryServerInfo{
1854 Server: srv,
1855 FullMethod: "/CLI/RemoveMirror",
1856 }
1857 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1858 return srv.(CLIServer).RemoveMirror(ctx, req.(*MirrorIDRequest))
1859 }
1860 return interceptor(ctx, in, info, handler)
1861 }
1862
1863 func _CLI_GeoUpdateMirror_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1864 in := new(MirrorIDRequest)
1865 if err := dec(in); err != nil {
1866 return nil, err
1867 }
1868 if interceptor == nil {
1869 return srv.(CLIServer).GeoUpdateMirror(ctx, in)
1870 }
1871 info := &grpc.UnaryServerInfo{
1872 Server: srv,
1873 FullMethod: "/CLI/GeoUpdateMirror",
1874 }
1875 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1876 return srv.(CLIServer).GeoUpdateMirror(ctx, req.(*MirrorIDRequest))
1877 }
1878 return interceptor(ctx, in, info, handler)
1879 }
1880
1881 func _CLI_RefreshRepository_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1882 in := new(RefreshRepositoryRequest)
1883 if err := dec(in); err != nil {
1884 return nil, err
1885 }
1886 if interceptor == nil {
1887 return srv.(CLIServer).RefreshRepository(ctx, in)
1888 }
1889 info := &grpc.UnaryServerInfo{
1890 Server: srv,
1891 FullMethod: "/CLI/RefreshRepository",
1892 }
1893 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1894 return srv.(CLIServer).RefreshRepository(ctx, req.(*RefreshRepositoryRequest))
1895 }
1896 return interceptor(ctx, in, info, handler)
1897 }
1898
1899 func _CLI_ScanMirror_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1900 in := new(ScanMirrorRequest)
1901 if err := dec(in); err != nil {
1902 return nil, err
1903 }
1904 if interceptor == nil {
1905 return srv.(CLIServer).ScanMirror(ctx, in)
1906 }
1907 info := &grpc.UnaryServerInfo{
1908 Server: srv,
1909 FullMethod: "/CLI/ScanMirror",
1910 }
1911 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1912 return srv.(CLIServer).ScanMirror(ctx, req.(*ScanMirrorRequest))
1913 }
1914 return interceptor(ctx, in, info, handler)
1915 }
1916
1917 func _CLI_StatsFile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1918 in := new(StatsFileRequest)
1919 if err := dec(in); err != nil {
1920 return nil, err
1921 }
1922 if interceptor == nil {
1923 return srv.(CLIServer).StatsFile(ctx, in)
1924 }
1925 info := &grpc.UnaryServerInfo{
1926 Server: srv,
1927 FullMethod: "/CLI/StatsFile",
1928 }
1929 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1930 return srv.(CLIServer).StatsFile(ctx, req.(*StatsFileRequest))
1931 }
1932 return interceptor(ctx, in, info, handler)
1933 }
1934
1935 func _CLI_StatsMirror_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1936 in := new(StatsMirrorRequest)
1937 if err := dec(in); err != nil {
1938 return nil, err
1939 }
1940 if interceptor == nil {
1941 return srv.(CLIServer).StatsMirror(ctx, in)
1942 }
1943 info := &grpc.UnaryServerInfo{
1944 Server: srv,
1945 FullMethod: "/CLI/StatsMirror",
1946 }
1947 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1948 return srv.(CLIServer).StatsMirror(ctx, req.(*StatsMirrorRequest))
1949 }
1950 return interceptor(ctx, in, info, handler)
1951 }
1952
1953 func _CLI_Ping_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1954 in := new(empty.Empty)
1955 if err := dec(in); err != nil {
1956 return nil, err
1957 }
1958 if interceptor == nil {
1959 return srv.(CLIServer).Ping(ctx, in)
1960 }
1961 info := &grpc.UnaryServerInfo{
1962 Server: srv,
1963 FullMethod: "/CLI/Ping",
1964 }
1965 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1966 return srv.(CLIServer).Ping(ctx, req.(*empty.Empty))
1967 }
1968 return interceptor(ctx, in, info, handler)
1969 }
1970
1971 func _CLI_GetMirrorLogs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1972 in := new(GetMirrorLogsRequest)
1973 if err := dec(in); err != nil {
1974 return nil, err
1975 }
1976 if interceptor == nil {
1977 return srv.(CLIServer).GetMirrorLogs(ctx, in)
1978 }
1979 info := &grpc.UnaryServerInfo{
1980 Server: srv,
1981 FullMethod: "/CLI/GetMirrorLogs",
1982 }
1983 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1984 return srv.(CLIServer).GetMirrorLogs(ctx, req.(*GetMirrorLogsRequest))
1985 }
1986 return interceptor(ctx, in, info, handler)
1987 }
1988
1989 func _CLI_MatchMirror_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1990 in := new(MatchRequest)
1991 if err := dec(in); err != nil {
1992 return nil, err
1993 }
1994 if interceptor == nil {
1995 return srv.(CLIServer).MatchMirror(ctx, in)
1996 }
1997 info := &grpc.UnaryServerInfo{
1998 Server: srv,
1999 FullMethod: "/CLI/MatchMirror",
2000 }
2001 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2002 return srv.(CLIServer).MatchMirror(ctx, req.(*MatchRequest))
2003 }
2004 return interceptor(ctx, in, info, handler)
2005 }
2006
2007 var _CLI_serviceDesc = grpc.ServiceDesc{
2008 ServiceName: "CLI",
2009 HandlerType: (*CLIServer)(nil),
2010 Methods: []grpc.MethodDesc{
2011 {
2012 MethodName: "GetVersion",
2013 Handler: _CLI_GetVersion_Handler,
2014 },
2015 {
2016 MethodName: "Upgrade",
2017 Handler: _CLI_Upgrade_Handler,
2018 },
2019 {
2020 MethodName: "Reload",
2021 Handler: _CLI_Reload_Handler,
2022 },
2023 {
2024 MethodName: "ChangeStatus",
2025 Handler: _CLI_ChangeStatus_Handler,
2026 },
2027 {
2028 MethodName: "List",
2029 Handler: _CLI_List_Handler,
2030 },
2031 {
2032 MethodName: "MirrorInfo",
2033 Handler: _CLI_MirrorInfo_Handler,
2034 },
2035 {
2036 MethodName: "AddMirror",
2037 Handler: _CLI_AddMirror_Handler,
2038 },
2039 {
2040 MethodName: "UpdateMirror",
2041 Handler: _CLI_UpdateMirror_Handler,
2042 },
2043 {
2044 MethodName: "RemoveMirror",
2045 Handler: _CLI_RemoveMirror_Handler,
2046 },
2047 {
2048 MethodName: "GeoUpdateMirror",
2049 Handler: _CLI_GeoUpdateMirror_Handler,
2050 },
2051 {
2052 MethodName: "RefreshRepository",
2053 Handler: _CLI_RefreshRepository_Handler,
2054 },
2055 {
2056 MethodName: "ScanMirror",
2057 Handler: _CLI_ScanMirror_Handler,
2058 },
2059 {
2060 MethodName: "StatsFile",
2061 Handler: _CLI_StatsFile_Handler,
2062 },
2063 {
2064 MethodName: "StatsMirror",
2065 Handler: _CLI_StatsMirror_Handler,
2066 },
2067 {
2068 MethodName: "Ping",
2069 Handler: _CLI_Ping_Handler,
2070 },
2071 {
2072 MethodName: "GetMirrorLogs",
2073 Handler: _CLI_GetMirrorLogs_Handler,
2074 },
2075 {
2076 MethodName: "MatchMirror",
2077 Handler: _CLI_MatchMirror_Handler,
2078 },
2079 },
2080 Streams: []grpc.StreamDesc{},
2081 Metadata: "rpc.proto",
2082 }