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

Method ExecStart

pkg/dryrun/dryrunclient.go:298–304  ·  pkg/dryrun/dryrunclient.go::DryRunClient.ExecStart
(ctx context.Context, execID string, config client.ExecStartOptions)

Source from the content-addressed store, hash-verified

296}
297
298func (d *DryRunClient) ExecStart(ctx context.Context, execID string, config client.ExecStartOptions) (client.ExecStartResult, error) {
299 _, ok := d.execs.LoadAndDelete(execID)
300 if !ok {
301 return client.ExecStartResult{}, fmt.Errorf("invalid exec ID %q", execID)
302 }
303 return client.ExecStartResult{}, nil
304}
305
306// Functions delegated to original APIClient (not used by Compose or not modifying the Compose stack)
307

Callers 2

ExecMethod · 0.45
runWaitExecMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected