Skip to content
Snippets Groups Projects
Commit a1b5eeaf authored by Iustin Pop's avatar Iustin Pop
Browse files

Add definitions for more Luxi calls

parent 6583e677
No related branches found
No related tags found
No related merge requests found
......@@ -58,11 +58,15 @@ withTimeout secs descr action = do
-- | Currently supported Luxi operations.
data LuxiOp = QueryInstances
| QueryNodes
| QueryJobs
| SubmitManyJobs
-- | The serialisation of LuxiOps into strings in messages.
strOfOp :: LuxiOp -> String
strOfOp QueryNodes = "QueryNodes"
strOfOp QueryInstances = "QueryInstances"
strOfOp QueryJobs = "QueryJobs"
strOfOp SubmitManyJobs = "SubmitManyJobs"
-- | The end-of-message separator.
eOM :: Char
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment