ganeti

Safe HaskellSafe-Infered

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

defaultOptions :: OptionsSource

Default values for the command line options.

type OptType = GenericOptType OptionsSource

Abbreviation for the option type.

Command line options