Safe Haskell | None |
---|
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
- defaultOptions :: Options
- type OptType = GenericOptType Options
- oDrbdPairing :: OptType
- oDrbdStatus :: OptType
- oNode :: OptType
- oConfdAddr :: OptType
- oConfdPort :: OptType
- oInputFile :: OptType
- oInstances :: OptType
- genericOptions :: [GenericOptType Options]
Data types
Command line options structure.
Options | |
|
Instances
Show Options # | |
StandardOptions Options # | |
Defined in Ganeti.DataCollectors.CLI helpRequested :: Options -> Bool Source # verRequested :: Options -> Bool Source # compRequested :: Options -> Bool Source # requestHelp :: Options -> Options Source # requestVer :: Options -> Options Source # requestComp :: Options -> Options Source # |
defaultOptions :: Options Source #
Default values for the command line options.
type OptType = GenericOptType Options Source #
Abbreviation for the option type.
Command line options
oConfdAddr :: OptType Source #
oConfdPort :: OptType Source #
oInputFile :: OptType Source #
oInstances :: OptType Source #
genericOptions :: [GenericOptType Options] Source #
Generic options.