Safe Haskell | Safe-Infered |
---|
Implementation of DataCollectors CLI functions.
This module holds the common command-line related functions for the collector binaries.
- data Options = Options {
- optShowHelp :: Bool
- optShowComp :: Bool
- optShowVer :: Bool
- optDrbdStatus :: Maybe FilePath
- optDrbdPairing :: Maybe FilePath
- optNode :: Maybe String
- optConfdAddr :: Maybe String
- optConfdPort :: Maybe Int
- defaultOptions :: Options
- type OptType = GenericOptType Options
- oDrbdPairing :: OptType
- oDrbdStatus :: OptType
- oNode :: OptType
- oConfdAddr :: OptType
- oConfdPort :: OptType
- genericOptions :: [GenericOptType Options]
Data types
Command line options structure.
Options | |
|
defaultOptions :: OptionsSource
Default values for the command line options.
type OptType = GenericOptType OptionsSource
Abbreviation for the option type.
Command line options
genericOptions :: [GenericOptType Options]Source
Generic options.