Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data BindMount = BindMount {
- pathInContainer :: Text
- pathInHost :: Text
- readOnly :: Bool
- defaultBindMount :: Text -> BindMount
- data Config = Config {
- extraBindMounts :: [BindMount]
- executable :: Text
- arguments :: [Text]
- environment :: Map Text Text
- workingDirectory :: Text
- hostname :: Text
- rootReadOnly :: Bool
- virtualUID :: Int
- virtualGID :: Int
- hostUID :: Int
- hostGID :: Int
- effectToOCIRuntimeSpec :: Config -> Value -> Value
- run :: FilePath -> Config -> IO ExitCode
- withPseudoTerminalHandles :: ((Handle, Handle) -> IO a) -> IO a
- openPseudoTerminalHandles :: IO (Handle, Handle)
Documentation
BindMount | |
|
defaultBindMount :: Text -> BindMount Source #
Config | |
|
withPseudoTerminalHandles :: ((Handle, Handle) -> IO a) -> IO a Source #
Like openPseudoTerminalHandles
but closes the handles after the
function is done.
openPseudoTerminalHandles :: IO (Handle, Handle) Source #
Like openPseudoTerminal
but returning handles, in a resource-safe manner.