MCPcopy Index your code
hub / github.com/containerd/containerd / Send

Method Send

core/streaming/proxy/streaming.go:111–117  ·  view source on GitHub ↗
(a typeurl.Any)

Source from the content-addressed store, hash-verified

109}
110
111func (cs *clientStream) Send(a typeurl.Any) (err error) {
112 err = cs.s.Send(typeurl.MarshalProto(a))
113 if !errors.Is(err, io.EOF) {
114 err = errgrpc.ToNative(err)
115 }
116 return
117}
118
119func (cs *clientStream) Recv() (a typeurl.Any, err error) {
120 a, err = cs.s.Recv()

Callers

nothing calls this directly

Calls 1

SendMethod · 0.65

Tested by

no test coverage detected