Safe Haskell | Safe-Infered |
---|
Cluster space sizing
- options :: IO [OptType]
- arguments :: [ArgCompletion]
- data Phase
- data SpecType
- = SpecNormal
- | SpecTiered
- htsPrefix :: String
- specPrefix :: SpecType -> String
- specDescription :: SpecType -> String
- specName :: SpecType -> String
- effFn :: (CStats -> Integer) -> (CStats -> Double) -> CStats -> Double
- memEff :: CStats -> Double
- dskEff :: CStats -> Double
- cpuEff :: CStats -> Double
- spnEff :: CStats -> Double
- statsData :: [(String, CStats -> String)]
- specData :: [(String, RSpec -> String)]
- specDataSpn :: [(String, RSpec -> String)]
- clusterData :: [(String, CStats -> String)]
- clusterDataSpn :: [(String, CStats -> String)]
- printStats :: Phase -> CStats -> [(String, String)]
- printFRScores :: List -> List -> [(FailMode, Int)] -> IO ()
- printResults :: Bool -> List -> List -> Int -> Int -> [(FailMode, Int)] -> IO ()
- printFinalHTS :: Bool -> IO ()
- tieredSpecMap :: [Instance] -> [(RSpec, Int)]
- formatSpecMap :: [(RSpec, Int)] -> [String]
- formatRSpec :: String -> AllocInfo -> [(String, String)]
- printAllocationStats :: List -> List -> IO ()
- printKeysHTS :: [(String, String)] -> IO ()
- printInstance :: List -> Instance -> [String]
- printAllocationMap :: Int -> String -> List -> [Instance] -> IO ()
- formatResources :: a -> [(String, a -> String)] -> String
- printCluster :: Bool -> CStats -> Int -> Bool -> IO ()
- printISpec :: Bool -> RSpec -> SpecType -> DiskTemplate -> Bool -> IO ()
- printTiered :: Bool -> [(RSpec, Int)] -> List -> List -> [(FailMode, Int)] -> IO ()
- printClusterScores :: List -> List -> IO ()
- printClusterEff :: CStats -> Bool -> IO ()
- failureReason :: [(FailMode, Int)] -> String
- sortReasons :: [(FailMode, Int)] -> [(FailMode, Int)]
- runAllocation :: ClusterData -> Maybe AllocResult -> Result AllocResult -> RSpec -> DiskTemplate -> SpecType -> Options -> IO (FailStats, List, Int, [(RSpec, Int)])
- instFromSpec :: RSpec -> DiskTemplate -> Int -> Instance
- combineTiered :: AlgorithmOptions -> Maybe Int -> AllocNodes -> AllocResult -> Instance -> Result AllocResult
- main :: Options -> [String] -> IO ()
Documentation
arguments :: [ArgCompletion]Source
The list of arguments supported by the program.
specPrefix :: SpecType -> StringSource
specDescription :: SpecType -> StringSource
specDataSpn :: [(String, RSpec -> String)]Source
clusterData :: [(String, CStats -> String)]Source
clusterDataSpn :: [(String, CStats -> String)]Source
printStats :: Phase -> CStats -> [(String, String)]Source
printFRScores :: List -> List -> [(FailMode, Int)] -> IO ()Source
printResults :: Bool -> List -> List -> Int -> Int -> [(FailMode, Int)] -> IO ()Source
printFinalHTS :: Bool -> IO ()Source
tieredSpecMap :: [Instance] -> [(RSpec, Int)]Source
formatSpecMap :: [(RSpec, Int)] -> [String]Source
formatRSpec :: String -> AllocInfo -> [(String, String)]Source
printAllocationStats :: List -> List -> IO ()Source
printKeysHTS :: [(String, String)] -> IO ()Source
printInstance :: List -> Instance -> [String]Source
printAllocationMap :: Int -> String -> List -> [Instance] -> IO ()Source
formatResources :: a -> [(String, a -> String)] -> StringSource
printCluster :: Bool -> CStats -> Int -> Bool -> IO ()Source
printISpec :: Bool -> RSpec -> SpecType -> DiskTemplate -> Bool -> IO ()Source
printClusterScores :: List -> List -> IO ()Source
printClusterEff :: CStats -> Bool -> IO ()Source
failureReason :: [(FailMode, Int)] -> StringSource
sortReasons :: [(FailMode, Int)] -> [(FailMode, Int)]Source
runAllocation :: ClusterData -> Maybe AllocResult -> Result AllocResult -> RSpec -> DiskTemplate -> SpecType -> Options -> IO (FailStats, List, Int, [(RSpec, Int)])Source
instFromSpec :: RSpec -> DiskTemplate -> Int -> InstanceSource
combineTiered :: AlgorithmOptions -> Maybe Int -> AllocNodes -> AllocResult -> Instance -> Result AllocResultSource