2019-12-06 20:35:58 +00:00
|
|
|
// +build !consulent
|
|
|
|
|
|
|
|
package agent
|
|
|
|
|
2019-12-10 02:26:41 +00:00
|
|
|
import (
|
2020-02-04 20:58:56 +00:00
|
|
|
"github.com/hashicorp/consul/agent/config"
|
2019-12-10 02:26:41 +00:00
|
|
|
"github.com/hashicorp/consul/agent/consul"
|
|
|
|
"github.com/hashicorp/consul/agent/structs"
|
|
|
|
"github.com/hashicorp/consul/api"
|
|
|
|
)
|
|
|
|
|
2020-04-16 22:07:52 +00:00
|
|
|
// fillAgentServiceEnterpriseMeta is a noop stub for the func defined agent_ent.go
|
2019-12-10 02:26:41 +00:00
|
|
|
func fillAgentServiceEnterpriseMeta(_ *api.AgentService, _ *structs.EnterpriseMeta) {}
|
|
|
|
|
2020-04-16 22:07:52 +00:00
|
|
|
// fillHealthCheckEnterpriseMeta is a noop stub for the func defined agent_ent.go
|
2019-12-10 02:26:41 +00:00
|
|
|
func fillHealthCheckEnterpriseMeta(_ *api.HealthCheck, _ *structs.EnterpriseMeta) {}
|
2019-12-06 20:35:58 +00:00
|
|
|
|
2020-04-16 22:07:52 +00:00
|
|
|
// initEnterprise is a noop stub for the func defined agent_ent.go
|
|
|
|
func (a *Agent) initEnterprise(consulCfg *consul.Config) error {
|
|
|
|
return nil
|
2019-12-06 20:35:58 +00:00
|
|
|
}
|
2020-02-04 20:58:56 +00:00
|
|
|
|
2020-04-16 22:07:52 +00:00
|
|
|
// loadEnterpriseTokens is a noop stub for the func defined agent_ent.go
|
2020-02-04 20:58:56 +00:00
|
|
|
func (a *Agent) loadEnterpriseTokens(conf *config.RuntimeConfig) {
|
|
|
|
}
|
2020-04-16 22:07:52 +00:00
|
|
|
|
|
|
|
// reloadEnterprise is a noop stub for the func defined agent_ent.go
|
|
|
|
func (a *Agent) reloadEnterprise(conf *config.RuntimeConfig) error {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
// WriteEvent is a noop stub for the func defined agent_ent.go
|
|
|
|
func (a *Agent) WriteEvent(eventType string, payload interface{}) {
|
|
|
|
}
|