Files
akvorado/orchestrator/config.go
Vincent Bernat 76151bea66 common/helpers: make some mapstructure hooks work with embedded structs
When using `mapstructure:",squash"`, most structure-specific hook don't
dive into the structure as they are provided with the parent structure.
Add an helper to make them work on the embedded structure as well and
use it for the generic "deprecated fields" hook, but also for the hook
for the common Kafka configuration.

This is a bit brittle. There are other use cases, but they may not need
this change.
2025-07-27 21:44:28 +02:00

13 lines
358 B
Go

// SPDX-FileCopyrightText: 2022 Free Mobile
// SPDX-License-Identifier: AGPL-3.0-only
package orchestrator
// Configuration describes the configuration for the orchestrator.
type Configuration struct{}
// DefaultConfiguration represents the default configuration for the orchestrator.
func DefaultConfiguration() Configuration {
return Configuration{}
}