Safe Haskell | Safe-Infered |
---|
Cluster rolling maintenance helper.
- options :: IO [OptType]
- arguments :: [ArgCompletion]
- move :: Idx -> Ndx -> (List, List) -> OpResult (List, List)
- locateInstance :: Idx -> [Ndx] -> (List, List) -> Result (List, List)
- locateInstances :: [Idx] -> [Ndx] -> (List, List) -> Result (List, List)
- greedyClearNodes :: ((List, List) -> Ndx -> [Idx]) -> ([Idx] -> [Ndx] -> (List, List) -> Result (List, List)) -> [Ndx] -> [Ndx] -> (List, List) -> Result ([Ndx], (List, List))
- clearNodes :: [Ndx] -> [Ndx] -> (List, List) -> Result ([Ndx], (List, List))
- partitionNodes :: ([Ndx] -> [Ndx] -> (List, List) -> Result ([Ndx], (List, List))) -> [Ndx] -> [Ndx] -> (List, List) -> Result [([Ndx], (List, List))]
- partitionNonRedundant :: [Ndx] -> [Ndx] -> (List, List) -> Result [([Ndx], (List, List))]
- migrate :: Idx -> (List, List) -> OpResult (List, List)
- primaries :: (List, List) -> Ndx -> [Idx]
- migrateOffNodes :: ([Ndx], (List, List)) -> OpResult ([Ndx], (List, List))
- replaceSecondary :: Idx -> Ndx -> (List, List) -> OpResult (List, List)
- findSecondary :: Idx -> [Ndx] -> (List, List) -> Result (List, List)
- findSecondaries :: [Idx] -> [Ndx] -> (List, List) -> Result (List, List)
- secondaries :: (List, List) -> Ndx -> [Idx]
- clearSecondaries :: [Ndx] -> [Ndx] -> (List, List) -> Result ([Ndx], (List, List))
- partitionSecondaries :: [Ndx] -> [Ndx] -> (List, List) -> Result [([Ndx], (List, List))]
- getStats :: [(String, ColorVertMap)] -> String
- hasGroup :: Maybe Group -> Node -> Bool
- hasTag :: Maybe [String] -> Node -> Bool
- nonRedundant :: (List, List) -> Ndx -> [Idx]
- noNonRedundant :: (List, List) -> Node -> Bool
- masterLast :: [([Node], a)] -> [([Node], a)]
- getMoves :: (List, List) -> (List, List) -> [(Instance, (Node, Maybe Node))]
- main :: Options -> [String] -> IO ()
Documentation
arguments :: [ArgCompletion]Source
The list of arguments supported by the program.
greedyClearNodes :: ((List, List) -> Ndx -> [Idx]) -> ([Idx] -> [Ndx] -> (List, List) -> Result (List, List)) -> [Ndx] -> [Ndx] -> (List, List) -> Result ([Ndx], (List, List))Source
partitionNodes :: ([Ndx] -> [Ndx] -> (List, List) -> Result ([Ndx], (List, List))) -> [Ndx] -> [Ndx] -> (List, List) -> Result [([Ndx], (List, List))]Source
getStats :: [(String, ColorVertMap)] -> StringSource
noNonRedundant :: (List, List) -> Node -> BoolSource
masterLast :: [([Node], a)] -> [([Node], a)]Source