MCPcopy Index your code
hub / github.com/docker/cli / mockContainerLogsResult

Function mockContainerLogsResult

cli/command/container/client_test.go:16–18  ·  view source on GitHub ↗
(content string)

Source from the content-addressed store, hash-verified

14}
15
16func mockContainerLogsResult(content string) client.ContainerLogsResult {
17 return io.NopCloser(strings.NewReader(content))
18}
19
20type fakeStreamResult struct {
21 io.ReadCloser

Callers 1

TestRunLogsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…