Move ipam/address to net/address

This commit is contained in:
Tom Wilkie committed 2015-07-07 10:33:20 +00:00
1 parent 41b0c2a03f
commit 4fdb14293b
14 files changed
+13 -13

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@ package ipam
import ( import (
"fmt" "fmt"
"github.com/weaveworks/weave/ipam/address" "github.com/weaveworks/weave/net/address"
) )
type allocateResult struct { type allocateResult struct {
+1 -1
View File
@@ -8,10 +8,10 @@ import (
"time" "time"
"github.com/weaveworks/weave/common" "github.com/weaveworks/weave/common"
"github.com/weaveworks/weave/ipam/address"
"github.com/weaveworks/weave/ipam/paxos" "github.com/weaveworks/weave/ipam/paxos"
"github.com/weaveworks/weave/ipam/ring" "github.com/weaveworks/weave/ipam/ring"
"github.com/weaveworks/weave/ipam/space" "github.com/weaveworks/weave/ipam/space"
"github.com/weaveworks/weave/net/address"
"github.com/weaveworks/weave/router" "github.com/weaveworks/weave/router"
) )
+1 -1
View File
@@ -9,7 +9,7 @@ import (
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
"github.com/weaveworks/weave/common" "github.com/weaveworks/weave/common"
"github.com/weaveworks/weave/ipam/address" "github.com/weaveworks/weave/net/address"
"github.com/weaveworks/weave/router" "github.com/weaveworks/weave/router"
) )
+1 -1
View File
@@ -3,7 +3,7 @@ package ipam
import ( import (
"fmt" "fmt"
"github.com/weaveworks/weave/ipam/address" "github.com/weaveworks/weave/net/address"
"github.com/weaveworks/weave/router" "github.com/weaveworks/weave/router"
) )
+1 -1
View File
@@ -8,7 +8,7 @@ import (
"github.com/weaveworks/weave/common" "github.com/weaveworks/weave/common"
"github.com/weaveworks/weave/common/docker" "github.com/weaveworks/weave/common/docker"
"github.com/weaveworks/weave/ipam/address" "github.com/weaveworks/weave/net/address"
) )
func badRequest(w http.ResponseWriter, err error) { func badRequest(w http.ResponseWriter, err error) {
+1 -1
View File
@@ -13,7 +13,7 @@ import (
"github.com/gorilla/mux" "github.com/gorilla/mux"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
"github.com/weaveworks/weave/common" "github.com/weaveworks/weave/common"
"github.com/weaveworks/weave/ipam/address" "github.com/weaveworks/weave/net/address"
wt "github.com/weaveworks/weave/testing" wt "github.com/weaveworks/weave/testing"
) )
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"sort" "sort"
"github.com/weaveworks/weave/common" "github.com/weaveworks/weave/common"
"github.com/weaveworks/weave/ipam/address" "github.com/weaveworks/weave/net/address"
"github.com/weaveworks/weave/router" "github.com/weaveworks/weave/router"
) )
+1 -1
View File
@@ -13,7 +13,7 @@ import (
"time" "time"
"github.com/weaveworks/weave/common" "github.com/weaveworks/weave/common"
"github.com/weaveworks/weave/ipam/address" "github.com/weaveworks/weave/net/address"
"github.com/weaveworks/weave/router" "github.com/weaveworks/weave/router"
) )
+1 -1
View File
@@ -9,7 +9,7 @@ import (
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
"github.com/weaveworks/weave/common" "github.com/weaveworks/weave/common"
"github.com/weaveworks/weave/ipam/address" "github.com/weaveworks/weave/net/address"
"github.com/weaveworks/weave/router" "github.com/weaveworks/weave/router"
) )
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"sort" "sort"
"github.com/weaveworks/weave/common" "github.com/weaveworks/weave/common"
"github.com/weaveworks/weave/ipam/address" "github.com/weaveworks/weave/net/address"
) )
type Space struct { type Space struct {
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"testing" "testing"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
"github.com/weaveworks/weave/ipam/address" "github.com/weaveworks/weave/net/address"
wt "github.com/weaveworks/weave/testing" wt "github.com/weaveworks/weave/testing"
) )
+1 -1
View File
@@ -9,7 +9,7 @@ import (
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
"github.com/weaveworks/weave/common" "github.com/weaveworks/weave/common"
"github.com/weaveworks/weave/ipam/address" "github.com/weaveworks/weave/net/address"
"github.com/weaveworks/weave/router" "github.com/weaveworks/weave/router"
) )
File renamed without changes.
+1 -1
View File
@@ -15,8 +15,8 @@ import (
. "github.com/weaveworks/weave/common" . "github.com/weaveworks/weave/common"
"github.com/weaveworks/weave/common/docker" "github.com/weaveworks/weave/common/docker"
"github.com/weaveworks/weave/ipam" "github.com/weaveworks/weave/ipam"
"github.com/weaveworks/weave/ipam/address"
weavenet "github.com/weaveworks/weave/net" weavenet "github.com/weaveworks/weave/net"
"github.com/weaveworks/weave/net/address"
weave "github.com/weaveworks/weave/router" weave "github.com/weaveworks/weave/router"
) )