← ZIO Config docs

EnvConfigImpl

zio.config.yaml.EnvConfigImpl
object EnvConfigImpl extends EnvConfig

Configurator for ENV format

Attributes

Source
EnvConfigImpl.scala
Graph
Supertypes
trait EnvConfig
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

override def getValueFor(name: String, separator: String, value: String, environment: String): Optional[String]

Implement deviation from the standard logic.

Implement deviation from the standard logic.

Value parameters

environment

- the value from environment for the provided variable or null if unset

name

- variable name in the template

separator

- separator in the template, can be :-, -, :?, ? or null if not present

value

- default value or the error in the template or empty if not present

Attributes

Returns

the value to apply in the template or empty to follow the standard logic

Definition Classes
EnvConfig
Source
EnvConfigImpl.scala