ConfigProvider

Companion:
class
class Object
trait Matchable
class Any

Type members

Classlikes

object Flat
Companion:
class
trait Flat

A simplified config provider that knows only how to deal with flat (key/value) properties. Because these providers are common, there is special support for implementing them.

A simplified config provider that knows only how to deal with flat (key/value) properties. Because these providers are common, there is special support for implementing them.

Companion:
object

Value members

Concrete methods

def consoleProvider(seqDelim: String): ConfigProvider
def fromEnv(pathDelim: String, seqDelim: String): ConfigProvider

Constructs a ConfigProvider that loads configuration information from environment variables, using the default System service and the specified delimiter strings.

Constructs a ConfigProvider that loads configuration information from environment variables, using the default System service and the specified delimiter strings.

Constructs a new ConfigProvider from a key/value (flat) provider, where nesting is embedded into the string keys.

Constructs a new ConfigProvider from a key/value (flat) provider, where nesting is embedded into the string keys.

def fromMap(map: Map[String, String], pathDelim: String, seqDelim: String): ConfigProvider

Constructs a ConfigProvider using a map and the specified delimiter string, which determines how to split the keys in the map into path segments.

Constructs a ConfigProvider using a map and the specified delimiter string, which determines how to split the keys in the map into path segments.

def fromProps(pathDelim: String, seqDelim: String): ConfigProvider

Constructs a ConfigProvider that loads configuration information from system properties, using the default System service and the specified delimiter strings.

Constructs a ConfigProvider that loads configuration information from system properties, using the default System service and the specified delimiter strings.

Concrete fields

lazy val console: ZLayer[Any, Nothing, ConfigProvider]

A config provider layer that loads configuration from interactive console prompts, using the default Console service.

A config provider layer that loads configuration from interactive console prompts, using the default Console service.

lazy val env: ZLayer[Any, Nothing, ConfigProvider]

A config provider layer that loads configuration from environment variables, using the default System service.

A config provider layer that loads configuration from environment variables, using the default System service.

A config provider that loads configuration from environment variables, using the default System service.

A config provider that loads configuration from environment variables, using the default System service.

lazy val props: ZLayer[Any, Nothing, ConfigProvider]

A config provider layer that loads configuration from system properties, using the default System service.

A config provider layer that loads configuration from system properties, using the default System service.

A configuration provider that loads configuration from system properties, using the default System service.

A configuration provider that loads configuration from system properties, using the default System service.

The tag that describes the ConfigProvider service.

The tag that describes the ConfigProvider service.