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

Method ContainerKill

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

Source from the content-addressed store, hash-verified

176}
177
178func (f *fakeClient) ContainerKill(ctx context.Context, containerID string, options client.ContainerKillOptions) (client.ContainerKillResult, error) {
179 if f.containerKillFunc != nil {
180 return f.containerKillFunc(ctx, containerID, options)
181 }
182 return client.ContainerKillResult{}, nil
183}
184
185func (f *fakeClient) ContainerPrune(ctx context.Context, options client.ContainerPruneOptions) (client.ContainerPruneResult, error) {
186 if f.containerPruneFunc != nil {

Callers 2

ForwardAllSignalsFunction · 0.80
runKillFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected