Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Module for fx. Module = fx.Options(ConfiguratorModule, config.UnmarshalModule, ConfigModule) // ConfiguratorModule for fx. ConfiguratorModule = fx.Provide(NewConfigurator) // ConfigModule for fx. ConfigModule = fx.Options( config.ConfigModule, fx.Provide(vcsConfig), fx.Provide(clientConfig), fx.Provide(env.NewTransformer), fx.Provide(vault.NewConfig), fx.Provide(vault.NewClient), fx.Provide(vault.NewTransformer), fx.Provide(NewTransformer), fx.Provide(provider.NewTransformer), ) )
Functions ¶
Types ¶
type Config ¶
type Config struct { Server server.Config `yaml:"server"` Client client.Config `yaml:"client"` config.Config `yaml:",inline"` }
Config for the service.
type Transformer ¶ added in v1.7.0
type Transformer struct {
// contains filtered or unexported fields
}
Transformer for config.
func NewTransformer ¶ added in v1.7.0
func NewTransformer(pt *provider.Transformer) *Transformer
NewTransformer for config.
Click to show internal directories.
Click to hide internal directories.