File tree Expand file tree Collapse file tree 1 file changed +20
-1
lines changed
Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -13,11 +13,30 @@ service InternalService {
1313
1414// Get configurations of all instances.
1515
16+ // General structure of returned configuration
17+ message ConfigData {
18+ // Structure of configuration of single instance.
19+ message InstanceConfig {
20+ // Tarantool instance configuration.
21+ MapValue config
22+ // Instance URI.
23+ Value uri
24+ // Instance replicaset.
25+ string replicaset
26+ // Instance group.
27+ string group
28+ }
29+ // The name of the instance that provided this configuration.
30+ string name
31+ // Configurations of all instances.
32+ map<string, InstanceConfig> instances
33+ }
34+
1635message GetConfigRequest {}
1736
1837message GetConfigResponse {
1938 // Error information. Set only on failure.
2039 Error error = 1 ;
2140 // Configurations of instances.
22- Value config = 2 ;
41+ ConfigData config = 2 ;
2342}
You can’t perform that action at this time.
0 commit comments