mirror of
https://github.com/moby/buildkit.git
synced 2026-08-06 15:50:50 +00:00
Remove gogoproto in favor of the standard protobuf compiler. This removes any nonstandard extensions that were part of gogoproto such as the custom types. Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com>
24 lines
659 B
Protocol Buffer
24 lines
659 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package moby.filesync.v1;
|
|
|
|
option go_package = "github.com/moby/buildkit/session/filesync";
|
|
|
|
import "github.com/tonistiigi/fsutil/types/wire.proto";
|
|
|
|
// FileSync exposes local files from the client to the server.
|
|
service FileSync{
|
|
rpc DiffCopy(stream fsutil.types.Packet) returns (stream fsutil.types.Packet);
|
|
rpc TarStream(stream fsutil.types.Packet) returns (stream fsutil.types.Packet);
|
|
}
|
|
|
|
// FileSend allows sending files from the server back to the client.
|
|
service FileSend{
|
|
rpc DiffCopy(stream BytesMessage) returns (stream BytesMessage);
|
|
}
|
|
|
|
// BytesMessage contains a chunk of byte data
|
|
message BytesMessage {
|
|
bytes data = 1;
|
|
}
|