diff options
author | Brent Baude <bbaude@redhat.com> | 2020-04-20 12:44:02 -0500 |
---|---|---|
committer | Brent Baude <bbaude@redhat.com> | 2020-04-21 09:23:27 -0500 |
commit | 29ec539b3ffad15624ee7934ec7dcbca2177db8e (patch) | |
tree | 7b724f29d07c1289f1578463fb2ed065b8db6626 /pkg/domain/infra/tunnel | |
parent | f4c2eb1d9dcff5feda5c3eae81ce1bcdbf166ec4 (diff) | |
download | podman-29ec539b3ffad15624ee7934ec7dcbca2177db8e.tar.gz podman-29ec539b3ffad15624ee7934ec7dcbca2177db8e.tar.bz2 podman-29ec539b3ffad15624ee7934ec7dcbca2177db8e.zip |
podmanv2 cp
enable podman to copy files between container and host, local mode only. this is a straight port of v1 code to v2.
Signed-off-by: Brent Baude <bbaude@redhat.com>
Diffstat (limited to 'pkg/domain/infra/tunnel')
-rw-r--r-- | pkg/domain/infra/tunnel/containers.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/domain/infra/tunnel/containers.go b/pkg/domain/infra/tunnel/containers.go index 0bcc70128..8867ce27f 100644 --- a/pkg/domain/infra/tunnel/containers.go +++ b/pkg/domain/infra/tunnel/containers.go @@ -375,3 +375,7 @@ func (ic *ContainerEngine) Config(_ context.Context) (*config.Config, error) { func (ic *ContainerEngine) ContainerPort(ctx context.Context, nameOrId string, options entities.ContainerPortOptions) ([]*entities.ContainerPortReport, error) { return nil, errors.New("not implemented") } + +func (ic *ContainerEngine) ContainerCp(ctx context.Context, source, dest string, options entities.ContainerCpOptions) (*entities.ContainerCpReport, error) { + return nil, errors.New("not implemented") +} |