2023-04-10 15:36:59 +00:00
|
|
|
// Copyright (c) HashiCorp, Inc.
|
|
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
|
2021-10-01 13:59:55 +00:00
|
|
|
//go:build !ent
|
2020-03-22 16:17:33 +00:00
|
|
|
// +build !ent
|
|
|
|
|
|
|
|
package agent
|
|
|
|
|
|
|
|
import (
|
|
|
|
hclog "github.com/hashicorp/go-hclog"
|
|
|
|
"github.com/hashicorp/nomad/nomad/structs/config"
|
|
|
|
)
|
|
|
|
|
2020-05-27 17:46:52 +00:00
|
|
|
// EnterpriseAgent holds information and methods for enterprise functionality
|
|
|
|
// in OSS it is an empty struct.
|
|
|
|
type EnterpriseAgent struct{}
|
|
|
|
|
2020-03-22 16:17:33 +00:00
|
|
|
func (a *Agent) setupEnterpriseAgent(log hclog.Logger) error {
|
|
|
|
// configure eventer
|
2020-03-24 00:06:11 +00:00
|
|
|
a.auditor = &noOpAuditor{}
|
2020-03-22 16:17:33 +00:00
|
|
|
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (a *Agent) entReloadEventer(cfg *config.AuditConfig) error {
|
|
|
|
return nil
|
|
|
|
}
|