Safe Haskell | Safe-Infered |
---|
DRBD data collector.
- defaultFile :: FilePath
- defaultCharNum :: Int
- dcName :: String
- dcVersion :: DCVersion
- dcFormatVersion :: Int
- dcCategory :: Maybe DCCategory
- dcKind :: DCKind
- dcReport :: IO DCReport
- options :: IO [OptType]
- arguments :: [ArgCompletion]
- getPairingInfo :: Maybe String -> IO (Result [DrbdInstMinor])
- computeStatus :: DRBDStatus -> DCStatus
- mergeStatuses :: (DCStatusCode, String) -> (DCStatusCode, [String]) -> (DCStatusCode, [String])
- computeDevStatus :: DeviceInfo -> (DCStatusCode, String)
- buildJsonReport :: FilePath -> Maybe FilePath -> IO JSValue
- buildDCReport :: FilePath -> Maybe FilePath -> IO DCReport
- main :: Options -> [String] -> IO ()
Documentation
defaultFile :: FilePathSource
defaultCharNum :: IntSource
dcFormatVersion :: IntSource
The version number for the data format of this data collector.
dcCategory :: Maybe DCCategorySource
The category of this data collector.
The data exported by the data collector, taken from the default location.
Command line options
arguments :: [ArgCompletion]Source
The list of arguments supported by the program.
getPairingInfo :: Maybe String -> IO (Result [DrbdInstMinor])Source
mergeStatuses :: (DCStatusCode, String) -> (DCStatusCode, [String]) -> (DCStatusCode, [String])Source
computeDevStatus :: DeviceInfo -> (DCStatusCode, String)Source
buildJsonReport :: FilePath -> Maybe FilePath -> IO JSValueSource
buildDCReport :: FilePath -> Maybe FilePath -> IO DCReportSource