aboutsummaryrefslogtreecommitdiff
path: root/pkg/bindings/test
diff options
context:
space:
mode:
authorValentin Rothberg <rothberg@redhat.com>2020-07-06 15:52:17 +0200
committerValentin Rothberg <rothberg@redhat.com>2020-07-06 15:52:17 +0200
commit2d74811520db30cba7246dd1122d484b0c02e5d7 (patch)
treef0b5bac6b3cf73d1b8e23672434ecc3521728ea2 /pkg/bindings/test
parent1ba8c235876467f5399a60a3847022fa10ad98ab (diff)
downloadpodman-2d74811520db30cba7246dd1122d484b0c02e5d7.tar.gz
podman-2d74811520db30cba7246dd1122d484b0c02e5d7.tar.bz2
podman-2d74811520db30cba7246dd1122d484b0c02e5d7.zip
move go module to v2
With the advent of Podman 2.0.0 we crossed the magical barrier of go modules. While we were able to continue importing all packages inside of the project, the project could not be vendored anymore from the outside. Move the go module to new major version and change all imports to github.com/containers/libpod/v2. The renaming of the imports was done via gomove [1]. [1] https://github.com/KSubedi/gomove Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'pkg/bindings/test')
-rw-r--r--pkg/bindings/test/attach_test.go8
-rw-r--r--pkg/bindings/test/auth_test.go6
-rw-r--r--pkg/bindings/test/common_test.go8
-rw-r--r--pkg/bindings/test/containers_test.go10
-rw-r--r--pkg/bindings/test/create_test.go4
-rw-r--r--pkg/bindings/test/exec_test.go6
-rw-r--r--pkg/bindings/test/images_test.go8
-rw-r--r--pkg/bindings/test/info_test.go8
-rw-r--r--pkg/bindings/test/manifests_test.go8
-rw-r--r--pkg/bindings/test/pods_test.go8
-rw-r--r--pkg/bindings/test/system_test.go12
-rw-r--r--pkg/bindings/test/volumes_test.go8
12 files changed, 47 insertions, 47 deletions
diff --git a/pkg/bindings/test/attach_test.go b/pkg/bindings/test/attach_test.go
index 6fb166828..dcc6b5f8e 100644
--- a/pkg/bindings/test/attach_test.go
+++ b/pkg/bindings/test/attach_test.go
@@ -5,10 +5,10 @@ import (
"fmt"
"time"
- "github.com/containers/libpod/libpod/define"
- "github.com/containers/libpod/pkg/bindings"
- "github.com/containers/libpod/pkg/bindings/containers"
- "github.com/containers/libpod/pkg/specgen"
+ "github.com/containers/libpod/v2/libpod/define"
+ "github.com/containers/libpod/v2/pkg/bindings"
+ "github.com/containers/libpod/v2/pkg/bindings/containers"
+ "github.com/containers/libpod/v2/pkg/specgen"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gexec"
diff --git a/pkg/bindings/test/auth_test.go b/pkg/bindings/test/auth_test.go
index fdb190551..6a5c2e831 100644
--- a/pkg/bindings/test/auth_test.go
+++ b/pkg/bindings/test/auth_test.go
@@ -7,9 +7,9 @@ import (
"github.com/containers/common/pkg/auth"
"github.com/containers/image/v5/types"
- podmanRegistry "github.com/containers/libpod/hack/podman-registry-go"
- "github.com/containers/libpod/pkg/bindings/images"
- "github.com/containers/libpod/pkg/domain/entities"
+ podmanRegistry "github.com/containers/libpod/v2/hack/podman-registry-go"
+ "github.com/containers/libpod/v2/pkg/bindings/images"
+ "github.com/containers/libpod/v2/pkg/domain/entities"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gexec"
diff --git a/pkg/bindings/test/common_test.go b/pkg/bindings/test/common_test.go
index a86e6f2e3..831ecfd31 100644
--- a/pkg/bindings/test/common_test.go
+++ b/pkg/bindings/test/common_test.go
@@ -9,10 +9,10 @@ import (
"path/filepath"
"strings"
- "github.com/containers/libpod/libpod/define"
- . "github.com/containers/libpod/pkg/bindings"
- "github.com/containers/libpod/pkg/bindings/containers"
- "github.com/containers/libpod/pkg/specgen"
+ "github.com/containers/libpod/v2/libpod/define"
+ . "github.com/containers/libpod/v2/pkg/bindings"
+ "github.com/containers/libpod/v2/pkg/bindings/containers"
+ "github.com/containers/libpod/v2/pkg/specgen"
"github.com/onsi/ginkgo"
"github.com/onsi/gomega/gexec"
"github.com/pkg/errors"
diff --git a/pkg/bindings/test/containers_test.go b/pkg/bindings/test/containers_test.go
index b987f0442..4b2c78353 100644
--- a/pkg/bindings/test/containers_test.go
+++ b/pkg/bindings/test/containers_test.go
@@ -6,11 +6,11 @@ import (
"strings"
"time"
- "github.com/containers/libpod/libpod/define"
- "github.com/containers/libpod/pkg/bindings"
- "github.com/containers/libpod/pkg/bindings/containers"
- "github.com/containers/libpod/pkg/specgen"
- "github.com/containers/libpod/test/utils"
+ "github.com/containers/libpod/v2/libpod/define"
+ "github.com/containers/libpod/v2/pkg/bindings"
+ "github.com/containers/libpod/v2/pkg/bindings/containers"
+ "github.com/containers/libpod/v2/pkg/specgen"
+ "github.com/containers/libpod/v2/test/utils"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gexec"
diff --git a/pkg/bindings/test/create_test.go b/pkg/bindings/test/create_test.go
index a63aa79cf..7fb69ddb7 100644
--- a/pkg/bindings/test/create_test.go
+++ b/pkg/bindings/test/create_test.go
@@ -3,8 +3,8 @@ package test_bindings
import (
"time"
- "github.com/containers/libpod/pkg/bindings/containers"
- "github.com/containers/libpod/pkg/specgen"
+ "github.com/containers/libpod/v2/pkg/bindings/containers"
+ "github.com/containers/libpod/v2/pkg/specgen"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gexec"
diff --git a/pkg/bindings/test/exec_test.go b/pkg/bindings/test/exec_test.go
index 53b2dcb4a..e8cd32404 100644
--- a/pkg/bindings/test/exec_test.go
+++ b/pkg/bindings/test/exec_test.go
@@ -3,9 +3,9 @@ package test_bindings
import (
"time"
- "github.com/containers/libpod/pkg/api/handlers"
- "github.com/containers/libpod/pkg/bindings"
- "github.com/containers/libpod/pkg/bindings/containers"
+ "github.com/containers/libpod/v2/pkg/api/handlers"
+ "github.com/containers/libpod/v2/pkg/bindings"
+ "github.com/containers/libpod/v2/pkg/bindings/containers"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gexec"
diff --git a/pkg/bindings/test/images_test.go b/pkg/bindings/test/images_test.go
index f2a1a51e5..c4f84f756 100644
--- a/pkg/bindings/test/images_test.go
+++ b/pkg/bindings/test/images_test.go
@@ -6,10 +6,10 @@ import (
"path/filepath"
"time"
- "github.com/containers/libpod/pkg/bindings"
- "github.com/containers/libpod/pkg/bindings/containers"
- "github.com/containers/libpod/pkg/bindings/images"
- "github.com/containers/libpod/pkg/domain/entities"
+ "github.com/containers/libpod/v2/pkg/bindings"
+ "github.com/containers/libpod/v2/pkg/bindings/containers"
+ "github.com/containers/libpod/v2/pkg/bindings/images"
+ "github.com/containers/libpod/v2/pkg/domain/entities"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gexec"
diff --git a/pkg/bindings/test/info_test.go b/pkg/bindings/test/info_test.go
index 64f2b458f..d7a6e0e8a 100644
--- a/pkg/bindings/test/info_test.go
+++ b/pkg/bindings/test/info_test.go
@@ -4,10 +4,10 @@ import (
"runtime"
"time"
- "github.com/containers/libpod/pkg/bindings/containers"
- "github.com/containers/libpod/pkg/bindings/images"
- "github.com/containers/libpod/pkg/bindings/system"
- "github.com/containers/libpod/pkg/specgen"
+ "github.com/containers/libpod/v2/pkg/bindings/containers"
+ "github.com/containers/libpod/v2/pkg/bindings/images"
+ "github.com/containers/libpod/v2/pkg/bindings/system"
+ "github.com/containers/libpod/v2/pkg/specgen"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gexec"
diff --git a/pkg/bindings/test/manifests_test.go b/pkg/bindings/test/manifests_test.go
index 71d626b7b..ddb549061 100644
--- a/pkg/bindings/test/manifests_test.go
+++ b/pkg/bindings/test/manifests_test.go
@@ -4,10 +4,10 @@ import (
"net/http"
"time"
- "github.com/containers/libpod/libpod/image"
- "github.com/containers/libpod/pkg/bindings"
- "github.com/containers/libpod/pkg/bindings/images"
- "github.com/containers/libpod/pkg/bindings/manifests"
+ "github.com/containers/libpod/v2/libpod/image"
+ "github.com/containers/libpod/v2/pkg/bindings"
+ "github.com/containers/libpod/v2/pkg/bindings/images"
+ "github.com/containers/libpod/v2/pkg/bindings/manifests"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gexec"
diff --git a/pkg/bindings/test/pods_test.go b/pkg/bindings/test/pods_test.go
index d8e2a5ef7..2ad6f38c1 100644
--- a/pkg/bindings/test/pods_test.go
+++ b/pkg/bindings/test/pods_test.go
@@ -5,10 +5,10 @@ import (
"strings"
"time"
- "github.com/containers/libpod/libpod/define"
- "github.com/containers/libpod/pkg/bindings"
- "github.com/containers/libpod/pkg/bindings/pods"
- "github.com/containers/libpod/pkg/specgen"
+ "github.com/containers/libpod/v2/libpod/define"
+ "github.com/containers/libpod/v2/pkg/bindings"
+ "github.com/containers/libpod/v2/pkg/bindings/pods"
+ "github.com/containers/libpod/v2/pkg/specgen"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gexec"
diff --git a/pkg/bindings/test/system_test.go b/pkg/bindings/test/system_test.go
index dd3778754..93141400b 100644
--- a/pkg/bindings/test/system_test.go
+++ b/pkg/bindings/test/system_test.go
@@ -3,12 +3,12 @@ package test_bindings
import (
"time"
- "github.com/containers/libpod/pkg/bindings"
- "github.com/containers/libpod/pkg/bindings/containers"
- "github.com/containers/libpod/pkg/bindings/pods"
- "github.com/containers/libpod/pkg/bindings/system"
- "github.com/containers/libpod/pkg/bindings/volumes"
- "github.com/containers/libpod/pkg/domain/entities"
+ "github.com/containers/libpod/v2/pkg/bindings"
+ "github.com/containers/libpod/v2/pkg/bindings/containers"
+ "github.com/containers/libpod/v2/pkg/bindings/pods"
+ "github.com/containers/libpod/v2/pkg/bindings/system"
+ "github.com/containers/libpod/v2/pkg/bindings/volumes"
+ "github.com/containers/libpod/v2/pkg/domain/entities"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gexec"
diff --git a/pkg/bindings/test/volumes_test.go b/pkg/bindings/test/volumes_test.go
index 839a4c575..efc02a0d4 100644
--- a/pkg/bindings/test/volumes_test.go
+++ b/pkg/bindings/test/volumes_test.go
@@ -6,10 +6,10 @@ import (
"net/http"
"time"
- "github.com/containers/libpod/pkg/bindings"
- "github.com/containers/libpod/pkg/bindings/containers"
- "github.com/containers/libpod/pkg/bindings/volumes"
- "github.com/containers/libpod/pkg/domain/entities"
+ "github.com/containers/libpod/v2/pkg/bindings"
+ "github.com/containers/libpod/v2/pkg/bindings/containers"
+ "github.com/containers/libpod/v2/pkg/bindings/volumes"
+ "github.com/containers/libpod/v2/pkg/domain/entities"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gexec"