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

Method ContainerExecInspect

dockerutil/dockerfake/client.go:170–178  ·  view source on GitHub ↗
(ctx context.Context, id string)

Source from the content-addressed store, hash-verified

168}
169
170func (m MockClient) ContainerExecInspect(ctx context.Context, id string) (containertypes.ExecInspect, error) {
171 if m.ContainerExecInspectFn == nil {
172 return containertypes.ExecInspect{
173 Pid: 123,
174 }, nil
175 }
176
177 return m.ContainerExecInspectFn(ctx, id)
178}
179
180func (MockClient) ContainerExecResize(_ context.Context, _ string, _ containertypes.ResizeOptions) error {
181 panic("not implemented")

Callers 3

ExecContainerFunction · 0.80
GetExecPIDFunction · 0.80
WaitForExitFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected