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

Method getExecTarget

pkg/compose/exec.go:61–63  ·  pkg/compose/exec.go::composeService.getExecTarget
(ctx context.Context, projectName string, opts api.RunOptions)

Source from the content-addressed store, hash-verified

59}
60
61func (s *composeService) getExecTarget(ctx context.Context, projectName string, opts api.RunOptions) (containerType.Summary, error) {
62 return s.getSpecifiedContainer(ctx, projectName, oneOffInclude, false, opts.Service, opts.Index)
63}

Callers 1

ExecMethod · 0.95

Calls 1

getSpecifiedContainerMethod · 0.95

Tested by

no test coverage detected