EnvSource
Config source backed by environment variables (JVM). Key lookup converts dots to underscores and uppercases: db.host → DB_HOST. A null env var is treated as absent (None). An empty string "" is present (Some).
Attributes
- Source
- PlatformConfigSource.scala
- Graph
-
- Supertypes
- Self type
-
EnvSource.type
Members list
Value members
Concrete methods
Return all key-value pairs whose keys start with the given prefix (using dot-separated paths).
Return all key-value pairs whose keys start with the given prefix (using dot-separated paths).
Attributes
- Source
- PlatformConfigSource.scala
Look up a single key and return its value with provenance, or None if absent.
Look up a single key and return its value with provenance, or None if absent.
Attributes
- Source
- PlatformConfigSource.scala
Inherited methods
Attributes
- Inherited from:
- ConfigSource
- Source
- ConfigSource.scala
Apply a key transformation before lookup. The mapper transforms the requested key before it is passed to the underlying source.
Apply a key transformation before lookup. The mapper transforms the requested key before it is passed to the underlying source.
Attributes
- Inherited from:
- ConfigSource
- Source
- ConfigSource.scala
Compose this source with a fallback. Keys are looked up in this source first; if absent, the fallback is consulted. Provenance tracks the actual providing source.
Compose this source with a fallback. Keys are looked up in this source first; if absent, the fallback is consulted. Provenance tracks the actual providing source.
Attributes
- Inherited from:
- ConfigSource
- Source
- ConfigSource.scala
Compose this source with a fallback. This source is consulted first; if it returns None, the fallback is tried.
Compose this source with a fallback. This source is consulted first; if it returns None, the fallback is tried.
Attributes
- Inherited from:
- FlagSource
- Source
- FlagSource.scala
Prepend a prefix to all key lookups. For example, source.prefix("db").get("host") looks up "db.host" in the underlying source.
Prepend a prefix to all key lookups. For example, source.prefix("db").get("host") looks up "db.host" in the underlying source.
Attributes
- Inherited from:
- ConfigSource
- Source
- ConfigSource.scala
Concrete fields
A unique identifier for this source, used in provenance tracking.
A unique identifier for this source, used in provenance tracking.
Attributes
- Source
- PlatformConfigSource.scala