Packages

object ConfigProvider

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ConfigProvider
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. trait Flat extends AnyRef

    A simplified config provider that knows only how to deal with flat (key/value) properties.

    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.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. lazy val console: ZLayer[Any, Nothing, ConfigProvider]

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

  7. def consoleProvider(seqDelim: String = ","): ConfigProvider
  8. lazy val consoleProvider: ConfigProvider
  9. lazy val defaultProvider: ConfigProvider
  10. lazy val env: ZLayer[Any, Nothing, ConfigProvider]

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

  11. lazy val envProvider: ConfigProvider

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

  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. 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"

  15. 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.

  16. def fromFlat(flat: Flat): ConfigProvider

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

  17. 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.

  18. 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.

  19. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. lazy val props: ZLayer[Any, Nothing, ConfigProvider]

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

  26. lazy val propsProvider: ConfigProvider

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

  27. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  28. lazy val tag: Tag[ConfigProvider]

    The tag that describes the ConfigProvider service.

  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  33. object Flat

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped