package catseffect2
- Alphabetic
- By Inheritance
- catseffect2
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- def blockingSaveConfigAsPropertyFileF[F[_], A](conf: A, outputPath: Path, blocker: Blocker, overrideOutputPath: Boolean = false, options: ConfigRenderOptions = ConfigRenderOptions.defaults())(implicit arg0: ContextShift[F], arg1: ConfigWriter[A], F: Sync[F]): F[Unit]
Save the given configuration into a property file
Save the given configuration into a property file
- conf
The configuration to save
- outputPath
Where to write the configuration
- blocker
the blocking context which will be used to load the configuration.
- overrideOutputPath
Override the path if it already exists
- options
the config rendering options
- returns
The return action will save out the supplied configuration upon invocation
- def blockingSaveConfigToStreamF[F[_], A](conf: A, outputStream: OutputStream, blocker: Blocker, options: ConfigRenderOptions = ConfigRenderOptions.defaults())(implicit arg0: ContextShift[F], F: Sync[F], writer: ConfigWriter[A]): F[Unit]
Writes the configuration to the output stream and closes the stream
Writes the configuration to the output stream and closes the stream
- conf
The configuration to write
- outputStream
The stream in which the configuration should be written
- blocker
the blocking context which will be used to load the configuration.
- options
the config rendering options
- returns
The return action will save out the supplied configuration upon invocation
- def loadConfigF[F[_], A](blocker: Blocker)(implicit arg0: Sync[F], arg1: ContextShift[F], arg2: ConfigReader[A], ct: ClassTag[A]): F[A]
Load a configuration of type
Afrom the standard configuration filesLoad a configuration of type
Afrom the standard configuration files- blocker
the blocking context which will be used to load the configuration.
- returns
The returned action will complete with
Aif it is possible to create an instance of typeAfrom the configuration files, or fail with a ConfigReaderException which in turn contains details on why it isn't possible
- def loadF[F[_], A](cs: ConfigSource, blocker: Blocker)(implicit arg0: Sync[F], arg1: ContextShift[F], reader: ConfigReader[A], ct: ClassTag[A]): F[A]
Load a configuration of type
Afrom a config sourceLoad a configuration of type
Afrom a config source- cs
the config source from where the configuration will be loaded
- blocker
the blocking context which will be used to load the configuration.
- returns
The returned action will complete with
Aif it is possible to create an instance of typeAfrom the configuration source, or fail with a ConfigReaderException which in turn contains details on why it isn't possible