Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- registryConf :: RegistryConf
- withRegistry :: (MonadIO m, MonadMask m) => Df1 -> FilePath -> (Registry -> m a) -> m a
- store :: FilePath -> Store (Producer ByteString IO ())
- jsonStore :: (FromJSON x, ToJSON x) => FilePath -> Store x
Registry
registryConf :: RegistryConf Source #
Command-line configuration for a Registry
stored as a file in the
filesystem using withRegistry
.
:: (MonadIO m, MonadMask m) | |
=> Df1 | |
-> FilePath | File where to store the registry logs. An exclusive lock will be set on the this file (see |
-> (Registry -> m a) | |
-> m a |
Obtain a Registry
backed by an append-only file storage, using moto
's
own file format.