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

Method ContainersForService

internal/sync/tar.go:46–46  ·  view source on GitHub ↗
(ctx context.Context, projectName string, serviceName string)

Source from the content-addressed store, hash-verified

44
45type LowLevelClient interface {
46 ContainersForService(ctx context.Context, projectName string, serviceName string) ([]container.Summary, error)
47
48 Exec(ctx context.Context, containerID string, cmd []string, in io.Reader) error
49 Untar(ctx context.Context, id string, reader io.ReadCloser) error

Callers 1

SyncMethod · 0.65

Implementers 2

tarDockerClientpkg/compose/watch.go
fakeLowLevelClientinternal/sync/tar_test.go

Calls

no outgoing calls

Tested by

no test coverage detected