Add binary stream functionality and helpers

Signed-off-by: Derek McGowan <derek@mcg.dev>
This commit is contained in:
Derek McGowan
2022-08-17 15:31:43 -07:00
parent e506cd103f
commit adfaeeff0d
6 changed files with 686 additions and 20 deletions

View File

@@ -6041,7 +6041,6 @@ file {
file {
name: "github.com/containerd/containerd/api/types/transfer/streaming.proto"
package: "containerd.v1.types"
dependency: "google/protobuf/timestamp.proto"
message_type {
name: "Progress"
field {
@@ -6073,6 +6072,26 @@ file {
json_name: "total"
}
}
message_type {
name: "Data"
field {
name: "data"
number: 1
label: LABEL_OPTIONAL
type: TYPE_BYTES
json_name: "data"
}
}
message_type {
name: "WindowUpdate"
field {
name: "update"
number: 1
label: LABEL_OPTIONAL
type: TYPE_INT32
json_name: "update"
}
}
options {
go_package: "github.com/containerd/containerd/api/types/transfer"
}