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

Method CopyToContainer

cli/command/container/client_test.go:132–137  ·  view source on GitHub ↗
(_ context.Context, containerID string, options client.CopyToContainerOptions)

Source from the content-addressed store, hash-verified

130}
131
132func (f *fakeClient) CopyToContainer(_ context.Context, containerID string, options client.CopyToContainerOptions) (client.CopyToContainerResult, error) {
133 if f.containerCopyToFunc != nil {
134 return f.containerCopyToFunc(containerID, options)
135 }
136 return client.CopyToContainerResult{}, nil
137}
138
139func (f *fakeClient) ContainerLogs(_ context.Context, containerID string, options client.ContainerLogsOptions) (client.ContainerLogsResult, error) {
140 if f.logFunc != nil {

Callers 2

copyToContainerFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected