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

Method ContainerExecCreate

dockerutil/dockerfake/client.go:163–168  ·  view source on GitHub ↗
(ctx context.Context, name string, config containertypes.ExecOptions)

Source from the content-addressed store, hash-verified

161}
162
163func (m MockClient) ContainerExecCreate(ctx context.Context, name string, config containertypes.ExecOptions) (common.IDResponse, error) {
164 if m.ContainerExecCreateFn == nil {
165 return common.IDResponse{}, nil
166 }
167 return m.ContainerExecCreateFn(ctx, name, config)
168}
169
170func (m MockClient) ContainerExecInspect(ctx context.Context, id string) (containertypes.ExecInspect, error) {
171 if m.ContainerExecInspectFn == nil {

Callers 2

runDockerCVMFunction · 0.80
ExecContainerFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected