katello_api 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (111) hide show
  1. data/.gitignore +2 -0
  2. data/Gemfile +2 -0
  3. data/README.rdoc +0 -4
  4. data/doc/KatelloApi/Base.html +831 -0
  5. data/doc/KatelloApi/Generator/Base.html +671 -0
  6. data/doc/KatelloApi/Generator.html +115 -0
  7. data/doc/KatelloApi/Resources/ActivationKey.html +1757 -0
  8. data/doc/KatelloApi/Resources/Architecture.html +1007 -0
  9. data/doc/KatelloApi/Resources/Changeset.html +1413 -0
  10. data/doc/KatelloApi/Resources/ChangesetsContent.html +2674 -0
  11. data/doc/KatelloApi/Resources/ComputeResource.html +1067 -0
  12. data/doc/KatelloApi/Resources/ConfigTemplate.html +1361 -0
  13. data/doc/KatelloApi/Resources/ContentView.html +938 -0
  14. data/doc/KatelloApi/Resources/ContentViewDefinition.html +1629 -0
  15. data/doc/KatelloApi/Resources/Crl.html +367 -0
  16. data/doc/KatelloApi/Resources/Distribution.html +560 -0
  17. data/doc/KatelloApi/Resources/Distributor.html +1892 -0
  18. data/doc/KatelloApi/Resources/Domain.html +1066 -0
  19. data/doc/KatelloApi/Resources/Environment.html +1645 -0
  20. data/doc/KatelloApi/Resources/Erratum.html +632 -0
  21. data/doc/KatelloApi/Resources/GpgKey.html +1220 -0
  22. data/doc/KatelloApi/Resources/HardwareModel.html +1025 -0
  23. data/doc/KatelloApi/Resources/Organization.html +1062 -0
  24. data/doc/KatelloApi/Resources/Package.html +728 -0
  25. data/doc/KatelloApi/Resources/Permission.html +1021 -0
  26. data/doc/KatelloApi/Resources/Ping.html +625 -0
  27. data/doc/KatelloApi/Resources/Product.html +1845 -0
  28. data/doc/KatelloApi/Resources/Provider.html +2237 -0
  29. data/doc/KatelloApi/Resources/Repository.html +1976 -0
  30. data/doc/KatelloApi/Resources/RepositorySet.html +770 -0
  31. data/doc/KatelloApi/Resources/Role.html +1257 -0
  32. data/doc/KatelloApi/Resources/RoleLdapGroup.html +728 -0
  33. data/doc/KatelloApi/Resources/SmartProxy.html +1054 -0
  34. data/doc/KatelloApi/Resources/Statu.html +367 -0
  35. data/doc/KatelloApi/Resources/Subnet.html +1007 -0
  36. data/doc/KatelloApi/Resources/Subscription.html +1064 -0
  37. data/doc/KatelloApi/Resources/Sync.html +826 -0
  38. data/doc/KatelloApi/Resources/SyncPlan.html +1148 -0
  39. data/doc/KatelloApi/Resources/System.html +3576 -0
  40. data/doc/KatelloApi/Resources/SystemGroup.html +2006 -0
  41. data/doc/KatelloApi/Resources/SystemGroupErratum.html +602 -0
  42. data/doc/KatelloApi/Resources/SystemGroupPackage.html +826 -0
  43. data/doc/KatelloApi/Resources/SystemPackage.html +770 -0
  44. data/doc/KatelloApi/Resources/Task.html +546 -0
  45. data/doc/KatelloApi/Resources/Template.html +1573 -0
  46. data/doc/KatelloApi/Resources/TemplatesContent.html +2268 -0
  47. data/doc/KatelloApi/Resources/Uebercert.html +406 -0
  48. data/doc/KatelloApi/Resources/User.html +1846 -0
  49. data/doc/KatelloApi/Resources.html +117 -0
  50. data/doc/KatelloApi.html +365 -0
  51. data/doc/_index.html +539 -0
  52. data/doc/class_list.html +53 -0
  53. data/doc/css/common.css +1 -0
  54. data/doc/css/full_list.css +57 -0
  55. data/doc/css/style.css +338 -0
  56. data/doc/file.README.html +127 -0
  57. data/doc/file_list.html +55 -0
  58. data/doc/frames.html +28 -0
  59. data/doc/index.html +127 -0
  60. data/doc/js/app.js +214 -0
  61. data/doc/js/full_list.js +173 -0
  62. data/doc/js/jquery.js +4 -0
  63. data/doc/method_list.html +2548 -0
  64. data/doc/top-level-namespace.html +112 -0
  65. data/lib/katello_api/base.rb +61 -6
  66. data/lib/katello_api/documentation.json +1 -0
  67. data/lib/katello_api/resources/activation_key.rb +51 -48
  68. data/lib/katello_api/resources/architecture.rb +19 -24
  69. data/lib/katello_api/resources/changeset.rb +39 -37
  70. data/lib/katello_api/resources/changesets_content.rb +64 -57
  71. data/lib/katello_api/resources/compute_resource.rb +37 -42
  72. data/lib/katello_api/resources/config_template.rb +40 -44
  73. data/lib/katello_api/resources/content_view.rb +14 -17
  74. data/lib/katello_api/resources/content_view_definition.rb +34 -42
  75. data/lib/katello_api/resources/crl.rb +3 -4
  76. data/lib/katello_api/resources/distribution.rb +8 -8
  77. data/lib/katello_api/resources/distributor.rb +35 -37
  78. data/lib/katello_api/resources/domain.rb +28 -32
  79. data/lib/katello_api/resources/environment.rb +38 -44
  80. data/lib/katello_api/resources/erratum.rb +9 -8
  81. data/lib/katello_api/resources/gpg_key.rb +28 -33
  82. data/lib/katello_api/resources/hardware_model.rb +25 -30
  83. data/lib/katello_api/resources/organization.rb +24 -26
  84. data/lib/katello_api/resources/package.rb +9 -12
  85. data/lib/katello_api/resources/permission.rb +21 -19
  86. data/lib/katello_api/resources/ping.rb +9 -12
  87. data/lib/katello_api/resources/product.rb +34 -43
  88. data/lib/katello_api/resources/provider.rb +55 -66
  89. data/lib/katello_api/resources/repository.rb +44 -55
  90. data/lib/katello_api/resources/repository_set.rb +9 -12
  91. data/lib/katello_api/resources/role.rb +35 -33
  92. data/lib/katello_api/resources/role_ldap_group.rb +10 -12
  93. data/lib/katello_api/resources/smart_proxy.rb +24 -28
  94. data/lib/katello_api/resources/statu.rb +3 -4
  95. data/lib/katello_api/resources/subnet.rb +19 -24
  96. data/lib/katello_api/resources/subscription.rb +16 -21
  97. data/lib/katello_api/resources/sync.rb +9 -12
  98. data/lib/katello_api/resources/sync_plan.rb +28 -33
  99. data/lib/katello_api/resources/system.rb +81 -90
  100. data/lib/katello_api/resources/system_group.rb +47 -57
  101. data/lib/katello_api/resources/system_group_erratum.rb +6 -8
  102. data/lib/katello_api/resources/system_group_package.rb +15 -18
  103. data/lib/katello_api/resources/system_package.rb +12 -15
  104. data/lib/katello_api/resources/task.rb +6 -8
  105. data/lib/katello_api/resources/template.rb +39 -47
  106. data/lib/katello_api/resources/templates_content.rb +40 -52
  107. data/lib/katello_api/resources/uebercert.rb +4 -4
  108. data/lib/katello_api/resources/user.rb +47 -50
  109. data/lib/katello_api/version.rb +1 -1
  110. data/lib/katello_api.rb +0 -13
  111. metadata +68 -4
@@ -0,0 +1,1892 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
+ <title>
7
+ Class: KatelloApi::Resources::Distributor
8
+
9
+ &mdash; Documentation by YARD 0.8.5.2
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../../css/style.css" type="text/css" media="screen" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="../../css/common.css" type="text/css" media="screen" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ hasFrames = window.top.frames.main ? true : false;
19
+ relpath = '../../';
20
+ framesUrl = "../../frames.html#!" + escape(window.location.href);
21
+ </script>
22
+
23
+
24
+ <script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
25
+
26
+ <script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
27
+
28
+
29
+ </head>
30
+ <body>
31
+ <div id="header">
32
+ <div id="menu">
33
+
34
+ <a href="../../_index.html">Index (D)</a> &raquo;
35
+ <span class='title'><span class='object_link'><a href="../../KatelloApi.html" title="KatelloApi (module)">KatelloApi</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Resources.html" title="KatelloApi::Resources (module)">Resources</a></span></span>
36
+ &raquo;
37
+ <span class="title">Distributor</span>
38
+
39
+
40
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
41
+ </div>
42
+
43
+ <div id="search">
44
+
45
+ <a class="full_list_link" id="class_list_link"
46
+ href="../../class_list.html">
47
+ Class List
48
+ </a>
49
+
50
+ <a class="full_list_link" id="method_list_link"
51
+ href="../../method_list.html">
52
+ Method List
53
+ </a>
54
+
55
+ <a class="full_list_link" id="file_list_link"
56
+ href="../../file_list.html">
57
+ File List
58
+ </a>
59
+
60
+ </div>
61
+ <div class="clear"></div>
62
+ </div>
63
+
64
+ <iframe id="search_frame"></iframe>
65
+
66
+ <div id="content"><h1>Class: KatelloApi::Resources::Distributor
67
+
68
+
69
+
70
+ </h1>
71
+
72
+ <dl class="box">
73
+
74
+ <dt class="r1">Inherits:</dt>
75
+ <dd class="r1">
76
+ <span class="inheritName"><span class='object_link'><a href="../Base.html" title="KatelloApi::Base (class)">Base</a></span></span>
77
+
78
+ <ul class="fullTree">
79
+ <li>Object</li>
80
+
81
+ <li class="next"><span class='object_link'><a href="../Base.html" title="KatelloApi::Base (class)">Base</a></span></li>
82
+
83
+ <li class="next">KatelloApi::Resources::Distributor</li>
84
+
85
+ </ul>
86
+ <a href="#" class="inheritanceTree">show all</a>
87
+
88
+ </dd>
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+
97
+
98
+ <dt class="r2 last">Defined in:</dt>
99
+ <dd class="r2 last">lib/katello_api/resources/distributor.rb</dd>
100
+
101
+ </dl>
102
+ <div class="clear"></div>
103
+
104
+
105
+ <h2>Constant Summary</h2>
106
+
107
+
108
+
109
+
110
+ <h2>Constant Summary</h2>
111
+
112
+ <h3 class="inherited">Constants inherited
113
+ from <span class='object_link'><a href="../Base.html" title="KatelloApi::Base (class)">Base</a></span></h3>
114
+ <p class="inherited"><span class='object_link'><a href="../Base.html#API_VERSION-constant" title="KatelloApi::Base::API_VERSION (constant)">Base::API_VERSION</a></span></p>
115
+
116
+
117
+
118
+
119
+ <h2>Instance Attribute Summary</h2>
120
+
121
+ <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="../Base.html" title="KatelloApi::Base (class)">Base</a></span></h3>
122
+ <p class="inherited"><span class='object_link'><a href="../Base.html#client-instance_method" title="KatelloApi::Base#client (method)">#client</a></span>, <span class='object_link'><a href="../Base.html#config-instance_method" title="KatelloApi::Base#config (method)">#config</a></span></p>
123
+
124
+
125
+
126
+ <h2>
127
+ Class Method Summary
128
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
129
+ </h2>
130
+
131
+ <ul class="summary">
132
+
133
+ <li class="public ">
134
+ <span class="summary_signature">
135
+
136
+ <a href="#doc-class_method" title="doc (class method)">+ (Object) <strong>doc</strong> </a>
137
+
138
+
139
+
140
+ </span>
141
+
142
+
143
+
144
+
145
+
146
+
147
+
148
+
149
+
150
+ <span class="summary_desc"><div class='inline'></div></span>
151
+
152
+ </li>
153
+
154
+
155
+ </ul>
156
+
157
+ <h2>
158
+ Instance Method Summary
159
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
160
+ </h2>
161
+
162
+ <ul class="summary">
163
+
164
+ <li class="public ">
165
+ <span class="summary_signature">
166
+
167
+ <a href="#create-instance_method" title="#create (instance method)">- (Array) <strong>create</strong>(params = {}, headers = {}) </a>
168
+
169
+
170
+
171
+ </span>
172
+
173
+
174
+
175
+
176
+
177
+
178
+
179
+
180
+
181
+ <span class="summary_desc"><div class='inline'><p>
182
+ First item: parsed data; second item: raw body.
183
+ </p>
184
+ </div></span>
185
+
186
+ </li>
187
+
188
+
189
+ <li class="public ">
190
+ <span class="summary_signature">
191
+
192
+ <a href="#destroy-instance_method" title="#destroy (instance method)">- (Array) <strong>destroy</strong>(params = {}, headers = {}) </a>
193
+
194
+
195
+
196
+ </span>
197
+
198
+
199
+
200
+
201
+
202
+
203
+
204
+
205
+
206
+ <span class="summary_desc"><div class='inline'><p>
207
+ First item: parsed data; second item: raw body.
208
+ </p>
209
+ </div></span>
210
+
211
+ </li>
212
+
213
+
214
+ <li class="public ">
215
+ <span class="summary_signature">
216
+
217
+ <a href="#index-instance_method" title="#index (instance method)">- (Array) <strong>index</strong>(params = {}, headers = {}) </a>
218
+
219
+
220
+
221
+ </span>
222
+
223
+
224
+
225
+
226
+
227
+
228
+
229
+
230
+
231
+ <span class="summary_desc"><div class='inline'><p>
232
+ First item: parsed data; second item: raw body.
233
+ </p>
234
+ </div></span>
235
+
236
+ </li>
237
+
238
+
239
+ <li class="public ">
240
+ <span class="summary_signature">
241
+
242
+ <a href="#pools-instance_method" title="#pools (instance method)">- (Array) <strong>pools</strong>(params = {}, headers = {}) </a>
243
+
244
+
245
+
246
+ </span>
247
+
248
+
249
+
250
+
251
+
252
+
253
+
254
+
255
+
256
+ <span class="summary_desc"><div class='inline'><p>
257
+ First item: parsed data; second item: raw body.
258
+ </p>
259
+ </div></span>
260
+
261
+ </li>
262
+
263
+
264
+ <li class="public ">
265
+ <span class="summary_signature">
266
+
267
+ <a href="#report-instance_method" title="#report (instance method)">- (Array) <strong>report</strong>(params = {}, headers = {}) </a>
268
+
269
+
270
+
271
+ </span>
272
+
273
+
274
+
275
+
276
+
277
+
278
+
279
+
280
+
281
+ <span class="summary_desc"><div class='inline'><p>
282
+ First item: parsed data; second item: raw body.
283
+ </p>
284
+ </div></span>
285
+
286
+ </li>
287
+
288
+
289
+ <li class="public ">
290
+ <span class="summary_signature">
291
+
292
+ <a href="#show-instance_method" title="#show (instance method)">- (Array) <strong>show</strong>(params = {}, headers = {}) </a>
293
+
294
+
295
+
296
+ </span>
297
+
298
+
299
+
300
+
301
+
302
+
303
+
304
+
305
+
306
+ <span class="summary_desc"><div class='inline'><p>
307
+ First item: parsed data; second item: raw body.
308
+ </p>
309
+ </div></span>
310
+
311
+ </li>
312
+
313
+
314
+ <li class="public ">
315
+ <span class="summary_signature">
316
+
317
+ <a href="#task_show-instance_method" title="#task_show (instance method)">- (Array) <strong>task_show</strong>(params = {}, headers = {}) </a>
318
+
319
+
320
+
321
+ </span>
322
+
323
+
324
+
325
+
326
+
327
+
328
+
329
+
330
+
331
+ <span class="summary_desc"><div class='inline'><p>
332
+ First item: parsed data; second item: raw body.
333
+ </p>
334
+ </div></span>
335
+
336
+ </li>
337
+
338
+
339
+ <li class="public ">
340
+ <span class="summary_signature">
341
+
342
+ <a href="#tasks-instance_method" title="#tasks (instance method)">- (Array) <strong>tasks</strong>(params = {}, headers = {}) </a>
343
+
344
+
345
+
346
+ </span>
347
+
348
+
349
+
350
+
351
+
352
+
353
+
354
+
355
+
356
+ <span class="summary_desc"><div class='inline'><p>
357
+ First item: parsed data; second item: raw body.
358
+ </p>
359
+ </div></span>
360
+
361
+ </li>
362
+
363
+
364
+ <li class="public ">
365
+ <span class="summary_signature">
366
+
367
+ <a href="#update-instance_method" title="#update (instance method)">- (Array) <strong>update</strong>(params = {}, headers = {}) </a>
368
+
369
+
370
+
371
+ </span>
372
+
373
+
374
+
375
+
376
+
377
+
378
+
379
+
380
+
381
+ <span class="summary_desc"><div class='inline'><p>
382
+ First item: parsed data; second item: raw body.
383
+ </p>
384
+ </div></span>
385
+
386
+ </li>
387
+
388
+
389
+ </ul>
390
+
391
+
392
+
393
+
394
+
395
+
396
+
397
+
398
+
399
+
400
+
401
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="../Base.html" title="KatelloApi::Base (class)">Base</a></span></h3>
402
+ <p class="inherited"><span class='object_link'><a href="../Base.html#http_call-instance_method" title="KatelloApi::Base#http_call (method)">#http_call</a></span>, <span class='object_link'><a href="../Base.html#initialize-instance_method" title="KatelloApi::Base#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="../Base.html#method_doc-class_method" title="KatelloApi::Base.method_doc (method)">method_doc</a></span>, <span class='object_link'><a href="../Base.html#perform_call-instance_method" title="KatelloApi::Base#perform_call (method)">#perform_call</a></span>, <span class='object_link'><a href="../Base.html#validate_params%21-instance_method" title="KatelloApi::Base#validate_params! (method)">#validate_params!</a></span>, <span class='object_link'><a href="../Base.html#validation_hash-class_method" title="KatelloApi::Base.validation_hash (method)">validation_hash</a></span></p>
403
+ <div id="constructor_details" class="method_details_list">
404
+ <h2>Constructor Details</h2>
405
+
406
+ <p class="notice">This class inherits a constructor from <span class='object_link'><a href="../Base.html#initialize-instance_method" title="KatelloApi::Base#initialize (method)">KatelloApi::Base</a></span></p>
407
+
408
+ </div>
409
+
410
+
411
+ <div id="class_method_details" class="method_details_list">
412
+ <h2>Class Method Details</h2>
413
+
414
+
415
+ <div class="method_details first">
416
+ <h3 class="signature first" id="doc-class_method">
417
+
418
+ + (<tt>Object</tt>) <strong>doc</strong>
419
+
420
+
421
+
422
+
423
+
424
+ </h3><table class="source_code">
425
+ <tr>
426
+ <td>
427
+ <pre class="lines">
428
+
429
+
430
+ 4
431
+ 5
432
+ 6</pre>
433
+ </td>
434
+ <td>
435
+ <pre class="code"><span class="info file"># File 'lib/katello_api/resources/distributor.rb', line 4</span>
436
+
437
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_self self kw'>self</span><span class='dot token'>.</span><span class='rubyid_doc identifier id'>doc</span>
438
+ <span class='rubyid_@doc ivar id'>@doc</span> <span class='opasgn op'>||=</span> <span class='rubyid_KatelloApi constant id'>KatelloApi</span><span class='dot token'>.</span><span class='rubyid_doc identifier id'>doc</span><span class='lbrack token'>[</span><span class='string val'>'resources'</span><span class='rbrack token'>]</span><span class='lbrack token'>[</span><span class='string val'>&quot;distributors&quot;</span><span class='rbrack token'>]</span>
439
+ <span class='rubyid_end end kw'>end</span>
440
+ </pre>
441
+ </td>
442
+ </tr>
443
+ </table>
444
+ </div>
445
+
446
+ </div>
447
+
448
+ <div id="instance_method_details" class="method_details_list">
449
+ <h2>Instance Method Details</h2>
450
+
451
+
452
+ <div class="method_details first">
453
+ <h3 class="signature first" id="create-instance_method">
454
+
455
+ - (<tt>Array</tt>) <strong>create</strong>(params = {}, headers = {})
456
+
457
+
458
+
459
+
460
+
461
+ </h3><div class="docstring">
462
+ <div class="discussion">
463
+ <p>
464
+ First item: parsed data; second item: raw body
465
+ </p>
466
+
467
+
468
+ </div>
469
+ </div>
470
+ <div class="tags">
471
+ <p class="tag_title">Parameters:</p>
472
+ <ul class="param">
473
+
474
+ <li>
475
+
476
+ <span class='name'>params</span>
477
+
478
+
479
+ <span class='type'>(<tt>Hash</tt>)</span>
480
+
481
+
482
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
483
+
484
+
485
+ &mdash;
486
+ <div class='inline'><p>
487
+ a hash of params to be passed to the service
488
+ </p>
489
+ </div>
490
+
491
+ </li>
492
+
493
+ <li>
494
+
495
+ <span class='name'>headers</span>
496
+
497
+
498
+ <span class='type'>(<tt>Hash</tt>)</span>
499
+
500
+
501
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
502
+
503
+
504
+ &mdash;
505
+ <div class='inline'><p>
506
+ additional http headers
507
+ </p>
508
+ </div>
509
+
510
+ </li>
511
+
512
+ </ul>
513
+
514
+
515
+
516
+
517
+ <p class="tag_title">Options Hash (<tt>params</tt>):</p>
518
+ <ul class="option">
519
+
520
+ <li>
521
+ <span class="name">environment_id</span>
522
+ <span class="type">(<tt>Object</tt>)</span>
523
+ <span class="default">
524
+
525
+ </span>
526
+
527
+ &mdash; <div class='inline'><p>
528
+ Part of <tt>/api/environments/:environment_id/distributors</tt> path
529
+ </p>
530
+ </div>
531
+
532
+ </li>
533
+
534
+ <li>
535
+ <span class="name">facts</span>
536
+ <span class="type">(<tt>Hash</tt>)</span>
537
+ <span class="default">
538
+
539
+ </span>
540
+
541
+ &mdash; <div class='inline'><p>
542
+ key-value hash of distributor-specific facts
543
+ </p>
544
+ </div>
545
+
546
+ </li>
547
+
548
+ <li>
549
+ <span class="name">installedProducts</span>
550
+ <span class="type">(<tt>String</tt>)</span>
551
+ <span class="default">
552
+
553
+ </span>
554
+
555
+ &mdash; <div class='inline'><p>
556
+ list of products installed on the distributor
557
+ </p>
558
+ </div>
559
+
560
+ </li>
561
+
562
+ <li>
563
+ <span class="name">location</span>
564
+ <span class="type">(<tt>String</tt>)</span>
565
+ <span class="default">
566
+
567
+ </span>
568
+
569
+ &mdash; <div class='inline'><p>
570
+ physical of the distributor
571
+ </p>
572
+ </div>
573
+
574
+ </li>
575
+
576
+ <li>
577
+ <span class="name">name</span>
578
+ <span class="type">(<tt>String</tt>)</span>
579
+ <span class="default">
580
+
581
+ </span>
582
+
583
+ &mdash; <div class='inline'><p>
584
+ name of the distributor
585
+ </p>
586
+ </div>
587
+
588
+ </li>
589
+
590
+ <li>
591
+ <span class="name">releaseVer</span>
592
+ <span class="type">(<tt>String</tt>)</span>
593
+ <span class="default">
594
+
595
+ </span>
596
+
597
+ &mdash; <div class='inline'><p>
598
+ release of the os. the $releasever variable in repo url will be replaced
599
+ with this value
600
+ </p>
601
+ </div>
602
+
603
+ </li>
604
+
605
+ <li>
606
+ <span class="name">serviceLevel</span>
607
+ <span class="type">(<tt>String</tt>, <tt>nil</tt>)</span>
608
+ <span class="default">
609
+
610
+ </span>
611
+
612
+ &mdash; <div class='inline'><p>
613
+ a service level for auto-healing process, e.g. self-support
614
+ </p>
615
+ </div>
616
+
617
+ </li>
618
+
619
+ <li>
620
+ <span class="name">type</span>
621
+ <span class="type">(<tt>String</tt>)</span>
622
+ <span class="default">
623
+
624
+ </span>
625
+
626
+ &mdash; <div class='inline'><p>
627
+ type of the distributor, it should always be ‘distributor’
628
+ </p>
629
+ </div>
630
+
631
+ </li>
632
+
633
+ </ul>
634
+
635
+
636
+
637
+
638
+ <p class="tag_title">Returns:</p>
639
+ <ul class="return">
640
+
641
+ <li>
642
+
643
+
644
+ <span class='type'>(<tt>Array</tt>)</span>
645
+
646
+
647
+
648
+ &mdash;
649
+ <div class='inline'><p>
650
+ First item: parsed data; second item: raw body
651
+ </p>
652
+ </div>
653
+
654
+ </li>
655
+
656
+ </ul>
657
+
658
+ </div><table class="source_code">
659
+ <tr>
660
+ <td>
661
+ <pre class="lines">
662
+
663
+
664
+ 20
665
+ 21
666
+ 22</pre>
667
+ </td>
668
+ <td>
669
+ <pre class="code"><span class="info file"># File 'lib/katello_api/resources/distributor.rb', line 20</span>
670
+
671
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_create identifier id'>create</span><span class='lparen token'>(</span><span class='rubyid_params identifier id'>params</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='comma token'>,</span> <span class='rubyid_headers identifier id'>headers</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
672
+ <span class='rubyid_perform_call identifier id'>perform_call</span><span class='lparen token'>(</span><span class='rubyid___method__ identifier id'>__method__</span><span class='comma token'>,</span> <span class='rubyid_params identifier id'>params</span><span class='comma token'>,</span> <span class='rubyid_headers identifier id'>headers</span><span class='rparen token'>)</span>
673
+ <span class='rubyid_end end kw'>end</span>
674
+ </pre>
675
+ </td>
676
+ </tr>
677
+ </table>
678
+ </div>
679
+
680
+ <div class="method_details ">
681
+ <h3 class="signature " id="destroy-instance_method">
682
+
683
+ - (<tt>Array</tt>) <strong>destroy</strong>(params = {}, headers = {})
684
+
685
+
686
+
687
+
688
+
689
+ </h3><div class="docstring">
690
+ <div class="discussion">
691
+ <p>
692
+ First item: parsed data; second item: raw body
693
+ </p>
694
+
695
+
696
+ </div>
697
+ </div>
698
+ <div class="tags">
699
+ <p class="tag_title">Parameters:</p>
700
+ <ul class="param">
701
+
702
+ <li>
703
+
704
+ <span class='name'>params</span>
705
+
706
+
707
+ <span class='type'>(<tt>Hash</tt>)</span>
708
+
709
+
710
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
711
+
712
+
713
+ &mdash;
714
+ <div class='inline'><p>
715
+ a hash of params to be passed to the service
716
+ </p>
717
+ </div>
718
+
719
+ </li>
720
+
721
+ <li>
722
+
723
+ <span class='name'>headers</span>
724
+
725
+
726
+ <span class='type'>(<tt>Hash</tt>)</span>
727
+
728
+
729
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
730
+
731
+
732
+ &mdash;
733
+ <div class='inline'><p>
734
+ additional http headers
735
+ </p>
736
+ </div>
737
+
738
+ </li>
739
+
740
+ </ul>
741
+
742
+
743
+
744
+
745
+ <p class="tag_title">Options Hash (<tt>params</tt>):</p>
746
+ <ul class="option">
747
+
748
+ <li>
749
+ <span class="name">id</span>
750
+ <span class="type">(<tt>String</tt>)</span>
751
+ <span class="default">
752
+
753
+ </span>
754
+
755
+ &mdash; <div class='inline'><p>
756
+ uuid of the distributor
757
+ </p>
758
+ </div>
759
+
760
+ </li>
761
+
762
+ </ul>
763
+
764
+
765
+
766
+
767
+ <p class="tag_title">Returns:</p>
768
+ <ul class="return">
769
+
770
+ <li>
771
+
772
+
773
+ <span class='type'>(<tt>Array</tt>)</span>
774
+
775
+
776
+
777
+ &mdash;
778
+ <div class='inline'><p>
779
+ First item: parsed data; second item: raw body
780
+ </p>
781
+ </div>
782
+
783
+ </li>
784
+
785
+ </ul>
786
+
787
+ </div><table class="source_code">
788
+ <tr>
789
+ <td>
790
+ <pre class="lines">
791
+
792
+
793
+ 65
794
+ 66
795
+ 67</pre>
796
+ </td>
797
+ <td>
798
+ <pre class="code"><span class="info file"># File 'lib/katello_api/resources/distributor.rb', line 65</span>
799
+
800
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_destroy identifier id'>destroy</span><span class='lparen token'>(</span><span class='rubyid_params identifier id'>params</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='comma token'>,</span> <span class='rubyid_headers identifier id'>headers</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
801
+ <span class='rubyid_perform_call identifier id'>perform_call</span><span class='lparen token'>(</span><span class='rubyid___method__ identifier id'>__method__</span><span class='comma token'>,</span> <span class='rubyid_params identifier id'>params</span><span class='comma token'>,</span> <span class='rubyid_headers identifier id'>headers</span><span class='rparen token'>)</span>
802
+ <span class='rubyid_end end kw'>end</span>
803
+ </pre>
804
+ </td>
805
+ </tr>
806
+ </table>
807
+ </div>
808
+
809
+ <div class="method_details ">
810
+ <h3 class="signature " id="index-instance_method">
811
+
812
+ - (<tt>Array</tt>) <strong>index</strong>(params = {}, headers = {})
813
+
814
+
815
+
816
+
817
+
818
+ </h3><div class="docstring">
819
+ <div class="discussion">
820
+ <p>
821
+ First item: parsed data; second item: raw body
822
+ </p>
823
+
824
+
825
+ </div>
826
+ </div>
827
+ <div class="tags">
828
+ <p class="tag_title">Parameters:</p>
829
+ <ul class="param">
830
+
831
+ <li>
832
+
833
+ <span class='name'>params</span>
834
+
835
+
836
+ <span class='type'>(<tt>Hash</tt>)</span>
837
+
838
+
839
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
840
+
841
+
842
+ &mdash;
843
+ <div class='inline'><p>
844
+ a hash of params to be passed to the service
845
+ </p>
846
+ </div>
847
+
848
+ </li>
849
+
850
+ <li>
851
+
852
+ <span class='name'>headers</span>
853
+
854
+
855
+ <span class='type'>(<tt>Hash</tt>)</span>
856
+
857
+
858
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
859
+
860
+
861
+ &mdash;
862
+ <div class='inline'><p>
863
+ additional http headers
864
+ </p>
865
+ </div>
866
+
867
+ </li>
868
+
869
+ </ul>
870
+
871
+
872
+
873
+
874
+ <p class="tag_title">Options Hash (<tt>params</tt>):</p>
875
+ <ul class="option">
876
+
877
+ <li>
878
+ <span class="name">environment_id</span>
879
+ <span class="type">(<tt>Object</tt>)</span>
880
+ <span class="default">
881
+
882
+ </span>
883
+
884
+ &mdash; <div class='inline'><p>
885
+ Part of <tt>/api/environments/:environment_id/distributors</tt> path
886
+ </p>
887
+ </div>
888
+
889
+ </li>
890
+
891
+ <li>
892
+ <span class="name">organization_id</span>
893
+ <span class="type">(<tt>Object</tt>)</span>
894
+ <span class="default">
895
+
896
+ </span>
897
+
898
+ &mdash; <div class='inline'><p>
899
+ Part of <tt>/api/organizations/:organization_id/distributors</tt> path
900
+ </p>
901
+ </div>
902
+
903
+ </li>
904
+
905
+ <li>
906
+ <span class="name">pool_id</span>
907
+ <span class="type">(<tt>String</tt>)</span>
908
+ <span class="default">
909
+
910
+ </span>
911
+
912
+ &mdash; <div class='inline'><p>
913
+ filter distributors by subscribed pool
914
+ </p>
915
+ </div>
916
+
917
+ </li>
918
+
919
+ <li>
920
+ <span class="name">name</span>
921
+ <span class="type">(<tt>String</tt>)</span>
922
+ <span class="default">
923
+
924
+ </span>
925
+
926
+ &mdash; <div class='inline'><p>
927
+ filter distributors by name
928
+ </p>
929
+ </div>
930
+
931
+ </li>
932
+
933
+ </ul>
934
+
935
+
936
+
937
+
938
+ <p class="tag_title">Returns:</p>
939
+ <ul class="return">
940
+
941
+ <li>
942
+
943
+
944
+ <span class='type'>(<tt>Array</tt>)</span>
945
+
946
+
947
+
948
+ &mdash;
949
+ <div class='inline'><p>
950
+ First item: parsed data; second item: raw body
951
+ </p>
952
+ </div>
953
+
954
+ </li>
955
+
956
+ </ul>
957
+
958
+ </div><table class="source_code">
959
+ <tr>
960
+ <td>
961
+ <pre class="lines">
962
+
963
+
964
+ 47
965
+ 48
966
+ 49</pre>
967
+ </td>
968
+ <td>
969
+ <pre class="code"><span class="info file"># File 'lib/katello_api/resources/distributor.rb', line 47</span>
970
+
971
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_index identifier id'>index</span><span class='lparen token'>(</span><span class='rubyid_params identifier id'>params</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='comma token'>,</span> <span class='rubyid_headers identifier id'>headers</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
972
+ <span class='rubyid_perform_call identifier id'>perform_call</span><span class='lparen token'>(</span><span class='rubyid___method__ identifier id'>__method__</span><span class='comma token'>,</span> <span class='rubyid_params identifier id'>params</span><span class='comma token'>,</span> <span class='rubyid_headers identifier id'>headers</span><span class='rparen token'>)</span>
973
+ <span class='rubyid_end end kw'>end</span>
974
+ </pre>
975
+ </td>
976
+ </tr>
977
+ </table>
978
+ </div>
979
+
980
+ <div class="method_details ">
981
+ <h3 class="signature " id="pools-instance_method">
982
+
983
+ - (<tt>Array</tt>) <strong>pools</strong>(params = {}, headers = {})
984
+
985
+
986
+
987
+
988
+
989
+ </h3><div class="docstring">
990
+ <div class="discussion">
991
+ <p>
992
+ First item: parsed data; second item: raw body
993
+ </p>
994
+
995
+
996
+ </div>
997
+ </div>
998
+ <div class="tags">
999
+ <p class="tag_title">Parameters:</p>
1000
+ <ul class="param">
1001
+
1002
+ <li>
1003
+
1004
+ <span class='name'>params</span>
1005
+
1006
+
1007
+ <span class='type'>(<tt>Hash</tt>)</span>
1008
+
1009
+
1010
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
1011
+
1012
+
1013
+ &mdash;
1014
+ <div class='inline'><p>
1015
+ a hash of params to be passed to the service
1016
+ </p>
1017
+ </div>
1018
+
1019
+ </li>
1020
+
1021
+ <li>
1022
+
1023
+ <span class='name'>headers</span>
1024
+
1025
+
1026
+ <span class='type'>(<tt>Hash</tt>)</span>
1027
+
1028
+
1029
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
1030
+
1031
+
1032
+ &mdash;
1033
+ <div class='inline'><p>
1034
+ additional http headers
1035
+ </p>
1036
+ </div>
1037
+
1038
+ </li>
1039
+
1040
+ </ul>
1041
+
1042
+
1043
+
1044
+
1045
+ <p class="tag_title">Options Hash (<tt>params</tt>):</p>
1046
+ <ul class="option">
1047
+
1048
+ <li>
1049
+ <span class="name">id</span>
1050
+ <span class="type">(<tt>String</tt>)</span>
1051
+ <span class="default">
1052
+
1053
+ </span>
1054
+
1055
+ &mdash; <div class='inline'><p>
1056
+ uuid of the distributor
1057
+ </p>
1058
+ </div>
1059
+
1060
+ </li>
1061
+
1062
+ </ul>
1063
+
1064
+
1065
+
1066
+
1067
+ <p class="tag_title">Returns:</p>
1068
+ <ul class="return">
1069
+
1070
+ <li>
1071
+
1072
+
1073
+ <span class='type'>(<tt>Array</tt>)</span>
1074
+
1075
+
1076
+
1077
+ &mdash;
1078
+ <div class='inline'><p>
1079
+ First item: parsed data; second item: raw body
1080
+ </p>
1081
+ </div>
1082
+
1083
+ </li>
1084
+
1085
+ </ul>
1086
+
1087
+ </div><table class="source_code">
1088
+ <tr>
1089
+ <td>
1090
+ <pre class="lines">
1091
+
1092
+
1093
+ 74
1094
+ 75
1095
+ 76</pre>
1096
+ </td>
1097
+ <td>
1098
+ <pre class="code"><span class="info file"># File 'lib/katello_api/resources/distributor.rb', line 74</span>
1099
+
1100
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_pools identifier id'>pools</span><span class='lparen token'>(</span><span class='rubyid_params identifier id'>params</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='comma token'>,</span> <span class='rubyid_headers identifier id'>headers</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
1101
+ <span class='rubyid_perform_call identifier id'>perform_call</span><span class='lparen token'>(</span><span class='rubyid___method__ identifier id'>__method__</span><span class='comma token'>,</span> <span class='rubyid_params identifier id'>params</span><span class='comma token'>,</span> <span class='rubyid_headers identifier id'>headers</span><span class='rparen token'>)</span>
1102
+ <span class='rubyid_end end kw'>end</span>
1103
+ </pre>
1104
+ </td>
1105
+ </tr>
1106
+ </table>
1107
+ </div>
1108
+
1109
+ <div class="method_details ">
1110
+ <h3 class="signature " id="report-instance_method">
1111
+
1112
+ - (<tt>Array</tt>) <strong>report</strong>(params = {}, headers = {})
1113
+
1114
+
1115
+
1116
+
1117
+
1118
+ </h3><div class="docstring">
1119
+ <div class="discussion">
1120
+ <p>
1121
+ First item: parsed data; second item: raw body
1122
+ </p>
1123
+
1124
+
1125
+ </div>
1126
+ </div>
1127
+ <div class="tags">
1128
+ <p class="tag_title">Parameters:</p>
1129
+ <ul class="param">
1130
+
1131
+ <li>
1132
+
1133
+ <span class='name'>params</span>
1134
+
1135
+
1136
+ <span class='type'>(<tt>Hash</tt>)</span>
1137
+
1138
+
1139
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
1140
+
1141
+
1142
+ &mdash;
1143
+ <div class='inline'><p>
1144
+ a hash of params to be passed to the service
1145
+ </p>
1146
+ </div>
1147
+
1148
+ </li>
1149
+
1150
+ <li>
1151
+
1152
+ <span class='name'>headers</span>
1153
+
1154
+
1155
+ <span class='type'>(<tt>Hash</tt>)</span>
1156
+
1157
+
1158
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
1159
+
1160
+
1161
+ &mdash;
1162
+ <div class='inline'><p>
1163
+ additional http headers
1164
+ </p>
1165
+ </div>
1166
+
1167
+ </li>
1168
+
1169
+ </ul>
1170
+
1171
+
1172
+
1173
+
1174
+ <p class="tag_title">Options Hash (<tt>params</tt>):</p>
1175
+ <ul class="option">
1176
+
1177
+ <li>
1178
+ <span class="name">environment_id</span>
1179
+ <span class="type">(<tt>Object</tt>)</span>
1180
+ <span class="default">
1181
+
1182
+ </span>
1183
+
1184
+ &mdash; <div class='inline'><p>
1185
+ Part of <tt>/api/environments/:environment_id/distributors/report</tt> path
1186
+ </p>
1187
+ </div>
1188
+
1189
+ </li>
1190
+
1191
+ <li>
1192
+ <span class="name">organization_id</span>
1193
+ <span class="type">(<tt>Object</tt>)</span>
1194
+ <span class="default">
1195
+
1196
+ </span>
1197
+
1198
+ &mdash; <div class='inline'><p>
1199
+ Part of <tt>/api/organizations/:organization_id/distributors/report</tt> path
1200
+ </p>
1201
+ </div>
1202
+
1203
+ </li>
1204
+
1205
+ </ul>
1206
+
1207
+
1208
+
1209
+
1210
+ <p class="tag_title">Returns:</p>
1211
+ <ul class="return">
1212
+
1213
+ <li>
1214
+
1215
+
1216
+ <span class='type'>(<tt>Array</tt>)</span>
1217
+
1218
+
1219
+
1220
+ &mdash;
1221
+ <div class='inline'><p>
1222
+ First item: parsed data; second item: raw body
1223
+ </p>
1224
+ </div>
1225
+
1226
+ </li>
1227
+
1228
+ </ul>
1229
+
1230
+ </div><table class="source_code">
1231
+ <tr>
1232
+ <td>
1233
+ <pre class="lines">
1234
+
1235
+
1236
+ 84
1237
+ 85
1238
+ 86</pre>
1239
+ </td>
1240
+ <td>
1241
+ <pre class="code"><span class="info file"># File 'lib/katello_api/resources/distributor.rb', line 84</span>
1242
+
1243
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_report identifier id'>report</span><span class='lparen token'>(</span><span class='rubyid_params identifier id'>params</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='comma token'>,</span> <span class='rubyid_headers identifier id'>headers</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
1244
+ <span class='rubyid_perform_call identifier id'>perform_call</span><span class='lparen token'>(</span><span class='rubyid___method__ identifier id'>__method__</span><span class='comma token'>,</span> <span class='rubyid_params identifier id'>params</span><span class='comma token'>,</span> <span class='rubyid_headers identifier id'>headers</span><span class='rparen token'>)</span>
1245
+ <span class='rubyid_end end kw'>end</span>
1246
+ </pre>
1247
+ </td>
1248
+ </tr>
1249
+ </table>
1250
+ </div>
1251
+
1252
+ <div class="method_details ">
1253
+ <h3 class="signature " id="show-instance_method">
1254
+
1255
+ - (<tt>Array</tt>) <strong>show</strong>(params = {}, headers = {})
1256
+
1257
+
1258
+
1259
+
1260
+
1261
+ </h3><div class="docstring">
1262
+ <div class="discussion">
1263
+ <p>
1264
+ First item: parsed data; second item: raw body
1265
+ </p>
1266
+
1267
+
1268
+ </div>
1269
+ </div>
1270
+ <div class="tags">
1271
+ <p class="tag_title">Parameters:</p>
1272
+ <ul class="param">
1273
+
1274
+ <li>
1275
+
1276
+ <span class='name'>params</span>
1277
+
1278
+
1279
+ <span class='type'>(<tt>Hash</tt>)</span>
1280
+
1281
+
1282
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
1283
+
1284
+
1285
+ &mdash;
1286
+ <div class='inline'><p>
1287
+ a hash of params to be passed to the service
1288
+ </p>
1289
+ </div>
1290
+
1291
+ </li>
1292
+
1293
+ <li>
1294
+
1295
+ <span class='name'>headers</span>
1296
+
1297
+
1298
+ <span class='type'>(<tt>Hash</tt>)</span>
1299
+
1300
+
1301
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
1302
+
1303
+
1304
+ &mdash;
1305
+ <div class='inline'><p>
1306
+ additional http headers
1307
+ </p>
1308
+ </div>
1309
+
1310
+ </li>
1311
+
1312
+ </ul>
1313
+
1314
+
1315
+
1316
+
1317
+ <p class="tag_title">Options Hash (<tt>params</tt>):</p>
1318
+ <ul class="option">
1319
+
1320
+ <li>
1321
+ <span class="name">id</span>
1322
+ <span class="type">(<tt>String</tt>)</span>
1323
+ <span class="default">
1324
+
1325
+ </span>
1326
+
1327
+ &mdash; <div class='inline'><p>
1328
+ uuid of the distributor
1329
+ </p>
1330
+ </div>
1331
+
1332
+ </li>
1333
+
1334
+ </ul>
1335
+
1336
+
1337
+
1338
+
1339
+ <p class="tag_title">Returns:</p>
1340
+ <ul class="return">
1341
+
1342
+ <li>
1343
+
1344
+
1345
+ <span class='type'>(<tt>Array</tt>)</span>
1346
+
1347
+
1348
+
1349
+ &mdash;
1350
+ <div class='inline'><p>
1351
+ First item: parsed data; second item: raw body
1352
+ </p>
1353
+ </div>
1354
+
1355
+ </li>
1356
+
1357
+ </ul>
1358
+
1359
+ </div><table class="source_code">
1360
+ <tr>
1361
+ <td>
1362
+ <pre class="lines">
1363
+
1364
+
1365
+ 56
1366
+ 57
1367
+ 58</pre>
1368
+ </td>
1369
+ <td>
1370
+ <pre class="code"><span class="info file"># File 'lib/katello_api/resources/distributor.rb', line 56</span>
1371
+
1372
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_show identifier id'>show</span><span class='lparen token'>(</span><span class='rubyid_params identifier id'>params</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='comma token'>,</span> <span class='rubyid_headers identifier id'>headers</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
1373
+ <span class='rubyid_perform_call identifier id'>perform_call</span><span class='lparen token'>(</span><span class='rubyid___method__ identifier id'>__method__</span><span class='comma token'>,</span> <span class='rubyid_params identifier id'>params</span><span class='comma token'>,</span> <span class='rubyid_headers identifier id'>headers</span><span class='rparen token'>)</span>
1374
+ <span class='rubyid_end end kw'>end</span>
1375
+ </pre>
1376
+ </td>
1377
+ </tr>
1378
+ </table>
1379
+ </div>
1380
+
1381
+ <div class="method_details ">
1382
+ <h3 class="signature " id="task_show-instance_method">
1383
+
1384
+ - (<tt>Array</tt>) <strong>task_show</strong>(params = {}, headers = {})
1385
+
1386
+
1387
+
1388
+
1389
+
1390
+ </h3><div class="docstring">
1391
+ <div class="discussion">
1392
+ <p>
1393
+ First item: parsed data; second item: raw body
1394
+ </p>
1395
+
1396
+
1397
+ </div>
1398
+ </div>
1399
+ <div class="tags">
1400
+ <p class="tag_title">Parameters:</p>
1401
+ <ul class="param">
1402
+
1403
+ <li>
1404
+
1405
+ <span class='name'>params</span>
1406
+
1407
+
1408
+ <span class='type'>(<tt>Hash</tt>)</span>
1409
+
1410
+
1411
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
1412
+
1413
+
1414
+ &mdash;
1415
+ <div class='inline'><p>
1416
+ a hash of params to be passed to the service
1417
+ </p>
1418
+ </div>
1419
+
1420
+ </li>
1421
+
1422
+ <li>
1423
+
1424
+ <span class='name'>headers</span>
1425
+
1426
+
1427
+ <span class='type'>(<tt>Hash</tt>)</span>
1428
+
1429
+
1430
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
1431
+
1432
+
1433
+ &mdash;
1434
+ <div class='inline'><p>
1435
+ additional http headers
1436
+ </p>
1437
+ </div>
1438
+
1439
+ </li>
1440
+
1441
+ </ul>
1442
+
1443
+
1444
+
1445
+
1446
+ <p class="tag_title">Options Hash (<tt>params</tt>):</p>
1447
+ <ul class="option">
1448
+
1449
+ <li>
1450
+ <span class="name">id</span>
1451
+ <span class="type">(<tt>String</tt>)</span>
1452
+ <span class="default">
1453
+
1454
+ </span>
1455
+
1456
+ &mdash; <div class='inline'><p>
1457
+ uuid of the task
1458
+ </p>
1459
+ </div>
1460
+
1461
+ </li>
1462
+
1463
+ </ul>
1464
+
1465
+
1466
+
1467
+
1468
+ <p class="tag_title">Returns:</p>
1469
+ <ul class="return">
1470
+
1471
+ <li>
1472
+
1473
+
1474
+ <span class='type'>(<tt>Array</tt>)</span>
1475
+
1476
+
1477
+
1478
+ &mdash;
1479
+ <div class='inline'><p>
1480
+ First item: parsed data; second item: raw body
1481
+ </p>
1482
+ </div>
1483
+
1484
+ </li>
1485
+
1486
+ </ul>
1487
+
1488
+ </div><table class="source_code">
1489
+ <tr>
1490
+ <td>
1491
+ <pre class="lines">
1492
+
1493
+
1494
+ 104
1495
+ 105
1496
+ 106</pre>
1497
+ </td>
1498
+ <td>
1499
+ <pre class="code"><span class="info file"># File 'lib/katello_api/resources/distributor.rb', line 104</span>
1500
+
1501
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_task_show identifier id'>task_show</span><span class='lparen token'>(</span><span class='rubyid_params identifier id'>params</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='comma token'>,</span> <span class='rubyid_headers identifier id'>headers</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
1502
+ <span class='rubyid_perform_call identifier id'>perform_call</span><span class='lparen token'>(</span><span class='rubyid___method__ identifier id'>__method__</span><span class='comma token'>,</span> <span class='rubyid_params identifier id'>params</span><span class='comma token'>,</span> <span class='rubyid_headers identifier id'>headers</span><span class='rparen token'>)</span>
1503
+ <span class='rubyid_end end kw'>end</span>
1504
+ </pre>
1505
+ </td>
1506
+ </tr>
1507
+ </table>
1508
+ </div>
1509
+
1510
+ <div class="method_details ">
1511
+ <h3 class="signature " id="tasks-instance_method">
1512
+
1513
+ - (<tt>Array</tt>) <strong>tasks</strong>(params = {}, headers = {})
1514
+
1515
+
1516
+
1517
+
1518
+
1519
+ </h3><div class="docstring">
1520
+ <div class="discussion">
1521
+ <p>
1522
+ First item: parsed data; second item: raw body
1523
+ </p>
1524
+
1525
+
1526
+ </div>
1527
+ </div>
1528
+ <div class="tags">
1529
+ <p class="tag_title">Parameters:</p>
1530
+ <ul class="param">
1531
+
1532
+ <li>
1533
+
1534
+ <span class='name'>params</span>
1535
+
1536
+
1537
+ <span class='type'>(<tt>Hash</tt>)</span>
1538
+
1539
+
1540
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
1541
+
1542
+
1543
+ &mdash;
1544
+ <div class='inline'><p>
1545
+ a hash of params to be passed to the service
1546
+ </p>
1547
+ </div>
1548
+
1549
+ </li>
1550
+
1551
+ <li>
1552
+
1553
+ <span class='name'>headers</span>
1554
+
1555
+
1556
+ <span class='type'>(<tt>Hash</tt>)</span>
1557
+
1558
+
1559
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
1560
+
1561
+
1562
+ &mdash;
1563
+ <div class='inline'><p>
1564
+ additional http headers
1565
+ </p>
1566
+ </div>
1567
+
1568
+ </li>
1569
+
1570
+ </ul>
1571
+
1572
+
1573
+
1574
+
1575
+ <p class="tag_title">Options Hash (<tt>params</tt>):</p>
1576
+ <ul class="option">
1577
+
1578
+ <li>
1579
+ <span class="name">organization_id</span>
1580
+ <span class="type">(<tt>Object</tt>)</span>
1581
+ <span class="default">
1582
+
1583
+ </span>
1584
+
1585
+ &mdash; <div class='inline'><p>
1586
+ Part of <tt>/api/organizations/:organization_id/distributors/tasks</tt> path
1587
+ </p>
1588
+ </div>
1589
+
1590
+ </li>
1591
+
1592
+ <li>
1593
+ <span class="name">distributor_name</span>
1594
+ <span class="type">(<tt>String</tt>)</span>
1595
+ <span class="default">
1596
+
1597
+ </span>
1598
+
1599
+ &mdash; <div class='inline'><p>
1600
+ name of the distributor
1601
+ </p>
1602
+ </div>
1603
+
1604
+ </li>
1605
+
1606
+ <li>
1607
+ <span class="name">distributor_uuid</span>
1608
+ <span class="type">(<tt>String</tt>)</span>
1609
+ <span class="default">
1610
+
1611
+ </span>
1612
+
1613
+ &mdash; <div class='inline'><p>
1614
+ uuid of the distributor
1615
+ </p>
1616
+ </div>
1617
+
1618
+ </li>
1619
+
1620
+ </ul>
1621
+
1622
+
1623
+
1624
+
1625
+ <p class="tag_title">Returns:</p>
1626
+ <ul class="return">
1627
+
1628
+ <li>
1629
+
1630
+
1631
+ <span class='type'>(<tt>Array</tt>)</span>
1632
+
1633
+
1634
+
1635
+ &mdash;
1636
+ <div class='inline'><p>
1637
+ First item: parsed data; second item: raw body
1638
+ </p>
1639
+ </div>
1640
+
1641
+ </li>
1642
+
1643
+ </ul>
1644
+
1645
+ </div><table class="source_code">
1646
+ <tr>
1647
+ <td>
1648
+ <pre class="lines">
1649
+
1650
+
1651
+ 95
1652
+ 96
1653
+ 97</pre>
1654
+ </td>
1655
+ <td>
1656
+ <pre class="code"><span class="info file"># File 'lib/katello_api/resources/distributor.rb', line 95</span>
1657
+
1658
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_tasks identifier id'>tasks</span><span class='lparen token'>(</span><span class='rubyid_params identifier id'>params</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='comma token'>,</span> <span class='rubyid_headers identifier id'>headers</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
1659
+ <span class='rubyid_perform_call identifier id'>perform_call</span><span class='lparen token'>(</span><span class='rubyid___method__ identifier id'>__method__</span><span class='comma token'>,</span> <span class='rubyid_params identifier id'>params</span><span class='comma token'>,</span> <span class='rubyid_headers identifier id'>headers</span><span class='rparen token'>)</span>
1660
+ <span class='rubyid_end end kw'>end</span>
1661
+ </pre>
1662
+ </td>
1663
+ </tr>
1664
+ </table>
1665
+ </div>
1666
+
1667
+ <div class="method_details ">
1668
+ <h3 class="signature " id="update-instance_method">
1669
+
1670
+ - (<tt>Array</tt>) <strong>update</strong>(params = {}, headers = {})
1671
+
1672
+
1673
+
1674
+
1675
+
1676
+ </h3><div class="docstring">
1677
+ <div class="discussion">
1678
+ <p>
1679
+ First item: parsed data; second item: raw body
1680
+ </p>
1681
+
1682
+
1683
+ </div>
1684
+ </div>
1685
+ <div class="tags">
1686
+ <p class="tag_title">Parameters:</p>
1687
+ <ul class="param">
1688
+
1689
+ <li>
1690
+
1691
+ <span class='name'>params</span>
1692
+
1693
+
1694
+ <span class='type'>(<tt>Hash</tt>)</span>
1695
+
1696
+
1697
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
1698
+
1699
+
1700
+ &mdash;
1701
+ <div class='inline'><p>
1702
+ a hash of params to be passed to the service
1703
+ </p>
1704
+ </div>
1705
+
1706
+ </li>
1707
+
1708
+ <li>
1709
+
1710
+ <span class='name'>headers</span>
1711
+
1712
+
1713
+ <span class='type'>(<tt>Hash</tt>)</span>
1714
+
1715
+
1716
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
1717
+
1718
+
1719
+ &mdash;
1720
+ <div class='inline'><p>
1721
+ additional http headers
1722
+ </p>
1723
+ </div>
1724
+
1725
+ </li>
1726
+
1727
+ </ul>
1728
+
1729
+
1730
+
1731
+
1732
+ <p class="tag_title">Options Hash (<tt>params</tt>):</p>
1733
+ <ul class="option">
1734
+
1735
+ <li>
1736
+ <span class="name">id</span>
1737
+ <span class="type">(<tt>Object</tt>)</span>
1738
+ <span class="default">
1739
+
1740
+ </span>
1741
+
1742
+ &mdash; <div class='inline'><p>
1743
+ Part of <tt>/api/distributors/:id</tt> path
1744
+ </p>
1745
+ </div>
1746
+
1747
+ </li>
1748
+
1749
+ <li>
1750
+ <span class="name">facts</span>
1751
+ <span class="type">(<tt>Hash</tt>)</span>
1752
+ <span class="default">
1753
+
1754
+ </span>
1755
+
1756
+ &mdash; <div class='inline'><p>
1757
+ key-value hash of distributor-specific facts
1758
+ </p>
1759
+ </div>
1760
+
1761
+ </li>
1762
+
1763
+ <li>
1764
+ <span class="name">installedProducts</span>
1765
+ <span class="type">(<tt>String</tt>)</span>
1766
+ <span class="default">
1767
+
1768
+ </span>
1769
+
1770
+ &mdash; <div class='inline'><p>
1771
+ list of products installed on the distributor
1772
+ </p>
1773
+ </div>
1774
+
1775
+ </li>
1776
+
1777
+ <li>
1778
+ <span class="name">location</span>
1779
+ <span class="type">(<tt>String</tt>)</span>
1780
+ <span class="default">
1781
+
1782
+ </span>
1783
+
1784
+ &mdash; <div class='inline'><p>
1785
+ physical of the distributor
1786
+ </p>
1787
+ </div>
1788
+
1789
+ </li>
1790
+
1791
+ <li>
1792
+ <span class="name">name</span>
1793
+ <span class="type">(<tt>String</tt>)</span>
1794
+ <span class="default">
1795
+
1796
+ </span>
1797
+
1798
+ &mdash; <div class='inline'><p>
1799
+ name of the distributor
1800
+ </p>
1801
+ </div>
1802
+
1803
+ </li>
1804
+
1805
+ <li>
1806
+ <span class="name">releaseVer</span>
1807
+ <span class="type">(<tt>String</tt>)</span>
1808
+ <span class="default">
1809
+
1810
+ </span>
1811
+
1812
+ &mdash; <div class='inline'><p>
1813
+ release of the os. the $releasever variable in repo url will be replaced
1814
+ with this value
1815
+ </p>
1816
+ </div>
1817
+
1818
+ </li>
1819
+
1820
+ <li>
1821
+ <span class="name">serviceLevel</span>
1822
+ <span class="type">(<tt>String</tt>, <tt>nil</tt>)</span>
1823
+ <span class="default">
1824
+
1825
+ </span>
1826
+
1827
+ &mdash; <div class='inline'><p>
1828
+ a service level for auto-healing process, e.g. self-support
1829
+ </p>
1830
+ </div>
1831
+
1832
+ </li>
1833
+
1834
+ </ul>
1835
+
1836
+
1837
+
1838
+
1839
+ <p class="tag_title">Returns:</p>
1840
+ <ul class="return">
1841
+
1842
+ <li>
1843
+
1844
+
1845
+ <span class='type'>(<tt>Array</tt>)</span>
1846
+
1847
+
1848
+
1849
+ &mdash;
1850
+ <div class='inline'><p>
1851
+ First item: parsed data; second item: raw body
1852
+ </p>
1853
+ </div>
1854
+
1855
+ </li>
1856
+
1857
+ </ul>
1858
+
1859
+ </div><table class="source_code">
1860
+ <tr>
1861
+ <td>
1862
+ <pre class="lines">
1863
+
1864
+
1865
+ 35
1866
+ 36
1867
+ 37</pre>
1868
+ </td>
1869
+ <td>
1870
+ <pre class="code"><span class="info file"># File 'lib/katello_api/resources/distributor.rb', line 35</span>
1871
+
1872
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_update identifier id'>update</span><span class='lparen token'>(</span><span class='rubyid_params identifier id'>params</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='comma token'>,</span> <span class='rubyid_headers identifier id'>headers</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
1873
+ <span class='rubyid_perform_call identifier id'>perform_call</span><span class='lparen token'>(</span><span class='rubyid___method__ identifier id'>__method__</span><span class='comma token'>,</span> <span class='rubyid_params identifier id'>params</span><span class='comma token'>,</span> <span class='rubyid_headers identifier id'>headers</span><span class='rparen token'>)</span>
1874
+ <span class='rubyid_end end kw'>end</span>
1875
+ </pre>
1876
+ </td>
1877
+ </tr>
1878
+ </table>
1879
+ </div>
1880
+
1881
+ </div>
1882
+
1883
+ </div>
1884
+
1885
+ <div id="footer">
1886
+ Generated on Mon Mar 18 14:17:46 2013 by
1887
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1888
+ 0.8.5.2 (ruby-1.8.7).
1889
+ </div>
1890
+
1891
+ </body>
1892
+ </html>