Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
constructUrl :: URL -> ApiVersion -> Endpoint -> URL Source
decodeResponse :: (Functor f, FromJSON a) => f (Response ByteString) -> f (Maybe a) Source
getResponseStatusCode :: Response body -> Status Source
fullUrl :: DockerClientOpts -> Endpoint -> URL Source
setupSSLCtx :: SSLOptions -> IO SSLContext Source
mkOpts :: IO SSLContext -> Options Source
getSSL :: SSLOptions -> String -> IO (Response ByteString) Source
postSSL :: ToJSON a => SSLOptions -> String -> a -> IO (Response ByteString) Source
_dockerGetQuery :: Endpoint -> DockerClientOpts -> IO (Response ByteString) Source
_dockerPostQuery :: ToJSON a => Endpoint -> DockerClientOpts -> a -> IO (Response ByteString) Source
getDockerImages :: DockerClientOpts -> IO (Maybe [DockerImage]) Source
getAllDockerImages :: DockerClientOpts -> IO (Maybe [DockerImage]) Source
createContainer :: DockerClientOpts -> CreateContainerOpts -> IO (Maybe Text) Source
startContainer :: DockerClientOpts -> String -> StartContainerOpts -> IO Status Source
stopContainer :: DockerClientOpts -> String -> IO Status Source
killContainer :: DockerClientOpts -> String -> IO Status Source
restartContainer :: DockerClientOpts -> String -> IO Status Source
pauseContainer :: DockerClientOpts -> String -> IO Status Source
unpauseContainer :: DockerClientOpts -> String -> IO Status Source
deleteContainer :: DockerClientOpts -> String -> IO Status Source
deleteContainerWithOpts :: DeleteOpts -> DockerClientOpts -> String -> IO Status Source
getContainerLogsStream :: DockerClientOpts -> String -> IO () Source
getContainerLogs :: DockerClientOpts -> String -> IO ByteString Source