2015-07-07 01:17:41 +03:00
|
|
|
// This file contains the service definition for making management API
|
|
|
|
// calls to mysqlctld.
|
|
|
|
|
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package mysqlctl;
|
|
|
|
|
2016-07-25 19:33:06 +03:00
|
|
|
message StartRequest{
|
|
|
|
repeated string mysqld_args = 1;
|
|
|
|
}
|
2015-07-07 01:17:41 +03:00
|
|
|
|
|
|
|
message StartResponse{}
|
|
|
|
|
|
|
|
message ShutdownRequest{
|
|
|
|
bool wait_for_mysqld = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message ShutdownResponse{}
|
|
|
|
|
|
|
|
message RunMysqlUpgradeRequest{}
|
|
|
|
|
|
|
|
message RunMysqlUpgradeResponse{}
|
|
|
|
|
2016-06-28 01:24:08 +03:00
|
|
|
message ReinitConfigRequest{}
|
|
|
|
|
|
|
|
message ReinitConfigResponse{}
|
|
|
|
|
2015-07-07 01:17:41 +03:00
|
|
|
// MysqlCtl is the service definition
|
|
|
|
service MysqlCtl {
|
|
|
|
rpc Start(StartRequest) returns (StartResponse) {};
|
|
|
|
rpc Shutdown(ShutdownRequest) returns (ShutdownResponse) {};
|
|
|
|
rpc RunMysqlUpgrade(RunMysqlUpgradeRequest) returns (RunMysqlUpgradeResponse) {};
|
2016-06-28 01:24:08 +03:00
|
|
|
rpc ReinitConfig(ReinitConfigRequest) returns (ReinitConfigResponse) {};
|
2015-07-07 01:17:41 +03:00
|
|
|
}
|