object ConfigProvider
- Alphabetic
- By Inheritance
- ConfigProvider
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- lazy val console: ZLayer[Any, Nothing, ConfigProvider]
A config provider layer that loads configuration from interactive console prompts, using the default Console service.
- def consoleProvider(seqDelim: String = ","): ConfigProvider
- lazy val consoleProvider: ConfigProvider
- lazy val defaultProvider: ConfigProvider
- lazy val env: ZLayer[Any, Nothing, ConfigProvider]
A config provider layer that loads configuration from environment variables, using the default System service.
- lazy val envProvider: ConfigProvider
A config provider that loads configuration from environment variables, using the default System service.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def fromAppArgs(args: ZIOAppArgs, pathDelim: String = ".", seqDelim: Option[String] = None): ConfigProvider
A config provider that loads configuration from command-line arguments.
A config provider that loads configuration from command-line arguments. Keys should start with "-" or "--". Boolean flags can be specified as "-flag" or "--flag". Key Value pairs can be specified as "--key=value" or "--key value". Sequences can be specified as "--key value1 value2 ..." or "--key=value1 --key=value2"
- 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.
- def fromFlat(flat: Flat): ConfigProvider
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.
- 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.
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- lazy val props: ZLayer[Any, Nothing, ConfigProvider]
A config provider layer that loads configuration from system properties, using the default System service.
- lazy val propsProvider: ConfigProvider
A configuration provider that loads configuration from system properties, using the default System service.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- lazy val tag: Tag[ConfigProvider]
The tag that describes the ConfigProvider service.
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- object Flat