Skip to content

Commit 07307d6

Browse files
authored
Merge pull request #735 from meshery/move-module-name-to-meshery
update reference to meshkit to meshery/meshit
2 parents 2194eca + 90c60af commit 07307d6

File tree

117 files changed

+216
-216
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

117 files changed

+216
-216
lines changed

.github/workflows/error-codes-updater.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626

2727
- name: Run utility
2828
run: |
29-
go run github.com/layer5io/meshkit/cmd/errorutil -d . update --skip-dirs meshery -i ./helpers -o ./helpers
29+
go run github.com/meshery/meshkit/cmd/errorutil -d . update --skip-dirs meshery -i ./helpers -o ./helpers
3030
3131
- name: Pull changes from remote
3232
run: git pull origin master

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ tidy:
1616

1717
## Run Meshery Error Code Utility. Generate error codes.
1818
errorutil:
19-
go run github.com/layer5io/meshkit/cmd/errorutil -d . update --skip-dirs meshery -i ./helpers -o ./helpers
19+
go run github.com/meshery/meshkit/cmd/errorutil -d . update --skip-dirs meshery -i ./helpers -o ./helpers
2020

2121
## Run Meshery Error Code Utility. Analyze only.
2222
errorutil-analyze:
23-
go run github.com/layer5io/meshkit/cmd/errorutil -d . analyze --skip-dirs meshery -i ./helpers -o ./helpers
23+
go run github.com/meshery/meshkit/cmd/errorutil -d . analyze --skip-dirs meshery -i ./helpers -o ./helpers
2424

2525
## Build the Meshery Error Code Utility.
2626
build-errorutil:

broker/nats/error.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package nats
22

33
import (
4-
"github.com/layer5io/meshkit/errors"
4+
"github.com/meshery/meshkit/errors"
55
)
66

77
const (

broker/nats/nats.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"sync"
77
"time"
88

9-
"github.com/layer5io/meshkit/broker"
9+
"github.com/meshery/meshkit/broker"
1010
nats "github.com/nats-io/nats.go"
1111
)
1212

cmd/errorutil/internal/coder/commands.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ import (
55
"os"
66
"path/filepath"
77

8-
"github.com/layer5io/meshkit/cmd/errorutil/internal/component"
8+
"github.com/meshery/meshkit/cmd/errorutil/internal/component"
99

10-
"github.com/layer5io/meshkit/cmd/errorutil/internal/config"
11-
mesherr "github.com/layer5io/meshkit/cmd/errorutil/internal/error"
10+
"github.com/meshery/meshkit/cmd/errorutil/internal/config"
11+
mesherr "github.com/meshery/meshkit/cmd/errorutil/internal/error"
1212
"github.com/spf13/cobra"
1313
)
1414

cmd/errorutil/internal/coder/errorsnew_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ import (
77
"go/token"
88
"testing"
99

10-
"github.com/layer5io/meshkit/broker"
11-
"github.com/layer5io/meshkit/broker/nats"
12-
errutilerr "github.com/layer5io/meshkit/cmd/errorutil/internal/error"
13-
mesherr "github.com/layer5io/meshkit/errors"
10+
"github.com/meshery/meshkit/broker"
11+
"github.com/meshery/meshkit/broker/nats"
12+
errutilerr "github.com/meshery/meshkit/cmd/errorutil/internal/error"
13+
mesherr "github.com/meshery/meshkit/errors"
1414
)
1515

1616
var ErrTestNewCode1 = "one" //nolint:unused

cmd/errorutil/internal/coder/errorsnewdefault_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ import (
66
"go/token"
77
"testing"
88

9-
"github.com/layer5io/meshkit/errors" //nolint
10-
. "github.com/layer5io/meshkit/errors" //nolint
11-
mesherr "github.com/layer5io/meshkit/errors" //nolint
9+
"github.com/meshery/meshkit/errors" //nolint
10+
. "github.com/meshery/meshkit/errors" //nolint
11+
mesherr "github.com/meshery/meshkit/errors" //nolint
1212
)
1313

