github.com/Ilhicas/nomad@v1.0.4-0.20210304152020-e86851182bc3/command/agent/agent_oss.go (about)

     1  // +build !ent
     2  
     3  package agent
     4  
     5  import (
     6  	hclog "github.com/hashicorp/go-hclog"
     7  	"github.com/hashicorp/nomad/nomad/structs/config"
     8  )
     9  
    10  // EnterpriseAgent holds information and methods for enterprise functionality
    11  // in OSS it is an empty struct.
    12  type EnterpriseAgent struct{}
    13  
    14  func (a *Agent) setupEnterpriseAgent(log hclog.Logger) error {
    15  	// configure eventer
    16  	a.auditor = &noOpAuditor{}
    17  
    18  	return nil
    19  }
    20  
    21  func (a *Agent) entReloadEventer(cfg *config.AuditConfig) error {
    22  	return nil
    23  }