2019-05-01 15:11:27 +00:00
|
|
|
// +build !consulent
|
2018-05-24 14:36:42 +00:00
|
|
|
|
|
|
|
package consul
|
|
|
|
|
|
|
|
import (
|
|
|
|
"net"
|
|
|
|
|
|
|
|
"github.com/hashicorp/consul/agent/pool"
|
2019-07-26 19:57:57 +00:00
|
|
|
"github.com/hashicorp/go-version"
|
2018-05-24 14:36:42 +00:00
|
|
|
"github.com/hashicorp/serf/serf"
|
|
|
|
)
|
|
|
|
|
2019-07-26 19:57:57 +00:00
|
|
|
var (
|
|
|
|
// minMultiDCConnectVersion is the minimum version in order to support multi-DC Connect
|
|
|
|
// features.
|
|
|
|
minMultiDCConnectVersion = version.Must(version.NewVersion("1.6.0"))
|
|
|
|
)
|
|
|
|
|
2018-05-24 14:36:42 +00:00
|
|
|
type EnterpriseServer struct{}
|
|
|
|
|
|
|
|
func (s *Server) initEnterprise() error {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (s *Server) startEnterprise() error {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (s *Server) handleEnterpriseUserEvents(event serf.UserEvent) bool {
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
|
|
|
func (s *Server) handleEnterpriseRPCConn(rtype pool.RPCType, conn net.Conn, isTLS bool) bool {
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
|
|
|
func (s *Server) enterpriseStats() map[string]map[string]string {
|
|
|
|
return nil
|
|
|
|
}
|