2023-03-28 19:39:22 +01:00
|
|
|
// Copyright (c) HashiCorp, Inc.
|
|
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
|
2021-11-16 12:04:01 -06:00
|
|
|
//go:build !consulent
|
2021-05-11 10:50:03 -04:00
|
|
|
// +build !consulent
|
|
|
|
|
|
|
|
package agent
|
|
|
|
|
|
|
|
import (
|
2021-05-17 16:01:32 -04:00
|
|
|
autoconf "github.com/hashicorp/consul/agent/auto-config"
|
2021-05-11 10:50:03 -04:00
|
|
|
"github.com/hashicorp/consul/agent/config"
|
2021-05-17 16:01:32 -04:00
|
|
|
"github.com/hashicorp/consul/agent/consul"
|
2021-05-11 10:50:03 -04: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 16:01:32 -04:00
|
|
|
|
|
|
|
// initEnterpriseAutoConfig is responsible for setting up auto-config for enterprise
|
2021-05-20 10:07:23 -04:00
|
|
|
func initEnterpriseAutoConfig(_ consul.EnterpriseDeps, _ *config.RuntimeConfig) autoconf.EnterpriseConfig {
|
2021-05-17 16:01:32 -04:00
|
|
|
return autoconf.EnterpriseConfig{}
|
|
|
|
}
|