var File_github_com_containerd_containerd_api_services_streaming_v1_streaming_proto protoreflect.FileDescriptor
Streaming_ServiceDesc is the grpc.ServiceDesc for Streaming service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Streaming_ServiceDesc = grpc.ServiceDesc{ ServiceName: "containerd.services.streaming.v1.Streaming", HandlerType: (*StreamingServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{ { StreamName: "Stream", Handler: _Streaming_Stream_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "github.com/containerd/containerd/api/services/streaming/v1/streaming.proto", }
func RegisterStreamingServer(s grpc.ServiceRegistrar, srv StreamingServer)
type StreamInit struct { ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*StreamInit) Descriptor() ([]byte, []int)
Deprecated: Use StreamInit.ProtoReflect.Descriptor instead.
func (x *StreamInit) GetID() string
func (*StreamInit) ProtoMessage()
func (x *StreamInit) ProtoReflect() protoreflect.Message
func (x *StreamInit) Reset()
func (x *StreamInit) String() string
StreamingClient is the client API for Streaming service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
type StreamingClient interface { Stream(ctx context.Context, opts ...grpc.CallOption) (Streaming_StreamClient, error) }
func NewStreamingClient(cc grpc.ClientConnInterface) StreamingClient
StreamingServer is the server API for Streaming service. All implementations must embed UnimplementedStreamingServer for forward compatibility
type StreamingServer interface { Stream(Streaming_StreamServer) error // contains filtered or unexported methods }
type Streaming_StreamClient interface { Send(*anypb.Any) error Recv() (*anypb.Any, error) grpc.ClientStream }
type Streaming_StreamServer interface { Send(*anypb.Any) error Recv() (*anypb.Any, error) grpc.ServerStream }
UnimplementedStreamingServer must be embedded to have forward compatible implementations.
type UnimplementedStreamingServer struct { }
func (UnimplementedStreamingServer) Stream(Streaming_StreamServer) error
UnsafeStreamingServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to StreamingServer will result in compilation errors.
type UnsafeStreamingServer interface {
// contains filtered or unexported methods
}