Copyright | (c) Soostone Inc 2020 |
---|---|
License | AllRightsReserved |
Stability | experimental |
Portability | POSIX |
Safe Haskell | Safe-Inferred |
Language | GHC2021 |
Synopsis
- data History = History {}
- loadSpecState :: MonadIO m => MetadataBeamConnection -> AppName -> m SpecState
- loadCompletedSpecState :: MonadIO m => MetadataBeamConnection -> AppName -> m SpecState
- loadHistory :: MonadIO m => MetadataBeamConnection -> AppName -> m History
- recordedRun :: (HasBackendQueryStats bk, Typeable bk, ToDbBackend bk) => MetadataBeamConnection -> AppName -> Pipeline -> SpecRunId -> SpecTableName -> Specs bk -> DepChain -> Combo bk (a, CreateQueryStats bk, Maybe (HookQueryStats bk)) -> Combo bk (Either SomeException (a, (NominalDiffTime, CreateQueryStats bk, Maybe (HookQueryStats bk))))
- expectedRuntimeForGraph :: MonadIO m => MetadataBeamConnection -> SpecDepGraph -> Set SpecTableName -> m (Either Text EtaType)
- filterByNodeLabel :: (SpecTableName -> Bool) -> SpecDepGraph -> SpecDepGraph
Documentation
loadSpecState :: MonadIO m => MetadataBeamConnection -> AppName -> m SpecState #
loadCompletedSpecState :: MonadIO m => MetadataBeamConnection -> AppName -> m SpecState #
loadHistory :: MonadIO m => MetadataBeamConnection -> AppName -> m History #
recordedRun :: (HasBackendQueryStats bk, Typeable bk, ToDbBackend bk) => MetadataBeamConnection -> AppName -> Pipeline -> SpecRunId -> SpecTableName -> Specs bk -> DepChain -> Combo bk (a, CreateQueryStats bk, Maybe (HookQueryStats bk)) -> Combo bk (Either SomeException (a, (NominalDiffTime, CreateQueryStats bk, Maybe (HookQueryStats bk)))) #
Do a run, recording the instance in the database. Return the recorded instance along with the run results.
expectedRuntimeForGraph :: MonadIO m => MetadataBeamConnection -> SpecDepGraph -> Set SpecTableName -> m (Either Text EtaType) #
filterByNodeLabel :: (SpecTableName -> Bool) -> SpecDepGraph -> SpecDepGraph #