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
|
|
|
|
func initEnterpriseAutoConfig(_ consul.EnterpriseDeps) autoconf.EnterpriseConfig {
|
|
|
|
return autoconf.EnterpriseConfig{}
|
|
|
|
}
|