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

Struct fakeLowLevelClient

internal/sync/tar_test.go:31–35  ·  internal/sync/tar_test.go::fakeLowLevelClient

fakeLowLevelClient records calls made to it for test assertions.

Source from the content-addressed store, hash-verified

29
30// fakeLowLevelClient records calls made to it for test assertions.
31type fakeLowLevelClient struct {
32 containers []container.Summary
33 execCmds [][]string
34 untarCount int
35}
36
37func (f *fakeLowLevelClient) ContainersForService(_ context.Context, _ string, _ string) ([]container.Summary, error) {
38 return f.containers, nil

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected