mirror of
https://github.com/containers/podman.git
synced 2025-11-30 01:58:46 +08:00
Bump Go version to v6
Tremendous amount of changes in here, but all should amount to the same thing: changing Go import paths from v5 to v6. Also bumped go.mod to github.com/containers/podman/v6 and updated version to v6.0.0-dev. Signed-off-by: Matt Heon <mheon@redhat.com>
This commit is contained in:
@@ -29,15 +29,15 @@
|
||||
//
|
||||
// 'podman info'
|
||||
//
|
||||
// curl --unix-socket /run/podman/podman.sock http://d/v5.0.0/libpod/info
|
||||
// curl --unix-socket /run/podman/podman.sock http://d/v6.0.0/libpod/info
|
||||
//
|
||||
// 'podman pull quay.io/containers/podman'
|
||||
//
|
||||
// curl -XPOST --unix-socket /run/podman/podman.sock -v 'http://d/v5.0.0/images/create?fromImage=quay.io%2Fcontainers%2Fpodman'
|
||||
// curl -XPOST --unix-socket /run/podman/podman.sock -v 'http://d/v6.0.0/images/create?fromImage=quay.io%2Fcontainers%2Fpodman'
|
||||
//
|
||||
// 'podman list images'
|
||||
//
|
||||
// curl --unix-socket /run/podman/podman.sock -v 'http://d/v5.0.0/libpod/images/json' | jq
|
||||
// curl --unix-socket /run/podman/podman.sock -v 'http://d/v6.0.0/libpod/images/json' | jq
|
||||
//
|
||||
// Terms Of Service:
|
||||
//
|
||||
|
||||
@@ -10,7 +10,7 @@ import (
|
||||
"net/http"
|
||||
"runtime"
|
||||
|
||||
"github.com/containers/podman/v5/version"
|
||||
"github.com/containers/podman/v6/version"
|
||||
"github.com/sirupsen/logrus"
|
||||
)
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ import (
|
||||
"net/http"
|
||||
"runtime"
|
||||
|
||||
"github.com/containers/podman/v5/pkg/api/handlers/utils"
|
||||
"github.com/containers/podman/v6/pkg/api/handlers/utils"
|
||||
"github.com/gorilla/mux"
|
||||
"github.com/sirupsen/logrus"
|
||||
)
|
||||
|
||||
@@ -7,7 +7,7 @@ import (
|
||||
"io"
|
||||
"net/http"
|
||||
|
||||
"github.com/containers/podman/v5/pkg/api/types"
|
||||
"github.com/containers/podman/v6/pkg/api/types"
|
||||
"github.com/google/uuid"
|
||||
"github.com/gorilla/handlers"
|
||||
"github.com/gorilla/mux"
|
||||
|
||||
@@ -5,7 +5,7 @@ package server
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"github.com/containers/podman/v5/pkg/api/handlers/compat"
|
||||
"github.com/containers/podman/v6/pkg/api/handlers/compat"
|
||||
"github.com/gorilla/mux"
|
||||
)
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ package server
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"github.com/containers/podman/v5/pkg/api/handlers/libpod"
|
||||
"github.com/containers/podman/v6/pkg/api/handlers/libpod"
|
||||
"github.com/gorilla/mux"
|
||||
)
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ package server
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"github.com/containers/podman/v5/pkg/api/handlers/compat"
|
||||
"github.com/containers/podman/v6/pkg/api/handlers/compat"
|
||||
"github.com/gorilla/mux"
|
||||
)
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@ package server
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"github.com/containers/podman/v5/pkg/api/handlers/compat"
|
||||
"github.com/containers/podman/v5/pkg/api/handlers/libpod"
|
||||
"github.com/containers/podman/v6/pkg/api/handlers/compat"
|
||||
"github.com/containers/podman/v6/pkg/api/handlers/libpod"
|
||||
"github.com/gorilla/mux"
|
||||
)
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
package server
|
||||
|
||||
import (
|
||||
"github.com/containers/podman/v5/pkg/api/handlers/compat"
|
||||
"github.com/containers/podman/v6/pkg/api/handlers/compat"
|
||||
"github.com/gorilla/mux"
|
||||
)
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ package server
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"github.com/containers/podman/v5/pkg/api/handlers/compat"
|
||||
"github.com/containers/podman/v6/pkg/api/handlers/compat"
|
||||
"github.com/gorilla/mux"
|
||||
)
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ package server
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"github.com/containers/podman/v5/pkg/api/handlers/compat"
|
||||
"github.com/containers/podman/v6/pkg/api/handlers/compat"
|
||||
"github.com/gorilla/mux"
|
||||
)
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ package server
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"github.com/containers/podman/v5/pkg/api/handlers/libpod"
|
||||
"github.com/containers/podman/v6/pkg/api/handlers/libpod"
|
||||
"github.com/gorilla/mux"
|
||||
)
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ package server
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"github.com/containers/podman/v5/pkg/api/handlers/libpod"
|
||||
"github.com/containers/podman/v6/pkg/api/handlers/libpod"
|
||||
"github.com/gorilla/mux"
|
||||
)
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@ package server
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"github.com/containers/podman/v5/pkg/api/handlers/compat"
|
||||
"github.com/containers/podman/v5/pkg/api/handlers/libpod"
|
||||
"github.com/containers/podman/v6/pkg/api/handlers/compat"
|
||||
"github.com/containers/podman/v6/pkg/api/handlers/libpod"
|
||||
"github.com/gorilla/mux"
|
||||
)
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@ package server
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"github.com/containers/podman/v5/pkg/api/handlers/compat"
|
||||
"github.com/containers/podman/v5/pkg/api/handlers/libpod"
|
||||
"github.com/containers/podman/v6/pkg/api/handlers/compat"
|
||||
"github.com/containers/podman/v6/pkg/api/handlers/libpod"
|
||||
"github.com/gorilla/mux"
|
||||
)
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ package server
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"github.com/containers/podman/v5/pkg/api/handlers/libpod"
|
||||
"github.com/containers/podman/v6/pkg/api/handlers/libpod"
|
||||
"github.com/gorilla/mux"
|
||||
)
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ package server
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"github.com/containers/podman/v5/pkg/api/handlers/libpod"
|
||||
"github.com/containers/podman/v6/pkg/api/handlers/libpod"
|
||||
"github.com/gorilla/mux"
|
||||
)
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
package server
|
||||
|
||||
import (
|
||||
"github.com/containers/podman/v5/pkg/api/handlers/compat"
|
||||
"github.com/containers/podman/v6/pkg/api/handlers/compat"
|
||||
"github.com/gorilla/mux"
|
||||
)
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@ package server
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"github.com/containers/podman/v5/pkg/api/handlers/compat"
|
||||
"github.com/containers/podman/v5/pkg/api/handlers/libpod"
|
||||
"github.com/containers/podman/v6/pkg/api/handlers/compat"
|
||||
"github.com/containers/podman/v6/pkg/api/handlers/libpod"
|
||||
"github.com/gorilla/mux"
|
||||
)
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ package server
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"github.com/containers/podman/v5/pkg/api/handlers/compat"
|
||||
"github.com/containers/podman/v6/pkg/api/handlers/compat"
|
||||
"github.com/gorilla/mux"
|
||||
)
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
package server
|
||||
|
||||
import (
|
||||
"github.com/containers/podman/v5/pkg/api/handlers/compat"
|
||||
"github.com/containers/podman/v6/pkg/api/handlers/compat"
|
||||
"github.com/gorilla/mux"
|
||||
)
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ package server
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"github.com/containers/podman/v5/pkg/api/handlers/libpod"
|
||||
"github.com/containers/podman/v6/pkg/api/handlers/libpod"
|
||||
"github.com/gorilla/mux"
|
||||
)
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ package server
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"github.com/containers/podman/v5/pkg/api/handlers/libpod"
|
||||
"github.com/containers/podman/v6/pkg/api/handlers/libpod"
|
||||
"github.com/gorilla/mux"
|
||||
)
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@ package server
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"github.com/containers/podman/v5/pkg/api/handlers/compat"
|
||||
"github.com/containers/podman/v5/pkg/api/handlers/libpod"
|
||||
"github.com/containers/podman/v6/pkg/api/handlers/compat"
|
||||
"github.com/containers/podman/v6/pkg/api/handlers/libpod"
|
||||
"github.com/gorilla/mux"
|
||||
)
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ package server
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"github.com/containers/podman/v5/pkg/api/handlers/libpod"
|
||||
"github.com/containers/podman/v6/pkg/api/handlers/libpod"
|
||||
"github.com/gorilla/mux"
|
||||
)
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ import (
|
||||
"errors"
|
||||
"net/http"
|
||||
|
||||
"github.com/containers/podman/v5/pkg/api/handlers/utils"
|
||||
"github.com/containers/podman/v6/pkg/api/handlers/utils"
|
||||
"github.com/gorilla/mux"
|
||||
"github.com/sirupsen/logrus"
|
||||
)
|
||||
|
||||
@@ -5,8 +5,8 @@ package server
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"github.com/containers/podman/v5/pkg/api/handlers/compat"
|
||||
"github.com/containers/podman/v5/pkg/api/handlers/libpod"
|
||||
"github.com/containers/podman/v6/pkg/api/handlers/compat"
|
||||
"github.com/containers/podman/v6/pkg/api/handlers/libpod"
|
||||
"github.com/gorilla/mux"
|
||||
)
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ package server
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"github.com/containers/podman/v5/pkg/api/handlers/compat"
|
||||
"github.com/containers/podman/v6/pkg/api/handlers/compat"
|
||||
"github.com/gorilla/mux"
|
||||
)
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@ package server
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"github.com/containers/podman/v5/pkg/api/handlers/compat"
|
||||
"github.com/containers/podman/v5/pkg/api/handlers/libpod"
|
||||
"github.com/containers/podman/v6/pkg/api/handlers/compat"
|
||||
"github.com/containers/podman/v6/pkg/api/handlers/libpod"
|
||||
"github.com/gorilla/mux"
|
||||
)
|
||||
|
||||
|
||||
@@ -17,13 +17,13 @@ import (
|
||||
"syscall"
|
||||
"time"
|
||||
|
||||
"github.com/containers/podman/v5/libpod"
|
||||
"github.com/containers/podman/v5/libpod/shutdown"
|
||||
"github.com/containers/podman/v5/pkg/api/handlers"
|
||||
"github.com/containers/podman/v5/pkg/api/server/idle"
|
||||
"github.com/containers/podman/v5/pkg/api/types"
|
||||
"github.com/containers/podman/v5/pkg/domain/entities"
|
||||
"github.com/containers/podman/v5/pkg/util/tlsutil"
|
||||
"github.com/containers/podman/v6/libpod"
|
||||
"github.com/containers/podman/v6/libpod/shutdown"
|
||||
"github.com/containers/podman/v6/pkg/api/handlers"
|
||||
"github.com/containers/podman/v6/pkg/api/server/idle"
|
||||
"github.com/containers/podman/v6/pkg/api/types"
|
||||
"github.com/containers/podman/v6/pkg/domain/entities"
|
||||
"github.com/containers/podman/v6/pkg/util/tlsutil"
|
||||
"github.com/coreos/go-systemd/v22/daemon"
|
||||
"github.com/gorilla/mux"
|
||||
"github.com/gorilla/schema"
|
||||
|
||||
Reference in New Issue
Block a user