summaryrefslogtreecommitdiff
path: root/cmd/podman/pods
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/pods
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/pods')
-rw-r--r--cmd/podman/pods/create.go16
-rw-r--r--cmd/podman/pods/exists.go4
-rw-r--r--cmd/podman/pods/inspect.go4
-rw-r--r--cmd/podman/pods/kill.go8
-rw-r--r--cmd/podman/pods/pause.go8
-rw-r--r--cmd/podman/pods/pod.go8
-rw-r--r--cmd/podman/pods/prune.go6
-rw-r--r--cmd/podman/pods/ps.go6
-rw-r--r--cmd/podman/pods/restart.go8
-rw-r--r--cmd/podman/pods/rm.go10
-rw-r--r--cmd/podman/pods/start.go10
-rw-r--r--cmd/podman/pods/stats.go6
-rw-r--r--cmd/podman/pods/stop.go10
-rw-r--r--cmd/podman/pods/top.go6
-rw-r--r--cmd/podman/pods/unpause.go8
15 files changed, 59 insertions, 59 deletions
diff --git a/cmd/podman/pods/create.go b/cmd/podman/pods/create.go
index 835a62359..0e2a085fd 100644
--- a/cmd/podman/pods/create.go
+++ b/cmd/podman/pods/create.go
@@ -7,14 +7,14 @@ import (
"os"
"strings"
- "github.com/containers/libpod/cmd/podman/common"
- "github.com/containers/libpod/cmd/podman/parse"
- "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/pkg/errorhandling"
- "github.com/containers/libpod/pkg/specgen"
- "github.com/containers/libpod/pkg/util"
+ "github.com/containers/libpod/v2/cmd/podman/common"
+ "github.com/containers/libpod/v2/cmd/podman/parse"
+ "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/containers/libpod/v2/pkg/errorhandling"
+ "github.com/containers/libpod/v2/pkg/specgen"
+ "github.com/containers/libpod/v2/pkg/util"
"github.com/pkg/errors"
"github.com/sirupsen/logrus"
"github.com/spf13/cobra"
diff --git a/cmd/podman/pods/exists.go b/cmd/podman/pods/exists.go
index cf3e3eae5..599b6abe2 100644
--- a/cmd/podman/pods/exists.go
+++ b/cmd/podman/pods/exists.go
@@ -3,8 +3,8 @@ package pods
import (
"context"
- "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/spf13/cobra"
)
diff --git a/cmd/podman/pods/inspect.go b/cmd/podman/pods/inspect.go
index 34c07c11b..7d31385de 100644
--- a/cmd/podman/pods/inspect.go
+++ b/cmd/podman/pods/inspect.go
@@ -5,8 +5,8 @@ import (
"fmt"
"github.com/containers/buildah/pkg/formats"
- "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/pods/kill.go b/cmd/podman/pods/kill.go
index 02089016e..2076d55e9 100644
--- a/cmd/podman/pods/kill.go
+++ b/cmd/podman/pods/kill.go
@@ -4,10 +4,10 @@ import (
"context"
"fmt"
- "github.com/containers/libpod/cmd/podman/parse"
- "github.com/containers/libpod/cmd/podman/registry"
- "github.com/containers/libpod/cmd/podman/utils"
- "github.com/containers/libpod/pkg/domain/entities"
+ "github.com/containers/libpod/v2/cmd/podman/parse"
+ "github.com/containers/libpod/v2/cmd/podman/registry"
+ "github.com/containers/libpod/v2/cmd/podman/utils"
+ "github.com/containers/libpod/v2/pkg/domain/entities"
"github.com/spf13/cobra"
)
diff --git a/cmd/podman/pods/pause.go b/cmd/podman/pods/pause.go
index 4ee182661..d495db601 100644
--- a/cmd/podman/pods/pause.go
+++ b/cmd/podman/pods/pause.go
@@ -4,10 +4,10 @@ import (
"context"
"fmt"
- "github.com/containers/libpod/cmd/podman/parse"
- "github.com/containers/libpod/cmd/podman/registry"
- "github.com/containers/libpod/cmd/podman/utils"
- "github.com/containers/libpod/pkg/domain/entities"
+ "github.com/containers/libpod/v2/cmd/podman/parse"
+ "github.com/containers/libpod/v2/cmd/podman/registry"
+ "github.com/containers/libpod/v2/cmd/podman/utils"
+ "github.com/containers/libpod/v2/pkg/domain/entities"
"github.com/spf13/cobra"
)
diff --git a/cmd/podman/pods/pod.go b/cmd/podman/pods/pod.go
index 9dc538c71..6eccade22 100644
--- a/cmd/podman/pods/pod.go
+++ b/cmd/podman/pods/pod.go
@@ -1,10 +1,10 @@
package pods
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/pkg/util"
+ "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/containers/libpod/v2/pkg/util"
"github.com/spf13/cobra"
)
diff --git a/cmd/podman/pods/prune.go b/cmd/podman/pods/prune.go
index bc15d8035..ee97e13f1 100644
--- a/cmd/podman/pods/prune.go
+++ b/cmd/podman/pods/prune.go
@@ -7,9 +7,9 @@ import (
"os"
"strings"
- "github.com/containers/libpod/cmd/podman/registry"
- "github.com/containers/libpod/cmd/podman/utils"
- "github.com/containers/libpod/pkg/domain/entities"
+ "github.com/containers/libpod/v2/cmd/podman/registry"
+ "github.com/containers/libpod/v2/cmd/podman/utils"
+ "github.com/containers/libpod/v2/pkg/domain/entities"
"github.com/pkg/errors"
"github.com/spf13/cobra"
)
diff --git a/cmd/podman/pods/ps.go b/cmd/podman/pods/ps.go
index 0171bb243..49407d39b 100644
--- a/cmd/podman/pods/ps.go
+++ b/cmd/podman/pods/ps.go
@@ -11,9 +11,9 @@ import (
"text/template"
"time"
- "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/docker/go-units"
"github.com/pkg/errors"
"github.com/spf13/cobra"
diff --git a/cmd/podman/pods/restart.go b/cmd/podman/pods/restart.go
index 1f617a277..7ca6b3cac 100644
--- a/cmd/podman/pods/restart.go
+++ b/cmd/podman/pods/restart.go
@@ -4,10 +4,10 @@ import (
"context"
"fmt"
- "github.com/containers/libpod/cmd/podman/parse"
- "github.com/containers/libpod/cmd/podman/registry"
- "github.com/containers/libpod/cmd/podman/utils"
- "github.com/containers/libpod/pkg/domain/entities"
+ "github.com/containers/libpod/v2/cmd/podman/parse"
+ "github.com/containers/libpod/v2/cmd/podman/registry"
+ "github.com/containers/libpod/v2/cmd/podman/utils"
+ "github.com/containers/libpod/v2/pkg/domain/entities"
"github.com/spf13/cobra"
)
diff --git a/cmd/podman/pods/rm.go b/cmd/podman/pods/rm.go
index ec8dae1d1..60972da76 100644
--- a/cmd/podman/pods/rm.go
+++ b/cmd/podman/pods/rm.go
@@ -4,11 +4,11 @@ import (
"context"
"fmt"
- "github.com/containers/libpod/cmd/podman/common"
- "github.com/containers/libpod/cmd/podman/parse"
- "github.com/containers/libpod/cmd/podman/registry"
- "github.com/containers/libpod/cmd/podman/utils"
- "github.com/containers/libpod/pkg/domain/entities"
+ "github.com/containers/libpod/v2/cmd/podman/common"
+ "github.com/containers/libpod/v2/cmd/podman/parse"
+ "github.com/containers/libpod/v2/cmd/podman/registry"
+ "github.com/containers/libpod/v2/cmd/podman/utils"
+ "github.com/containers/libpod/v2/pkg/domain/entities"
"github.com/spf13/cobra"
)
diff --git a/cmd/podman/pods/start.go b/cmd/podman/pods/start.go
index 97020b360..db09f1bce 100644
--- a/cmd/podman/pods/start.go
+++ b/cmd/podman/pods/start.go
@@ -4,11 +4,11 @@ import (
"context"
"fmt"
- "github.com/containers/libpod/cmd/podman/common"
- "github.com/containers/libpod/cmd/podman/parse"
- "github.com/containers/libpod/cmd/podman/registry"
- "github.com/containers/libpod/cmd/podman/utils"
- "github.com/containers/libpod/pkg/domain/entities"
+ "github.com/containers/libpod/v2/cmd/podman/common"
+ "github.com/containers/libpod/v2/cmd/podman/parse"
+ "github.com/containers/libpod/v2/cmd/podman/registry"
+ "github.com/containers/libpod/v2/cmd/podman/utils"
+ "github.com/containers/libpod/v2/pkg/domain/entities"
"github.com/spf13/cobra"
)
diff --git a/cmd/podman/pods/stats.go b/cmd/podman/pods/stats.go
index d14632f01..19ff750aa 100644
--- a/cmd/podman/pods/stats.go
+++ b/cmd/podman/pods/stats.go
@@ -12,9 +12,9 @@ import (
"github.com/buger/goterm"
"github.com/containers/buildah/pkg/formats"
- "github.com/containers/libpod/cmd/podman/registry"
- "github.com/containers/libpod/pkg/domain/entities"
- "github.com/containers/libpod/pkg/util/camelcase"
+ "github.com/containers/libpod/v2/cmd/podman/registry"
+ "github.com/containers/libpod/v2/pkg/domain/entities"
+ "github.com/containers/libpod/v2/pkg/util/camelcase"
"github.com/spf13/cobra"
)
diff --git a/cmd/podman/pods/stop.go b/cmd/podman/pods/stop.go
index 628e8a536..afe3b6eae 100644
--- a/cmd/podman/pods/stop.go
+++ b/cmd/podman/pods/stop.go
@@ -4,11 +4,11 @@ import (
"context"
"fmt"
- "github.com/containers/libpod/cmd/podman/common"
- "github.com/containers/libpod/cmd/podman/parse"
- "github.com/containers/libpod/cmd/podman/registry"
- "github.com/containers/libpod/cmd/podman/utils"
- "github.com/containers/libpod/pkg/domain/entities"
+ "github.com/containers/libpod/v2/cmd/podman/common"
+ "github.com/containers/libpod/v2/cmd/podman/parse"
+ "github.com/containers/libpod/v2/cmd/podman/registry"
+ "github.com/containers/libpod/v2/cmd/podman/utils"
+ "github.com/containers/libpod/v2/pkg/domain/entities"
"github.com/spf13/cobra"
)
diff --git a/cmd/podman/pods/top.go b/cmd/podman/pods/top.go
index ba1efb638..551eeccac 100644
--- a/cmd/podman/pods/top.go
+++ b/cmd/podman/pods/top.go
@@ -7,9 +7,9 @@ import (
"strings"
"text/tabwriter"
- "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/pods/unpause.go b/cmd/podman/pods/unpause.go
index b30bd930a..09f2e472d 100644
--- a/cmd/podman/pods/unpause.go
+++ b/cmd/podman/pods/unpause.go
@@ -4,10 +4,10 @@ import (
"context"
"fmt"
- "github.com/containers/libpod/cmd/podman/parse"
- "github.com/containers/libpod/cmd/podman/registry"
- "github.com/containers/libpod/cmd/podman/utils"
- "github.com/containers/libpod/pkg/domain/entities"
+ "github.com/containers/libpod/v2/cmd/podman/parse"
+ "github.com/containers/libpod/v2/cmd/podman/registry"
+ "github.com/containers/libpod/v2/cmd/podman/utils"
+ "github.com/containers/libpod/v2/pkg/domain/entities"
"github.com/spf13/cobra"
)