Trait/Object

zio

ConfigProvider

Related Docs: object ConfigProvider | package zio

Permalink

trait ConfigProvider extends AnyRef

A ConfigProvider is a service that provides configuration given a description of the structure of that configuration.

Self Type
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. All

Abstract Value Members

  1. abstract def load[A](config: Config[A])(implicit trace: Trace): IO[Error, A]

    Permalink

    Loads the specified configuration, or fails with a config error.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def contramapPath(f: (String) ⇒ String): ConfigProvider

    Permalink

    Returns a new config provider that will automatically tranform all path configuration names with the specified function.

    Returns a new config provider that will automatically tranform all path configuration names with the specified function. This can be utilized to adapt the names of configuration properties from one naming convention to another.

  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def flatten: Flat

    Permalink

    Flattens this config provider into a simplified config provider that knows only how to deal with flat (key/value) properties.

  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. final def kebabCase: ConfigProvider

    Permalink

    Returns a new config provider that will automatically convert all property names to kebab case.

    Returns a new config provider that will automatically convert all property names to kebab case. This can be utilized to adapt the names of configuration properties from the default naming convention of camel case to the naming convention of a config provider.

  15. final def lowerCase: ConfigProvider

    Permalink

    Returns a new config provider that will automatically convert all property names to lower case.

    Returns a new config provider that will automatically convert all property names to lower case. This can be utilized to adapt the names of configuration properties from the default naming convention of camel case to the naming convention of a config provider.

  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def nested(name: String): ConfigProvider

    Permalink

    Returns a new config provider that will automatically nest all configuration under the specified property name.

    Returns a new config provider that will automatically nest all configuration under the specified property name. This can be utilized to aggregate separate configuration sources that are all required to load a single configuration value.

  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def orElse(that: ConfigProvider): ConfigProvider

    Permalink

    Returns a new config provider that preferentially loads configuration data from this one, but which will fall back to the specified alternate provider if there are any issues loading the configuration from this provider.

  21. final def snakeCase: ConfigProvider

    Permalink

    Returns a new config provider that will automatically convert all property names to snake case.

    Returns a new config provider that will automatically convert all property names to snake case. This can be utilized to adapt the names of configuration properties from the default naming convention of camel case to the naming convention of a config provider.

  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  23. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  24. final def unnested(name: String): ConfigProvider

    Permalink

    Returns a new config provider that will automatically unnest all configuration from the specified property name.

  25. final def upperCase: ConfigProvider

    Permalink

    Returns a new config provider that will automatically convert all property names to upper case.

    Returns a new config provider that will automatically convert all property names to upper case. This can be utilized to adapt the names of configuration properties from the default naming convention of camel case to the naming convention of a config provider.

  26. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def within(path: Chunk[String])(f: (ConfigProvider) ⇒ ConfigProvider): ConfigProvider

    Permalink

    Returns a new config provider that transforms the config provider with the specified function within the specified path.

Inherited from AnyRef

Inherited from Any

Ungrouped