ganeti

Safe HaskellSafe-Infered

Ganeti.DataCollectors.Drbd

Contents

Description

DRBD data collector.

Synopsis

Documentation

defaultFile :: FilePathSource

dcName :: StringSource

The name of this data collector.

dcVersion :: DCVersionSource

The version of this data collector.

dcFormatVersion :: IntSource

The version number for the data format of this data collector.

dcCategory :: Maybe DCCategorySource

The category of this data collector.

dcKind :: DCKindSource

The kind of this data collector.

dcReport :: IO DCReportSource

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

buildJsonReport :: FilePath -> Maybe FilePath -> IO JSValueSource

buildDCReport :: FilePath -> Maybe FilePath -> IO DCReportSource

main :: Options -> [String] -> IO ()Source

Main function.