34871f89be
* changes necessary to support oss licesning shims revert nomad fmt changes update test to work with enterprise changes update tests to work with new ent enforcements make check update cas test to use scheduler algorithm back out preemption changes add comments * remove unused method
24 lines
484 B
Go
24 lines
484 B
Go
// +build !ent
|
|
|
|
package agent
|
|
|
|
import (
|
|
hclog "github.com/hashicorp/go-hclog"
|
|
"github.com/hashicorp/nomad/nomad/structs/config"
|
|
)
|
|
|
|
// EnterpriseAgent holds information and methods for enterprise functionality
|
|
// in OSS it is an empty struct.
|
|
type EnterpriseAgent struct{}
|
|
|
|
func (a *Agent) setupEnterpriseAgent(log hclog.Logger) error {
|
|
// configure eventer
|
|
a.auditor = &noOpAuditor{}
|
|
|
|
return nil
|
|
}
|
|
|
|
func (a *Agent) entReloadEventer(cfg *config.AuditConfig) error {
|
|
return nil
|
|
}
|