diff options
author | Brent Baude <bbaude@redhat.com> | 2020-04-13 14:18:07 -0500 |
---|---|---|
committer | Brent Baude <bbaude@redhat.com> | 2020-04-14 08:32:14 -0500 |
commit | d625aef0c54a5afbe2d2fbdd7c26f6b45d99c8f5 (patch) | |
tree | 1090396efa9583cff44a2c1fb20b9450d4a7aa5c /pkg/domain/infra/tunnel/containers.go | |
parent | 004826653f2a8b064af8c1f055b1a402f4060d1c (diff) | |
download | podman-d625aef0c54a5afbe2d2fbdd7c26f6b45d99c8f5.tar.gz podman-d625aef0c54a5afbe2d2fbdd7c26f6b45d99c8f5.tar.bz2 podman-d625aef0c54a5afbe2d2fbdd7c26f6b45d99c8f5.zip |
podmanv2 mount and umount
add the ability to mount and unmount containers for the local client only
Signed-off-by: Brent Baude <bbaude@redhat.com>
Diffstat (limited to 'pkg/domain/infra/tunnel/containers.go')
-rw-r--r-- | pkg/domain/infra/tunnel/containers.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pkg/domain/infra/tunnel/containers.go b/pkg/domain/infra/tunnel/containers.go index 1a430e3d0..fb75a03d9 100644 --- a/pkg/domain/infra/tunnel/containers.go +++ b/pkg/domain/infra/tunnel/containers.go @@ -354,3 +354,11 @@ func (ic *ContainerEngine) ContainerInit(ctx context.Context, namesOrIds []strin } return reports, nil } + +func (ic *ContainerEngine) ContainerMount(ctx context.Context, nameOrIds []string, options entities.ContainerMountOptions) ([]*entities.ContainerMountReport, error) { + return nil, errors.New("mounting containers is not supported for remote clients") +} + +func (ic *ContainerEngine) ContainerUnmount(ctx context.Context, nameOrIds []string, options entities.ContainerUnmountOptions) ([]*entities.ContainerUnmountReport, error) { + return nil, errors.New("unmounting containers is not supported for remote clients") +} |