]> granicus.if.org Git - icinga2/blob - lib/base/configuration.ti
Add ApiListener#tls_handshake_timeout option
[icinga2] / lib / base / configuration.ti
1 /******************************************************************************
2  * Icinga 2                                                                   *
3  * Copyright (C) 2012-2018 Icinga Development Team (https://www.icinga.com/)  *
4  *                                                                            *
5  * This program is free software; you can redistribute it and/or              *
6  * modify it under the terms of the GNU General Public License                *
7  * as published by the Free Software Foundation; either version 2             *
8  * of the License, or (at your option) any later version.                     *
9  *                                                                            *
10  * This program is distributed in the hope that it will be useful,            *
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of             *
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the              *
13  * GNU General Public License for more details.                               *
14  *                                                                            *
15  * You should have received a copy of the GNU General Public License          *
16  * along with this program; if not, write to the Free Software Foundation     *
17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.             *
18  ******************************************************************************/
19
20 #include "base/configobject.hpp"
21
22 library base;
23
24 namespace icinga
25 {
26
27 abstract class Configuration
28 {
29         [config, no_storage, virtual] String ApiBindHost {
30                 get;
31                 set;
32         };
33
34         [config, no_storage, virtual] String ApiBindPort {
35                 get;
36                 set;
37         };
38
39         [config, no_storage, virtual] bool AttachDebugger {
40                 get;
41                 set;
42         };
43
44         [config, no_storage, virtual] String CacheDir {
45                 get;
46                 set;
47         };
48
49         [config, no_storage, virtual] int Concurrency {
50                 get;
51                 set;
52         };
53
54         [config, no_storage, virtual] String ConfigDir {
55                 get;
56                 set;
57         };
58
59         [config, no_storage, virtual] String DataDir {
60                 get;
61                 set;
62         };
63
64         [config, no_storage, virtual] String EventEngine {
65                 get;
66                 set;
67         };
68
69         [config, no_storage, virtual] String IncludeConfDir {
70                 get;
71                 set;
72         };
73
74         [config, no_storage, virtual] String InitRunDir {
75                 get;
76                 set;
77         };
78
79         [config, no_storage, virtual] String LogDir {
80                 get;
81                 set;
82         };
83
84         [config, no_storage, virtual] String ModAttrPath {
85                 get;
86                 set;
87         };
88
89         [config, no_storage, virtual] String ObjectsPath {
90                 get;
91                 set;
92         };
93
94         [config, no_storage, virtual] String PidPath {
95                 get;
96                 set;
97         };
98
99         [config, no_storage, virtual] String PkgDataDir {
100                 get;
101                 set;
102         };
103
104         [config, no_storage, virtual] String PrefixDir {
105                 get;
106                 set;
107         };
108
109         [config, no_storage, virtual] String ProgramData {
110                 get;
111                 set;
112         };
113
114         [config, no_storage, virtual] int RLimitFiles {
115                 get;
116                 set;
117         };
118
119         [config, no_storage, virtual] int RLimitProcesses {
120                 get;
121                 set;
122         };
123
124         [config, no_storage, virtual] int RLimitStack {
125                 get;
126                 set;
127         };
128
129         [config, no_storage, virtual] String RunAsGroup {
130                 get;
131                 set;
132         };
133
134         [config, no_storage, virtual] String RunAsUser {
135                 get;
136                 set;
137         };
138
139         [config, no_storage, virtual] String SpoolDir {
140                 get;
141                 set;
142         };
143
144         [config, no_storage, virtual] String StatePath {
145                 get;
146                 set;
147         };
148
149         [config, no_storage, virtual] double TlsHandshakeTimeout {
150                 get;
151                 set;
152         };
153
154         [config, no_storage, virtual] String VarsPath {
155                 get;
156                 set;
157         };
158
159         [config, no_storage, virtual] String ZonesDir {
160                 get;
161                 set;
162         };
163
164         /* deprecated */
165         [config, no_storage, virtual] String LocalStateDir {
166                 get;
167                 set;
168         };
169
170         [config, no_storage, virtual] String RunDir {
171                 get;
172                 set;
173         };
174
175         [config, no_storage, virtual] String SysconfDir {
176                 get;
177                 set;
178         };
179 };
180
181 }