| 123 | } |
| 124 | |
| 125 | func (f *fakeClient) CopyFromContainer(_ context.Context, containerID string, options client.CopyFromContainerOptions) (client.CopyFromContainerResult, error) { |
| 126 | if f.containerCopyFromFunc != nil { |
| 127 | return f.containerCopyFromFunc(containerID, options.SourcePath) |
| 128 | } |
| 129 | return client.CopyFromContainerResult{}, nil |
| 130 | } |
| 131 | |
| 132 | func (f *fakeClient) CopyToContainer(_ context.Context, containerID string, options client.CopyToContainerOptions) (client.CopyToContainerResult, error) { |
| 133 | if f.containerCopyToFunc != nil { |