mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-05-18 17:37:46 +08:00

- tests: implement NetNSDetached method
full diff: 6e200afad5...6bd81372ad
Co-authored-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
24 lines
626 B
Protocol Buffer
24 lines
626 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package moby.filesync.v1;
|
|
|
|
option go_package = "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;
|
|
}
|