refactor: rename go module from zotregistry.io/zot to zotregistry.dev/zot (#2187)

Signed-off-by: Andrei Aaron <aaaron@luxoft.com>
This commit is contained in:
Andrei Aaron
2024-02-01 06:34:07 +02:00
committed by GitHub
parent 129e503d2d
commit ce4924f841
274 changed files with 1669 additions and 1669 deletions
+2 -2
View File
@@ -8,8 +8,8 @@ import (
notreg "github.com/notaryproject/notation-go/registry"
. "github.com/smartystreets/goconvey/convey"
"zotregistry.io/zot/pkg/api/config"
"zotregistry.io/zot/pkg/common"
"zotregistry.dev/zot/pkg/api/config"
"zotregistry.dev/zot/pkg/common"
)
func TestCommon(t *testing.T) {
+1 -1
View File
@@ -12,7 +12,7 @@ import (
"path"
"path/filepath"
"zotregistry.io/zot/pkg/log"
"zotregistry.dev/zot/pkg/log"
)
func GetTLSConfig(certsPath string, caCertPool *x509.CertPool) (*tls.Config, error) {
+5 -5
View File
@@ -10,11 +10,11 @@ import (
ispec "github.com/opencontainers/image-spec/specs-go/v1"
. "github.com/smartystreets/goconvey/convey"
"zotregistry.io/zot/pkg/api"
"zotregistry.io/zot/pkg/api/config"
"zotregistry.io/zot/pkg/common"
"zotregistry.io/zot/pkg/log"
test "zotregistry.io/zot/pkg/test/common"
"zotregistry.dev/zot/pkg/api"
"zotregistry.dev/zot/pkg/api/config"
"zotregistry.dev/zot/pkg/common"
"zotregistry.dev/zot/pkg/log"
test "zotregistry.dev/zot/pkg/test/common"
)
func TestHTTPClient(t *testing.T) {
+4 -4
View File
@@ -10,10 +10,10 @@ import (
"github.com/gorilla/mux"
jsoniter "github.com/json-iterator/go"
"zotregistry.io/zot/pkg/api/config"
"zotregistry.io/zot/pkg/api/constants"
apiErr "zotregistry.io/zot/pkg/api/errors"
reqCtx "zotregistry.io/zot/pkg/requestcontext"
"zotregistry.dev/zot/pkg/api/config"
"zotregistry.dev/zot/pkg/api/constants"
apiErr "zotregistry.dev/zot/pkg/api/errors"
reqCtx "zotregistry.dev/zot/pkg/requestcontext"
)
func AllowedMethods(methods ...string) []string {
+1 -1
View File
@@ -7,7 +7,7 @@ import (
"github.com/opencontainers/go-digest"
ispec "github.com/opencontainers/image-spec/specs-go/v1"
zerr "zotregistry.io/zot/errors"
zerr "zotregistry.dev/zot/errors"
)
func GetImageDirAndTag(imageName string) (string, string) {
+1 -1
View File
@@ -5,7 +5,7 @@ import (
. "github.com/smartystreets/goconvey/convey"
"zotregistry.io/zot/pkg/common"
"zotregistry.dev/zot/pkg/common"
)
func TestOCI(t *testing.T) {