mirror of
https://github.com/go-micro/go-micro.git
synced 2025-07-12 22:41:07 +02:00
update
This commit is contained in:
@ -8,7 +8,7 @@ import (
|
||||
"net/http"
|
||||
"net/url"
|
||||
|
||||
"github.com/asim/go-micro/plugins/registry/kubernetes/v3/client/watch"
|
||||
"github.com/asim/go-micro/plugins/registry/kubernetes/v4/client/watch"
|
||||
)
|
||||
|
||||
// Request is used to construct a http request for the k8s API.
|
||||
|
@ -9,8 +9,8 @@ import (
|
||||
"path"
|
||||
|
||||
log "go-micro.dev/v4/logger"
|
||||
"github.com/asim/go-micro/plugins/registry/kubernetes/v3/client/api"
|
||||
"github.com/asim/go-micro/plugins/registry/kubernetes/v3/client/watch"
|
||||
"github.com/asim/go-micro/plugins/registry/kubernetes/v4/client/api"
|
||||
"github.com/asim/go-micro/plugins/registry/kubernetes/v4/client/watch"
|
||||
)
|
||||
|
||||
var (
|
||||
|
@ -1,6 +1,6 @@
|
||||
package client
|
||||
|
||||
import "github.com/asim/go-micro/plugins/registry/kubernetes/v3/client/watch"
|
||||
import "github.com/asim/go-micro/plugins/registry/kubernetes/v4/client/watch"
|
||||
|
||||
// Kubernetes ...
|
||||
type Kubernetes interface {
|
||||
|
@ -4,9 +4,9 @@ import (
|
||||
"encoding/json"
|
||||
"sync"
|
||||
|
||||
"github.com/asim/go-micro/plugins/registry/kubernetes/v3/client"
|
||||
"github.com/asim/go-micro/plugins/registry/kubernetes/v3/client/api"
|
||||
"github.com/asim/go-micro/plugins/registry/kubernetes/v3/client/watch"
|
||||
"github.com/asim/go-micro/plugins/registry/kubernetes/v4/client"
|
||||
"github.com/asim/go-micro/plugins/registry/kubernetes/v4/client/api"
|
||||
"github.com/asim/go-micro/plugins/registry/kubernetes/v4/client/watch"
|
||||
)
|
||||
|
||||
// Client ...
|
||||
|
@ -1,8 +1,8 @@
|
||||
package mock
|
||||
|
||||
import (
|
||||
"github.com/asim/go-micro/plugins/registry/kubernetes/v3/client"
|
||||
"github.com/asim/go-micro/plugins/registry/kubernetes/v3/client/watch"
|
||||
"github.com/asim/go-micro/plugins/registry/kubernetes/v4/client"
|
||||
"github.com/asim/go-micro/plugins/registry/kubernetes/v4/client/watch"
|
||||
)
|
||||
|
||||
type mockWatcher struct {
|
||||
|
Reference in New Issue
Block a user