summaryrefslogtreecommitdiff
path: root/cmd/podman/manifest
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 /cmd/podman/manifest
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 'cmd/podman/manifest')
-rw-r--r--cmd/podman/manifest/add.go4
-rw-r--r--cmd/podman/manifest/annotate.go4
-rw-r--r--cmd/podman/manifest/create.go4
-rw-r--r--cmd/podman/manifest/inspect.go4
-rw-r--r--cmd/podman/manifest/manifest.go6
-rw-r--r--cmd/podman/manifest/push.go6
-rw-r--r--cmd/podman/manifest/remove.go4
7 files changed, 16 insertions, 16 deletions
diff --git a/cmd/podman/manifest/add.go b/cmd/podman/manifest/add.go
index 38f832fad..a9947d805 100644
--- a/cmd/podman/manifest/add.go
+++ b/cmd/podman/manifest/add.go
@@ -4,8 +4,8 @@ import (
"context"
"fmt"
- "github.com/containers/libpod/cmd/podman/registry"
- "github.com/containers/libpod/pkg/domain/entities"
+ "github.com/containers/libpod/v2/cmd/podman/registry"
+ "github.com/containers/libpod/v2/pkg/domain/entities"
"github.com/pkg/errors"
"github.com/spf13/cobra"
)
diff --git a/cmd/podman/manifest/annotate.go b/cmd/podman/manifest/annotate.go
index 82ee1ffda..779c33edc 100644
--- a/cmd/podman/manifest/annotate.go
+++ b/cmd/podman/manifest/annotate.go
@@ -4,8 +4,8 @@ import (
"context"
"fmt"
- "github.com/containers/libpod/cmd/podman/registry"
- "github.com/containers/libpod/pkg/domain/entities"
+ "github.com/containers/libpod/v2/cmd/podman/registry"
+ "github.com/containers/libpod/v2/pkg/domain/entities"
"github.com/pkg/errors"
"github.com/spf13/cobra"
)
diff --git a/cmd/podman/manifest/create.go b/cmd/podman/manifest/create.go
index 9c0097b90..8598c4f23 100644
--- a/cmd/podman/manifest/create.go
+++ b/cmd/podman/manifest/create.go
@@ -4,8 +4,8 @@ import (
"context"
"fmt"
- "github.com/containers/libpod/cmd/podman/registry"
- "github.com/containers/libpod/pkg/domain/entities"
+ "github.com/containers/libpod/v2/cmd/podman/registry"
+ "github.com/containers/libpod/v2/pkg/domain/entities"
"github.com/pkg/errors"
"github.com/spf13/cobra"
)
diff --git a/cmd/podman/manifest/inspect.go b/cmd/podman/manifest/inspect.go
index 5112aa5b2..e21c657bb 100644
--- a/cmd/podman/manifest/inspect.go
+++ b/cmd/podman/manifest/inspect.go
@@ -4,8 +4,8 @@ import (
"context"
"fmt"
- "github.com/containers/libpod/cmd/podman/registry"
- "github.com/containers/libpod/pkg/domain/entities"
+ "github.com/containers/libpod/v2/cmd/podman/registry"
+ "github.com/containers/libpod/v2/pkg/domain/entities"
"github.com/pkg/errors"
"github.com/spf13/cobra"
)
diff --git a/cmd/podman/manifest/manifest.go b/cmd/podman/manifest/manifest.go
index d7f042a56..2bdbec662 100644
--- a/cmd/podman/manifest/manifest.go
+++ b/cmd/podman/manifest/manifest.go
@@ -1,9 +1,9 @@
package manifest
import (
- "github.com/containers/libpod/cmd/podman/registry"
- "github.com/containers/libpod/cmd/podman/validate"
- "github.com/containers/libpod/pkg/domain/entities"
+ "github.com/containers/libpod/v2/cmd/podman/registry"
+ "github.com/containers/libpod/v2/cmd/podman/validate"
+ "github.com/containers/libpod/v2/pkg/domain/entities"
"github.com/spf13/cobra"
)
diff --git a/cmd/podman/manifest/push.go b/cmd/podman/manifest/push.go
index a2e68aff1..226dc716c 100644
--- a/cmd/podman/manifest/push.go
+++ b/cmd/podman/manifest/push.go
@@ -3,9 +3,9 @@ package manifest
import (
"github.com/containers/common/pkg/auth"
"github.com/containers/image/v5/types"
- "github.com/containers/libpod/cmd/podman/registry"
- "github.com/containers/libpod/pkg/domain/entities"
- "github.com/containers/libpod/pkg/util"
+ "github.com/containers/libpod/v2/cmd/podman/registry"
+ "github.com/containers/libpod/v2/pkg/domain/entities"
+ "github.com/containers/libpod/v2/pkg/util"
"github.com/pkg/errors"
"github.com/spf13/cobra"
)
diff --git a/cmd/podman/manifest/remove.go b/cmd/podman/manifest/remove.go
index 4d345efc0..07793a097 100644
--- a/cmd/podman/manifest/remove.go
+++ b/cmd/podman/manifest/remove.go
@@ -4,8 +4,8 @@ import (
"context"
"fmt"
- "github.com/containers/libpod/cmd/podman/registry"
- "github.com/containers/libpod/pkg/domain/entities"
+ "github.com/containers/libpod/v2/cmd/podman/registry"
+ "github.com/containers/libpod/v2/pkg/domain/entities"
"github.com/pkg/errors"
"github.com/spf13/cobra"
)