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

Function mockContainerExportResult

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

Source from the content-addressed store, hash-verified

10)
11
12func mockContainerExportResult(content string) client.ContainerExportResult {
13 return io.NopCloser(strings.NewReader(content))
14}
15
16func mockContainerLogsResult(content string) client.ContainerLogsResult {
17 return io.NopCloser(strings.NewReader(content))

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…