2015-06-25 20:03:42 +03:00
|
|
|
// This package contains the data structures for a service allowing
|
2015-06-10 20:39:23 +03:00
|
|
|
// you to use vtctld as a server for vt commands.
|
|
|
|
|
2015-02-27 20:07:03 +03:00
|
|
|
syntax = "proto3";
|
|
|
|
|
2015-06-19 18:20:58 +03:00
|
|
|
package vtctldata;
|
2015-02-27 20:07:03 +03:00
|
|
|
|
2015-06-25 17:37:19 +03:00
|
|
|
import "logutil.proto";
|
2015-02-27 20:07:03 +03:00
|
|
|
|
2015-06-10 20:39:23 +03:00
|
|
|
// ExecuteVtctlCommandRequest is the payload for ExecuteVtctlCommand.
|
|
|
|
// timeouts are in nanoseconds.
|
|
|
|
message ExecuteVtctlCommandRequest {
|
|
|
|
repeated string args = 1;
|
|
|
|
int64 action_timeout = 2;
|
|
|
|
int64 lock_timeout = 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
// ExecuteVtctlCommandResponse is streamed back by ExecuteVtctlCommand.
|
|
|
|
message ExecuteVtctlCommandResponse {
|
2015-06-25 17:37:19 +03:00
|
|
|
logutil.Event event = 1;
|
2015-02-27 20:07:03 +03:00
|
|
|
}
|