ganeti

Safe HaskellNone

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 types

data Options Source #

Command line options structure.

Constructors

Options 

Fields

  • optShowHelp :: Bool

    Just show the help

  • optShowComp :: Bool

    Just show the completion info

  • optShowVer :: Bool

    Just show the program version

  • optDrbdStatus :: Maybe FilePath

    Path to the file containing DRBD status information

  • optDrbdPairing :: Maybe FilePath

    Path to the file containing pairings between instances and DRBD minors

  • optNode :: Maybe String

    Info are requested for this node

  • optConfdAddr :: Maybe String

    IP address of the Confd server

  • optConfdPort :: Maybe Int

    The port of the Confd server to connect to

  • optInputFile :: Maybe FilePath

    Path to the file containing the information to be parsed

  • optInstances :: Maybe FilePath

    Path to the file contained a serialized list of instances as in: ([Primary], [Secondary])

Instances
Show Options # 
Instance details

Defined in Ganeti.DataCollectors.CLI

Methods

showsPrec :: Int -> Options -> ShowS

show :: Options -> String

showList :: [Options] -> ShowS

StandardOptions Options # 
Instance details

Defined in Ganeti.DataCollectors.CLI

defaultOptions :: Options Source #

Default values for the command line options.

type OptType = GenericOptType Options Source #

Abbreviation for the option type.

Command line options