Add streaming service
Adds a service capable of streaming Any objects bi-directionally. This can be used by services to send data, received data, or to initiate requests from server to client. Signed-off-by: Derek McGowan <derek@mcg.dev>
This commit is contained in:
@@ -4972,6 +4972,36 @@ file {
|
||||
}
|
||||
syntax: "proto3"
|
||||
}
|
||||
file {
|
||||
name: "github.com/containerd/containerd/api/services/streaming/v1/streaming.proto"
|
||||
package: "containerd.services.streaming.v1"
|
||||
dependency: "gogoproto/gogo.proto"
|
||||
dependency: "google/protobuf/any.proto"
|
||||
message_type {
|
||||
name: "StreamInit"
|
||||
field {
|
||||
name: "id"
|
||||
number: 1
|
||||
label: LABEL_OPTIONAL
|
||||
type: TYPE_STRING
|
||||
json_name: "id"
|
||||
}
|
||||
}
|
||||
service {
|
||||
name: "Streaming"
|
||||
method {
|
||||
name: "Stream"
|
||||
input_type: ".google.protobuf.Any"
|
||||
output_type: ".google.protobuf.Any"
|
||||
client_streaming: true
|
||||
server_streaming: true
|
||||
}
|
||||
}
|
||||
options {
|
||||
go_package: "github.com/containerd/containerd/api/services/streaming/v1;streaming"
|
||||
}
|
||||
syntax: "proto3"
|
||||
}
|
||||
file {
|
||||
name: "github.com/containerd/containerd/api/types/metrics.proto"
|
||||
package: "containerd.types"
|
||||
|
||||
Reference in New Issue
Block a user