Safe Haskell | Safe-Infered |
---|
Parsing data from a simulated description of the cluster.
This module holds the code for parsing a cluster description.
- apolAbbrev :: String -> Result AllocPolicy
- parseDesc :: String -> [String] -> Result (AllocPolicy, Int, Int, Int, Int, Int, Bool)
- createGroup :: Int -> String -> Result (Group, [Node])
- parseData :: [String] -> Result ClusterData
- loadData :: [String] -> IO (Result ClusterData)
Documentation
apolAbbrev :: String -> Result AllocPolicySource
parseDesc :: String -> [String] -> Result (AllocPolicy, Int, Int, Int, Int, Int, Bool)Source
createGroup :: Int -> String -> Result (Group, [Node])Source
:: [String] | Cluster description in text format |
-> Result ClusterData |
Builds the cluster data from node/instance files.
:: [String] | Cluster description in text format |
-> IO (Result ClusterData) |
Builds the cluster data from node/instance files.