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

Method ContainerCommit

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

Source from the content-addressed store, hash-verified

227}
228
229func (f *fakeClient) ContainerCommit(ctx context.Context, containerID string, options client.ContainerCommitOptions) (client.ContainerCommitResult, error) {
230 if f.containerCommitFunc != nil {
231 return f.containerCommitFunc(ctx, containerID, options)
232 }
233 return client.ContainerCommitResult{}, nil
234}
235
236func (f *fakeClient) ContainerPause(ctx context.Context, containerID string, options client.ContainerPauseOptions) (client.ContainerPauseResult, error) {
237 if f.containerPauseFunc != nil {

Callers 1

runCommitFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected