2021-05-11 14:50:03 +00:00
|
|
|
// +build !consulent
|
|
|
|
|
|
|
|
package agent
|
|
|
|
|
|
|
|
import (
|
2021-05-17 20:01:32 +00:00
|
|
|
autoconf "github.com/hashicorp/consul/agent/auto-config"
|
2021-05-11 14:50:03 +00:00
|
|
|
"github.com/hashicorp/consul/agent/config"
|
2021-05-17 20:01:32 +00:00
|
|
|
"github.com/hashicorp/consul/agent/consul"
|
2021-05-11 14:50:03 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
// initEnterpriseBaseDeps is responsible for initializing the enterprise dependencies that
|
|
|
|
// will be utilized throughout the whole Consul Agent.
|
|
|
|
func initEnterpriseBaseDeps(d BaseDeps, _ *config.RuntimeConfig) (BaseDeps, error) {
|
|
|
|
return d, nil
|
|
|
|
}
|
2021-05-17 20:01:32 +00:00
|
|
|
|
|
|
|
// initEnterpriseAutoConfig is responsible for setting up auto-config for enterprise
|
2021-05-20 14:07:23 +00:00
|
|
|
func initEnterpriseAutoConfig(_ consul.EnterpriseDeps, _ *config.RuntimeConfig) autoconf.EnterpriseConfig {
|
2021-05-17 20:01:32 +00:00
|
|
|
return autoconf.EnterpriseConfig{}
|
|
|
|
}
|