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

Method ContainerAttach

cli/command/container/client_test.go:206–211  ·  view source on GitHub ↗
(ctx context.Context, containerID string, options client.ContainerAttachOptions)

Source from the content-addressed store, hash-verified

204}
205
206func (f *fakeClient) ContainerAttach(ctx context.Context, containerID string, options client.ContainerAttachOptions) (client.ContainerAttachResult, error) {
207 if f.containerAttachFunc != nil {
208 return f.containerAttachFunc(ctx, containerID, options)
209 }
210 return client.ContainerAttachResult{}, nil
211}
212
213func (f *fakeClient) ContainerDiff(ctx context.Context, containerID string, _ client.ContainerDiffOptions) (client.ContainerDiffResult, error) {
214 if f.containerDiffFunc != nil {

Callers 3

RunStartFunction · 0.80
RunAttachFunction · 0.80
attachContainerFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected