triglav-agent 1.0.0.pre1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (68) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +11 -0
  3. data/.rspec +2 -0
  4. data/.travis.yml +6 -0
  5. data/.yardopts +6 -0
  6. data/CHANGELOG.md +3 -0
  7. data/CODE_OF_CONDUCT.md +49 -0
  8. data/Gemfile +5 -0
  9. data/LICENSE.txt +21 -0
  10. data/README.md +59 -0
  11. data/Rakefile +11 -0
  12. data/bin/console +14 -0
  13. data/bin/setup +8 -0
  14. data/docs/Triglav/Agent/ApiClient/AuthenticationError.html +150 -0
  15. data/docs/Triglav/Agent/ApiClient/ConnectionError.html +150 -0
  16. data/docs/Triglav/Agent/ApiClient/Error.html +296 -0
  17. data/docs/Triglav/Agent/ApiClient.html +545 -0
  18. data/docs/Triglav/Agent/Base/CLI.html +498 -0
  19. data/docs/Triglav/Agent/Base/Connection.html +258 -0
  20. data/docs/Triglav/Agent/Base/Monitor.html +370 -0
  21. data/docs/Triglav/Agent/Base/Processor.html +623 -0
  22. data/docs/Triglav/Agent/Base/Setting.html +1081 -0
  23. data/docs/Triglav/Agent/Base/Worker.html +635 -0
  24. data/docs/Triglav/Agent/Base.html +121 -0
  25. data/docs/Triglav/Agent/Configuration.html +967 -0
  26. data/docs/Triglav/Agent/Error.html +130 -0
  27. data/docs/Triglav/Agent/HashUtil.html +351 -0
  28. data/docs/Triglav/Agent/LogFormatter.html +271 -0
  29. data/docs/Triglav/Agent/Logger.html +287 -0
  30. data/docs/Triglav/Agent/StorageFile.html +1130 -0
  31. data/docs/Triglav/Agent/Timer.html +424 -0
  32. data/docs/Triglav/Agent/TooManyError.html +134 -0
  33. data/docs/Triglav/Agent.html +131 -0
  34. data/docs/Triglav.html +119 -0
  35. data/docs/_index.html +335 -0
  36. data/docs/class_list.html +51 -0
  37. data/docs/css/common.css +1 -0
  38. data/docs/css/full_list.css +58 -0
  39. data/docs/css/style.css +481 -0
  40. data/docs/file.LICENSE.html +72 -0
  41. data/docs/file.README.html +137 -0
  42. data/docs/file_list.html +61 -0
  43. data/docs/frames.html +17 -0
  44. data/docs/index.html +137 -0
  45. data/docs/js/app.js +243 -0
  46. data/docs/js/full_list.js +216 -0
  47. data/docs/js/jquery.js +4 -0
  48. data/docs/method_list.html +659 -0
  49. data/docs/top-level-namespace.html +112 -0
  50. data/example/config.yml +40 -0
  51. data/lib/triglav/agent/api_client.rb +199 -0
  52. data/lib/triglav/agent/base/cli.rb +98 -0
  53. data/lib/triglav/agent/base/connection.rb +30 -0
  54. data/lib/triglav/agent/base/monitor.rb +32 -0
  55. data/lib/triglav/agent/base/processor.rb +136 -0
  56. data/lib/triglav/agent/base/setting.rb +112 -0
  57. data/lib/triglav/agent/base/worker.rb +95 -0
  58. data/lib/triglav/agent/configuration.rb +79 -0
  59. data/lib/triglav/agent/error.rb +4 -0
  60. data/lib/triglav/agent/hash_util.rb +36 -0
  61. data/lib/triglav/agent/logger.rb +50 -0
  62. data/lib/triglav/agent/storage_file.rb +144 -0
  63. data/lib/triglav/agent/timer.rb +80 -0
  64. data/lib/triglav/agent/version.rb +5 -0
  65. data/lib/triglav/agent.rb +20 -0
  66. data/lib/triglav-agent.rb +1 -0
  67. data/triglav-agent.gemspec +33 -0
  68. metadata +250 -0
@@ -0,0 +1,481 @@
1
+ html {
2
+ width: 100%;
3
+ height: 100%;
4
+ }
5
+ body {
6
+ font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif;
7
+ font-size: 13px;
8
+ width: 100%;
9
+ margin: 0;
10
+ padding: 0;
11
+ display: flex;
12
+ display: -webkit-flex;
13
+ display: -ms-flexbox;
14
+ }
15
+
16
+ #nav {
17
+ position: relative;
18
+ width: 100%;
19
+ height: 100%;
20
+ border: 0;
21
+ border-right: 1px dotted #eee;
22
+ overflow: auto;
23
+ }
24
+ .nav_wrap {
25
+ margin: 0;
26
+ padding: 0;
27
+ width: 20%;
28
+ height: 100%;
29
+ position: relative;
30
+ display: flex;
31
+ display: -webkit-flex;
32
+ display: -ms-flexbox;
33
+ flex-shrink: 0;
34
+ -webkit-flex-shrink: 0;
35
+ -ms-flex: 1 0;
36
+ }
37
+ #resizer {
38
+ position: absolute;
39
+ right: -5px;
40
+ top: 0;
41
+ width: 10px;
42
+ height: 100%;
43
+ cursor: col-resize;
44
+ z-index: 9999;
45
+ }
46
+ #main {
47
+ flex: 5 1;
48
+ -webkit-flex: 5 1;
49
+ -ms-flex: 5 1;
50
+ outline: none;
51
+ position: relative;
52
+ background: #fff;
53
+ padding: 1.2em;
54
+ padding-top: 0.2em;
55
+ }
56
+
57
+ @media (max-width: 920px) {
58
+ .nav_wrap { display: none; }
59
+ }
60
+
61
+ @media (min-width: 920px) {
62
+ body { height: 100%; overflow: hidden; }
63
+ #main { height: 100%; overflow: auto; }
64
+ #search { display: none; }
65
+ #search_frame { display: none; }
66
+ }
67
+
68
+ #main img { max-width: 100%; }
69
+ h1 { font-size: 25px; margin: 1em 0 0.5em; padding-top: 4px; border-top: 1px dotted #d5d5d5; }
70
+ h1.noborder { border-top: 0px; margin-top: 0; padding-top: 4px; }
71
+ h1.title { margin-bottom: 10px; }
72
+ h1.alphaindex { margin-top: 0; font-size: 22px; }
73
+ h2 {
74
+ padding: 0;
75
+ padding-bottom: 3px;
76
+ border-bottom: 1px #aaa solid;
77
+ font-size: 1.4em;
78
+ margin: 1.8em 0 0.5em;
79
+ position: relative;
80
+ }
81
+ h2 small { font-weight: normal; font-size: 0.7em; display: inline; position: absolute; right: 0; }
82
+ h2 small a {
83
+ display: block;
84
+ height: 20px;
85
+ border: 1px solid #aaa;
86
+ border-bottom: 0;
87
+ border-top-left-radius: 5px;
88
+ background: #f8f8f8;
89
+ position: relative;
90
+ padding: 2px 7px;
91
+ }
92
+ .clear { clear: both; }
93
+ .inline { display: inline; }
94
+ .inline p:first-child { display: inline; }
95
+ .docstring, .tags, #filecontents { font-size: 15px; line-height: 1.5145em; }
96
+ .docstring p > code, .docstring p > tt, .tags p > code, .tags p > tt {
97
+ color: #c7254e; background: #f9f2f4; padding: 2px 4px; font-size: 1em;
98
+ border-radius: 4px;
99
+ }
100
+ .docstring h1, .docstring h2, .docstring h3, .docstring h4 { padding: 0; border: 0; border-bottom: 1px dotted #bbb; }
101
+ .docstring h1 { font-size: 1.2em; }
102
+ .docstring h2 { font-size: 1.1em; }
103
+ .docstring h3, .docstring h4 { font-size: 1em; border-bottom: 0; padding-top: 10px; }
104
+ .summary_desc .object_link a, .docstring .object_link a {
105
+ font-family: monospace; font-size: 1.05em;
106
+ color: #05a; background: #EDF4FA; padding: 2px 4px; font-size: 1em;
107
+ border-radius: 4px;
108
+ }
109
+ .rdoc-term { padding-right: 25px; font-weight: bold; }
110
+ .rdoc-list p { margin: 0; padding: 0; margin-bottom: 4px; }
111
+
112
+ /* style for <table> */
113
+ #filecontents table, .docstring table { border-collapse: collapse; }
114
+ #filecontents table th, #filecontents table td,
115
+ .docstring table th, .docstring table td { border: 1px solid #ccc; padding: 8px; padding-right: 17px; }
116
+ #filecontents table tr:nth-child(odd),
117
+ .docstring table tr:nth-child(odd) { background: #eee; }
118
+ #filecontents table tr:nth-child(even),
119
+ .docstring table tr:nth-child(even) { background: #fff; }
120
+ #filecontents table th, .docstring table th { background: #fff; }
121
+
122
+ /* style for <ul> */
123
+ #filecontents li > p, .docstring li > p { margin: 0px; }
124
+ #filecontents ul, .docstring ul { padding-left: 20px; }
125
+ /* style for <dl> */
126
+ #filecontents dl, .docstring dl { border: 1px solid #ccc; }
127
+ #filecontents dt, .docstring dt { background: #ddd; font-weight: bold; padding: 3px 5px; }
128
+ #filecontents dd, .docstring dd { padding: 5px 0px; margin-left: 18px; }
129
+ #filecontents dd > p, .docstring dd > p { margin: 0px; }
130
+
131
+ .note {
132
+ color: #222;
133
+ margin: 20px 0;
134
+ padding: 10px;
135
+ border: 1px solid #eee;
136
+ border-radius: 3px;
137
+ display: block;
138
+ }
139
+ .docstring .note {
140
+ border-left-color: #ccc;
141
+ border-left-width: 5px;
142
+ }
143
+ .note.todo { background: #ffffc5; border-color: #ececaa; }
144
+ .note.returns_void { background: #efefef; }
145
+ .note.deprecated { background: #ffe5e5; border-color: #e9dada; }
146
+ .note.title.deprecated { background: #ffe5e5; border-color: #e9dada; }
147
+ .note.private { background: #ffffc5; border-color: #ececaa; }
148
+ .note.title { padding: 3px 6px; font-size: 0.9em; font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif; display: inline; }
149
+ .summary_signature + .note.title { margin-left: 7px; }
150
+ h1 .note.title { font-size: 0.5em; font-weight: normal; padding: 3px 5px; position: relative; top: -3px; text-transform: capitalize; }
151
+ .note.title { background: #efefef; }
152
+ .note.title.constructor { color: #fff; background: #6a98d6; border-color: #6689d6; }
153
+ .note.title.writeonly { color: #fff; background: #45a638; border-color: #2da31d; }
154
+ .note.title.readonly { color: #fff; background: #6a98d6; border-color: #6689d6; }
155
+ .note.title.private { background: #d5d5d5; border-color: #c5c5c5; }
156
+ .note.title.not_defined_here { background: transparent; border: none; font-style: italic; }
157
+ .discussion .note { margin-top: 6px; }
158
+ .discussion .note:first-child { margin-top: 0; }
159
+
160
+ h3.inherited {
161
+ font-style: italic;
162
+ font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif;
163
+ font-weight: normal;
164
+ padding: 0;
165
+ margin: 0;
166
+ margin-top: 12px;
167
+ margin-bottom: 3px;
168
+ font-size: 13px;
169
+ }
170
+ p.inherited {
171
+ padding: 0;
172
+ margin: 0;
173
+ margin-left: 25px;
174
+ }
175
+
176
+ .box_info dl {
177
+ margin: 0;
178
+ border: 0;
179
+ width: 100%;
180
+ font-size: 1em;
181
+ display: flex;
182
+ display: -webkit-flex;
183
+ display: -ms-flexbox;
184
+ }
185
+ .box_info dl dt {
186
+ flex-shrink: 0;
187
+ -webkit-flex-shrink: 1;
188
+ -ms-flex-shrink: 1;
189
+ width: 100px;
190
+ text-align: right;
191
+ font-weight: bold;
192
+ border: 1px solid #aaa;
193
+ border-width: 1px 0px 0px 1px;
194
+ padding: 6px 0;
195
+ padding-right: 10px;
196
+ }
197
+ .box_info dl dd {
198
+ flex-grow: 1;
199
+ -webkit-flex-grow: 1;
200
+ -ms-flex: 1;
201
+ max-width: 420px;
202
+ padding: 6px 0;
203
+ padding-right: 20px;
204
+ border: 1px solid #aaa;
205
+ border-width: 1px 1px 0 0;
206
+ overflow: hidden;
207
+ position: relative;
208
+ }
209
+ .box_info dl:last-child > * {
210
+ border-bottom: 1px solid #aaa;
211
+ }
212
+ .box_info dl:nth-child(odd) > * { background: #eee; }
213
+ .box_info dl:nth-child(even) > * { background: #fff; }
214
+ .box_info dl > * { margin: 0; }
215
+
216
+ ul.toplevel { list-style: none; padding-left: 0; font-size: 1.1em; }
217
+ .index_inline_list { padding-left: 0; font-size: 1.1em; }
218
+
219
+ .index_inline_list li {
220
+ list-style: none;
221
+ display: inline-block;
222
+ padding: 0 12px;
223
+ line-height: 30px;
224
+ margin-bottom: 5px;
225
+ }
226
+
227
+ dl.constants { margin-left: 10px; }
228
+ dl.constants dt { font-weight: bold; font-size: 1.1em; margin-bottom: 5px; }
229
+ dl.constants dd { width: 75%; white-space: pre; font-family: monospace; margin-bottom: 18px; }
230
+ dl.constants .docstring .note:first-child { margin-top: 5px; }
231
+
232
+ .summary_desc {
233
+ margin-left: 32px;
234
+ display: block;
235
+ font-family: sans-serif;
236
+ font-size: 1.1em;
237
+ margin-top: 8px;
238
+ line-height: 1.5145em;
239
+ margin-bottom: 0.8em;
240
+ }
241
+ .summary_desc tt { font-size: 0.9em; }
242
+ dl.constants .note { padding: 2px 6px; padding-right: 12px; margin-top: 6px; }
243
+ dl.constants .docstring { margin-left: 32px; font-size: 0.9em; font-weight: normal; }
244
+ dl.constants .tags { padding-left: 32px; font-size: 0.9em; line-height: 0.8em; }
245
+ dl.constants .discussion *:first-child { margin-top: 0; }
246
+ dl.constants .discussion *:last-child { margin-bottom: 0; }
247
+
248
+ .method_details { border-top: 1px dotted #ccc; margin-top: 25px; padding-top: 0; }
249
+ .method_details.first { border: 0; margin-top: 5px; }
250
+ .method_details.first h3.signature { margin-top: 1em; }
251
+ p.signature, h3.signature {
252
+ font-size: 1.1em; font-weight: normal; font-family: Monaco, Consolas, Courier, monospace;
253
+ padding: 6px 10px; margin-top: 1em;
254
+ background: #E8F4FF; border: 1px solid #d8d8e5; border-radius: 5px;
255
+ }
256
+ p.signature tt,
257
+ h3.signature tt { font-family: Monaco, Consolas, Courier, monospace; }
258
+ p.signature .overload,
259
+ h3.signature .overload { display: block; }
260
+ p.signature .extras,
261
+ h3.signature .extras { font-weight: normal; font-family: sans-serif; color: #444; font-size: 1em; }
262
+ p.signature .not_defined_here,
263
+ h3.signature .not_defined_here,
264
+ p.signature .aliases,
265
+ h3.signature .aliases { display: block; font-weight: normal; font-size: 0.9em; font-family: sans-serif; margin-top: 0px; color: #555; }
266
+ p.signature .aliases .names,
267
+ h3.signature .aliases .names { font-family: Monaco, Consolas, Courier, monospace; font-weight: bold; color: #000; font-size: 1.2em; }
268
+
269
+ .tags .tag_title { font-size: 1.05em; margin-bottom: 0; font-weight: bold; }
270
+ .tags .tag_title tt { color: initial; padding: initial; background: initial; }
271
+ .tags ul { margin-top: 5px; padding-left: 30px; list-style: square; }
272
+ .tags ul li { margin-bottom: 3px; }
273
+ .tags ul .name { font-family: monospace; font-weight: bold; }
274
+ .tags ul .note { padding: 3px 6px; }
275
+ .tags { margin-bottom: 12px; }
276
+
277
+ .tags .examples .tag_title { margin-bottom: 10px; font-weight: bold; }
278
+ .tags .examples .inline p { padding: 0; margin: 0; font-weight: bold; font-size: 1em; }
279
+ .tags .examples .inline p:before { content: "▸"; font-size: 1em; margin-right: 5px; }
280
+
281
+ .tags .overload .overload_item { list-style: none; margin-bottom: 25px; }
282
+ .tags .overload .overload_item .signature {
283
+ padding: 2px 8px;
284
+ background: #F1F8FF; border: 1px solid #d8d8e5; border-radius: 3px;
285
+ }
286
+ .tags .overload .signature { margin-left: -15px; font-family: monospace; display: block; font-size: 1.1em; }
287
+ .tags .overload .docstring { margin-top: 15px; }
288
+
289
+ .defines { display: none; }
290
+
291
+ #method_missing_details .notice.this { position: relative; top: -8px; color: #888; padding: 0; margin: 0; }
292
+
293
+ .showSource { font-size: 0.9em; }
294
+ .showSource a, .showSource a:visited { text-decoration: none; color: #666; }
295
+
296
+ #content a, #content a:visited { text-decoration: none; color: #05a; }
297
+ #content a:hover { background: #ffffa5; }
298
+
299
+ ul.summary {
300
+ list-style: none;
301
+ font-family: monospace;
302
+ font-size: 1em;
303
+ line-height: 1.5em;
304
+ padding-left: 0px;
305
+ }
306
+ ul.summary a, ul.summary a:visited {
307
+ text-decoration: none; font-size: 1.1em;
308
+ }
309
+ ul.summary li { margin-bottom: 5px; }
310
+ .summary .summary_signature {
311
+ padding: 4px 8px;
312
+ background: #f8f8f8;
313
+ border: 1px solid #f0f0f0;
314
+ border-radius: 5px;
315
+ }
316
+ .summary_signature:hover { background: #CFEBFF; border-color: #A4CCDA; cursor: pointer; }
317
+ ul.summary.compact li { display: inline-block; margin: 0px 5px 0px 0px; line-height: 2.6em;}
318
+ ul.summary.compact .summary_signature { padding: 5px 7px; padding-right: 4px; }
319
+ #content .summary_signature:hover a,
320
+ #content .summary_signature:hover a:visited {
321
+ background: transparent;
322
+ color: #049;
323
+ }
324
+
325
+ p.inherited a { font-family: monospace; font-size: 0.9em; }
326
+ p.inherited { word-spacing: 5px; font-size: 1.2em; }
327
+
328
+ p.children { font-size: 1.2em; }
329
+ p.children a { font-size: 0.9em; }
330
+ p.children strong { font-size: 0.8em; }
331
+ p.children strong.modules { padding-left: 5px; }
332
+
333
+ ul.fullTree { display: none; padding-left: 0; list-style: none; margin-left: 0; margin-bottom: 10px; }
334
+ ul.fullTree ul { margin-left: 0; padding-left: 0; list-style: none; }
335
+ ul.fullTree li { text-align: center; padding-top: 18px; padding-bottom: 12px; background: url(data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAACXBIWXMAAAsTAAALEwEA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DvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAAAHtJREFUeNqMzrEJAkEURdGzuhgZbSoYWcAWoBVsB4JgZAGmphsZCZYzTQgWNCYrDN9RvMmHx+X916SUBFbo8CzD1idXrLErw1mQttgXtyrOcQ/Ny5p4Qh+2XqLYYazsPWNTiuMkRxa4vcV+evuNAUOLIx5+c2hyzv7hNQC67Q+/HHmlEwAAAABJRU5ErkJggg==) no-repeat top center; }
336
+ ul.fullTree li:first-child { padding-top: 0; background: transparent; }
337
+ ul.fullTree li:last-child { padding-bottom: 0; }
338
+ .showAll ul.fullTree { display: block; }
339
+ .showAll .inheritName { display: none; }
340
+
341
+ #search { position: absolute; right: 12px; top: 0px; z-index: 9000; }
342
+ #search a {
343
+ display: block; float: left;
344
+ padding: 4px 8px; text-decoration: none; color: #05a; fill: #05a;
345
+ border: 1px solid #d8d8e5;
346
+ border-bottom-left-radius: 3px; border-bottom-right-radius: 3px;
347
+ background: #F1F8FF;
348
+ box-shadow: -1px 1px 3px #ddd;
349
+ }
350
+ #search a:hover { background: #f5faff; color: #06b; fill: #06b; }
351
+ #search a.active {
352
+ background: #568; padding-bottom: 20px; color: #fff; fill: #fff;
353
+ border: 1px solid #457;
354
+ border-top-left-radius: 5px; border-top-right-radius: 5px;
355
+ }
356
+ #search a.inactive { color: #999; fill: #999; }
357
+ .inheritanceTree, .toggleDefines {
358
+ float: right;
359
+ border-left: 1px solid #aaa;
360
+ position: absolute; top: 0; right: 0;
361
+ height: 100%;
362
+ background: #f6f6f6;
363
+ padding: 5px;
364
+ min-width: 55px;
365
+ text-align: center;
366
+ }
367
+
368
+ #menu { font-size: 1.3em; color: #bbb; }
369
+ #menu .title, #menu a { font-size: 0.7em; }
370
+ #menu .title a { font-size: 1em; }
371
+ #menu .title { color: #555; }
372
+ #menu a, #menu a:visited { color: #333; text-decoration: none; border-bottom: 1px dotted #bbd; }
373
+ #menu a:hover { color: #05a; }
374
+
375
+ #footer { margin-top: 15px; border-top: 1px solid #ccc; text-align: center; padding: 7px 0; color: #999; }
376
+ #footer a, #footer a:visited { color: #444; text-decoration: none; border-bottom: 1px dotted #bbd; }
377
+ #footer a:hover { color: #05a; }
378
+
379
+ #listing ul.alpha { font-size: 1.1em; }
380
+ #listing ul.alpha { margin: 0; padding: 0; padding-bottom: 10px; list-style: none; }
381
+ #listing ul.alpha li.letter { font-size: 1.4em; padding-bottom: 10px; }
382
+ #listing ul.alpha ul { margin: 0; padding-left: 15px; }
383
+ #listing ul small { color: #666; font-size: 0.7em; }
384
+
385
+ li.r1 { background: #f0f0f0; }
386
+ li.r2 { background: #fafafa; }
387
+
388
+ #search_frame {
389
+ z-index: 9999;
390
+ background: #fff;
391
+ display: none;
392
+ position: absolute;
393
+ top: 40px;
394
+ right: 12px;
395
+ width: 500px;
396
+ max-width: 80%;
397
+ height: 80%;
398
+ overflow-y: scroll;
399
+ border: 1px solid #999;
400
+ border-collapse: collapse;
401
+ box-shadow: -7px 5px 25px #aaa;
402
+ border-radius: 2px;
403
+ }
404
+
405
+ #content ul.summary li.deprecated .summary_signature a,
406
+ #content ul.summary li.deprecated .summary_signature a:visited { text-decoration: line-through; font-style: italic; }
407
+
408
+ #toc {
409
+ position: relative;
410
+ float: right;
411
+ overflow-x: auto;
412
+ right: -3px;
413
+ margin-left: 20px;
414
+ margin-bottom: 20px;
415
+ padding: 20px; padding-right: 30px;
416
+ max-width: 300px;
417
+ z-index: 5000;
418
+ background: #fefefe;
419
+ border: 1px solid #ddd;
420
+ box-shadow: -2px 2px 6px #bbb;
421
+ }
422
+ #toc .title { margin: 0; }
423
+ #toc ol { padding-left: 1.8em; }
424
+ #toc li { font-size: 1.1em; line-height: 1.7em; }
425
+ #toc > ol > li { font-size: 1.1em; font-weight: bold; }
426
+ #toc ol > ol { font-size: 0.9em; }
427
+ #toc ol ol > ol { padding-left: 2.3em; }
428
+ #toc ol + li { margin-top: 0.3em; }
429
+ #toc.hidden { padding: 10px; background: #fefefe; box-shadow: none; }
430
+ #toc.hidden:hover { background: #fafafa; }
431
+ #filecontents h1 + #toc.nofloat { margin-top: 0; }
432
+ @media (max-width: 560px) {
433
+ #toc {
434
+ margin-left: 0;
435
+ margin-top: 16px;
436
+ float: none;
437
+ max-width: none;
438
+ }
439
+ }
440
+
441
+ /* syntax highlighting */
442
+ .source_code { display: none; padding: 3px 8px; border-left: 8px solid #ddd; margin-top: 5px; }
443
+ #filecontents pre.code, .docstring pre.code, .source_code pre { font-family: monospace; }
444
+ #filecontents pre.code, .docstring pre.code { display: block; }
445
+ .source_code .lines { padding-right: 12px; color: #555; text-align: right; }
446
+ #filecontents pre.code, .docstring pre.code,
447
+ .tags pre.example {
448
+ padding: 9px 14px;
449
+ margin-top: 4px;
450
+ border: 1px solid #e1e1e8;
451
+ background: #f7f7f9;
452
+ border-radius: 4px;
453
+ font-size: 1em;
454
+ overflow-x: auto;
455
+ line-height: 1.2em;
456
+ }
457
+ pre.code { color: #000; tab-size: 2; }
458
+ pre.code .info.file { color: #555; }
459
+ pre.code .val { color: #036A07; }
460
+ pre.code .tstring_content,
461
+ pre.code .heredoc_beg, pre.code .heredoc_end,
462
+ pre.code .qwords_beg, pre.code .qwords_end,
463
+ pre.code .tstring, pre.code .dstring { color: #036A07; }
464
+ pre.code .fid, pre.code .rubyid_new, pre.code .rubyid_to_s,
465
+ pre.code .rubyid_to_sym, pre.code .rubyid_to_f,
466
+ pre.code .dot + pre.code .id,
467
+ pre.code .rubyid_to_i pre.code .rubyid_each { color: #0085FF; }
468
+ pre.code .comment { color: #0066FF; }
469
+ pre.code .const, pre.code .constant { color: #585CF6; }
470
+ pre.code .label,
471
+ pre.code .symbol { color: #C5060B; }
472
+ pre.code .kw,
473
+ pre.code .rubyid_require,
474
+ pre.code .rubyid_extend,
475
+ pre.code .rubyid_include { color: #0000FF; }
476
+ pre.code .ivar { color: #318495; }
477
+ pre.code .gvar,
478
+ pre.code .rubyid_backref,
479
+ pre.code .rubyid_nth_ref { color: #6D79DE; }
480
+ pre.code .regexp, .dregexp { color: #036A07; }
481
+ pre.code a { border-bottom: 1px dotted #bbf; }
@@ -0,0 +1,72 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>
7
+ File: LICENSE
8
+
9
+ &mdash; Documentation by YARD 0.9.5
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ pathId = "LICENSE";
19
+ relpath = '';
20
+ </script>
21
+
22
+
23
+ <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
24
+
25
+ <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
26
+
27
+
28
+ </head>
29
+ <body>
30
+ <div class="nav_wrap">
31
+ <iframe id="nav" src="file_list.html"></iframe>
32
+ <div id="resizer"></div>
33
+ </div>
34
+
35
+ <div id="main" tabindex="-1">
36
+ <div id="header">
37
+ <div id="menu">
38
+
39
+ <a href="_index.html">Index</a> &raquo;
40
+ <span class="title">File: LICENSE</span>
41
+
42
+ </div>
43
+
44
+ <div id="search">
45
+
46
+ <a class="full_list_link" id="class_list_link"
47
+ href="class_list.html">
48
+
49
+ <svg width="24" height="24">
50
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
51
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
52
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
53
+ </svg>
54
+ </a>
55
+
56
+ </div>
57
+ <div class="clear"></div>
58
+ </div>
59
+
60
+ <iframe id="search_frame" src="file_list.html"></iframe>
61
+
62
+ <div id="content"><div id='filecontents'>The MIT License (MIT)<br/><br/>Copyright (c) 2016 sonots<br/><br/>Permission is hereby granted, free of charge, to any person obtaining a copy<br/>of this software and associated documentation files (the &quot;Software&quot;), to deal<br/>in the Software without restriction, including without limitation the rights<br/>to use, copy, modify, merge, publish, distribute, sublicense, and/or sell<br/>copies of the Software, and to permit persons to whom the Software is<br/>furnished to do so, subject to the following conditions:<br/><br/>The above copyright notice and this permission notice shall be included in<br/>all copies or substantial portions of the Software.<br/><br/>THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR<br/>IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,<br/>FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE<br/>AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER<br/>LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,<br/>OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN<br/>THE SOFTWARE.</div></div>
63
+
64
+ <div id="footer">
65
+ Generated on Thu Feb 23 23:20:33 2017 by
66
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
67
+ 0.9.5 (ruby-2.3.2).
68
+ </div>
69
+
70
+ </div>
71
+ </body>
72
+ </html>
@@ -0,0 +1,137 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>
7
+ File: README
8
+
9
+ &mdash; Documentation by YARD 0.9.5
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ pathId = "README";
19
+ relpath = '';
20
+ </script>
21
+
22
+
23
+ <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
24
+
25
+ <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
26
+
27
+
28
+ </head>
29
+ <body>
30
+ <div class="nav_wrap">
31
+ <iframe id="nav" src="file_list.html"></iframe>
32
+ <div id="resizer"></div>
33
+ </div>
34
+
35
+ <div id="main" tabindex="-1">
36
+ <div id="header">
37
+ <div id="menu">
38
+
39
+ <a href="_index.html">Index</a> &raquo;
40
+ <span class="title">File: README</span>
41
+
42
+ </div>
43
+
44
+ <div id="search">
45
+
46
+ <a class="full_list_link" id="class_list_link"
47
+ href="class_list.html">
48
+
49
+ <svg width="24" height="24">
50
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
51
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
52
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
53
+ </svg>
54
+ </a>
55
+
56
+ </div>
57
+ <div class="clear"></div>
58
+ </div>
59
+
60
+ <iframe id="search_frame" src="file_list.html"></iframe>
61
+
62
+ <div id="content"><div id='filecontents'>
63
+ <h1 id="label-Triglav-3A-3AAgent+Framework">Triglav::Agent Framework</h1>
64
+
65
+ <p>Framework of Triglav Agent in Ruby.</p>
66
+
67
+ <h2 id="label-Installation">Installation</h2>
68
+
69
+ <p>Add this line to your application&#39;s Gemfile:</p>
70
+
71
+ <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_gem'>gem</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>triglav-agent</span><span class='tstring_end'>&#39;</span></span>
72
+ </code></pre>
73
+
74
+ <p>And then execute:</p>
75
+
76
+ <pre class="code ruby"><code class="ruby">$ bundle</code></pre>
77
+
78
+ <h2 id="label-Usage">Usage</h2>
79
+
80
+ <p>See <a
81
+ href="https://triglav-dataflow.github.io/triglav-agent-framework-ruby/">yardoc</a></p>
82
+
83
+ <h2 id="label-Examples">Examples</h2>
84
+
85
+ <p>See <a
86
+ href="https://github.com/triglav-workflow/triglav-agent-vertica">triglav-agent-vertica</a>
87
+ or <a
88
+ href="https://github.com/triglav-workflow/triglav-agent-hdfs">triglav-agent-hdfs</a>.</p>
89
+
90
+ <p>Basically what you have to implement are following classes:</p>
91
+ <ul><li>
92
+ <p><code>Connection</code>: make a connection to your storage</p>
93
+ </li><li>
94
+ <p><code>Monitor</code>: monitor your storage and send messages to triglav</p>
95
+ </li></ul>
96
+
97
+ <h2 id="label-Development">Development</h2>
98
+
99
+ <h3 id="label-Run+test">Run test</h3>
100
+
101
+ <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_bundle'>bundle</span> <span class='id identifier rubyid_exec'>exec</span> <span class='id identifier rubyid_rake'>rake</span> <span class='id identifier rubyid_test'>test</span>
102
+ </code></pre>
103
+
104
+ <h3 id="label-Release">Release</h3>
105
+
106
+ <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_bundle'>bundle</span> <span class='id identifier rubyid_exec'>exec</span> <span class='id identifier rubyid_rake'>rake</span> <span class='id identifier rubyid_release'>release</span>
107
+ </code></pre>
108
+
109
+ <h3 id="label-Generate+yardoc">Generate yardoc</h3>
110
+
111
+ <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_bundle'>bundle</span> <span class='id identifier rubyid_exec'>exec</span> <span class='id identifier rubyid_rake'>rake</span> <span class='id identifier rubyid_yard'>yard</span>
112
+ </code></pre>
113
+
114
+ <h2 id="label-Contributing">Contributing</h2>
115
+
116
+ <p>Bug reports and pull requests are welcome on GitHub at <a
117
+ href="https://github.com/triglav-workflow/triglav-agent-framework-ruby">github.com/triglav-workflow/triglav-agent-framework-ruby</a>.
118
+ This project is intended to be a safe, welcoming space for collaboration,
119
+ and contributors are expected to adhere to the <a
120
+ href="http://contributor-covenant.org">Contributor Covenant</a> code of
121
+ conduct.</p>
122
+
123
+ <h2 id="label-License">License</h2>
124
+
125
+ <p>The gem is available as open source under the terms of the <a
126
+ href="http://opensource.org/licenses/MIT">MIT License</a>.</p>
127
+ </div></div>
128
+
129
+ <div id="footer">
130
+ Generated on Thu Feb 23 23:20:33 2017 by
131
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
132
+ 0.9.5 (ruby-2.3.2).
133
+ </div>
134
+
135
+ </div>
136
+ </body>
137
+ </html>