| Copyright | (c) Soostone Inc 2020 |
|---|---|
| License | AllRightsReserved |
| Stability | experimental |
| Portability | POSIX |
| Safe Haskell | None |
| Language | Haskell2010 |
Napkin.Spec.Persist
Description
Synopsis
- loadSpecState :: MonadIO m => MetadataBeamConnection -> AppName -> m SpecState
- srLastRun :: Traversal' SpecRun UTCTime
- srDepChain :: Traversal' SpecRun DepChain
- recordedRun :: MetadataBeamConnection -> AppName -> Pipeline -> SpecRunId -> Ref Table -> DepChain -> ComboT IO a -> ComboT IO (Either SomeException a, SpecRun)
- expectedRuntimeForGraph :: MonadIO m => MetadataBeamConnection -> SpecDepGraph -> m Int
- longestPathLength :: Real b => Gr a b -> Node -> Node -> b
Documentation
loadSpecState :: MonadIO m => MetadataBeamConnection -> AppName -> m SpecState #
recordedRun :: MetadataBeamConnection -> AppName -> Pipeline -> SpecRunId -> Ref Table -> DepChain -> ComboT IO a -> ComboT IO (Either SomeException a, SpecRun) #
Do a run, recording the instance in the database. Return the recorded instance along with the run results.
expectedRuntimeForGraph :: MonadIO m => MetadataBeamConnection -> SpecDepGraph -> m Int #