package config
- Alphabetic
- Public
- All
Type Members
-
trait
ConfigReader
[+T] extends (Config, String) ⇒ T
Represents a function that given a config and the config key string, will return the given type.
Represents a function that given a config and the config key string, will return the given type.
- T
the type to be returned
- Annotations
- @implicitNotFound( ... )
-
trait
FileDescriptorCredentials
[T] extends AnyRef
Trait that describes how a
FileDescriptorextracts credentials from a config.Trait that describes how a
FileDescriptorextracts credentials from a config.The config file must follow the following structure:
{{protocol}}.default = $protocolCredentials {{protocol}}.credentials = [{ id = id1 creds = $protocolCredentials },{ ids = [id2, id3] creds = $protocolCredentials }]
The {{protocol}}.default is an optional and is used as a fallback when the file descriptor id matches none of the credentials ids.
Inside the {{protocol}}.credentials list there must be a
credskey which contains the all required keys for the pertaining protocol, and either anidor aidskey which represent an unique id or a list of unique ids respectively for which the credentials are valid.- T
The type of credential object that is extracted
Value Members
- object ConfigReader
-
object
Implicits
extends BasicConfigReaders with ExtendedConfigReaders
Provides useful extension methods for
Configinstances. -
object
LazyConfigFactory
Contains static methods for creating
Configinstances in a lazy way.Contains static methods for creating
Configinstances in a lazy way.The loading process resolves variables lazily - configurations are first completely loaded and merged (reference.conf, the application file and default overrides) and only then are variables resolved. This
ConfigFactoryalso considers a third standard configuration file,overrides.conf, which has priority over the application file and can be used to specify keys that should always be overriden, e.g. by environment variables if they are defined.