File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change 1+ syntax = "proto3" ;
2+
3+ import "aeon_error.proto" ;
4+ import "aeon_value.proto" ;
5+
6+ package aeon ;
7+
8+ // Internal API to Aeon - a distributed database based on Tarantool.
9+ service InternalService {
10+ // Get configurations of all instances.
11+ rpc GetConfig (GetConfigRequest ) returns (GetConfigResponse ) {}
12+ }
13+
14+ // Get configurations of all instances.
15+
16+ // General structure of returned configuration
17+ message Config {
18+ // Structure of configuration of single instance.
19+ message Instance {
20+ // Name of the instance.
21+ string name = 1 ;
22+ // Replicaset of the instance.
23+ string replicaset = 2 ;
24+ // Group of the instance.
25+ string group = 3 ;
26+ // URI of the instance.
27+ Value uri = 4 ;
28+ // Tarantool instance configuration.
29+ Value config = 5 ;
30+ }
31+ // The name of the instance that provided this configuration.
32+ string name = 1 ;
33+ // Configurations of all instances.
34+ repeated Instance instances = 2 ;
35+ }
36+
37+ message GetConfigRequest {}
38+
39+ message GetConfigResponse {
40+ // Error information. Set only on failure.
41+ Error error = 1 ;
42+ // Configurations of instances.
43+ Config config = 2 ;
44+ }
You can’t perform that action at this time.
0 commit comments