diff options
author | flouthoc <flouthoc.git@gmail.com> | 2021-08-20 14:22:54 +0530 |
---|---|---|
committer | flouthoc <flouthoc.git@gmail.com> | 2021-08-23 20:42:41 +0530 |
commit | edddfe8c4f7761b12dc64ea4aa0a83b755aa124f (patch) | |
tree | 4eb4323903b3aec46fd5da3dd7152c24d88045d0 /pkg/domain/infra/tunnel | |
parent | 30b036c5d394bb523fa13074b1731ad4b6259693 (diff) | |
download | podman-edddfe8c4f7761b12dc64ea4aa0a83b755aa124f.tar.gz podman-edddfe8c4f7761b12dc64ea4aa0a83b755aa124f.tar.bz2 podman-edddfe8c4f7761b12dc64ea4aa0a83b755aa124f.zip |
volumes: Add support for exporting volumes to external tar
Adds support for transferring data between systems and backing up systems.
Use cases: recover from disasters or move data between machines.
Signed-off-by: flouthoc <flouthoc.git@gmail.com>
Diffstat (limited to 'pkg/domain/infra/tunnel')
-rw-r--r-- | pkg/domain/infra/tunnel/volumes.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkg/domain/infra/tunnel/volumes.go b/pkg/domain/infra/tunnel/volumes.go index 2d231bad6..2b2b2c2a1 100644 --- a/pkg/domain/infra/tunnel/volumes.go +++ b/pkg/domain/infra/tunnel/volumes.go @@ -91,3 +91,9 @@ func (ic *ContainerEngine) VolumeExists(ctx context.Context, nameOrID string) (* Value: exists, }, nil } + +// Volumemounted check if a given volume using plugin or filesystem is mounted or not. +// TODO: Not used and exposed to tunnel. Will be used by `export` command which is unavailable to `podman-remote` +func (ic *ContainerEngine) VolumeMounted(ctx context.Context, nameOrID string) (*entities.BoolReport, error) { + return nil, errors.New("not implemented") +} |