MCPcopy Create free account
hub / github.com/docker/cli / Read

Method Read

cli/connhelper/commandconn/commandconn_unix_test.go:143–145  ·  view source on GitHub ↗
(_ []byte)

Source from the content-addressed store, hash-verified

141type mockStdoutEOF struct{}
142
143func (mockStdoutEOF) Read(_ []byte) (int, error) {
144 return 0, io.EOF
145}
146
147func (mockStdoutEOF) Close() error {
148 return nil

Callers 5

TestEOFWithErrorFunction · 0.45
TestEOFWithoutErrorFunction · 0.45
TestCloseTwiceFunction · 0.45
TestEOFTimeoutFunction · 0.45
TestCloseWhileReadingFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected