Safe Haskell | Safe-Infered |
---|
Node freeing scheduler
- options :: IO [OptType]
- arguments :: [ArgCompletion]
- annotateOpCode :: Timestamp -> String -> Annotator
- 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
- getMoveOpCodes :: List -> List -> [JobSet] -> Result [([[OpCode]], String)]
- getTagOpCodes :: [Node] -> Result [([[OpCode]], String)]
- getPowerOffOpCodes :: [Node] -> Result [([[OpCode]], String)]
- getPowerOnOpCodes :: [Node] -> Result [([[OpCode]], String)]
- maybeExecJobs :: Options -> String -> Result [([[OpCode]], String)] -> IO (Result ())
- main :: Options -> [String] -> IO ()
Documentation
arguments :: [ArgCompletion]Source
The list of arguments supported by the program.
annotateOpCode :: Timestamp -> String -> AnnotatorSource
onlyExternal :: (List, List) -> Node -> BoolSource
noSecondaries :: Node -> BoolSource
allInstancesOnOnlineNodes :: (List, List) -> BoolSource
allNodesCapacityFor :: Instance -> (List, List) -> BoolSource
instanceFromSpecAndFactor :: String -> Double -> ISpec -> InstanceSource
getTagOpCodes :: [Node] -> Result [([[OpCode]], String)]Source
getPowerOffOpCodes :: [Node] -> Result [([[OpCode]], String)]Source
getPowerOnOpCodes :: [Node] -> Result [([[OpCode]], String)]Source