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

Function mockImageLoadResult

cli/command/image/load_test.go:75–77  ·  view source on GitHub ↗
(content string)

Source from the content-addressed store, hash-verified

73}
74
75func mockImageLoadResult(content string) client.ImageLoadResult {
76 return io.NopCloser(strings.NewReader(content))
77}
78
79func TestNewLoadCommandSuccess(t *testing.T) {
80 testCases := []struct {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…