2023-03-28 18:39:22 +00:00
|
|
|
// Copyright (c) HashiCorp, Inc.
|
2023-08-11 13:12:13 +00:00
|
|
|
// SPDX-License-Identifier: BUSL-1.1
|
2023-03-28 18:39:22 +00:00
|
|
|
|
2021-11-16 18:04:01 +00:00
|
|
|
//go:build !consulent
|
2021-05-11 14:50:03 +00:00
|
|
|
|
|
|
|
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{}
|
|
|
|
}
|