move references to zotregistry.io and project-zot

Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
This commit is contained in:
Ramkumar Chinchani
2021-12-04 03:50:58 +00:00
committed by Ravi Chamarthy
parent 304a68334e
commit 96226af869
83 changed files with 288 additions and 253 deletions
+2 -2
View File
@@ -12,11 +12,11 @@ import (
"strings"
"time"
"github.com/anuvu/zot/errors"
"github.com/anuvu/zot/pkg/api/config"
"github.com/chartmuseum/auth"
"github.com/gorilla/mux"
"golang.org/x/crypto/bcrypt"
"zotregistry.io/zot/errors"
"zotregistry.io/zot/pkg/api/config"
)
const (
+2 -2
View File
@@ -7,9 +7,9 @@ import (
"strings"
"time"
"github.com/anuvu/zot/pkg/api/config"
"github.com/anuvu/zot/pkg/log"
"github.com/gorilla/mux"
"zotregistry.io/zot/pkg/api/config"
"zotregistry.io/zot/pkg/log"
)
type contextKey int
+3 -3
View File
@@ -3,12 +3,12 @@ package config
import (
"fmt"
"github.com/anuvu/zot/errors"
extconf "github.com/anuvu/zot/pkg/extensions/config"
"github.com/anuvu/zot/pkg/log"
"github.com/getlantern/deepcopy"
distspec "github.com/opencontainers/distribution-spec/specs-go"
"github.com/spf13/viper"
"zotregistry.io/zot/errors"
extconf "zotregistry.io/zot/pkg/extensions/config"
"zotregistry.io/zot/pkg/log"
)
var (
+7 -7
View File
@@ -9,15 +9,15 @@ import (
"net/http"
"time"
"github.com/anuvu/zot/errors"
"github.com/anuvu/zot/pkg/api/config"
ext "github.com/anuvu/zot/pkg/extensions"
"github.com/anuvu/zot/pkg/extensions/monitoring"
"github.com/anuvu/zot/pkg/log"
"github.com/anuvu/zot/pkg/storage"
"github.com/anuvu/zot/pkg/storage/s3"
"github.com/gorilla/handlers"
"github.com/gorilla/mux"
"zotregistry.io/zot/errors"
"zotregistry.io/zot/pkg/api/config"
ext "zotregistry.io/zot/pkg/extensions"
"zotregistry.io/zot/pkg/extensions/monitoring"
"zotregistry.io/zot/pkg/log"
"zotregistry.io/zot/pkg/storage"
"zotregistry.io/zot/pkg/storage/s3"
"github.com/docker/distribution/registry/storage/driver/factory"
)
+5 -5
View File
@@ -24,11 +24,6 @@ import (
"testing"
"time"
"github.com/anuvu/zot/errors"
"github.com/anuvu/zot/pkg/api"
"github.com/anuvu/zot/pkg/api/config"
"github.com/anuvu/zot/pkg/storage"
. "github.com/anuvu/zot/test"
"github.com/chartmuseum/auth"
"github.com/mitchellh/mapstructure"
vldap "github.com/nmcclain/ldap"
@@ -44,6 +39,11 @@ import (
"github.com/stretchr/testify/assert"
"golang.org/x/crypto/bcrypt"
"gopkg.in/resty.v1"
"zotregistry.io/zot/errors"
"zotregistry.io/zot/pkg/api"
"zotregistry.io/zot/pkg/api/config"
"zotregistry.io/zot/pkg/storage"
. "zotregistry.io/zot/test"
)
const (
+1 -1
View File
@@ -1,7 +1,7 @@
package api
import (
"github.com/anuvu/zot/errors"
"zotregistry.io/zot/errors"
)
type Error struct {
+1 -1
View File
@@ -3,8 +3,8 @@ package api_test
import (
"testing"
"github.com/anuvu/zot/pkg/api"
. "github.com/smartystreets/goconvey/convey"
"zotregistry.io/zot/pkg/api"
)
func TestUnknownCodeError(t *testing.T) {
+2 -2
View File
@@ -10,11 +10,11 @@ import (
"crypto/x509"
"fmt"
"github.com/anuvu/zot/errors"
goldap "github.com/go-ldap/ldap/v3"
"zotregistry.io/zot/errors"
"github.com/anuvu/zot/pkg/log"
"github.com/go-ldap/ldap/v3"
"zotregistry.io/zot/pkg/log"
)
type LDAPClient struct {
+5 -5
View File
@@ -21,17 +21,17 @@ import (
"strconv"
"strings"
"github.com/anuvu/zot/errors"
ext "github.com/anuvu/zot/pkg/extensions"
"github.com/anuvu/zot/pkg/log"
"github.com/anuvu/zot/pkg/storage"
_ "github.com/anuvu/zot/swagger" // as required by swaggo
"github.com/gorilla/mux"
jsoniter "github.com/json-iterator/go"
"github.com/notaryproject/notation-go-lib"
notreg "github.com/notaryproject/notation/pkg/registry"
ispec "github.com/opencontainers/image-spec/specs-go/v1"
httpSwagger "github.com/swaggo/http-swagger"
"zotregistry.io/zot/errors"
ext "zotregistry.io/zot/pkg/extensions"
"zotregistry.io/zot/pkg/log"
"zotregistry.io/zot/pkg/storage"
_ "zotregistry.io/zot/swagger" // as required by swaggo
)
const (
+2 -2
View File
@@ -7,9 +7,9 @@ import (
"strings"
"time"
"github.com/anuvu/zot/pkg/extensions/monitoring"
"github.com/anuvu/zot/pkg/log"
"github.com/gorilla/mux"
"zotregistry.io/zot/pkg/extensions/monitoring"
"zotregistry.io/zot/pkg/log"
)
type statusWriter struct {