summaryrefslogtreecommitdiff
path: root/pkg/api/server
diff options
context:
space:
mode:
authorValentin Rothberg <rothberg@redhat.com>2022-01-18 10:14:48 +0100
committerValentin Rothberg <rothberg@redhat.com>2022-01-18 12:47:07 +0100
commitbd09b7aa79aee34608e71fd4ba90d157dae828fc (patch)
tree0ae61e3b0161c9057dfdcf84a9f5afe250dd9b95 /pkg/api/server
parentd6b0720b9cd5d993dffc229e73d8377aae2c2ed4 (diff)
downloadpodman-bd09b7aa79aee34608e71fd4ba90d157dae828fc.tar.gz
podman-bd09b7aa79aee34608e71fd4ba90d157dae828fc.tar.bz2
podman-bd09b7aa79aee34608e71fd4ba90d157dae828fc.zip
bump go module to version 4
Automated for .go files via gomove [1]: `gomove github.com/containers/podman/v3 github.com/containers/podman/v4` Remaining files via vgrep [2]: `vgrep github.com/containers/podman/v3` [1] https://github.com/KSubedi/gomove [2] https://github.com/vrothberg/vgrep Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'pkg/api/server')
-rw-r--r--pkg/api/server/handler_api.go2
-rw-r--r--pkg/api/server/handler_panic.go2
-rw-r--r--pkg/api/server/handler_rid.go2
-rw-r--r--pkg/api/server/register_archive.go2
-rw-r--r--pkg/api/server/register_auth.go2
-rw-r--r--pkg/api/server/register_containers.go4
-rw-r--r--pkg/api/server/register_distribution.go2
-rw-r--r--pkg/api/server/register_events.go2
-rw-r--r--pkg/api/server/register_exec.go2
-rw-r--r--pkg/api/server/register_generate.go2
-rw-r--r--pkg/api/server/register_healthcheck.go2
-rw-r--r--pkg/api/server/register_images.go4
-rw-r--r--pkg/api/server/register_info.go4
-rw-r--r--pkg/api/server/register_manifest.go2
-rw-r--r--pkg/api/server/register_monitor.go2
-rw-r--r--pkg/api/server/register_networks.go4
-rw-r--r--pkg/api/server/register_ping.go2
-rw-r--r--pkg/api/server/register_play.go2
-rw-r--r--pkg/api/server/register_plugins.go2
-rw-r--r--pkg/api/server/register_pods.go2
-rw-r--r--pkg/api/server/register_secrets.go4
-rw-r--r--pkg/api/server/register_swagger.go2
-rw-r--r--pkg/api/server/register_swarm.go2
-rw-r--r--pkg/api/server/register_system.go4
-rw-r--r--pkg/api/server/register_version.go2
-rw-r--r--pkg/api/server/register_volumes.go4
-rw-r--r--pkg/api/server/server.go12
-rw-r--r--pkg/api/server/swagger.go10
28 files changed, 44 insertions, 44 deletions
diff --git a/pkg/api/server/handler_api.go b/pkg/api/server/handler_api.go
index 88b9b7397..a3aa681d0 100644
--- a/pkg/api/server/handler_api.go
+++ b/pkg/api/server/handler_api.go
@@ -5,7 +5,7 @@ import (
"net/http"
"runtime"
- "github.com/containers/podman/v3/version"
+ "github.com/containers/podman/v4/version"
"github.com/sirupsen/logrus"
)
diff --git a/pkg/api/server/handler_panic.go b/pkg/api/server/handler_panic.go
index f643db79a..e00b3b5e7 100644
--- a/pkg/api/server/handler_panic.go
+++ b/pkg/api/server/handler_panic.go
@@ -5,7 +5,7 @@ import (
"net/http"
"runtime"
- "github.com/containers/podman/v3/pkg/api/handlers/utils"
+ "github.com/containers/podman/v4/pkg/api/handlers/utils"
"github.com/gorilla/mux"
"github.com/sirupsen/logrus"
)
diff --git a/pkg/api/server/handler_rid.go b/pkg/api/server/handler_rid.go
index 7dcf436f7..ee278071a 100644
--- a/pkg/api/server/handler_rid.go
+++ b/pkg/api/server/handler_rid.go
@@ -5,7 +5,7 @@ import (
"io/ioutil"
"net/http"
- "github.com/containers/podman/v3/pkg/api/types"
+ "github.com/containers/podman/v4/pkg/api/types"
"github.com/google/uuid"
"github.com/gorilla/handlers"
"github.com/gorilla/mux"
diff --git a/pkg/api/server/register_archive.go b/pkg/api/server/register_archive.go
index 82d72ee6a..e51d12300 100644
--- a/pkg/api/server/register_archive.go
+++ b/pkg/api/server/register_archive.go
@@ -3,7 +3,7 @@ package server
import (
"net/http"
- "github.com/containers/podman/v3/pkg/api/handlers/compat"
+ "github.com/containers/podman/v4/pkg/api/handlers/compat"
"github.com/gorilla/mux"
)
diff --git a/pkg/api/server/register_auth.go b/pkg/api/server/register_auth.go
index c07337653..e66a211fd 100644
--- a/pkg/api/server/register_auth.go
+++ b/pkg/api/server/register_auth.go
@@ -3,7 +3,7 @@ package server
import (
"net/http"
- "github.com/containers/podman/v3/pkg/api/handlers/compat"
+ "github.com/containers/podman/v4/pkg/api/handlers/compat"
"github.com/gorilla/mux"
)
diff --git a/pkg/api/server/register_containers.go b/pkg/api/server/register_containers.go
index 4d19c04d4..89324794e 100644
--- a/pkg/api/server/register_containers.go
+++ b/pkg/api/server/register_containers.go
@@ -3,8 +3,8 @@ package server
import (
"net/http"
- "github.com/containers/podman/v3/pkg/api/handlers/compat"
- "github.com/containers/podman/v3/pkg/api/handlers/libpod"
+ "github.com/containers/podman/v4/pkg/api/handlers/compat"
+ "github.com/containers/podman/v4/pkg/api/handlers/libpod"
"github.com/gorilla/mux"
)
diff --git a/pkg/api/server/register_distribution.go b/pkg/api/server/register_distribution.go
index cbb4476f3..8048c1ad2 100644
--- a/pkg/api/server/register_distribution.go
+++ b/pkg/api/server/register_distribution.go
@@ -1,7 +1,7 @@
package server
import (
- "github.com/containers/podman/v3/pkg/api/handlers/compat"
+ "github.com/containers/podman/v4/pkg/api/handlers/compat"
"github.com/gorilla/mux"
)
diff --git a/pkg/api/server/register_events.go b/pkg/api/server/register_events.go
index 553f2c0ea..10a7b76fc 100644
--- a/pkg/api/server/register_events.go
+++ b/pkg/api/server/register_events.go
@@ -3,7 +3,7 @@ package server
import (
"net/http"
- "github.com/containers/podman/v3/pkg/api/handlers/compat"
+ "github.com/containers/podman/v4/pkg/api/handlers/compat"
"github.com/gorilla/mux"
)
diff --git a/pkg/api/server/register_exec.go b/pkg/api/server/register_exec.go
index e353d714c..c19ca7859 100644
--- a/pkg/api/server/register_exec.go
+++ b/pkg/api/server/register_exec.go
@@ -3,7 +3,7 @@ package server
import (
"net/http"
- "github.com/containers/podman/v3/pkg/api/handlers/compat"
+ "github.com/containers/podman/v4/pkg/api/handlers/compat"
"github.com/gorilla/mux"
)
diff --git a/pkg/api/server/register_generate.go b/pkg/api/server/register_generate.go
index 65340bf56..47057959c 100644
--- a/pkg/api/server/register_generate.go
+++ b/pkg/api/server/register_generate.go
@@ -3,7 +3,7 @@ package server
import (
"net/http"
- "github.com/containers/podman/v3/pkg/api/handlers/libpod"
+ "github.com/containers/podman/v4/pkg/api/handlers/libpod"
"github.com/gorilla/mux"
)
diff --git a/pkg/api/server/register_healthcheck.go b/pkg/api/server/register_healthcheck.go
index 7d8541a51..014e82fe4 100644
--- a/pkg/api/server/register_healthcheck.go
+++ b/pkg/api/server/register_healthcheck.go
@@ -3,7 +3,7 @@ package server
import (
"net/http"
- "github.com/containers/podman/v3/pkg/api/handlers/libpod"
+ "github.com/containers/podman/v4/pkg/api/handlers/libpod"
"github.com/gorilla/mux"
)
diff --git a/pkg/api/server/register_images.go b/pkg/api/server/register_images.go
index df48253e2..f0b52dfc6 100644
--- a/pkg/api/server/register_images.go
+++ b/pkg/api/server/register_images.go
@@ -3,8 +3,8 @@ package server
import (
"net/http"
- "github.com/containers/podman/v3/pkg/api/handlers/compat"
- "github.com/containers/podman/v3/pkg/api/handlers/libpod"
+ "github.com/containers/podman/v4/pkg/api/handlers/compat"
+ "github.com/containers/podman/v4/pkg/api/handlers/libpod"
"github.com/gorilla/mux"
)
diff --git a/pkg/api/server/register_info.go b/pkg/api/server/register_info.go
index 45185ba3b..ccb145366 100644
--- a/pkg/api/server/register_info.go
+++ b/pkg/api/server/register_info.go
@@ -3,8 +3,8 @@ package server
import (
"net/http"
- "github.com/containers/podman/v3/pkg/api/handlers/compat"
- "github.com/containers/podman/v3/pkg/api/handlers/libpod"
+ "github.com/containers/podman/v4/pkg/api/handlers/compat"
+ "github.com/containers/podman/v4/pkg/api/handlers/libpod"
"github.com/gorilla/mux"
)
diff --git a/pkg/api/server/register_manifest.go b/pkg/api/server/register_manifest.go
index 8cd3d8b22..58def109e 100644
--- a/pkg/api/server/register_manifest.go
+++ b/pkg/api/server/register_manifest.go
@@ -3,7 +3,7 @@ package server
import (
"net/http"
- "github.com/containers/podman/v3/pkg/api/handlers/libpod"
+ "github.com/containers/podman/v4/pkg/api/handlers/libpod"
"github.com/gorilla/mux"
)
diff --git a/pkg/api/server/register_monitor.go b/pkg/api/server/register_monitor.go
index 45d24af61..348b99400 100644
--- a/pkg/api/server/register_monitor.go
+++ b/pkg/api/server/register_monitor.go
@@ -1,7 +1,7 @@
package server
import (
- "github.com/containers/podman/v3/pkg/api/handlers/compat"
+ "github.com/containers/podman/v4/pkg/api/handlers/compat"
"github.com/gorilla/mux"
)
diff --git a/pkg/api/server/register_networks.go b/pkg/api/server/register_networks.go
index 77e8a80fd..baa1fe6fb 100644
--- a/pkg/api/server/register_networks.go
+++ b/pkg/api/server/register_networks.go
@@ -3,8 +3,8 @@ package server
import (
"net/http"
- "github.com/containers/podman/v3/pkg/api/handlers/compat"
- "github.com/containers/podman/v3/pkg/api/handlers/libpod"
+ "github.com/containers/podman/v4/pkg/api/handlers/compat"
+ "github.com/containers/podman/v4/pkg/api/handlers/libpod"
"github.com/gorilla/mux"
)
diff --git a/pkg/api/server/register_ping.go b/pkg/api/server/register_ping.go
index 1222b3dba..22c7eb3fd 100644
--- a/pkg/api/server/register_ping.go
+++ b/pkg/api/server/register_ping.go
@@ -3,7 +3,7 @@ package server
import (
"net/http"
- "github.com/containers/podman/v3/pkg/api/handlers/compat"
+ "github.com/containers/podman/v4/pkg/api/handlers/compat"
"github.com/gorilla/mux"
)
diff --git a/pkg/api/server/register_play.go b/pkg/api/server/register_play.go
index 5ace01929..52bc75bcf 100644
--- a/pkg/api/server/register_play.go
+++ b/pkg/api/server/register_play.go
@@ -3,7 +3,7 @@ package server
import (
"net/http"
- "github.com/containers/podman/v3/pkg/api/handlers/libpod"
+ "github.com/containers/podman/v4/pkg/api/handlers/libpod"
"github.com/gorilla/mux"
)
diff --git a/pkg/api/server/register_plugins.go b/pkg/api/server/register_plugins.go
index 6fe217bfd..0134f1f32 100644
--- a/pkg/api/server/register_plugins.go
+++ b/pkg/api/server/register_plugins.go
@@ -1,7 +1,7 @@
package server
import (
- "github.com/containers/podman/v3/pkg/api/handlers/compat"
+ "github.com/containers/podman/v4/pkg/api/handlers/compat"
"github.com/gorilla/mux"
)
diff --git a/pkg/api/server/register_pods.go b/pkg/api/server/register_pods.go
index 16a7bbb4c..7aeafe724 100644
--- a/pkg/api/server/register_pods.go
+++ b/pkg/api/server/register_pods.go
@@ -3,7 +3,7 @@ package server
import (
"net/http"
- "github.com/containers/podman/v3/pkg/api/handlers/libpod"
+ "github.com/containers/podman/v4/pkg/api/handlers/libpod"
"github.com/gorilla/mux"
)
diff --git a/pkg/api/server/register_secrets.go b/pkg/api/server/register_secrets.go
index 129912179..26bc07834 100644
--- a/pkg/api/server/register_secrets.go
+++ b/pkg/api/server/register_secrets.go
@@ -3,8 +3,8 @@ package server
import (
"net/http"
- "github.com/containers/podman/v3/pkg/api/handlers/compat"
- "github.com/containers/podman/v3/pkg/api/handlers/libpod"
+ "github.com/containers/podman/v4/pkg/api/handlers/compat"
+ "github.com/containers/podman/v4/pkg/api/handlers/libpod"
"github.com/gorilla/mux"
)
diff --git a/pkg/api/server/register_swagger.go b/pkg/api/server/register_swagger.go
index 48af7713f..1f6edb336 100644
--- a/pkg/api/server/register_swagger.go
+++ b/pkg/api/server/register_swagger.go
@@ -3,7 +3,7 @@ package server
import (
"net/http"
- "github.com/containers/podman/v3/pkg/api/handlers/libpod"
+ "github.com/containers/podman/v4/pkg/api/handlers/libpod"
"github.com/gorilla/mux"
)
diff --git a/pkg/api/server/register_swarm.go b/pkg/api/server/register_swarm.go
index fce35ba32..9bb1b1c7c 100644
--- a/pkg/api/server/register_swarm.go
+++ b/pkg/api/server/register_swarm.go
@@ -4,7 +4,7 @@ import (
"errors"
"net/http"
- "github.com/containers/podman/v3/pkg/api/handlers/utils"
+ "github.com/containers/podman/v4/pkg/api/handlers/utils"
"github.com/gorilla/mux"
"github.com/sirupsen/logrus"
)
diff --git a/pkg/api/server/register_system.go b/pkg/api/server/register_system.go
index 739daf7a6..a70f3b5f2 100644
--- a/pkg/api/server/register_system.go
+++ b/pkg/api/server/register_system.go
@@ -3,8 +3,8 @@ package server
import (
"net/http"
- "github.com/containers/podman/v3/pkg/api/handlers/compat"
- "github.com/containers/podman/v3/pkg/api/handlers/libpod"
+ "github.com/containers/podman/v4/pkg/api/handlers/compat"
+ "github.com/containers/podman/v4/pkg/api/handlers/libpod"
"github.com/gorilla/mux"
)
diff --git a/pkg/api/server/register_version.go b/pkg/api/server/register_version.go
index 462edf4ee..e9680f9ef 100644
--- a/pkg/api/server/register_version.go
+++ b/pkg/api/server/register_version.go
@@ -3,7 +3,7 @@ package server
import (
"net/http"
- "github.com/containers/podman/v3/pkg/api/handlers/compat"
+ "github.com/containers/podman/v4/pkg/api/handlers/compat"
"github.com/gorilla/mux"
)
diff --git a/pkg/api/server/register_volumes.go b/pkg/api/server/register_volumes.go
index d1c1d5024..d36350146 100644
--- a/pkg/api/server/register_volumes.go
+++ b/pkg/api/server/register_volumes.go
@@ -3,8 +3,8 @@ package server
import (
"net/http"
- "github.com/containers/podman/v3/pkg/api/handlers/compat"
- "github.com/containers/podman/v3/pkg/api/handlers/libpod"
+ "github.com/containers/podman/v4/pkg/api/handlers/compat"
+ "github.com/containers/podman/v4/pkg/api/handlers/libpod"
"github.com/gorilla/mux"
)
diff --git a/pkg/api/server/server.go b/pkg/api/server/server.go
index 65b7e2474..73740a6f9 100644
--- a/pkg/api/server/server.go
+++ b/pkg/api/server/server.go
@@ -14,12 +14,12 @@ import (
"syscall"
"time"
- "github.com/containers/podman/v3/libpod"
- "github.com/containers/podman/v3/libpod/shutdown"
- "github.com/containers/podman/v3/pkg/api/handlers"
- "github.com/containers/podman/v3/pkg/api/server/idle"
- "github.com/containers/podman/v3/pkg/api/types"
- "github.com/containers/podman/v3/pkg/domain/entities"
+ "github.com/containers/podman/v4/libpod"
+ "github.com/containers/podman/v4/libpod/shutdown"
+ "github.com/containers/podman/v4/pkg/api/handlers"
+ "github.com/containers/podman/v4/pkg/api/server/idle"
+ "github.com/containers/podman/v4/pkg/api/types"
+ "github.com/containers/podman/v4/pkg/domain/entities"
"github.com/coreos/go-systemd/v22/activation"
"github.com/coreos/go-systemd/v22/daemon"
"github.com/gorilla/mux"
diff --git a/pkg/api/server/swagger.go b/pkg/api/server/swagger.go
index 3f8f6f9c5..7b0e7a5a7 100644
--- a/pkg/api/server/swagger.go
+++ b/pkg/api/server/swagger.go
@@ -1,11 +1,11 @@
package server
import (
- "github.com/containers/podman/v3/libpod"
- "github.com/containers/podman/v3/libpod/define"
- "github.com/containers/podman/v3/pkg/domain/entities"
- "github.com/containers/podman/v3/pkg/domain/entities/reports"
- "github.com/containers/podman/v3/pkg/errorhandling"
+ "github.com/containers/podman/v4/libpod"
+ "github.com/containers/podman/v4/libpod/define"
+ "github.com/containers/podman/v4/pkg/domain/entities"
+ "github.com/containers/podman/v4/pkg/domain/entities/reports"
+ "github.com/containers/podman/v4/pkg/errorhandling"
docker "github.com/docker/docker/api/types"
)