root / src / Ganeti / DataCollectors / Program.hs @ b1633ed9
History | View | Annotate | Download (1.2 kB)
1 | 332b1340 | Michele Tartara | {-| Small module holding program definitions for data collectors. |
---|---|---|---|
2 | 332b1340 | Michele Tartara | |
3 | 332b1340 | Michele Tartara | -} |
4 | 332b1340 | Michele Tartara | |
5 | 332b1340 | Michele Tartara | {- |
6 | 332b1340 | Michele Tartara | |
7 | 332b1340 | Michele Tartara | Copyright (C) 2012 Google Inc. |
8 | 332b1340 | Michele Tartara | |
9 | 332b1340 | Michele Tartara | This program is free software; you can redistribute it and/or modify |
10 | 332b1340 | Michele Tartara | it under the terms of the GNU General Public License as published by |
11 | 332b1340 | Michele Tartara | the Free Software Foundation; either version 2 of the License, or |
12 | 332b1340 | Michele Tartara | (at your option) any later version. |
13 | 332b1340 | Michele Tartara | |
14 | 332b1340 | Michele Tartara | This program is distributed in the hope that it will be useful, but |
15 | 332b1340 | Michele Tartara | WITHOUT ANY WARRANTY; without even the implied warranty of |
16 | 332b1340 | Michele Tartara | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
17 | 332b1340 | Michele Tartara | General Public License for more details. |
18 | 332b1340 | Michele Tartara | |
19 | 332b1340 | Michele Tartara | You should have received a copy of the GNU General Public License |
20 | 332b1340 | Michele Tartara | along with this program; if not, write to the Free Software |
21 | 332b1340 | Michele Tartara | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA |
22 | 332b1340 | Michele Tartara | 02110-1301, USA. |
23 | 332b1340 | Michele Tartara | |
24 | 332b1340 | Michele Tartara | -} |
25 | 332b1340 | Michele Tartara | |
26 | 332b1340 | Michele Tartara | module Ganeti.DataCollectors.Program (personalities) where |
27 | 332b1340 | Michele Tartara | |
28 | 2e6ef129 | Iustin Pop | import Ganeti.Common (PersonalityList) |
29 | 2e6ef129 | Iustin Pop | import Ganeti.DataCollectors.CLI (Options) |
30 | 332b1340 | Michele Tartara | |
31 | 332b1340 | Michele Tartara | import qualified Ganeti.DataCollectors.Drbd as Drbd |
32 | 332b1340 | Michele Tartara | |
33 | 332b1340 | Michele Tartara | -- | Supported binaries. |
34 | 2e6ef129 | Iustin Pop | personalities :: PersonalityList Options |
35 | 559c4a98 | Iustin Pop | personalities = [ ("drbd", (Drbd.main, Drbd.options, Drbd.arguments, |
36 | 559c4a98 | Iustin Pop | "gathers and displays DRBD statistics in JSON\ |
37 | 559c4a98 | Iustin Pop | \ format")) |
38 | 332b1340 | Michele Tartara | ] |