github.com/DerekStrickland/consul@v1.4.5/agent/consul/enterprise_server_oss.go (about)

     1  // +build !ent
     2  
     3  package consul
     4  
     5  import (
     6  	"net"
     7  
     8  	"github.com/hashicorp/consul/agent/pool"
     9  	"github.com/hashicorp/serf/serf"
    10  )
    11  
    12  type EnterpriseServer struct{}
    13  
    14  func (s *Server) initEnterprise() error {
    15  	return nil
    16  }
    17  
    18  func (s *Server) startEnterprise() error {
    19  	return nil
    20  }
    21  
    22  func (s *Server) handleEnterpriseUserEvents(event serf.UserEvent) bool {
    23  	return false
    24  }
    25  
    26  func (s *Server) handleEnterpriseRPCConn(rtype pool.RPCType, conn net.Conn, isTLS bool) bool {
    27  	return false
    28  }
    29  
    30  func (s *Server) enterpriseStats() map[string]map[string]string {
    31  	return nil
    32  }
    33  
    34  func (s *Server) intentionReplicationEnabled() bool {
    35  	return false
    36  }