1414
var ErrTestCode1 = "one" //nolint:unused

cmd/errorutil/internal/coder/file.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import (
1010
"regexp"
1111
"strconv"
1212

13-
"github.com/layer5io/meshkit/cmd/errorutil/internal/component"
14-
errutilerr "github.com/layer5io/meshkit/cmd/errorutil/internal/error"
13+
"github.com/meshery/meshkit/cmd/errorutil/internal/component"
14+
errutilerr "github.com/meshery/meshkit/cmd/errorutil/internal/error"
1515
"github.com/sirupsen/logrus"
1616
)
1717

cmd/errorutil/internal/coder/node.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ import (
55
"go/ast"
66
"strings"
77

8-
"github.com/layer5io/meshkit/cmd/errorutil/internal/component"
8+
"github.com/meshery/meshkit/cmd/errorutil/internal/component"
99
"github.com/sirupsen/logrus"
1010

11-
errutilerr "github.com/layer5io/meshkit/cmd/errorutil/internal/error"
11+
errutilerr "github.com/meshery/meshkit/cmd/errorutil/internal/error"
1212
)
1313

1414
// isNewDefaultCallExpr tests whether the node is a call expression for NewDefault.
1515
// It returns the package identifier for convenience, empty for a dot-import.
16-
// It does not verify that the actual type is from github.com/layer5io/meshkit/errors.
16+
// It does not verify that the actual type is from github.com/meshery/meshkit/errors.
1717
func isNewDefaultCallExpr(node ast.Node) (string, bool) {
1818
if ce, ok := node.(*ast.CallExpr); ok {
1919
pkg, name, ok2 := isSelectorOrIdent(ce.Fun)

cmd/errorutil/internal/coder/path.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ import (
66
"path/filepath"
77
"strings"
88

9-
"github.com/layer5io/meshkit/cmd/errorutil/internal/component"
9+
"github.com/meshery/meshkit/cmd/errorutil/internal/component"
1010

11-
mesherr "github.com/layer5io/meshkit/cmd/errorutil/internal/error"
11+
mesherr "github.com/meshery/meshkit/cmd/errorutil/internal/error"
1212
"github.com/sirupsen/logrus"
1313
)
1414

cmd/errorutil/internal/error/export.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import (
88
"strconv"
99
"strings"
1010

11-
"github.com/layer5io/meshkit/cmd/errorutil/internal/component"
12-
"github.com/layer5io/meshkit/cmd/errorutil/internal/config"
11+
"github.com/meshery/meshkit/cmd/errorutil/internal/component"
12+
"github.com/meshery/meshkit/cmd/errorutil/internal/config"
1313
log "github.com/sirupsen/logrus"
1414
)
1515

cmd/errorutil/internal/error/summary.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ import (
77
"sort"
88
"strconv"
99

10-
"github.com/layer5io/meshkit/cmd/errorutil/internal/component"
10+
"github.com/meshery/meshkit/cmd/errorutil/internal/component"
1111
log "github.com/sirupsen/logrus"
1212

13-
"github.com/layer5io/meshkit/cmd/errorutil/internal/config"
13+
"github.com/meshery/meshkit/cmd/errorutil/internal/config"
1414
)
1515

1616
type analysisSummary struct {

cmd/errorutil/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package main
33
import (
44
"os"
55

6-
"github.com/layer5io/meshkit/cmd/errorutil/internal/coder"
6+
"github.com/meshery/meshkit/cmd/errorutil/internal/coder"
77
log "github.com/sirupsen/logrus"
88
)
99

cmd/syncmodutil/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Sync Go mods
22

3-
go run github.com/layer5io/meshkit/cmd/syncmodutil < path to src go mod > < path to destination go mod >
3+
go run github.com/meshery/meshkit/cmd/syncmodutil < path to src go mod > < path to destination go mod >
44

55

66
# Caveats

cmd/syncmodutil/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"log"
55
"os"
66

7-
"github.com/layer5io/meshkit/cmd/syncmodutil/internal/modsync"
7+
"github.com/meshery/meshkit/cmd/syncmodutil/internal/modsync"
88
)
99

1010
func main() {

config/error.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
package config
1616

1717
import (
18-
"github.com/layer5io/meshkit/errors"
18+
"github.com/meshery/meshkit/errors"
1919
)
2020

2121
var (

config/provider/inmem.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ package provider
1717
import (
1818
"sync"
1919

20-
"github.com/layer5io/meshkit/config"
21-
"github.com/layer5io/meshkit/encoding"
22-
"github.com/layer5io/meshkit/utils"
20+
"github.com/meshery/meshkit/config"
21+
"github.com/meshery/meshkit/encoding"
22+
"github.com/meshery/meshkit/utils"
2323
)
2424

2525
// Type InMem implements the config interface Handler for an in-memory configuration registry.

config/provider/viper.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import (
1818
"fmt"
1919
"sync"
2020

21-
"github.com/layer5io/meshkit/config"
21+
"github.com/meshery/meshkit/config"
2222
"github.com/spf13/viper"
2323
)
2424

converter/error.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package converter
33
import (
44
"fmt"
55

6-
"github.com/layer5io/meshkit/errors"
6+
"github.com/meshery/meshkit/errors"
77
)
88

99
var (

converter/helm.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66
"path/filepath"
77

88
"github.com/google/uuid"
9-
"github.com/layer5io/meshkit/models/patterns"
10-
"github.com/layer5io/meshkit/utils/helm"
9+
"github.com/meshery/meshkit/models/patterns"
10+
"github.com/meshery/meshkit/utils/helm"
1111
"helm.sh/helm/v3/pkg/action"
1212
"helm.sh/helm/v3/pkg/chart"
1313
"sigs.k8s.io/yaml"

converter/k8s.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package converter
33
import (
44
"bytes"
55

6-
"github.com/layer5io/meshkit/models/patterns"
7-
"github.com/layer5io/meshkit/utils"
6+
"github.com/meshery/meshkit/models/patterns"
7+
"github.com/meshery/meshkit/utils"
88
"github.com/meshery/schemas/models/v1beta1/component"
99
"github.com/meshery/schemas/models/v1beta1/pattern"
1010
"gopkg.in/yaml.v3"

converter/tests/helm_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import (
99
"strings"
1010
"testing"
1111

12-
"github.com/layer5io/meshkit/converter"
13-
meshkiterr "github.com/layer5io/meshkit/errors"
12+
"github.com/meshery/meshkit/converter"
13+
meshkiterr "github.com/meshery/meshkit/errors"
1414
)
1515

1616
func TestHelmConverter_Convert(t *testing.T) {

database/database.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"fmt"
55
"sync"
66

7-
"github.com/layer5io/meshkit/logger"
7+
"github.com/meshery/meshkit/logger"
88
"gorm.io/driver/postgres"
99
sqlite "gorm.io/driver/sqlite"
1010
"gorm.io/gorm"

database/error.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package database
22

3-
import "github.com/layer5io/meshkit/errors"
3+
import "github.com/meshery/meshkit/errors"
44

55
var (
66
ErrNoneDatabaseCode = "meshkit-11126"

encoding/encoding.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"bytes"
55
"encoding/json"
66

7-
"github.com/layer5io/meshkit/utils"
7+
"github.com/meshery/meshkit/utils"
88
"gopkg.in/yaml.v3"
99
)
1010

encoding/error.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"reflect"
55
"strconv"
66

7-
"github.com/layer5io/meshkit/errors"
7+
"github.com/meshery/meshkit/errors"
88
)
99

1010
const (

files/conversion.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package files
33
import (
44
"fmt"
55

6-
"github.com/layer5io/meshkit/utils/helm"
6+
"github.com/meshery/meshkit/utils/helm"
77
"helm.sh/helm/v3/pkg/chart"
88
"sigs.k8s.io/kustomize/api/resmap"
99
)

files/error.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"slices"
88
"strings"
99

10-
"github.com/layer5io/meshkit/errors"
10+
"github.com/meshery/meshkit/errors"
1111
coreV1 "github.com/meshery/schemas/models/v1alpha1/core"
1212
)
1313

files/identification.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ import (
99
"path/filepath"
1010
"strings"
1111

12-
"github.com/layer5io/meshkit/encoding"
13-
"github.com/layer5io/meshkit/models/oci"
14-
"github.com/layer5io/meshkit/utils"
15-
"github.com/layer5io/meshkit/utils/kubernetes/kompose"
16-
"github.com/layer5io/meshkit/utils/walker"
12+
"github.com/meshery/meshkit/encoding"
13+
"github.com/meshery/meshkit/models/oci"
14+
"github.com/meshery/meshkit/utils"
15+
"github.com/meshery/meshkit/utils/kubernetes/kompose"
16+
"github.com/meshery/meshkit/utils/walker"
1717
coreV1 "github.com/meshery/schemas/models/v1alpha1/core"
1818
"github.com/meshery/schemas/models/v1beta1"
1919
"github.com/meshery/schemas/models/v1beta1/pattern"

files/tests/sanitization_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55
"path/filepath"
66
"testing"
77

8-
"github.com/layer5io/meshkit/errors"
9-
"github.com/layer5io/meshkit/files"
8+
"github.com/meshery/meshkit/errors"
9+
"github.com/meshery/meshkit/files"
1010
coreV1 "github.com/meshery/schemas/models/v1alpha1/core"
1111
)
1212

generators/artifacthub/error.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package artifacthub
33
import (
44
"fmt"
55

6-
"github.com/layer5io/meshkit/errors"
6+
"github.com/meshery/meshkit/errors"
77
)
88

99
var (

generators/artifacthub/package.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ import (
77
"strings"
88
"time"
99

10-
"github.com/layer5io/meshkit/utils"
11-
"github.com/layer5io/meshkit/utils/component"
12-
"github.com/layer5io/meshkit/utils/manifests"
10+
"github.com/meshery/meshkit/utils"
11+
"github.com/meshery/meshkit/utils/component"
12+
"github.com/meshery/meshkit/utils/manifests"
1313
"github.com/meshery/schemas/models/v1beta1/category"
1414
_component "github.com/meshery/schemas/models/v1beta1/component"
1515
"github.com/meshery/schemas/models/v1beta1/model"

generators/artifacthub/package_manager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package artifacthub
33
import (
44
"fmt"
55

6-
"github.com/layer5io/meshkit/generators/models"
6+
"github.com/meshery/meshkit/generators/models"
77
)
88

99
type ArtifactHubPackageManager struct {

generators/artifacthub/scanner.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"net/http"
77
"net/url"
88

9-
"github.com/layer5io/meshkit/utils/manifests"
9+
"github.com/meshery/meshkit/utils/manifests"
1010
)
1111

1212
var AhApiSearchParams = map[string]string{

generators/error.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package generators
22

3-
import "github.com/layer5io/meshkit/errors"
3+
import "github.com/meshery/meshkit/errors"
44

55
var (
66
ErrUnsupportedRegistrantCode = "meshkit-11138"

generators/generator.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ package generators
33
import (
44
"fmt"
55

6-
"github.com/layer5io/meshkit/generators/artifacthub"
7-
"github.com/layer5io/meshkit/generators/github"
8-
"github.com/layer5io/meshkit/generators/models"
9-
"github.com/layer5io/meshkit/utils"
6+
"github.com/meshery/meshkit/generators/artifacthub"
7+
"github.com/meshery/meshkit/generators/github"
8+
"github.com/meshery/meshkit/generators/models"
9+
"github.com/meshery/meshkit/utils"
1010
)
1111

1212
const (

0 commit comments

Comments
 (0)