Skip to content

Commit

Permalink
replace native config with meshkit config manager
Browse files Browse the repository at this point in the history
Signed-off-by: Utkarsh Srivastava <srivastavautkarsh8097@gmail.com>
  • Loading branch information
tangledbytes committed Jul 23, 2021
1 parent a951721 commit 8a525a4
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions adapter/adapter.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@ package adapter
import (
"context"

"github.com/layer5io/meshery-adapter-library/config"
meshkitCfg "github.com/layer5io/meshkit/config"
"github.com/layer5io/meshkit/logger"

mesherykube "github.com/layer5io/meshkit/utils/kubernetes"
"k8s.io/client-go/dynamic"
"k8s.io/client-go/kubernetes"
Expand All @@ -47,10 +46,10 @@ type Handler interface {
// Adapter contains all handlers, channels, clients, and other parameters for an adapter.
// Use type embedding in a specific adapter to extend it.
type Adapter struct {
Config config.Handler
Config meshkitCfg.Handler
Log logger.Handler

KubeconfigHandler config.Handler
KubeconfigHandler meshkitCfg.Handler
Channel *chan interface{}

KubeClient *kubernetes.Clientset
Expand Down

0 comments on commit 8a525a4

Please sign in to comment.