Skip to content

Commit 8b4b7a3

Browse files
deitcheriknordmark
authored andcommitted
use eve-libs instead of eve/libs
Signed-off-by: Avi Deitcher <[email protected]>
1 parent 6ce6dde commit 8b4b7a3

40 files changed

+91
-92
lines changed

depgraph/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ Only `Name()`, `Type()` and `Dependencies()` methods are shown here. For other
9595
required methods, please see the `Item` interface definition.
9696

9797
```go
98-
import "github.com/lf-edge/eve/libs/depgraph"
98+
import "github.com/lf-edge/eve-libs/depgraph"
9999

100100
type LinuxInterface struct {
101101
name string
@@ -162,7 +162,7 @@ to build a dependency graph to model some kind of system state.
162162
Graph with some initial content is created using `New()`:
163163

164164
```go
165-
import "github.com/lf-edge/eve/libs/depgraph"
165+
import "github.com/lf-edge/eve-libs/depgraph"
166166

167167
// using LinuxRoute and LinuxInterface defined above
168168

@@ -191,7 +191,7 @@ A single item is manipulated using `Item()`, `PutItem()` and `DelItem()` methods
191191
```go
192192
import (
193193
"fmt"
194-
"github.com/lf-edge/eve/libs/depgraph"
194+
"github.com/lf-edge/eve-libs/depgraph"
195195
)
196196

197197
// Add new Linux route (nil ItemState).

depgraph/depgraph_matchers_test.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,9 @@ import (
1010
"github.com/onsi/gomega/format"
1111
"github.com/onsi/gomega/types"
1212

13-
. "github.com/lf-edge/eve/libs/depgraph"
13+
. "github.com/lf-edge/eve-libs/depgraph"
1414
)
1515

16-
1716
// ContainItem checks if iterated list of items includes the given item.
1817
func ContainItem(item mockItem) types.GomegaMatcher {
1918
return &mockItemMatcher{
@@ -45,7 +44,7 @@ func (m *mockItemMatcher) Match(actual interface{}) (success bool, err error) {
4544
case []mockItem:
4645
return m.matchSliceWithItems(items)
4746
default:
48-
return false, fmt.Errorf("mockItemMatcher expects an item iterator "+
47+
return false, fmt.Errorf("mockItemMatcher expects an item iterator " +
4948
"or a slice with items or at least with their references")
5049
}
5150
}

depgraph/depgraph_mock_test.go

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

10-
"github.com/lf-edge/eve/libs/depgraph"
10+
"github.com/lf-edge/eve-libs/depgraph"
1111
)
1212

1313
type mockItemAttrs struct {

depgraph/depgraph_test.go

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

11-
. "github.com/lf-edge/eve/libs/depgraph"
11+
. "github.com/lf-edge/eve-libs/depgraph"
1212
. "github.com/onsi/gomega"
1313
)
1414

@@ -775,10 +775,10 @@ func TestDiffItems(test *testing.T) {
775775
attrs: mockItemAttrs{boolAttr: true}, // different
776776
}
777777
initArgs = InitArgs{
778-
Name: "RootGraph3",
778+
Name: "RootGraph3",
779779
Subgraphs: []InitArgs{
780780
{
781-
Name: "Graph3",
781+
Name: "Graph3",
782782
Items: []Item{itemA, itemB},
783783
Subgraphs: []InitArgs{
784784
{
@@ -847,10 +847,10 @@ func TestDotExporter(test *testing.T) {
847847
},
848848
}
849849
initArgs := InitArgs{
850-
Name: "Graph1",
850+
Name: "Graph1",
851851
ItemsWithState: []ItemWithState{
852852
{
853-
Item: itemA,
853+
Item: itemA,
854854
State: mockItemState{
855855
isCreated: true,
856856
withErr: errors.New("failed to modify"),
@@ -862,7 +862,7 @@ func TestDotExporter(test *testing.T) {
862862
Name: "SubGraph1",
863863
ItemsWithState: []ItemWithState{
864864
{
865-
Item: itemC,
865+
Item: itemC,
866866
State: mockItemState{
867867
isCreated: true,
868868
inTransition: true,

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/lf-edge/eve/libs
1+
module github.com/lf-edge/eve-libs
22

33
go 1.20
44

nettrace/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ the client (so that it can add some hooks for tracing purposes). Meaning that in
9191

9292
```go
9393
import (
94-
"github.com/lf-edge/eve/libs/nettrace"
94+
"github.com/lf-edge/eve-libs/nettrace"
9595
)
9696

9797
func main() {

nettrace/httpclient_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"testing"
1212
"time"
1313

14-
"github.com/lf-edge/eve/libs/nettrace"
14+
"github.com/lf-edge/eve-libs/nettrace"
1515
. "github.com/onsi/gomega"
1616
"github.com/sirupsen/logrus"
1717
)

reconciler/async.go

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

10-
dg "github.com/lf-edge/eve/libs/depgraph"
10+
dg "github.com/lf-edge/eve-libs/depgraph"
1111
)
1212

1313
const (

reconciler/examples/filesync/directory.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"fmt"
99
"os"
1010

11-
"github.com/lf-edge/eve/libs/depgraph"
11+
"github.com/lf-edge/eve-libs/depgraph"
1212
)
1313

1414
// directory represents a file-system directory.

reconciler/examples/filesync/file.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"os"
1111
"strconv"
1212

13-
"github.com/lf-edge/eve/libs/depgraph"
13+
"github.com/lf-edge/eve-libs/depgraph"
1414
)
1515

1616
var lastFileID int

0 commit comments

Comments
 (0)