mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-28 17:51:21 +00:00
Redo import statements
This commit is contained in:
committed by
Tom Wilkie
parent
8269cc9705
commit
0e19360215
@@ -4,7 +4,7 @@ import (
|
||||
"net/http"
|
||||
"strings"
|
||||
|
||||
"github.com/weaveworks/scope/scope/report"
|
||||
"github.com/weaveworks/scope/report"
|
||||
)
|
||||
|
||||
// APITopologyDesc is returned in a list by the /api/topology handler.
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
"net/http/httptest"
|
||||
"testing"
|
||||
|
||||
"github.com/weaveworks/scope/scope/report"
|
||||
"github.com/weaveworks/scope/report"
|
||||
)
|
||||
|
||||
func TestAPIReport(t *testing.T) {
|
||||
|
||||
@@ -9,7 +9,7 @@ import (
|
||||
"github.com/gorilla/mux"
|
||||
"github.com/gorilla/websocket"
|
||||
|
||||
"github.com/weaveworks/scope/scope/report"
|
||||
"github.com/weaveworks/scope/report"
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
@@ -8,7 +8,7 @@ import (
|
||||
|
||||
"github.com/gorilla/websocket"
|
||||
|
||||
"github.com/weaveworks/scope/scope/report"
|
||||
"github.com/weaveworks/scope/report"
|
||||
)
|
||||
|
||||
func TestAPITopologyApplications(t *testing.T) {
|
||||
|
||||
@@ -15,7 +15,7 @@ import (
|
||||
"syscall"
|
||||
"time"
|
||||
|
||||
"github.com/weaveworks/scope/scope/xfer"
|
||||
"github.com/weaveworks/scope/xfer"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@@ -3,7 +3,7 @@ package main
|
||||
import (
|
||||
"net"
|
||||
|
||||
"github.com/weaveworks/scope/scope/report"
|
||||
"github.com/weaveworks/scope/report"
|
||||
)
|
||||
|
||||
// StaticReport is used as know test data in api tests.
|
||||
|
||||
@@ -3,7 +3,7 @@ package main
|
||||
import (
|
||||
"time"
|
||||
|
||||
"github.com/weaveworks/scope/scope/report"
|
||||
"github.com/weaveworks/scope/report"
|
||||
)
|
||||
|
||||
// Reporter is something which generates a single 'current' report over a
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
// HTTP server routing table
|
||||
package main
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"github.com/gorilla/mux"
|
||||
"github.com/weaveworks/scope/scope/report"
|
||||
|
||||
"github.com/weaveworks/scope/report"
|
||||
)
|
||||
|
||||
// Router gives of the HTTP dispatcher. It will always use the embedded HTML
|
||||
|
||||
@@ -12,8 +12,8 @@ import (
|
||||
"syscall"
|
||||
"time"
|
||||
|
||||
"github.com/weaveworks/scope/scope/report"
|
||||
"github.com/weaveworks/scope/scope/xfer"
|
||||
"github.com/weaveworks/scope/report"
|
||||
"github.com/weaveworks/scope/xfer"
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
@@ -6,7 +6,7 @@ import (
|
||||
"net"
|
||||
"time"
|
||||
|
||||
"github.com/weaveworks/scope/scope/report"
|
||||
"github.com/weaveworks/scope/report"
|
||||
)
|
||||
|
||||
func init() {
|
||||
|
||||
@@ -10,7 +10,7 @@ import (
|
||||
"syscall"
|
||||
"time"
|
||||
|
||||
"github.com/weaveworks/scope/scope/xfer"
|
||||
"github.com/weaveworks/scope/xfer"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@@ -10,8 +10,8 @@ import (
|
||||
"strconv"
|
||||
"time"
|
||||
|
||||
"github.com/weaveworks/scope/scope/report"
|
||||
"github.com/weaveworks/scope/scope/xfer"
|
||||
"github.com/weaveworks/scope/report"
|
||||
"github.com/weaveworks/scope/xfer"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@@ -6,7 +6,7 @@ import (
|
||||
"net"
|
||||
"time"
|
||||
|
||||
"github.com/weaveworks/scope/scope/report"
|
||||
"github.com/weaveworks/scope/report"
|
||||
)
|
||||
|
||||
func init() {
|
||||
|
||||
@@ -8,7 +8,7 @@ import (
|
||||
"sort"
|
||||
"strings"
|
||||
|
||||
"github.com/weaveworks/scope/scope/report"
|
||||
"github.com/weaveworks/scope/report"
|
||||
)
|
||||
|
||||
func handleTXT(r Reporter) http.HandlerFunc {
|
||||
|
||||
@@ -12,7 +12,7 @@ import (
|
||||
"syscall"
|
||||
"time"
|
||||
|
||||
"github.com/weaveworks/scope/scope/xfer"
|
||||
"github.com/weaveworks/scope/xfer"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@@ -3,7 +3,7 @@ package main
|
||||
import (
|
||||
"time"
|
||||
|
||||
"github.com/weaveworks/scope/scope/report"
|
||||
"github.com/weaveworks/scope/report"
|
||||
)
|
||||
|
||||
// Copy/paste from app/report_lifo.go
|
||||
|
||||
@@ -11,8 +11,8 @@ import (
|
||||
"syscall"
|
||||
"time"
|
||||
|
||||
"github.com/weaveworks/scope/scope/report"
|
||||
"github.com/weaveworks/scope/scope/xfer"
|
||||
"github.com/weaveworks/scope/report"
|
||||
"github.com/weaveworks/scope/xfer"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@@ -8,7 +8,7 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/weaveworks/scope/scope/report"
|
||||
"github.com/weaveworks/scope/report"
|
||||
)
|
||||
|
||||
func TestComponentsAreAvailable(t *testing.T) {
|
||||
|
||||
@@ -15,8 +15,8 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/weaveworks/procspy"
|
||||
"github.com/weaveworks/scope/scope/report"
|
||||
"github.com/weaveworks/scope/scope/xfer"
|
||||
"github.com/weaveworks/scope/report"
|
||||
"github.com/weaveworks/scope/xfer"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@@ -8,7 +8,7 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/weaveworks/procspy"
|
||||
"github.com/weaveworks/scope/scope/report"
|
||||
"github.com/weaveworks/scope/report"
|
||||
)
|
||||
|
||||
// spy invokes procspy.Connections to generate a report.Report that contains
|
||||
|
||||
@@ -7,7 +7,7 @@ import (
|
||||
"testing"
|
||||
|
||||
"github.com/weaveworks/procspy"
|
||||
"github.com/weaveworks/scope/scope/report"
|
||||
"github.com/weaveworks/scope/report"
|
||||
)
|
||||
|
||||
func TestScopedIP(t *testing.T) {
|
||||
|
||||
@@ -7,7 +7,7 @@ import (
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"github.com/weaveworks/scope/scope/report"
|
||||
"github.com/weaveworks/scope/report"
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
@@ -9,8 +9,8 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/weaveworks/scope/scope/report"
|
||||
"github.com/weaveworks/scope/scope/xfer"
|
||||
"github.com/weaveworks/scope/report"
|
||||
"github.com/weaveworks/scope/xfer"
|
||||
)
|
||||
|
||||
func TestCollector(t *testing.T) {
|
||||
|
||||
@@ -6,8 +6,8 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/weaveworks/scope/scope/report"
|
||||
"github.com/weaveworks/scope/scope/xfer"
|
||||
"github.com/weaveworks/scope/report"
|
||||
"github.com/weaveworks/scope/xfer"
|
||||
)
|
||||
|
||||
func TestMerge(t *testing.T) {
|
||||
|
||||
@@ -6,7 +6,7 @@ import (
|
||||
"log"
|
||||
"net"
|
||||
|
||||
"github.com/weaveworks/scope/scope/report"
|
||||
"github.com/weaveworks/scope/report"
|
||||
)
|
||||
|
||||
// Publisher provides a way to send reports upstream.
|
||||
|
||||
@@ -8,8 +8,8 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/weaveworks/scope/scope/report"
|
||||
"github.com/weaveworks/scope/scope/xfer"
|
||||
"github.com/weaveworks/scope/report"
|
||||
"github.com/weaveworks/scope/xfer"
|
||||
)
|
||||
|
||||
func TestTCPPublisher(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user