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
- 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
computeDevStatus :: DeviceInfo -> (DCStatusCode, String)Source
buildJsonReport :: FilePath -> Maybe FilePath -> IO JSValueSource
buildDCReport :: FilePath -> Maybe FilePath -> IO DCReportSource