Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Ganeti.DataCollectors.CLI
Contents
Description
Implementation of DataCollectors CLI functions.
This module holds the common command-line related functions for the collector binaries.
Synopsis
- data Options = Options {
- optShowHelp :: Bool
- optShowComp :: Bool
- optShowVer :: Bool
- optDrbdStatus :: Maybe FilePath
- optDrbdPairing :: Maybe FilePath
- optNode :: Maybe String
- optConfdAddr :: Maybe String
- optConfdPort :: Maybe Int
- optInputFile :: Maybe FilePath
- optInstances :: Maybe FilePath
- type OptType = GenericOptType Options
- defaultOptions :: Options
- oShowHelp :: StandardOptions a => GenericOptType a
- oShowVer :: StandardOptions a => GenericOptType a
- oShowComp :: StandardOptions a => GenericOptType a
- oDrbdPairing :: OptType
- oDrbdStatus :: OptType
- oNode :: OptType
- oConfdAddr :: OptType
- oConfdPort :: OptType
- oInputFile :: OptType
- oInstances :: OptType
- genericOptions :: [GenericOptType Options]
Documentation
Command line options structure.
Constructors
Options | |
Fields
|
Instances
Show Options # | |
StandardOptions Options # | |
Defined in Ganeti.DataCollectors.CLI Methods helpRequested :: Options -> Bool # verRequested :: Options -> Bool # compRequested :: Options -> Bool # requestHelp :: Options -> Options # requestVer :: Options -> Options # requestComp :: Options -> Options # |
type OptType = GenericOptType Options #
Abbreviation for the option type.
Default values for the command line options.
The options
oShowHelp :: StandardOptions a => GenericOptType a #
Option to request help output.
oShowVer :: StandardOptions a => GenericOptType a #
Option to request version information.
oShowComp :: StandardOptions a => GenericOptType a #
Option to request completion information
oDrbdPairing :: OptType #
oDrbdStatus :: OptType #
oConfdAddr :: OptType #
oConfdPort :: OptType #
oInputFile :: OptType #
oInstances :: OptType #
genericOptions :: [GenericOptType Options] #
Generic options.