mirror of
https://github.com/project-zot/zot.git
synced 2026-06-16 04:17:55 +08:00
move references to zotregistry.io and project-zot
Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
This commit is contained in:
committed by
Ravi Chamarthy
parent
304a68334e
commit
96226af869
@@ -1,3 +1,4 @@
|
||||
//go:build extended
|
||||
// +build extended
|
||||
|
||||
package cli
|
||||
|
||||
+3
-2
@@ -1,3 +1,4 @@
|
||||
//go:build extended
|
||||
// +build extended
|
||||
|
||||
package cli
|
||||
@@ -18,8 +19,8 @@ import (
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
zotErrors "github.com/anuvu/zot/errors"
|
||||
"github.com/anuvu/zot/pkg/storage"
|
||||
zotErrors "zotregistry.io/zot/errors"
|
||||
"zotregistry.io/zot/pkg/storage"
|
||||
)
|
||||
|
||||
var httpClientsMap = make(map[string]*http.Client) //nolint: gochecknoglobals
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
//go:build extended
|
||||
// +build extended
|
||||
|
||||
package cli //nolint:testpackage
|
||||
@@ -14,11 +15,11 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/anuvu/zot/pkg/api"
|
||||
"github.com/anuvu/zot/pkg/api/config"
|
||||
. "github.com/anuvu/zot/test"
|
||||
. "github.com/smartystreets/goconvey/convey"
|
||||
"gopkg.in/resty.v1"
|
||||
"zotregistry.io/zot/pkg/api"
|
||||
"zotregistry.io/zot/pkg/api/config"
|
||||
. "zotregistry.io/zot/test"
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
//go:build extended
|
||||
// +build extended
|
||||
|
||||
package cli
|
||||
@@ -14,7 +15,7 @@ import (
|
||||
|
||||
jsoniter "github.com/json-iterator/go"
|
||||
|
||||
zotErrors "github.com/anuvu/zot/errors"
|
||||
zotErrors "zotregistry.io/zot/errors"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
//go:build extended
|
||||
// +build extended
|
||||
|
||||
package cli //nolint:testpackage
|
||||
@@ -10,7 +11,7 @@ import (
|
||||
"strings"
|
||||
"testing"
|
||||
|
||||
zotErrors "github.com/anuvu/zot/errors"
|
||||
zotErrors "zotregistry.io/zot/errors"
|
||||
|
||||
. "github.com/smartystreets/goconvey/convey"
|
||||
)
|
||||
|
||||
+2
-1
@@ -1,3 +1,4 @@
|
||||
//go:build extended
|
||||
// +build extended
|
||||
|
||||
package cli
|
||||
@@ -7,7 +8,7 @@ import (
|
||||
"os"
|
||||
"path"
|
||||
|
||||
zotErrors "github.com/anuvu/zot/errors"
|
||||
zotErrors "zotregistry.io/zot/errors"
|
||||
|
||||
"github.com/briandowns/spinner"
|
||||
"github.com/spf13/cobra"
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
//go:build extended
|
||||
// +build extended
|
||||
|
||||
package cli //nolint:testpackage
|
||||
@@ -14,13 +15,13 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
zotErrors "github.com/anuvu/zot/errors"
|
||||
"github.com/anuvu/zot/pkg/api"
|
||||
"github.com/anuvu/zot/pkg/api/config"
|
||||
extconf "github.com/anuvu/zot/pkg/extensions/config"
|
||||
. "github.com/anuvu/zot/test"
|
||||
. "github.com/smartystreets/goconvey/convey"
|
||||
"gopkg.in/resty.v1"
|
||||
zotErrors "zotregistry.io/zot/errors"
|
||||
"zotregistry.io/zot/pkg/api"
|
||||
"zotregistry.io/zot/pkg/api/config"
|
||||
extconf "zotregistry.io/zot/pkg/extensions/config"
|
||||
. "zotregistry.io/zot/test"
|
||||
)
|
||||
|
||||
func TestSearchCVECmd(t *testing.T) {
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
//go:build extended
|
||||
// +build extended
|
||||
|
||||
package cli
|
||||
@@ -8,9 +9,9 @@ import (
|
||||
"strconv"
|
||||
"time"
|
||||
|
||||
zotErrors "github.com/anuvu/zot/errors"
|
||||
"github.com/briandowns/spinner"
|
||||
"github.com/spf13/cobra"
|
||||
zotErrors "zotregistry.io/zot/errors"
|
||||
)
|
||||
|
||||
func NewImageCommand(searchService SearchService) *cobra.Command {
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
//go:build extended
|
||||
// +build extended
|
||||
|
||||
package cli //nolint:testpackage
|
||||
@@ -16,15 +17,15 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
zotErrors "github.com/anuvu/zot/errors"
|
||||
"github.com/anuvu/zot/pkg/api"
|
||||
"github.com/anuvu/zot/pkg/api/config"
|
||||
extconf "github.com/anuvu/zot/pkg/extensions/config"
|
||||
. "github.com/anuvu/zot/test"
|
||||
godigest "github.com/opencontainers/go-digest"
|
||||
ispec "github.com/opencontainers/image-spec/specs-go/v1"
|
||||
. "github.com/smartystreets/goconvey/convey"
|
||||
"gopkg.in/resty.v1"
|
||||
zotErrors "zotregistry.io/zot/errors"
|
||||
"zotregistry.io/zot/pkg/api"
|
||||
"zotregistry.io/zot/pkg/api/config"
|
||||
extconf "zotregistry.io/zot/pkg/extensions/config"
|
||||
. "zotregistry.io/zot/test"
|
||||
)
|
||||
|
||||
func TestSearchImageCmd(t *testing.T) {
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
//go:build minimal
|
||||
// +build minimal
|
||||
|
||||
package cli
|
||||
|
||||
+4
-4
@@ -1,10 +1,6 @@
|
||||
package cli
|
||||
|
||||
import (
|
||||
"github.com/anuvu/zot/errors"
|
||||
"github.com/anuvu/zot/pkg/api"
|
||||
"github.com/anuvu/zot/pkg/api/config"
|
||||
"github.com/anuvu/zot/pkg/storage"
|
||||
glob "github.com/bmatcuk/doublestar/v4"
|
||||
"github.com/fsnotify/fsnotify"
|
||||
"github.com/mitchellh/mapstructure"
|
||||
@@ -12,6 +8,10 @@ import (
|
||||
"github.com/rs/zerolog/log"
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/spf13/viper"
|
||||
"zotregistry.io/zot/errors"
|
||||
"zotregistry.io/zot/pkg/api"
|
||||
"zotregistry.io/zot/pkg/api/config"
|
||||
"zotregistry.io/zot/pkg/storage"
|
||||
)
|
||||
|
||||
// metadataConfig reports metadata after parsing, which we use to track
|
||||
|
||||
@@ -6,10 +6,10 @@ import (
|
||||
"path"
|
||||
"testing"
|
||||
|
||||
"github.com/anuvu/zot/pkg/api/config"
|
||||
"github.com/anuvu/zot/pkg/cli"
|
||||
. "github.com/smartystreets/goconvey/convey"
|
||||
"github.com/spf13/viper"
|
||||
"zotregistry.io/zot/pkg/api/config"
|
||||
"zotregistry.io/zot/pkg/cli"
|
||||
)
|
||||
|
||||
func TestUsage(t *testing.T) {
|
||||
|
||||
+2
-1
@@ -1,3 +1,4 @@
|
||||
//go:build extended
|
||||
// +build extended
|
||||
|
||||
package cli
|
||||
@@ -11,8 +12,8 @@ import (
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
zotErrors "github.com/anuvu/zot/errors"
|
||||
"github.com/briandowns/spinner"
|
||||
zotErrors "zotregistry.io/zot/errors"
|
||||
)
|
||||
|
||||
func getImageSearchers() []searcher {
|
||||
|
||||
+2
-1
@@ -1,3 +1,4 @@
|
||||
//go:build extended
|
||||
// +build extended
|
||||
|
||||
package cli
|
||||
@@ -17,7 +18,7 @@ import (
|
||||
"github.com/olekukonko/tablewriter"
|
||||
"gopkg.in/yaml.v2"
|
||||
|
||||
zotErrors "github.com/anuvu/zot/errors"
|
||||
zotErrors "zotregistry.io/zot/errors"
|
||||
)
|
||||
|
||||
type SearchService interface {
|
||||
|
||||
Reference in New Issue
Block a user