2020-06-10 16:47:35 -04:00
|
|
|
package consul
|
|
|
|
|
|
|
|
import (
|
2020-09-08 17:31:47 -04:00
|
|
|
"github.com/hashicorp/consul/agent/grpc"
|
2020-06-10 16:47:35 -04:00
|
|
|
"github.com/hashicorp/consul/agent/pool"
|
2020-08-27 11:23:52 -04:00
|
|
|
"github.com/hashicorp/consul/agent/router"
|
2020-06-10 16:47:35 -04:00
|
|
|
"github.com/hashicorp/consul/agent/token"
|
|
|
|
"github.com/hashicorp/consul/tlsutil"
|
|
|
|
"github.com/hashicorp/go-hclog"
|
|
|
|
)
|
|
|
|
|
2020-09-14 18:31:07 -04:00
|
|
|
type Deps struct {
|
|
|
|
Logger hclog.InterceptLogger
|
|
|
|
TLSConfigurator *tlsutil.Configurator
|
|
|
|
Tokens *token.Store
|
|
|
|
Router *router.Router
|
|
|
|
ConnPool *pool.ConnPool
|
2020-09-08 17:31:47 -04:00
|
|
|
GRPCConnPool *grpc.ClientConnPool
|
2020-06-10 16:47:35 -04:00
|
|
|
}
|