summaryrefslogtreecommitdiff
path: root/pkg/domain/infra/tunnel/volumes.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-03-01 03:53:21 -0500
committerGitHub <noreply@github.com>2022-03-01 03:53:21 -0500
commit87d22e101465fa9e8d25653918328e768a92aa71 (patch)
treeda115e8d159200a765c5eff9f3abfa56f3e49094 /pkg/domain/infra/tunnel/volumes.go
parent86a057e6be434159e3e60add5a7a7d649e0b4ad5 (diff)
parent3dc1b8e83f2459a58d65f3bb918975cd6f1bb794 (diff)
downloadpodman-87d22e101465fa9e8d25653918328e768a92aa71.tar.gz
podman-87d22e101465fa9e8d25653918328e768a92aa71.tar.bz2
podman-87d22e101465fa9e8d25653918328e768a92aa71.zip
Merge pull request #13318 from rhatdan/volume
Add podman volume mount support
Diffstat (limited to 'pkg/domain/infra/tunnel/volumes.go')
-rw-r--r--pkg/domain/infra/tunnel/volumes.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/pkg/domain/infra/tunnel/volumes.go b/pkg/domain/infra/tunnel/volumes.go
index f4abeab0f..33e090148 100644
--- a/pkg/domain/infra/tunnel/volumes.go
+++ b/pkg/domain/infra/tunnel/volumes.go
@@ -100,3 +100,11 @@ func (ic *ContainerEngine) VolumeExists(ctx context.Context, nameOrID string) (*
func (ic *ContainerEngine) VolumeMounted(ctx context.Context, nameOrID string) (*entities.BoolReport, error) {
return nil, errors.New("not implemented")
}
+
+func (ic *ContainerEngine) VolumeMount(ctx context.Context, nameOrIDs []string) ([]*entities.VolumeMountReport, error) {
+ return nil, errors.New("mounting volumes is not supported for remote clients")
+}
+
+func (ic *ContainerEngine) VolumeUnmount(ctx context.Context, nameOrIDs []string) ([]*entities.VolumeUnmountReport, error) {
+ return nil, errors.New("unmounting volumes is not supported for remote clients")
+}