Companion

object Companion

Properties

Link copied to clipboard
Link copied to clipboard

Configuration from the runtime environment

Link copied to clipboard

Configuration from JVM properties (-D flags)

Functions

Link copied to clipboard

Setup default configuration mappings using EnvironmentKey lens bindings

Link copied to clipboard
fun from(file: File): Environment

Load configuration from standard Properties file format on disk

fun from(vararg pairs: Pair<String, String>, separator: String = ","): Environment
fun from(env: Map<String, String>, separator: String = ","): Environment
Link copied to clipboard
Link copied to clipboard

Load configuration from standard Properties file format on classpath

Link copied to clipboard

Read a YAML file into environments, prepending all of the nested levels into the property names

Read a YAML file from resources into environments, prepending all of the nested levels into the property names