MCPcopy
hub / github.com/moby/moby / Decode

Method Decode

daemon/logger/loggerutils/logfile.go:100–100  ·  view source on GitHub ↗

Decode decodes the next log message from the stream

()

Source from the content-addressed store, hash-verified

98 Reset(io.Reader)
99 // Decode decodes the next log message from the stream
100 Decode() (*logger.Message, error)
101 // Close signals to the decoder that it can release whatever resources it was using.
102 Close()
103}

Callers 15

JSONMessagesMethod · 0.95
LoadFunction · 0.95
ReloadConfigMethod · 0.95
decodeFunction · 0.95
FromDiskMethod · 0.95
TestCopierFunction · 0.95
TestCopierLongLinesFunction · 0.95
testCopierWithSizedFunction · 0.95
TestCopierWithPartialFunction · 0.95
setupNewPluginMethod · 0.95

Implementers 5

testDecoderdaemon/logger/loggerutils/logfile_test
testJSONStreamDecoderdaemon/logger/loggerutils/logfile_test
dummyDecoderdaemon/logger/loggerutils/logfile_test
decoderdaemon/logger/local/read.go
decoderdaemon/logger/jsonfilelog/read.go

Calls

no outgoing calls

Tested by 15

TestCopierFunction · 0.76
TestCopierLongLinesFunction · 0.76
testCopierWithSizedFunction · 0.76
TestCopierWithPartialFunction · 0.76
TestListVolumesFunction · 0.76
TestListVolumesNoManagerFunction · 0.76
TestEventsFormatMethod · 0.76
TestGetContainerStatsMethod · 0.76