summaryrefslogtreecommitdiff
path: root/internal/configuration/types.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/configuration/types.go')
-rw-r--r--internal/configuration/types.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/internal/configuration/types.go b/internal/configuration/types.go
index 32a15fb5e..4c0236dc8 100644
--- a/internal/configuration/types.go
+++ b/internal/configuration/types.go
@@ -21,28 +21,28 @@ type YAMLFileSource struct {
filters []FileFilter
}
-// EnvironmentSource is a configuration Source which loads values from the environment.
+// EnvironmentSource is a configuration configuration.Source which loads values from the environment.
type EnvironmentSource struct {
koanf *koanf.Koanf
prefix string
delimiter string
}
-// SecretsSource loads environment variables that have a value pointing to a file.
+// SecretsSource is a configuration.Source which loads environment variables that have a value pointing to a file.
type SecretsSource struct {
koanf *koanf.Koanf
prefix string
delimiter string
}
-// CommandLineSource loads configuration from the command line flags.
+// CommandLineSource is a configuration.Source which loads configuration from the command line flags.
type CommandLineSource struct {
koanf *koanf.Koanf
flags *pflag.FlagSet
callback func(flag *pflag.Flag) (string, any)
}
-// MapSource loads configuration from the command line flags.
+// MapSource is a configuration.Source which loads configuration from the command line flags.
type MapSource struct {
m map[string]any
koanf *koanf.Koanf