|
1 | | -syntax = "proto3"; |
| 1 | +syntax = "proto3"; |
2 | 2 |
|
3 | 3 | // NETWORK SERVICES |
4 | 4 |
|
5 | 5 | message DiscoverServiceRequest { |
6 | 6 | map<string, string> labels = 1; |
7 | 7 | } |
| 8 | + |
8 | 9 | message ServiceDiscoveryResponse { |
9 | 10 | repeated string service_ids = 1; |
10 | 11 | } |
11 | 12 |
|
12 | 13 | message PublishServiceRequest { |
13 | 14 | map<string, string> labels = 1; |
14 | 15 | } |
| 16 | + |
15 | 17 | message PublishServiceResponse { |
16 | 18 | string service_id = 1; |
17 | 19 | } |
18 | 20 |
|
19 | 21 | message DelistServiceRequest { |
20 | 22 | string service_id = 1; |
21 | 23 | } |
22 | | -message DelistServiceResponse {} |
| 24 | + |
| 25 | +message DelistServiceResponse { |
| 26 | +} |
23 | 27 |
|
24 | 28 | message ExposeChannelRequest { |
25 | 29 | map<string, string> labels = 1; |
26 | 30 | } |
| 31 | + |
27 | 32 | message ExposeChannelResponse { |
28 | 33 | string channel_id = 1; |
29 | 34 | } |
30 | 35 |
|
31 | 36 | message ConcealChannelRequest { |
32 | 37 | string channel_id = 1; |
33 | 38 | } |
34 | | -message ConcealChannelResponse {} |
| 39 | + |
| 40 | +message ConcealChannelResponse { |
| 41 | +} |
35 | 42 |
|
36 | 43 | message CreateConnectionRequest { |
37 | 44 | map<string, string> labels = 1; |
38 | 45 | } |
| 46 | + |
39 | 47 | message CreateConnectionResponse { |
40 | 48 | string connection_id = 1; |
41 | 49 | } |
42 | 50 |
|
43 | 51 | message DestroyConnectionRequest { |
44 | 52 | string connection_id = 1; |
45 | 53 | } |
46 | | -message DestroyConnectionResponse {} |
| 54 | + |
| 55 | +message DestroyConnectionResponse { |
| 56 | +} |
47 | 57 |
|
48 | 58 | service NetworkServices { |
49 | 59 | rpc DiscoverService (DiscoverServiceRequest) returns (ServiceDiscoveryResponse); |
|
0 commit comments