MCPcopy
hub / github.com/docker/compose / waitResultExit

Function waitResultExit

pkg/compose/pre_start_test.go:59–64  ·  view source on GitHub ↗
(code int64)

Source from the content-addressed store, hash-verified

57}
58
59func waitResultExit(code int64) client.ContainerWaitResult {
60 resultC := make(chan container.WaitResponse, 1)
61 errC := make(chan error, 1)
62 resultC <- container.WaitResponse{StatusCode: code}
63 return client.ContainerWaitResult{Result: resultC, Error: errC}
64}
65
66func emptyLogs() client.ContainerLogsResult {
67 return io.NopCloser(bytes.NewReader(nil))

Calls

no outgoing calls

Tested by

no test coverage detected