Safe Haskell | Safe-Infered |
---|
Auto-repair tool for Ganeti.
- options :: IO [OptType]
- arguments :: [ArgCompletion]
- annotateOpCode :: Maybe String -> Timestamp -> OpCode -> MetaOpCode
- 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 :: Options -> Client -> InstanceData -> IO InstanceData
- updateTag :: AutoRepairData -> AutoRepairData
- commitChange :: Options -> Client -> InstanceData -> IO InstanceData
- detectBroken :: List -> Instance -> Maybe (AutoRepairType, [OpCode])
- submitJobs' :: Options -> [[MetaOpCode]] -> Client -> IO (Result [JobId])
- doRepair :: Options -> Client -> Double -> InstanceData -> (AutoRepairType, [OpCode]) -> IO InstanceData
- main :: Options -> [String] -> IO ()
Documentation
annotateOpCode :: Maybe String -> Timestamp -> OpCode -> MetaOpCodeSource
data InstanceData Source
InstanceData | |
|
Eq InstanceData | |
Show InstanceData |
parseInitTag :: String -> Maybe AutoRepairDataSource
getArData :: AutoRepairStatus -> Maybe AutoRepairDataSource
arStateName :: AutoRepairStatus -> StringSource
delCurTag :: InstanceData -> [String]Source
processPending :: Options -> Client -> InstanceData -> IO InstanceDataSource
commitChange :: Options -> Client -> InstanceData -> IO InstanceDataSource
detectBroken :: List -> Instance -> Maybe (AutoRepairType, [OpCode])Source
submitJobs' :: Options -> [[MetaOpCode]] -> Client -> IO (Result [JobId])Source
doRepair :: Options -> Client -> Double -> InstanceData -> (AutoRepairType, [OpCode]) -> IO InstanceDataSource