summaryrefslogtreecommitdiff
path: root/cmd/podmanV2/registry/remote.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podmanV2/registry/remote.go')
-rw-r--r--cmd/podmanV2/registry/remote.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/cmd/podmanV2/registry/remote.go b/cmd/podmanV2/registry/remote.go
new file mode 100644
index 000000000..32a231ac4
--- /dev/null
+++ b/cmd/podmanV2/registry/remote.go
@@ -0,0 +1,9 @@
+package registry
+
+import (
+ "github.com/containers/libpod/pkg/domain/entities"
+)
+
+func IsRemote() bool {
+ return EngineOptions.EngineMode == entities.TunnelMode
+}