MCPcopy Index your code
hub / github.com/coder/envbox / ContainerExecAttach

Method ContainerExecAttach

dockerutil/dockerfake/client.go:156–161  ·  view source on GitHub ↗
(ctx context.Context, execID string, config containertypes.ExecAttachOptions)

Source from the content-addressed store, hash-verified

154}
155
156func (m MockClient) ContainerExecAttach(ctx context.Context, execID string, config containertypes.ExecAttachOptions) (dockertypes.HijackedResponse, error) {
157 if m.ContainerExecAttachFn == nil {
158 return dockertypes.HijackedResponse{}, nil
159 }
160 return m.ContainerExecAttachFn(ctx, execID, config)
161}
162
163func (m MockClient) ContainerExecCreate(ctx context.Context, name string, config containertypes.ExecOptions) (common.IDResponse, error) {
164 if m.ContainerExecCreateFn == nil {

Callers 2

runDockerCVMFunction · 0.80
ExecContainerFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected