github.com/adityamillind98/nomad@v0.11.8/nomad/server_setup_oss.go (about)

     1  // +build !pro,!ent
     2  
     3  package nomad
     4  
     5  import (
     6  	"github.com/hashicorp/consul/agent/consul/autopilot"
     7  )
     8  
     9  type EnterpriseState struct{}
    10  
    11  func (s *Server) setupEnterprise(config *Config) error {
    12  	// Set up the OSS version of autopilot
    13  	apDelegate := &AutopilotDelegate{s}
    14  	s.autopilot = autopilot.NewAutopilot(s.logger, apDelegate, config.AutopilotInterval, config.ServerHealthInterval)
    15  
    16  	return nil
    17  }
    18  
    19  func (s *Server) startEnterpriseBackground() {}