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
+3 -3
View File
@@ -11,9 +11,9 @@ import (
"github.com/opencontainers/image-spec/specs-go"
ispec "github.com/opencontainers/image-spec/specs-go/v1"
"zotregistry.io/zot/pkg/common"
mTypes "zotregistry.io/zot/pkg/meta/types"
storageConstants "zotregistry.io/zot/pkg/storage/constants"
"zotregistry.dev/zot/pkg/common"
mTypes "zotregistry.dev/zot/pkg/meta/types"
storageConstants "zotregistry.dev/zot/pkg/storage/constants"
)
const (
+2 -2
View File
@@ -8,8 +8,8 @@ import (
ispec "github.com/opencontainers/image-spec/specs-go/v1"
. "github.com/smartystreets/goconvey/convey"
"zotregistry.io/zot/pkg/common"
. "zotregistry.io/zot/pkg/test/image-utils"
"zotregistry.dev/zot/pkg/common"
. "zotregistry.dev/zot/pkg/test/image-utils"
)
func TestImageBuilder(t *testing.T) {
+1 -1
View File
@@ -7,7 +7,7 @@ import (
"github.com/opencontainers/image-spec/specs-go"
ispec "github.com/opencontainers/image-spec/specs-go/v1"
mTypes "zotregistry.io/zot/pkg/meta/types"
mTypes "zotregistry.dev/zot/pkg/meta/types"
)
type MultiarchImage struct {
+2 -2
View File
@@ -10,8 +10,8 @@ import (
ispec "github.com/opencontainers/image-spec/specs-go/v1"
"gopkg.in/resty.v1"
tcommon "zotregistry.io/zot/pkg/test/common"
"zotregistry.io/zot/pkg/test/inject"
tcommon "zotregistry.dev/zot/pkg/test/common"
"zotregistry.dev/zot/pkg/test/inject"
)
var (
+5 -5
View File
@@ -11,11 +11,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"
tcommon "zotregistry.io/zot/pkg/test/common"
. "zotregistry.io/zot/pkg/test/image-utils"
"zotregistry.io/zot/pkg/test/inject"
"zotregistry.dev/zot/pkg/api"
"zotregistry.dev/zot/pkg/api/config"
tcommon "zotregistry.dev/zot/pkg/test/common"
. "zotregistry.dev/zot/pkg/test/image-utils"
"zotregistry.dev/zot/pkg/test/inject"
)
func TestUploadImage(t *testing.T) {
+1 -1
View File
@@ -13,7 +13,7 @@ import (
godigest "github.com/opencontainers/go-digest"
ispec "github.com/opencontainers/image-spec/specs-go/v1"
tcommon "zotregistry.io/zot/pkg/test/common"
tcommon "zotregistry.dev/zot/pkg/test/common"
)
var vulnerableLayer []byte //nolint: gochecknoglobals
+1 -1
View File
@@ -7,7 +7,7 @@ import (
godigest "github.com/opencontainers/go-digest"
ispec "github.com/opencontainers/image-spec/specs-go/v1"
stypes "zotregistry.io/zot/pkg/storage/types"
stypes "zotregistry.dev/zot/pkg/storage/types"
)
func WriteImageToFileSystem(image Image, repoName, ref string, storeController stypes.StoreController) error {
+3 -3
View File
@@ -8,9 +8,9 @@ import (
godigest "github.com/opencontainers/go-digest"
. "github.com/smartystreets/goconvey/convey"
"zotregistry.io/zot/pkg/storage"
. "zotregistry.io/zot/pkg/test/image-utils"
"zotregistry.io/zot/pkg/test/mocks"
"zotregistry.dev/zot/pkg/storage"
. "zotregistry.dev/zot/pkg/test/image-utils"
"zotregistry.dev/zot/pkg/test/mocks"
)
var ErrTestError = errors.New("ErrTestError")