mirror of
https://github.com/akvorado/akvorado.git
synced 2025-12-12 06:24:10 +01:00
cmd: make main subcomponent configuration inline
This commit is contained in:
@@ -18,7 +18,7 @@ import (
|
|||||||
type ConsoleConfiguration struct {
|
type ConsoleConfiguration struct {
|
||||||
Reporting reporter.Configuration
|
Reporting reporter.Configuration
|
||||||
HTTP http.Configuration
|
HTTP http.Configuration
|
||||||
Console console.Configuration
|
Console console.Configuration `mapstructure:",squash" yaml:",inline"`
|
||||||
ClickHouse clickhousedb.Configuration
|
ClickHouse clickhousedb.Configuration
|
||||||
Auth authentication.Configuration
|
Auth authentication.Configuration
|
||||||
Database database.Configuration
|
Database database.Configuration
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ type OrchestratorConfiguration struct {
|
|||||||
ClickHouseDB clickhousedb.Configuration `yaml:"-"`
|
ClickHouseDB clickhousedb.Configuration `yaml:"-"`
|
||||||
ClickHouse clickhouse.Configuration
|
ClickHouse clickhouse.Configuration
|
||||||
Kafka kafka.Configuration
|
Kafka kafka.Configuration
|
||||||
Orchestrator orchestrator.Configuration
|
Orchestrator orchestrator.Configuration `mapstructure:",squash" yaml:",inline"`
|
||||||
// Other service configurations
|
// Other service configurations
|
||||||
Inlet InletConfiguration
|
Inlet InletConfiguration
|
||||||
Console ConsoleConfiguration
|
Console ConsoleConfiguration
|
||||||
|
|||||||
Reference in New Issue
Block a user