Safe Haskell | None |
---|---|
Language | Haskell2010 |
Start a local cluster of cardano nodes and PAB(s)
Synopsis
- data LogOutputs = LogOutputs { }
- withLocalClusterSetup :: ( FilePath -> LogOutputs -> IO a) -> IO a
- runWith :: forall a. ( Show a, Ord a, FromJSON a, ToJSON a, Pretty a, MimeUnrender JSON a, HasDefinitions a, ToSchema a) => BuiltinHandler a -> IO ()
- newtype ChainIndexPort = ChainIndexPort Int
- setupPABServices :: forall a. ( Show a, Ord a, FromJSON a, ToJSON a, Pretty a, MimeUnrender JSON a, HasDefinitions a, ToSchema a) => BuiltinHandler a -> String -> Int -> FilePath -> RunningNode -> IO ()
- launchChainIndex :: FilePath -> RunningNode -> IO ChainIndexPort
- launchPAB :: forall a. ( Show a, Ord a, FromJSON a, ToJSON a, Pretty a, MimeUnrender JSON a, HasDefinitions a, ToSchema a) => BuiltinHandler a -> Text -> FilePath -> BaseUrl -> RunningNode -> ChainIndexPort -> IO ()
- slotConfigOfNetworkParameters :: NetworkParameters -> SlotConfig
- restoreWallets :: String -> Int -> IO BaseUrl
- sleep :: Int -> IO ()
-
data
TestsLog
- = MsgBaseUrl Text Text Text
- | MsgSettingUpFaucet
- | MsgCluster ClusterLog
Documentation
data LogOutputs Source #
withLocalClusterSetup :: ( FilePath -> LogOutputs -> IO a) -> IO a Source #
runWith :: forall a. ( Show a, Ord a, FromJSON a, ToJSON a, Pretty a, MimeUnrender JSON a, HasDefinitions a, ToSchema a) => BuiltinHandler a -> IO () Source #
newtype ChainIndexPort Source #
setupPABServices :: forall a. ( Show a, Ord a, FromJSON a, ToJSON a, Pretty a, MimeUnrender JSON a, HasDefinitions a, ToSchema a) => BuiltinHandler a -> String -> Int -> FilePath -> RunningNode -> IO () Source #
launchChainIndex :: FilePath -> RunningNode -> IO ChainIndexPort Source #
Launch the chain index in a separate thread.
:: forall a. ( Show a, Ord a, FromJSON a, ToJSON a, Pretty a, MimeUnrender JSON a, HasDefinitions a, ToSchema a) | |
=> BuiltinHandler a | |
-> Text |
Passphrase |
-> FilePath |
Temp directory |
-> BaseUrl |
wallet url |
-> RunningNode |
Socket path |
-> ChainIndexPort |
Port of the chain index |
-> IO () |
Launch the PAB in a separate thread.
MsgBaseUrl Text Text Text | |
MsgSettingUpFaucet | |
MsgCluster ClusterLog |
Instances
Show TestsLog Source # | |
ToText TestsLog Source # | |
HasPrivacyAnnotation TestsLog Source # | |
Defined in Plutus.PAB.LocalCluster.Run getPrivacyAnnotation :: TestsLog -> PrivacyAnnotation |
|
HasSeverityAnnotation TestsLog Source # | |
Defined in Plutus.PAB.LocalCluster.Run getSeverityAnnotation :: TestsLog -> Severity |