Files
velero/pkg/plugin/proto/BackupItemAction.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

28 lines
537 B
Protocol Buffer

syntax = "proto3";
package generated;
import "Shared.proto";
message ExecuteRequest {
string plugin = 1;
bytes item = 2;
bytes backup = 3;
}
message ExecuteResponse {
bytes item = 1;
repeated ResourceIdentifier additionalItems = 2;
}
message ResourceIdentifier {
string group = 1;
string resource = 2;
string namespace = 3;
string name = 4;
}
service BackupItemAction {
rpc AppliesTo(AppliesToRequest) returns (AppliesToResponse);
rpc Execute(ExecuteRequest) returns (ExecuteResponse);
}