strip certain plugins

This commit is contained in:
Asim Aslam 2020-01-19 17:56:59 +00:00
parent d918694346
commit 3f3c1919f4

View File

@ -47,12 +47,7 @@ import (
thttp "github.com/micro/go-micro/transport/http" thttp "github.com/micro/go-micro/transport/http"
tmem "github.com/micro/go-micro/transport/memory" tmem "github.com/micro/go-micro/transport/memory"
// runtimes
"github.com/micro/go-micro/runtime/kubernetes"
// stores // stores
cfStore "github.com/micro/go-micro/store/cloudflare"
ckStore "github.com/micro/go-micro/store/cockroach"
memStore "github.com/micro/go-micro/store/memory" memStore "github.com/micro/go-micro/store/memory"
svcStore "github.com/micro/go-micro/store/service" svcStore "github.com/micro/go-micro/store/service"
) )
@ -252,13 +247,10 @@ var (
DefaultRuntimes = map[string]func(...runtime.Option) runtime.Runtime{ DefaultRuntimes = map[string]func(...runtime.Option) runtime.Runtime{
"local": runtime.NewRuntime, "local": runtime.NewRuntime,
"kubernetes": kubernetes.NewRuntime,
} }
DefaultStores = map[string]func(...store.Option) store.Store{ DefaultStores = map[string]func(...store.Option) store.Store{
"memory": memStore.NewStore, "memory": memStore.NewStore,
"cockroach": ckStore.NewStore,
"cloudflare": cfStore.NewStore,
"service": svcStore.NewStore, "service": svcStore.NewStore,
} }