Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶ added in v0.99.0
func NewFactory() confmap.ProviderFactory
NewFactory returns a factory for a confmap.Provider that reads the configuration from the given environment variable.
This Provider supports "env" scheme, and can be called with a selector: `env:NAME_OF_ENVIRONMENT_VARIABLE`
func NewWithSettings
deprecated
func NewWithSettings(ps confmap.ProviderSettings) confmap.Provider
NewWithSettings returns a new confmap.Provider that reads the configuration from the given environment variable.
This Provider supports "env" scheme, and can be called with a selector: `env:NAME_OF_ENVIRONMENT_VARIABLE`
Deprecated: [v0.99.0] Use NewFactory instead.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.