MCPcopy
hub / github.com/kubernetes/client-go / decode

Method decode

tools/remotecommand/errorstream.go:29–29  ·  view source on GitHub ↗
(message []byte)

Source from the content-addressed store, hash-verified

27// errorStreamDecoder interprets the data on the error channel and creates a go error object from it.
28type errorStreamDecoder interface {
29 decode(message []byte) error
30}
31
32// watchErrorStream watches the errorStream for remote command error data,

Callers 1

watchErrorStreamFunction · 0.65

Implementers 2

errorDecoderV2tools/remotecommand/v2.go
errorDecoderV4tools/remotecommand/v4.go

Calls

no outgoing calls

Tested by

no test coverage detected