Files
velero/pkg/plugin/proto/RestoreItemAction.proto
Andy Goldstein 130512187a Refactor plugin management
Refactor plugin management:
- support multiple plugins per executable
- support restarting a plugin process in the event it terminates
- simplify plugin lifecycle management by using separate managers for
  each scope (server vs backup vs restore)

Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
2018-07-31 08:34:57 -07:00

21 lines
412 B
Protocol Buffer

syntax = "proto3";
package generated;
import "Shared.proto";
message RestoreExecuteRequest {
string plugin = 1;
bytes item = 2;
bytes restore = 3;
}
message RestoreExecuteResponse {
bytes item = 1;
string warning = 2;
}
service RestoreItemAction {
rpc AppliesTo(AppliesToRequest) returns (AppliesToResponse);
rpc Execute(RestoreExecuteRequest) returns (RestoreExecuteResponse);
}