Safe Haskell | Safe-Infered |
---|
Auto-repair tool for Ganeti.
- options :: IO [OptType]
- arguments :: [ArgCompletion]
- data InstanceData = InstanceData {
- arInstance :: Instance
- arState :: AutoRepairStatus
- tagsToRemove :: [String]
- parseInitTag :: String -> Maybe AutoRepairData
- getArData :: AutoRepairStatus -> Maybe AutoRepairData
- arStateName :: AutoRepairStatus -> String
- delCurTag :: InstanceData -> [String]
- setInitialState :: Instance -> Result InstanceData
- arStatusCmp :: InstanceData -> [AutoRepairData] -> Result InstanceData
- processPending :: Client -> InstanceData -> IO InstanceData
- updateTag :: AutoRepairData -> AutoRepairData
- commitChange :: Client -> InstanceData -> IO InstanceData
- detectBroken :: List -> Instance -> Maybe (AutoRepairType, [OpCode])
- doRepair :: Client -> Double -> InstanceData -> (AutoRepairType, [OpCode]) -> IO InstanceData
- main :: Options -> [String] -> IO ()
Documentation
data InstanceData Source
InstanceData | |
|
Eq InstanceData | |
Show InstanceData |
parseInitTag :: String -> Maybe AutoRepairDataSource
getArData :: AutoRepairStatus -> Maybe AutoRepairDataSource
arStateName :: AutoRepairStatus -> StringSource
delCurTag :: InstanceData -> [String]Source
processPending :: Client -> InstanceData -> IO InstanceDataSource
commitChange :: Client -> InstanceData -> IO InstanceDataSource
detectBroken :: List -> Instance -> Maybe (AutoRepairType, [OpCode])Source
doRepair :: Client -> Double -> InstanceData -> (AutoRepairType, [OpCode]) -> IO InstanceDataSource