Safe Haskell | Safe-Infered |
---|
Node freeing scheduler
- options :: IO [OptType]
- arguments :: [ArgCompletion]
- standbyPrefix :: String
- hasStandbyTag :: Node -> Bool
- onlyExternal :: (List, List) -> Node -> Bool
- noSecondaries :: Node -> Bool
- allInstancesOnOnlineNodes :: (List, List) -> Bool
- allNodesCapacityFor :: Instance -> (List, List) -> Bool
- balance :: (List, List) -> ((List, List), [MoveJob])
- onlineOfflineNode :: Bool -> (List, List) -> Ndx -> (List, List)
- onlineOfflineNodes :: Bool -> [Ndx] -> (List, List) -> ((List, List), [MoveJob])
- offlineNodes :: [Ndx] -> (List, List) -> ((List, List), [MoveJob])
- onlineNodes :: [Ndx] -> (List, List) -> ((List, List), [MoveJob])
- canOnlineOffline :: Bool -> Instance -> (List, List) -> [Node] -> Bool
- canOffline :: Instance -> (List, List) -> [Node] -> Bool
- sufficesOnline :: Instance -> (List, List) -> [Node] -> Bool
- greedyOfflineNodes :: Instance -> (List, List) -> [Node] -> [Node]
- tryOnline :: Instance -> (List, List) -> [Node] -> Maybe [Node]
- instanceFromSpecAndFactor :: String -> Double -> ISpec -> Instance
- main :: Options -> [String] -> IO ()
Documentation
arguments :: [ArgCompletion]Source
The list of arguments supported by the program.
standbyPrefix :: StringSource
hasStandbyTag :: Node -> BoolSource
onlyExternal :: (List, List) -> Node -> BoolSource
noSecondaries :: Node -> BoolSource
allInstancesOnOnlineNodes :: (List, List) -> BoolSource
allNodesCapacityFor :: Instance -> (List, List) -> BoolSource
instanceFromSpecAndFactor :: String -> Double -> ISpec -> InstanceSource