2017-05-15 17:13:34 -04:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package moby.filesync.v1;
|
|
|
|
|
|
|
|
option go_package = "filesync";
|
|
|
|
|
2021-06-22 04:17:41 -04:00
|
|
|
import "github.com/tonistiigi/fsutil/types/wire.proto";
|
|
|
|
|
2017-05-15 17:13:34 -04:00
|
|
|
service FileSync{
|
2021-06-22 04:17:41 -04:00
|
|
|
rpc DiffCopy(stream fsutil.types.Packet) returns (stream fsutil.types.Packet);
|
|
|
|
rpc TarStream(stream fsutil.types.Packet) returns (stream fsutil.types.Packet);
|
2017-05-15 17:13:34 -04:00
|
|
|
}
|
|
|
|
|
2017-09-29 06:32:26 -04:00
|
|
|
service FileSend{
|
|
|
|
rpc DiffCopy(stream BytesMessage) returns (stream BytesMessage);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2017-05-15 17:13:34 -04:00
|
|
|
// BytesMessage contains a chunk of byte data
|
|
|
|
message BytesMessage{
|
|
|
|
bytes data = 1;
|
2021-06-22 04:17:41 -04:00
|
|
|
}
|