rename imports to asim/go-micro (#2051)

This commit is contained in:
Asim Aslam
2020-10-20 10:15:39 +01:00
committed by GitHub
parent 1ee348109e
commit b508565a78
265 changed files with 673 additions and 673 deletions

View File

@@ -6,11 +6,11 @@ import (
"sync"
"time"
"github.com/micro/go-micro/v3/logger"
log "github.com/micro/go-micro/v3/logger"
"github.com/micro/go-micro/v3/runtime"
"github.com/micro/go-micro/v3/util/kubernetes/api"
"github.com/micro/go-micro/v3/util/kubernetes/client"
"github.com/asim/go-micro/v3/logger"
log "github.com/asim/go-micro/v3/logger"
"github.com/asim/go-micro/v3/runtime"
"github.com/asim/go-micro/v3/util/kubernetes/api"
"github.com/asim/go-micro/v3/util/kubernetes/client"
)
// action to take on runtime service

View File

@@ -12,7 +12,7 @@ import (
"strings"
"testing"
"github.com/micro/go-micro/v3/runtime"
"github.com/asim/go-micro/v3/runtime"
"github.com/stretchr/testify/assert"
)

View File

@@ -1,4 +1,4 @@
// Package kubernetes taken from https://github.com/micro/go-micro/blob/master/debug/log/kubernetes/kubernetes.go
// Package kubernetes taken from https://github.com/asim/go-micro/blob/master/debug/log/kubernetes/kubernetes.go
// There are some modifications compared to the other files as
// this package doesn't provide write functionality.
// With the write functionality gone, structured logs also go away.
@@ -9,10 +9,10 @@ import (
"strconv"
"time"
"github.com/micro/go-micro/v3/errors"
"github.com/micro/go-micro/v3/runtime"
"github.com/micro/go-micro/v3/util/kubernetes/client"
"github.com/micro/go-micro/v3/util/log"
"github.com/asim/go-micro/v3/errors"
"github.com/asim/go-micro/v3/runtime"
"github.com/asim/go-micro/v3/util/kubernetes/client"
"github.com/asim/go-micro/v3/util/log"
)
type klog struct {

View File

@@ -3,9 +3,9 @@ package kubernetes
import (
"strings"
"github.com/micro/go-micro/v3/logger"
"github.com/micro/go-micro/v3/runtime"
"github.com/micro/go-micro/v3/util/kubernetes/client"
"github.com/asim/go-micro/v3/logger"
"github.com/asim/go-micro/v3/runtime"
"github.com/asim/go-micro/v3/util/kubernetes/client"
)
func (k *kubernetes) ensureNamepaceExists(ns string) error {

View File

@@ -1,9 +1,9 @@
package kubernetes
import (
"github.com/micro/go-micro/v3/logger"
"github.com/micro/go-micro/v3/runtime"
"github.com/micro/go-micro/v3/util/kubernetes/client"
"github.com/asim/go-micro/v3/logger"
"github.com/asim/go-micro/v3/runtime"
"github.com/asim/go-micro/v3/util/kubernetes/client"
)
// createNetworkPolicy creates a networkpolicy resource

View File

@@ -6,10 +6,10 @@ import (
"fmt"
"strings"
"github.com/micro/go-micro/v3/logger"
"github.com/micro/go-micro/v3/runtime"
"github.com/micro/go-micro/v3/util/kubernetes/api"
"github.com/micro/go-micro/v3/util/kubernetes/client"
"github.com/asim/go-micro/v3/logger"
"github.com/asim/go-micro/v3/runtime"
"github.com/asim/go-micro/v3/util/kubernetes/api"
"github.com/asim/go-micro/v3/util/kubernetes/client"
)
// getServices queries kubernetes for services. It gets information from both the pods and the

View File

@@ -10,9 +10,9 @@ import (
"strings"
"sync"
"github.com/asim/go-micro/v3/logger"
"github.com/asim/go-micro/v3/runtime"
"github.com/hpcloud/tail"
"github.com/micro/go-micro/v3/logger"
"github.com/micro/go-micro/v3/runtime"
)
// defaultNamespace to use if not provided as an option

View File

@@ -10,7 +10,7 @@ import (
"strconv"
"syscall"
"github.com/micro/go-micro/v3/runtime/local/process"
"github.com/asim/go-micro/v3/runtime/local/process"
)
func (p *Process) Exec(exe *process.Binary) error {

View File

@@ -7,7 +7,7 @@ import (
"os/exec"
"strconv"
"github.com/micro/go-micro/v3/runtime/local/process"
"github.com/asim/go-micro/v3/runtime/local/process"
)
func (p *Process) Exec(exe *process.Binary) error {

View File

@@ -2,7 +2,7 @@
package os
import (
"github.com/micro/go-micro/v3/runtime/local/process"
"github.com/asim/go-micro/v3/runtime/local/process"
)
type Process struct{}

View File

@@ -4,7 +4,7 @@ package process
import (
"io"
"github.com/micro/go-micro/v3/build"
"github.com/asim/go-micro/v3/build"
)
// Process manages a running process

View File

@@ -8,11 +8,11 @@ import (
"sync"
"time"
"github.com/micro/go-micro/v3/build"
"github.com/micro/go-micro/v3/logger"
"github.com/micro/go-micro/v3/runtime"
"github.com/micro/go-micro/v3/runtime/local/process"
proc "github.com/micro/go-micro/v3/runtime/local/process/os"
"github.com/asim/go-micro/v3/build"
"github.com/asim/go-micro/v3/logger"
"github.com/asim/go-micro/v3/runtime"
"github.com/asim/go-micro/v3/runtime/local/process"
proc "github.com/asim/go-micro/v3/runtime/local/process/os"
)
type service struct {

View File

@@ -7,7 +7,7 @@ import (
"path/filepath"
"strings"
"github.com/micro/go-micro/v3/runtime/local/source"
"github.com/asim/go-micro/v3/runtime/local/source"
)
type Source struct {

View File

@@ -4,7 +4,7 @@ import (
"context"
"io"
"github.com/micro/go-micro/v3/client"
"github.com/asim/go-micro/v3/client"
)
type Option func(o *Options)