katello_api 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +15 -0
- data/.gitignore +3 -0
- data/Gemfile +1 -1
- data/README.rdoc +22 -13
- data/Rakefile +0 -1
- data/doc/KatelloApi/Base.html +102 -116
- data/doc/KatelloApi/Generator/Base.html +65 -80
- data/doc/KatelloApi/Generator.html +5 -5
- data/doc/KatelloApi/Resources/About.html +360 -0
- data/doc/KatelloApi/Resources/ActivationKey.html +190 -304
- data/doc/KatelloApi/Resources/Architecture.html +89 -129
- data/doc/KatelloApi/Resources/Changeset.html +156 -399
- data/doc/KatelloApi/Resources/ChangesetsContent.html +97 -2215
- data/doc/KatelloApi/Resources/ComputeResource.html +131 -189
- data/doc/KatelloApi/Resources/ConfigTemplate.html +143 -208
- data/doc/KatelloApi/Resources/ContentUpload.html +1046 -0
- data/doc/KatelloApi/Resources/ContentView.html +229 -117
- data/doc/KatelloApi/Resources/ContentViewDefinition.html +1190 -323
- data/doc/KatelloApi/Resources/Crl.html +21 -28
- data/doc/KatelloApi/Resources/CustomInfo.html +1110 -0
- data/doc/KatelloApi/Resources/Distribution.html +40 -56
- data/doc/KatelloApi/Resources/Distributor.html +406 -469
- data/doc/KatelloApi/Resources/Domain.html +107 -155
- data/doc/KatelloApi/Resources/Environment.html +211 -539
- data/doc/KatelloApi/Resources/Erratum.html +56 -90
- data/doc/KatelloApi/Resources/Filter.html +1533 -0
- data/doc/KatelloApi/Resources/FilterRule.html +591 -0
- data/doc/KatelloApi/Resources/GpgKey.html +230 -196
- data/doc/KatelloApi/Resources/HardwareModel.html +101 -147
- data/doc/KatelloApi/Resources/Organization.html +647 -158
- data/doc/KatelloApi/Resources/OrganizationDefaultInfo.html +803 -0
- data/doc/KatelloApi/Resources/Package.html +57 -81
- data/doc/KatelloApi/Resources/Permission.html +109 -197
- data/doc/KatelloApi/Resources/Ping.html +37 -179
- data/doc/KatelloApi/Resources/Product.html +289 -462
- data/doc/KatelloApi/Resources/Provider.html +397 -424
- data/doc/KatelloApi/Resources/PuppetModule.html +704 -0
- data/doc/KatelloApi/Resources/Repository.html +302 -958
- data/doc/KatelloApi/Resources/RepositorySet.html +64 -104
- data/doc/KatelloApi/Resources/Role.html +131 -250
- data/doc/KatelloApi/Resources/RoleLdapGroup.html +74 -95
- data/doc/KatelloApi/Resources/SmartProxy.html +97 -143
- data/doc/KatelloApi/Resources/Statu.html +21 -28
- data/doc/KatelloApi/Resources/Status.html +360 -0
- data/doc/KatelloApi/Resources/Subnet.html +89 -129
- data/doc/KatelloApi/Resources/Subscription.html +486 -162
- data/doc/KatelloApi/Resources/Sync.html +85 -155
- data/doc/KatelloApi/Resources/SyncPlan.html +127 -220
- data/doc/KatelloApi/Resources/System.html +913 -925
- data/doc/KatelloApi/Resources/SystemErratum.html +557 -0
- data/doc/KatelloApi/Resources/SystemGroup.html +634 -408
- data/doc/KatelloApi/Resources/SystemGroupErratum.html +47 -66
- data/doc/KatelloApi/Resources/SystemGroupPackage.html +77 -108
- data/doc/KatelloApi/Resources/SystemPackage.html +734 -108
- data/doc/KatelloApi/Resources/SystemsBulkAction.html +1706 -0
- data/doc/KatelloApi/Resources/Task.html +38 -53
- data/doc/KatelloApi/Resources/Template.html +159 -233
- data/doc/KatelloApi/Resources/TemplatesContent.html +214 -312
- data/doc/KatelloApi/Resources/Uebercert.html +25 -34
- data/doc/KatelloApi/Resources/User.html +204 -433
- data/doc/KatelloApi/Resources.html +7 -7
- data/doc/KatelloApi.html +21 -26
- data/doc/_index.html +87 -9
- data/doc/class_list.html +3 -2
- data/doc/css/style.css +1 -1
- data/doc/file.README.html +60 -54
- data/doc/file_list.html +2 -1
- data/doc/frames.html +5 -7
- data/doc/index.html +60 -54
- data/doc/js/app.js +7 -2
- data/doc/js/full_list.js +7 -2
- data/doc/method_list.html +854 -1225
- data/doc/top-level-namespace.html +5 -5
- data/katello_api.gemspec +7 -5
- data/lib/katello_api/base.rb +9 -8
- data/lib/katello_api/documentation.json +1 -1
- data/lib/katello_api/resources/about.rb +18 -0
- data/lib/katello_api/resources/activation_key.rb +11 -13
- data/lib/katello_api/resources/changeset.rb +4 -15
- data/lib/katello_api/resources/changesets_content.rb +6 -130
- data/lib/katello_api/resources/content_upload.rb +61 -0
- data/lib/katello_api/resources/content_view.rb +10 -1
- data/lib/katello_api/resources/content_view_definition.rb +65 -3
- data/lib/katello_api/resources/custom_info.rb +70 -0
- data/lib/katello_api/resources/distributor.rb +33 -18
- data/lib/katello_api/resources/environment.rb +20 -41
- data/lib/katello_api/resources/erratum.rb +3 -4
- data/lib/katello_api/resources/filter.rb +93 -0
- data/lib/katello_api/resources/filter_rule.rb +36 -0
- data/lib/katello_api/resources/gpg_key.rb +18 -14
- data/lib/katello_api/resources/organization.rb +43 -8
- data/lib/katello_api/resources/organization_default_info.rb +48 -0
- data/lib/katello_api/resources/permission.rb +10 -7
- data/lib/katello_api/resources/ping.rb +1 -9
- data/lib/katello_api/resources/product.rb +26 -30
- data/lib/katello_api/resources/provider.rb +21 -20
- data/lib/katello_api/resources/puppet_module.rb +39 -0
- data/lib/katello_api/resources/repository.rb +28 -62
- data/lib/katello_api/resources/repository_set.rb +1 -2
- data/lib/katello_api/resources/role.rb +0 -5
- data/lib/katello_api/resources/role_ldap_group.rb +3 -1
- data/lib/katello_api/resources/status.rb +18 -0
- data/lib/katello_api/resources/subscription.rb +33 -7
- data/lib/katello_api/resources/sync.rb +9 -12
- data/lib/katello_api/resources/sync_plan.rb +2 -5
- data/lib/katello_api/resources/system.rb +95 -73
- data/lib/katello_api/resources/system_erratum.rb +30 -0
- data/lib/katello_api/resources/system_group.rb +40 -27
- data/lib/katello_api/resources/system_group_erratum.rb +1 -1
- data/lib/katello_api/resources/system_group_package.rb +6 -6
- data/lib/katello_api/resources/system_package.rb +46 -5
- data/lib/katello_api/resources/systems_bulk_action.rb +140 -0
- data/lib/katello_api/resources/user.rb +14 -18
- data/lib/katello_api/version.rb +1 -1
- metadata +26 -14
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Class: KatelloApi::Resources::Distributor
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.8.
|
|
9
|
+
— Documentation by YARD 0.8.7.3
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
13
|
-
<link rel="stylesheet" href="../../css/style.css" type="text/css"
|
|
13
|
+
<link rel="stylesheet" href="../../css/style.css" type="text/css" charset="utf-8" />
|
|
14
14
|
|
|
15
|
-
<link rel="stylesheet" href="../../css/common.css" type="text/css"
|
|
15
|
+
<link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" />
|
|
16
16
|
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
|
18
18
|
hasFrames = window.top.frames.main ? true : false;
|
|
@@ -178,9 +178,8 @@
|
|
|
178
178
|
|
|
179
179
|
|
|
180
180
|
|
|
181
|
-
<span class="summary_desc"><div class='inline'
|
|
182
|
-
First item: parsed data; second item: raw body
|
|
183
|
-
</p>
|
|
181
|
+
<span class="summary_desc"><div class='inline'>
|
|
182
|
+
<p>First item: parsed data; second item: raw body.</p>
|
|
184
183
|
</div></span>
|
|
185
184
|
|
|
186
185
|
</li>
|
|
@@ -203,9 +202,8 @@ First item: parsed data; second item: raw body.
|
|
|
203
202
|
|
|
204
203
|
|
|
205
204
|
|
|
206
|
-
<span class="summary_desc"><div class='inline'
|
|
207
|
-
First item: parsed data; second item: raw body
|
|
208
|
-
</p>
|
|
205
|
+
<span class="summary_desc"><div class='inline'>
|
|
206
|
+
<p>First item: parsed data; second item: raw body.</p>
|
|
209
207
|
</div></span>
|
|
210
208
|
|
|
211
209
|
</li>
|
|
@@ -214,7 +212,7 @@ First item: parsed data; second item: raw body.
|
|
|
214
212
|
<li class="public ">
|
|
215
213
|
<span class="summary_signature">
|
|
216
214
|
|
|
217
|
-
<a href="#
|
|
215
|
+
<a href="#export-instance_method" title="#export (instance method)">- (Array) <strong>export</strong>(params = {}, headers = {}) </a>
|
|
218
216
|
|
|
219
217
|
|
|
220
218
|
|
|
@@ -228,9 +226,8 @@ First item: parsed data; second item: raw body.
|
|
|
228
226
|
|
|
229
227
|
|
|
230
228
|
|
|
231
|
-
<span class="summary_desc"><div class='inline'
|
|
232
|
-
First item: parsed data; second item: raw body
|
|
233
|
-
</p>
|
|
229
|
+
<span class="summary_desc"><div class='inline'>
|
|
230
|
+
<p>First item: parsed data; second item: raw body.</p>
|
|
234
231
|
</div></span>
|
|
235
232
|
|
|
236
233
|
</li>
|
|
@@ -239,7 +236,7 @@ First item: parsed data; second item: raw body.
|
|
|
239
236
|
<li class="public ">
|
|
240
237
|
<span class="summary_signature">
|
|
241
238
|
|
|
242
|
-
<a href="#
|
|
239
|
+
<a href="#index-instance_method" title="#index (instance method)">- (Array) <strong>index</strong>(params = {}, headers = {}) </a>
|
|
243
240
|
|
|
244
241
|
|
|
245
242
|
|
|
@@ -253,9 +250,8 @@ First item: parsed data; second item: raw body.
|
|
|
253
250
|
|
|
254
251
|
|
|
255
252
|
|
|
256
|
-
<span class="summary_desc"><div class='inline'
|
|
257
|
-
First item: parsed data; second item: raw body
|
|
258
|
-
</p>
|
|
253
|
+
<span class="summary_desc"><div class='inline'>
|
|
254
|
+
<p>First item: parsed data; second item: raw body.</p>
|
|
259
255
|
</div></span>
|
|
260
256
|
|
|
261
257
|
</li>
|
|
@@ -264,7 +260,7 @@ First item: parsed data; second item: raw body.
|
|
|
264
260
|
<li class="public ">
|
|
265
261
|
<span class="summary_signature">
|
|
266
262
|
|
|
267
|
-
<a href="#
|
|
263
|
+
<a href="#pools-instance_method" title="#pools (instance method)">- (Array) <strong>pools</strong>(params = {}, headers = {}) </a>
|
|
268
264
|
|
|
269
265
|
|
|
270
266
|
|
|
@@ -278,9 +274,8 @@ First item: parsed data; second item: raw body.
|
|
|
278
274
|
|
|
279
275
|
|
|
280
276
|
|
|
281
|
-
<span class="summary_desc"><div class='inline'
|
|
282
|
-
First item: parsed data; second item: raw body
|
|
283
|
-
</p>
|
|
277
|
+
<span class="summary_desc"><div class='inline'>
|
|
278
|
+
<p>First item: parsed data; second item: raw body.</p>
|
|
284
279
|
</div></span>
|
|
285
280
|
|
|
286
281
|
</li>
|
|
@@ -303,9 +298,8 @@ First item: parsed data; second item: raw body.
|
|
|
303
298
|
|
|
304
299
|
|
|
305
300
|
|
|
306
|
-
<span class="summary_desc"><div class='inline'
|
|
307
|
-
First item: parsed data; second item: raw body
|
|
308
|
-
</p>
|
|
301
|
+
<span class="summary_desc"><div class='inline'>
|
|
302
|
+
<p>First item: parsed data; second item: raw body.</p>
|
|
309
303
|
</div></span>
|
|
310
304
|
|
|
311
305
|
</li>
|
|
@@ -328,9 +322,8 @@ First item: parsed data; second item: raw body.
|
|
|
328
322
|
|
|
329
323
|
|
|
330
324
|
|
|
331
|
-
<span class="summary_desc"><div class='inline'
|
|
332
|
-
First item: parsed data; second item: raw body
|
|
333
|
-
</p>
|
|
325
|
+
<span class="summary_desc"><div class='inline'>
|
|
326
|
+
<p>First item: parsed data; second item: raw body.</p>
|
|
334
327
|
</div></span>
|
|
335
328
|
|
|
336
329
|
</li>
|
|
@@ -353,9 +346,8 @@ First item: parsed data; second item: raw body.
|
|
|
353
346
|
|
|
354
347
|
|
|
355
348
|
|
|
356
|
-
<span class="summary_desc"><div class='inline'
|
|
357
|
-
First item: parsed data; second item: raw body
|
|
358
|
-
</p>
|
|
349
|
+
<span class="summary_desc"><div class='inline'>
|
|
350
|
+
<p>First item: parsed data; second item: raw body.</p>
|
|
359
351
|
</div></span>
|
|
360
352
|
|
|
361
353
|
</li>
|
|
@@ -378,9 +370,32 @@ First item: parsed data; second item: raw body.
|
|
|
378
370
|
|
|
379
371
|
|
|
380
372
|
|
|
381
|
-
<span class="summary_desc"><div class='inline'
|
|
382
|
-
First item: parsed data; second item: raw body
|
|
383
|
-
</
|
|
373
|
+
<span class="summary_desc"><div class='inline'>
|
|
374
|
+
<p>First item: parsed data; second item: raw body.</p>
|
|
375
|
+
</div></span>
|
|
376
|
+
|
|
377
|
+
</li>
|
|
378
|
+
|
|
379
|
+
|
|
380
|
+
<li class="public ">
|
|
381
|
+
<span class="summary_signature">
|
|
382
|
+
|
|
383
|
+
<a href="#versions-instance_method" title="#versions (instance method)">- (Array) <strong>versions</strong>(params = {}, headers = {}) </a>
|
|
384
|
+
|
|
385
|
+
|
|
386
|
+
|
|
387
|
+
</span>
|
|
388
|
+
|
|
389
|
+
|
|
390
|
+
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
|
|
396
|
+
|
|
397
|
+
<span class="summary_desc"><div class='inline'>
|
|
398
|
+
<p>First item: parsed data; second item: raw body.</p>
|
|
384
399
|
</div></span>
|
|
385
400
|
|
|
386
401
|
</li>
|
|
@@ -434,10 +449,9 @@ First item: parsed data; second item: raw body.
|
|
|
434
449
|
<td>
|
|
435
450
|
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/distributor.rb', line 4</span>
|
|
436
451
|
|
|
437
|
-
<span class='
|
|
438
|
-
<span class='
|
|
439
|
-
<span class='
|
|
440
|
-
</pre>
|
|
452
|
+
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_doc'>doc</span>
|
|
453
|
+
<span class='ivar'>@doc</span> <span class='op'>||=</span> <span class='const'>KatelloApi</span><span class='period'>.</span><span class='id identifier rubyid_doc'>doc</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>resources</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>distributors</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span>
|
|
454
|
+
<span class='kw'>end</span></pre>
|
|
441
455
|
</td>
|
|
442
456
|
</tr>
|
|
443
457
|
</table>
|
|
@@ -460,9 +474,8 @@ First item: parsed data; second item: raw body.
|
|
|
460
474
|
|
|
461
475
|
</h3><div class="docstring">
|
|
462
476
|
<div class="discussion">
|
|
463
|
-
|
|
464
|
-
First item: parsed data; second item: raw body
|
|
465
|
-
</p>
|
|
477
|
+
|
|
478
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
|
466
479
|
|
|
467
480
|
|
|
468
481
|
</div>
|
|
@@ -483,9 +496,8 @@ First item: parsed data; second item: raw body
|
|
|
483
496
|
|
|
484
497
|
|
|
485
498
|
—
|
|
486
|
-
<div class='inline'
|
|
487
|
-
a hash of params to be passed to the service
|
|
488
|
-
</p>
|
|
499
|
+
<div class='inline'>
|
|
500
|
+
<p>a hash of params to be passed to the service</p>
|
|
489
501
|
</div>
|
|
490
502
|
|
|
491
503
|
</li>
|
|
@@ -502,9 +514,8 @@ a hash of params to be passed to the service
|
|
|
502
514
|
|
|
503
515
|
|
|
504
516
|
—
|
|
505
|
-
<div class='inline'
|
|
506
|
-
additional http headers
|
|
507
|
-
</p>
|
|
517
|
+
<div class='inline'>
|
|
518
|
+
<p>additional http headers</p>
|
|
508
519
|
</div>
|
|
509
520
|
|
|
510
521
|
</li>
|
|
@@ -524,108 +535,44 @@ additional http headers
|
|
|
524
535
|
|
|
525
536
|
</span>
|
|
526
537
|
|
|
527
|
-
— <div class='inline'
|
|
528
|
-
Part of <tt>/api/environments/:environment_id/distributors</tt> path
|
|
529
|
-
</p>
|
|
538
|
+
— <div class='inline'>
|
|
539
|
+
<p>Part of <tt>/api/environments/:environment_id/distributors</tt> path</p>
|
|
530
540
|
</div>
|
|
531
541
|
|
|
532
542
|
</li>
|
|
533
543
|
|
|
534
544
|
<li>
|
|
535
|
-
<span class="name">
|
|
545
|
+
<span class="name">distributor</span>
|
|
536
546
|
<span class="type">(<tt>Hash</tt>)</span>
|
|
537
547
|
<span class="default">
|
|
538
548
|
|
|
539
549
|
</span>
|
|
540
550
|
|
|
541
|
-
— <div class='inline'
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
</
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
</
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
</span>
|
|
568
|
-
|
|
569
|
-
— <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
|
-
— <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
|
-
— <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
|
-
— <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
|
-
— <div class='inline'><p>
|
|
627
|
-
type of the distributor, it should always be ‘distributor’
|
|
628
|
-
</p>
|
|
551
|
+
— <div class='inline'>
|
|
552
|
+
<p>allowed keys are:</p>
|
|
553
|
+
<ul><li>
|
|
554
|
+
<p>capabilities [Array, nil] list of subscription capabilities</p>
|
|
555
|
+
</li><li>
|
|
556
|
+
<p>facts [Hash, nil] key-value hash of distributor-specific facts</p>
|
|
557
|
+
</li><li>
|
|
558
|
+
<p>installedProducts [Array, nil] list of products installed on the
|
|
559
|
+
distributor</p>
|
|
560
|
+
</li><li>
|
|
561
|
+
<p>location [String, nil] physical of the distributor</p>
|
|
562
|
+
</li><li>
|
|
563
|
+
<p>name [String] name of the distributor</p>
|
|
564
|
+
</li><li>
|
|
565
|
+
<p>releaseVer [String, nil] release of the os. the $releasever variable in
|
|
566
|
+
repo url will be replaced with this value</p>
|
|
567
|
+
</li><li>
|
|
568
|
+
<p>serviceLevel [String, nil] a service level for auto-healing process, e.g.
|
|
569
|
+
self-support</p>
|
|
570
|
+
</li><li>
|
|
571
|
+
<p>type [String] type of the distributor, it should always be ‘distributor’</p>
|
|
572
|
+
</li><li>
|
|
573
|
+
<p>version [String, nil] version of the distributor. defaults to the latest
|
|
574
|
+
if not given.</p>
|
|
575
|
+
</li></ul>
|
|
629
576
|
</div>
|
|
630
577
|
|
|
631
578
|
</li>
|
|
@@ -646,9 +593,8 @@ type of the distributor, it should always be ‘distributor’
|
|
|
646
593
|
|
|
647
594
|
|
|
648
595
|
—
|
|
649
|
-
<div class='inline'
|
|
650
|
-
First item: parsed data; second item: raw body
|
|
651
|
-
</p>
|
|
596
|
+
<div class='inline'>
|
|
597
|
+
<p>First item: parsed data; second item: raw body</p>
|
|
652
598
|
</div>
|
|
653
599
|
|
|
654
600
|
</li>
|
|
@@ -661,17 +607,16 @@ First item: parsed data; second item: raw body
|
|
|
661
607
|
<pre class="lines">
|
|
662
608
|
|
|
663
609
|
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
610
|
+
24
|
|
611
|
+
25
|
|
612
|
+
26</pre>
|
|
667
613
|
</td>
|
|
668
614
|
<td>
|
|
669
|
-
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/distributor.rb', line
|
|
615
|
+
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/distributor.rb', line 24</span>
|
|
670
616
|
|
|
671
|
-
<span class='
|
|
672
|
-
<span class='
|
|
673
|
-
<span class='
|
|
674
|
-
</pre>
|
|
617
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_create'>create</span><span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
|
618
|
+
<span class='id identifier rubyid_perform_call'>perform_call</span><span class='lparen'>(</span><span class='id identifier rubyid___method__'>__method__</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span><span class='rparen'>)</span>
|
|
619
|
+
<span class='kw'>end</span></pre>
|
|
675
620
|
</td>
|
|
676
621
|
</tr>
|
|
677
622
|
</table>
|
|
@@ -688,9 +633,8 @@ First item: parsed data; second item: raw body
|
|
|
688
633
|
|
|
689
634
|
</h3><div class="docstring">
|
|
690
635
|
<div class="discussion">
|
|
691
|
-
|
|
692
|
-
First item: parsed data; second item: raw body
|
|
693
|
-
</p>
|
|
636
|
+
|
|
637
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
|
694
638
|
|
|
695
639
|
|
|
696
640
|
</div>
|
|
@@ -711,9 +655,8 @@ First item: parsed data; second item: raw body
|
|
|
711
655
|
|
|
712
656
|
|
|
713
657
|
—
|
|
714
|
-
<div class='inline'
|
|
715
|
-
a hash of params to be passed to the service
|
|
716
|
-
</p>
|
|
658
|
+
<div class='inline'>
|
|
659
|
+
<p>a hash of params to be passed to the service</p>
|
|
717
660
|
</div>
|
|
718
661
|
|
|
719
662
|
</li>
|
|
@@ -730,9 +673,8 @@ a hash of params to be passed to the service
|
|
|
730
673
|
|
|
731
674
|
|
|
732
675
|
—
|
|
733
|
-
<div class='inline'
|
|
734
|
-
additional http headers
|
|
735
|
-
</p>
|
|
676
|
+
<div class='inline'>
|
|
677
|
+
<p>additional http headers</p>
|
|
736
678
|
</div>
|
|
737
679
|
|
|
738
680
|
</li>
|
|
@@ -752,9 +694,8 @@ additional http headers
|
|
|
752
694
|
|
|
753
695
|
</span>
|
|
754
696
|
|
|
755
|
-
— <div class='inline'
|
|
756
|
-
uuid of the distributor
|
|
757
|
-
</p>
|
|
697
|
+
— <div class='inline'>
|
|
698
|
+
<p>uuid of the distributor</p>
|
|
758
699
|
</div>
|
|
759
700
|
|
|
760
701
|
</li>
|
|
@@ -775,9 +716,8 @@ uuid of the distributor
|
|
|
775
716
|
|
|
776
717
|
|
|
777
718
|
—
|
|
778
|
-
<div class='inline'
|
|
779
|
-
First item: parsed data; second item: raw body
|
|
780
|
-
</p>
|
|
719
|
+
<div class='inline'>
|
|
720
|
+
<p>First item: parsed data; second item: raw body</p>
|
|
781
721
|
</div>
|
|
782
722
|
|
|
783
723
|
</li>
|
|
@@ -790,26 +730,25 @@ First item: parsed data; second item: raw body
|
|
|
790
730
|
<pre class="lines">
|
|
791
731
|
|
|
792
732
|
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
733
|
+
82
|
|
734
|
+
83
|
|
735
|
+
84</pre>
|
|
796
736
|
</td>
|
|
797
737
|
<td>
|
|
798
|
-
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/distributor.rb', line
|
|
738
|
+
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/distributor.rb', line 82</span>
|
|
799
739
|
|
|
800
|
-
<span class='
|
|
801
|
-
<span class='
|
|
802
|
-
<span class='
|
|
803
|
-
</pre>
|
|
740
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_destroy'>destroy</span><span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
|
741
|
+
<span class='id identifier rubyid_perform_call'>perform_call</span><span class='lparen'>(</span><span class='id identifier rubyid___method__'>__method__</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span><span class='rparen'>)</span>
|
|
742
|
+
<span class='kw'>end</span></pre>
|
|
804
743
|
</td>
|
|
805
744
|
</tr>
|
|
806
745
|
</table>
|
|
807
746
|
</div>
|
|
808
747
|
|
|
809
748
|
<div class="method_details ">
|
|
810
|
-
<h3 class="signature " id="
|
|
749
|
+
<h3 class="signature " id="export-instance_method">
|
|
811
750
|
|
|
812
|
-
- (<tt>Array</tt>) <strong>
|
|
751
|
+
- (<tt>Array</tt>) <strong>export</strong>(params = {}, headers = {})
|
|
813
752
|
|
|
814
753
|
|
|
815
754
|
|
|
@@ -817,9 +756,8 @@ First item: parsed data; second item: raw body
|
|
|
817
756
|
|
|
818
757
|
</h3><div class="docstring">
|
|
819
758
|
<div class="discussion">
|
|
820
|
-
|
|
821
|
-
First item: parsed data; second item: raw body
|
|
822
|
-
</p>
|
|
759
|
+
|
|
760
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
|
823
761
|
|
|
824
762
|
|
|
825
763
|
</div>
|
|
@@ -840,9 +778,8 @@ First item: parsed data; second item: raw body
|
|
|
840
778
|
|
|
841
779
|
|
|
842
780
|
—
|
|
843
|
-
<div class='inline'
|
|
844
|
-
a hash of params to be passed to the service
|
|
845
|
-
</p>
|
|
781
|
+
<div class='inline'>
|
|
782
|
+
<p>a hash of params to be passed to the service</p>
|
|
846
783
|
</div>
|
|
847
784
|
|
|
848
785
|
</li>
|
|
@@ -859,9 +796,8 @@ a hash of params to be passed to the service
|
|
|
859
796
|
|
|
860
797
|
|
|
861
798
|
—
|
|
862
|
-
<div class='inline'
|
|
863
|
-
additional http headers
|
|
864
|
-
</p>
|
|
799
|
+
<div class='inline'>
|
|
800
|
+
<p>additional http headers</p>
|
|
865
801
|
</div>
|
|
866
802
|
|
|
867
803
|
</li>
|
|
@@ -875,57 +811,14 @@ additional http headers
|
|
|
875
811
|
<ul class="option">
|
|
876
812
|
|
|
877
813
|
<li>
|
|
878
|
-
<span class="name">
|
|
879
|
-
<span class="type">(<tt>Object</tt>)</span>
|
|
880
|
-
<span class="default">
|
|
881
|
-
|
|
882
|
-
</span>
|
|
883
|
-
|
|
884
|
-
— <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
|
-
— <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
|
-
— <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>
|
|
814
|
+
<span class="name">id</span>
|
|
921
815
|
<span class="type">(<tt>String</tt>)</span>
|
|
922
816
|
<span class="default">
|
|
923
817
|
|
|
924
818
|
</span>
|
|
925
819
|
|
|
926
|
-
— <div class='inline'
|
|
927
|
-
|
|
928
|
-
</p>
|
|
820
|
+
— <div class='inline'>
|
|
821
|
+
<p>uuid of the distributor</p>
|
|
929
822
|
</div>
|
|
930
823
|
|
|
931
824
|
</li>
|
|
@@ -946,9 +839,8 @@ filter distributors by name
|
|
|
946
839
|
|
|
947
840
|
|
|
948
841
|
—
|
|
949
|
-
<div class='inline'
|
|
950
|
-
First item: parsed data; second item: raw body
|
|
951
|
-
</p>
|
|
842
|
+
<div class='inline'>
|
|
843
|
+
<p>First item: parsed data; second item: raw body</p>
|
|
952
844
|
</div>
|
|
953
845
|
|
|
954
846
|
</li>
|
|
@@ -961,26 +853,25 @@ First item: parsed data; second item: raw body
|
|
|
961
853
|
<pre class="lines">
|
|
962
854
|
|
|
963
855
|
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
856
|
+
73
|
|
857
|
+
74
|
|
858
|
+
75</pre>
|
|
967
859
|
</td>
|
|
968
860
|
<td>
|
|
969
|
-
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/distributor.rb', line
|
|
861
|
+
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/distributor.rb', line 73</span>
|
|
970
862
|
|
|
971
|
-
<span class='
|
|
972
|
-
<span class='
|
|
973
|
-
<span class='
|
|
974
|
-
</pre>
|
|
863
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_export'>export</span><span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
|
864
|
+
<span class='id identifier rubyid_perform_call'>perform_call</span><span class='lparen'>(</span><span class='id identifier rubyid___method__'>__method__</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span><span class='rparen'>)</span>
|
|
865
|
+
<span class='kw'>end</span></pre>
|
|
975
866
|
</td>
|
|
976
867
|
</tr>
|
|
977
868
|
</table>
|
|
978
869
|
</div>
|
|
979
870
|
|
|
980
871
|
<div class="method_details ">
|
|
981
|
-
<h3 class="signature " id="
|
|
872
|
+
<h3 class="signature " id="index-instance_method">
|
|
982
873
|
|
|
983
|
-
- (<tt>Array</tt>) <strong>
|
|
874
|
+
- (<tt>Array</tt>) <strong>index</strong>(params = {}, headers = {})
|
|
984
875
|
|
|
985
876
|
|
|
986
877
|
|
|
@@ -988,9 +879,8 @@ First item: parsed data; second item: raw body
|
|
|
988
879
|
|
|
989
880
|
</h3><div class="docstring">
|
|
990
881
|
<div class="discussion">
|
|
991
|
-
|
|
992
|
-
First item: parsed data; second item: raw body
|
|
993
|
-
</p>
|
|
882
|
+
|
|
883
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
|
994
884
|
|
|
995
885
|
|
|
996
886
|
</div>
|
|
@@ -1011,9 +901,8 @@ First item: parsed data; second item: raw body
|
|
|
1011
901
|
|
|
1012
902
|
|
|
1013
903
|
—
|
|
1014
|
-
<div class='inline'
|
|
1015
|
-
a hash of params to be passed to the service
|
|
1016
|
-
</p>
|
|
904
|
+
<div class='inline'>
|
|
905
|
+
<p>a hash of params to be passed to the service</p>
|
|
1017
906
|
</div>
|
|
1018
907
|
|
|
1019
908
|
</li>
|
|
@@ -1030,9 +919,8 @@ a hash of params to be passed to the service
|
|
|
1030
919
|
|
|
1031
920
|
|
|
1032
921
|
—
|
|
1033
|
-
<div class='inline'
|
|
1034
|
-
additional http headers
|
|
1035
|
-
</p>
|
|
922
|
+
<div class='inline'>
|
|
923
|
+
<p>additional http headers</p>
|
|
1036
924
|
</div>
|
|
1037
925
|
|
|
1038
926
|
</li>
|
|
@@ -1046,15 +934,53 @@ additional http headers
|
|
|
1046
934
|
<ul class="option">
|
|
1047
935
|
|
|
1048
936
|
<li>
|
|
1049
|
-
<span class="name">
|
|
937
|
+
<span class="name">environment_id</span>
|
|
938
|
+
<span class="type">(<tt>Object</tt>)</span>
|
|
939
|
+
<span class="default">
|
|
940
|
+
|
|
941
|
+
</span>
|
|
942
|
+
|
|
943
|
+
— <div class='inline'>
|
|
944
|
+
<p>Part of <tt>/api/environments/:environment_id/distributors</tt> path</p>
|
|
945
|
+
</div>
|
|
946
|
+
|
|
947
|
+
</li>
|
|
948
|
+
|
|
949
|
+
<li>
|
|
950
|
+
<span class="name">organization_id</span>
|
|
951
|
+
<span class="type">(<tt>Object</tt>)</span>
|
|
952
|
+
<span class="default">
|
|
953
|
+
|
|
954
|
+
</span>
|
|
955
|
+
|
|
956
|
+
— <div class='inline'>
|
|
957
|
+
<p>Part of <tt>/api/organizations/:organization_id/distributors</tt> path</p>
|
|
958
|
+
</div>
|
|
959
|
+
|
|
960
|
+
</li>
|
|
961
|
+
|
|
962
|
+
<li>
|
|
963
|
+
<span class="name">pool_id</span>
|
|
964
|
+
<span class="type">(<tt>String</tt>)</span>
|
|
965
|
+
<span class="default">
|
|
966
|
+
|
|
967
|
+
</span>
|
|
968
|
+
|
|
969
|
+
— <div class='inline'>
|
|
970
|
+
<p>filter distributors by subscribed pool</p>
|
|
971
|
+
</div>
|
|
972
|
+
|
|
973
|
+
</li>
|
|
974
|
+
|
|
975
|
+
<li>
|
|
976
|
+
<span class="name">name</span>
|
|
1050
977
|
<span class="type">(<tt>String</tt>)</span>
|
|
1051
978
|
<span class="default">
|
|
1052
979
|
|
|
1053
980
|
</span>
|
|
1054
981
|
|
|
1055
|
-
— <div class='inline'
|
|
1056
|
-
|
|
1057
|
-
</p>
|
|
982
|
+
— <div class='inline'>
|
|
983
|
+
<p>filter distributors by name</p>
|
|
1058
984
|
</div>
|
|
1059
985
|
|
|
1060
986
|
</li>
|
|
@@ -1075,9 +1001,8 @@ uuid of the distributor
|
|
|
1075
1001
|
|
|
1076
1002
|
|
|
1077
1003
|
—
|
|
1078
|
-
<div class='inline'
|
|
1079
|
-
First item: parsed data; second item: raw body
|
|
1080
|
-
</p>
|
|
1004
|
+
<div class='inline'>
|
|
1005
|
+
<p>First item: parsed data; second item: raw body</p>
|
|
1081
1006
|
</div>
|
|
1082
1007
|
|
|
1083
1008
|
</li>
|
|
@@ -1090,26 +1015,25 @@ First item: parsed data; second item: raw body
|
|
|
1090
1015
|
<pre class="lines">
|
|
1091
1016
|
|
|
1092
1017
|
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1018
|
+
55
|
|
1019
|
+
56
|
|
1020
|
+
57</pre>
|
|
1096
1021
|
</td>
|
|
1097
1022
|
<td>
|
|
1098
|
-
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/distributor.rb', line
|
|
1023
|
+
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/distributor.rb', line 55</span>
|
|
1099
1024
|
|
|
1100
|
-
<span class='
|
|
1101
|
-
<span class='
|
|
1102
|
-
<span class='
|
|
1103
|
-
</pre>
|
|
1025
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_index'>index</span><span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
|
1026
|
+
<span class='id identifier rubyid_perform_call'>perform_call</span><span class='lparen'>(</span><span class='id identifier rubyid___method__'>__method__</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span><span class='rparen'>)</span>
|
|
1027
|
+
<span class='kw'>end</span></pre>
|
|
1104
1028
|
</td>
|
|
1105
1029
|
</tr>
|
|
1106
1030
|
</table>
|
|
1107
1031
|
</div>
|
|
1108
1032
|
|
|
1109
1033
|
<div class="method_details ">
|
|
1110
|
-
<h3 class="signature " id="
|
|
1034
|
+
<h3 class="signature " id="pools-instance_method">
|
|
1111
1035
|
|
|
1112
|
-
- (<tt>Array</tt>) <strong>
|
|
1036
|
+
- (<tt>Array</tt>) <strong>pools</strong>(params = {}, headers = {})
|
|
1113
1037
|
|
|
1114
1038
|
|
|
1115
1039
|
|
|
@@ -1117,9 +1041,8 @@ First item: parsed data; second item: raw body
|
|
|
1117
1041
|
|
|
1118
1042
|
</h3><div class="docstring">
|
|
1119
1043
|
<div class="discussion">
|
|
1120
|
-
|
|
1121
|
-
First item: parsed data; second item: raw body
|
|
1122
|
-
</p>
|
|
1044
|
+
|
|
1045
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
|
1123
1046
|
|
|
1124
1047
|
|
|
1125
1048
|
</div>
|
|
@@ -1140,9 +1063,8 @@ First item: parsed data; second item: raw body
|
|
|
1140
1063
|
|
|
1141
1064
|
|
|
1142
1065
|
—
|
|
1143
|
-
<div class='inline'
|
|
1144
|
-
a hash of params to be passed to the service
|
|
1145
|
-
</p>
|
|
1066
|
+
<div class='inline'>
|
|
1067
|
+
<p>a hash of params to be passed to the service</p>
|
|
1146
1068
|
</div>
|
|
1147
1069
|
|
|
1148
1070
|
</li>
|
|
@@ -1159,9 +1081,8 @@ a hash of params to be passed to the service
|
|
|
1159
1081
|
|
|
1160
1082
|
|
|
1161
1083
|
—
|
|
1162
|
-
<div class='inline'
|
|
1163
|
-
additional http headers
|
|
1164
|
-
</p>
|
|
1084
|
+
<div class='inline'>
|
|
1085
|
+
<p>additional http headers</p>
|
|
1165
1086
|
</div>
|
|
1166
1087
|
|
|
1167
1088
|
</li>
|
|
@@ -1175,29 +1096,14 @@ additional http headers
|
|
|
1175
1096
|
<ul class="option">
|
|
1176
1097
|
|
|
1177
1098
|
<li>
|
|
1178
|
-
<span class="name">
|
|
1179
|
-
<span class="type">(<tt>
|
|
1180
|
-
<span class="default">
|
|
1181
|
-
|
|
1182
|
-
</span>
|
|
1183
|
-
|
|
1184
|
-
— <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>
|
|
1099
|
+
<span class="name">id</span>
|
|
1100
|
+
<span class="type">(<tt>String</tt>)</span>
|
|
1194
1101
|
<span class="default">
|
|
1195
1102
|
|
|
1196
1103
|
</span>
|
|
1197
1104
|
|
|
1198
|
-
— <div class='inline'
|
|
1199
|
-
|
|
1200
|
-
</p>
|
|
1105
|
+
— <div class='inline'>
|
|
1106
|
+
<p>uuid of the distributor</p>
|
|
1201
1107
|
</div>
|
|
1202
1108
|
|
|
1203
1109
|
</li>
|
|
@@ -1218,9 +1124,8 @@ Part of <tt>/api/organizations/:organization_id/distributors/report</tt> path
|
|
|
1218
1124
|
|
|
1219
1125
|
|
|
1220
1126
|
—
|
|
1221
|
-
<div class='inline'
|
|
1222
|
-
First item: parsed data; second item: raw body
|
|
1223
|
-
</p>
|
|
1127
|
+
<div class='inline'>
|
|
1128
|
+
<p>First item: parsed data; second item: raw body</p>
|
|
1224
1129
|
</div>
|
|
1225
1130
|
|
|
1226
1131
|
</li>
|
|
@@ -1233,17 +1138,16 @@ First item: parsed data; second item: raw body
|
|
|
1233
1138
|
<pre class="lines">
|
|
1234
1139
|
|
|
1235
1140
|
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1141
|
+
91
|
|
1142
|
+
92
|
|
1143
|
+
93</pre>
|
|
1239
1144
|
</td>
|
|
1240
1145
|
<td>
|
|
1241
|
-
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/distributor.rb', line
|
|
1146
|
+
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/distributor.rb', line 91</span>
|
|
1242
1147
|
|
|
1243
|
-
<span class='
|
|
1244
|
-
<span class='
|
|
1245
|
-
<span class='
|
|
1246
|
-
</pre>
|
|
1148
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_pools'>pools</span><span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
|
1149
|
+
<span class='id identifier rubyid_perform_call'>perform_call</span><span class='lparen'>(</span><span class='id identifier rubyid___method__'>__method__</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span><span class='rparen'>)</span>
|
|
1150
|
+
<span class='kw'>end</span></pre>
|
|
1247
1151
|
</td>
|
|
1248
1152
|
</tr>
|
|
1249
1153
|
</table>
|
|
@@ -1260,9 +1164,8 @@ First item: parsed data; second item: raw body
|
|
|
1260
1164
|
|
|
1261
1165
|
</h3><div class="docstring">
|
|
1262
1166
|
<div class="discussion">
|
|
1263
|
-
|
|
1264
|
-
First item: parsed data; second item: raw body
|
|
1265
|
-
</p>
|
|
1167
|
+
|
|
1168
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
|
1266
1169
|
|
|
1267
1170
|
|
|
1268
1171
|
</div>
|
|
@@ -1283,9 +1186,8 @@ First item: parsed data; second item: raw body
|
|
|
1283
1186
|
|
|
1284
1187
|
|
|
1285
1188
|
—
|
|
1286
|
-
<div class='inline'
|
|
1287
|
-
a hash of params to be passed to the service
|
|
1288
|
-
</p>
|
|
1189
|
+
<div class='inline'>
|
|
1190
|
+
<p>a hash of params to be passed to the service</p>
|
|
1289
1191
|
</div>
|
|
1290
1192
|
|
|
1291
1193
|
</li>
|
|
@@ -1302,9 +1204,8 @@ a hash of params to be passed to the service
|
|
|
1302
1204
|
|
|
1303
1205
|
|
|
1304
1206
|
—
|
|
1305
|
-
<div class='inline'
|
|
1306
|
-
additional http headers
|
|
1307
|
-
</p>
|
|
1207
|
+
<div class='inline'>
|
|
1208
|
+
<p>additional http headers</p>
|
|
1308
1209
|
</div>
|
|
1309
1210
|
|
|
1310
1211
|
</li>
|
|
@@ -1324,9 +1225,8 @@ additional http headers
|
|
|
1324
1225
|
|
|
1325
1226
|
</span>
|
|
1326
1227
|
|
|
1327
|
-
— <div class='inline'
|
|
1328
|
-
uuid of the distributor
|
|
1329
|
-
</p>
|
|
1228
|
+
— <div class='inline'>
|
|
1229
|
+
<p>uuid of the distributor</p>
|
|
1330
1230
|
</div>
|
|
1331
1231
|
|
|
1332
1232
|
</li>
|
|
@@ -1347,9 +1247,8 @@ uuid of the distributor
|
|
|
1347
1247
|
|
|
1348
1248
|
|
|
1349
1249
|
—
|
|
1350
|
-
<div class='inline'
|
|
1351
|
-
First item: parsed data; second item: raw body
|
|
1352
|
-
</p>
|
|
1250
|
+
<div class='inline'>
|
|
1251
|
+
<p>First item: parsed data; second item: raw body</p>
|
|
1353
1252
|
</div>
|
|
1354
1253
|
|
|
1355
1254
|
</li>
|
|
@@ -1362,17 +1261,16 @@ First item: parsed data; second item: raw body
|
|
|
1362
1261
|
<pre class="lines">
|
|
1363
1262
|
|
|
1364
1263
|
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1264
|
+
64
|
|
1265
|
+
65
|
|
1266
|
+
66</pre>
|
|
1368
1267
|
</td>
|
|
1369
1268
|
<td>
|
|
1370
|
-
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/distributor.rb', line
|
|
1269
|
+
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/distributor.rb', line 64</span>
|
|
1371
1270
|
|
|
1372
|
-
<span class='
|
|
1373
|
-
<span class='
|
|
1374
|
-
<span class='
|
|
1375
|
-
</pre>
|
|
1271
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_show'>show</span><span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
|
1272
|
+
<span class='id identifier rubyid_perform_call'>perform_call</span><span class='lparen'>(</span><span class='id identifier rubyid___method__'>__method__</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span><span class='rparen'>)</span>
|
|
1273
|
+
<span class='kw'>end</span></pre>
|
|
1376
1274
|
</td>
|
|
1377
1275
|
</tr>
|
|
1378
1276
|
</table>
|
|
@@ -1389,9 +1287,8 @@ First item: parsed data; second item: raw body
|
|
|
1389
1287
|
|
|
1390
1288
|
</h3><div class="docstring">
|
|
1391
1289
|
<div class="discussion">
|
|
1392
|
-
|
|
1393
|
-
First item: parsed data; second item: raw body
|
|
1394
|
-
</p>
|
|
1290
|
+
|
|
1291
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
|
1395
1292
|
|
|
1396
1293
|
|
|
1397
1294
|
</div>
|
|
@@ -1412,9 +1309,8 @@ First item: parsed data; second item: raw body
|
|
|
1412
1309
|
|
|
1413
1310
|
|
|
1414
1311
|
—
|
|
1415
|
-
<div class='inline'
|
|
1416
|
-
a hash of params to be passed to the service
|
|
1417
|
-
</p>
|
|
1312
|
+
<div class='inline'>
|
|
1313
|
+
<p>a hash of params to be passed to the service</p>
|
|
1418
1314
|
</div>
|
|
1419
1315
|
|
|
1420
1316
|
</li>
|
|
@@ -1431,9 +1327,8 @@ a hash of params to be passed to the service
|
|
|
1431
1327
|
|
|
1432
1328
|
|
|
1433
1329
|
—
|
|
1434
|
-
<div class='inline'
|
|
1435
|
-
additional http headers
|
|
1436
|
-
</p>
|
|
1330
|
+
<div class='inline'>
|
|
1331
|
+
<p>additional http headers</p>
|
|
1437
1332
|
</div>
|
|
1438
1333
|
|
|
1439
1334
|
</li>
|
|
@@ -1453,9 +1348,8 @@ additional http headers
|
|
|
1453
1348
|
|
|
1454
1349
|
</span>
|
|
1455
1350
|
|
|
1456
|
-
— <div class='inline'
|
|
1457
|
-
uuid of the task
|
|
1458
|
-
</p>
|
|
1351
|
+
— <div class='inline'>
|
|
1352
|
+
<p>uuid of the task</p>
|
|
1459
1353
|
</div>
|
|
1460
1354
|
|
|
1461
1355
|
</li>
|
|
@@ -1476,9 +1370,8 @@ uuid of the task
|
|
|
1476
1370
|
|
|
1477
1371
|
|
|
1478
1372
|
—
|
|
1479
|
-
<div class='inline'
|
|
1480
|
-
First item: parsed data; second item: raw body
|
|
1481
|
-
</p>
|
|
1373
|
+
<div class='inline'>
|
|
1374
|
+
<p>First item: parsed data; second item: raw body</p>
|
|
1482
1375
|
</div>
|
|
1483
1376
|
|
|
1484
1377
|
</li>
|
|
@@ -1491,17 +1384,16 @@ First item: parsed data; second item: raw body
|
|
|
1491
1384
|
<pre class="lines">
|
|
1492
1385
|
|
|
1493
1386
|
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1387
|
+
111
|
|
1388
|
+
112
|
|
1389
|
+
113</pre>
|
|
1497
1390
|
</td>
|
|
1498
1391
|
<td>
|
|
1499
|
-
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/distributor.rb', line
|
|
1392
|
+
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/distributor.rb', line 111</span>
|
|
1500
1393
|
|
|
1501
|
-
<span class='
|
|
1502
|
-
<span class='
|
|
1503
|
-
<span class='
|
|
1504
|
-
</pre>
|
|
1394
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_task_show'>task_show</span><span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
|
1395
|
+
<span class='id identifier rubyid_perform_call'>perform_call</span><span class='lparen'>(</span><span class='id identifier rubyid___method__'>__method__</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span><span class='rparen'>)</span>
|
|
1396
|
+
<span class='kw'>end</span></pre>
|
|
1505
1397
|
</td>
|
|
1506
1398
|
</tr>
|
|
1507
1399
|
</table>
|
|
@@ -1518,9 +1410,8 @@ First item: parsed data; second item: raw body
|
|
|
1518
1410
|
|
|
1519
1411
|
</h3><div class="docstring">
|
|
1520
1412
|
<div class="discussion">
|
|
1521
|
-
|
|
1522
|
-
First item: parsed data; second item: raw body
|
|
1523
|
-
</p>
|
|
1413
|
+
|
|
1414
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
|
1524
1415
|
|
|
1525
1416
|
|
|
1526
1417
|
</div>
|
|
@@ -1541,9 +1432,8 @@ First item: parsed data; second item: raw body
|
|
|
1541
1432
|
|
|
1542
1433
|
|
|
1543
1434
|
—
|
|
1544
|
-
<div class='inline'
|
|
1545
|
-
a hash of params to be passed to the service
|
|
1546
|
-
</p>
|
|
1435
|
+
<div class='inline'>
|
|
1436
|
+
<p>a hash of params to be passed to the service</p>
|
|
1547
1437
|
</div>
|
|
1548
1438
|
|
|
1549
1439
|
</li>
|
|
@@ -1560,9 +1450,8 @@ a hash of params to be passed to the service
|
|
|
1560
1450
|
|
|
1561
1451
|
|
|
1562
1452
|
—
|
|
1563
|
-
<div class='inline'
|
|
1564
|
-
additional http headers
|
|
1565
|
-
</p>
|
|
1453
|
+
<div class='inline'>
|
|
1454
|
+
<p>additional http headers</p>
|
|
1566
1455
|
</div>
|
|
1567
1456
|
|
|
1568
1457
|
</li>
|
|
@@ -1582,9 +1471,8 @@ additional http headers
|
|
|
1582
1471
|
|
|
1583
1472
|
</span>
|
|
1584
1473
|
|
|
1585
|
-
— <div class='inline'
|
|
1586
|
-
Part of <tt>/api/organizations/:organization_id/distributors/tasks</tt> path
|
|
1587
|
-
</p>
|
|
1474
|
+
— <div class='inline'>
|
|
1475
|
+
<p>Part of <tt>/api/organizations/:organization_id/distributors/tasks</tt> path</p>
|
|
1588
1476
|
</div>
|
|
1589
1477
|
|
|
1590
1478
|
</li>
|
|
@@ -1596,9 +1484,8 @@ Part of <tt>/api/organizations/:organization_id/distributors/tasks</tt> path
|
|
|
1596
1484
|
|
|
1597
1485
|
</span>
|
|
1598
1486
|
|
|
1599
|
-
— <div class='inline'
|
|
1600
|
-
name of the distributor
|
|
1601
|
-
</p>
|
|
1487
|
+
— <div class='inline'>
|
|
1488
|
+
<p>name of the distributor</p>
|
|
1602
1489
|
</div>
|
|
1603
1490
|
|
|
1604
1491
|
</li>
|
|
@@ -1610,9 +1497,8 @@ name of the distributor
|
|
|
1610
1497
|
|
|
1611
1498
|
</span>
|
|
1612
1499
|
|
|
1613
|
-
— <div class='inline'
|
|
1614
|
-
uuid of the distributor
|
|
1615
|
-
</p>
|
|
1500
|
+
— <div class='inline'>
|
|
1501
|
+
<p>uuid of the distributor</p>
|
|
1616
1502
|
</div>
|
|
1617
1503
|
|
|
1618
1504
|
</li>
|
|
@@ -1633,9 +1519,8 @@ uuid of the distributor
|
|
|
1633
1519
|
|
|
1634
1520
|
|
|
1635
1521
|
—
|
|
1636
|
-
<div class='inline'
|
|
1637
|
-
First item: parsed data; second item: raw body
|
|
1638
|
-
</p>
|
|
1522
|
+
<div class='inline'>
|
|
1523
|
+
<p>First item: parsed data; second item: raw body</p>
|
|
1639
1524
|
</div>
|
|
1640
1525
|
|
|
1641
1526
|
</li>
|
|
@@ -1648,17 +1533,16 @@ First item: parsed data; second item: raw body
|
|
|
1648
1533
|
<pre class="lines">
|
|
1649
1534
|
|
|
1650
1535
|
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1536
|
+
102
|
|
1537
|
+
103
|
|
1538
|
+
104</pre>
|
|
1654
1539
|
</td>
|
|
1655
1540
|
<td>
|
|
1656
|
-
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/distributor.rb', line
|
|
1541
|
+
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/distributor.rb', line 102</span>
|
|
1657
1542
|
|
|
1658
|
-
<span class='
|
|
1659
|
-
<span class='
|
|
1660
|
-
<span class='
|
|
1661
|
-
</pre>
|
|
1543
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_tasks'>tasks</span><span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
|
1544
|
+
<span class='id identifier rubyid_perform_call'>perform_call</span><span class='lparen'>(</span><span class='id identifier rubyid___method__'>__method__</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span><span class='rparen'>)</span>
|
|
1545
|
+
<span class='kw'>end</span></pre>
|
|
1662
1546
|
</td>
|
|
1663
1547
|
</tr>
|
|
1664
1548
|
</table>
|
|
@@ -1675,9 +1559,8 @@ First item: parsed data; second item: raw body
|
|
|
1675
1559
|
|
|
1676
1560
|
</h3><div class="docstring">
|
|
1677
1561
|
<div class="discussion">
|
|
1678
|
-
|
|
1679
|
-
First item: parsed data; second item: raw body
|
|
1680
|
-
</p>
|
|
1562
|
+
|
|
1563
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
|
1681
1564
|
|
|
1682
1565
|
|
|
1683
1566
|
</div>
|
|
@@ -1698,9 +1581,8 @@ First item: parsed data; second item: raw body
|
|
|
1698
1581
|
|
|
1699
1582
|
|
|
1700
1583
|
—
|
|
1701
|
-
<div class='inline'
|
|
1702
|
-
a hash of params to be passed to the service
|
|
1703
|
-
</p>
|
|
1584
|
+
<div class='inline'>
|
|
1585
|
+
<p>a hash of params to be passed to the service</p>
|
|
1704
1586
|
</div>
|
|
1705
1587
|
|
|
1706
1588
|
</li>
|
|
@@ -1717,9 +1599,8 @@ a hash of params to be passed to the service
|
|
|
1717
1599
|
|
|
1718
1600
|
|
|
1719
1601
|
—
|
|
1720
|
-
<div class='inline'
|
|
1721
|
-
additional http headers
|
|
1722
|
-
</p>
|
|
1602
|
+
<div class='inline'>
|
|
1603
|
+
<p>additional http headers</p>
|
|
1723
1604
|
</div>
|
|
1724
1605
|
|
|
1725
1606
|
</li>
|
|
@@ -1739,102 +1620,160 @@ additional http headers
|
|
|
1739
1620
|
|
|
1740
1621
|
</span>
|
|
1741
1622
|
|
|
1742
|
-
— <div class='inline'
|
|
1743
|
-
Part of <tt>/api/distributors/:id</tt> path
|
|
1744
|
-
</p>
|
|
1623
|
+
— <div class='inline'>
|
|
1624
|
+
<p>Part of <tt>/api/distributors/:id</tt> path</p>
|
|
1745
1625
|
</div>
|
|
1746
1626
|
|
|
1747
1627
|
</li>
|
|
1748
1628
|
|
|
1749
1629
|
<li>
|
|
1750
|
-
<span class="name">
|
|
1751
|
-
<span class="type">(<tt>
|
|
1630
|
+
<span class="name">capabilities</span>
|
|
1631
|
+
<span class="type">(<tt>Array</tt>)</span>
|
|
1752
1632
|
<span class="default">
|
|
1753
1633
|
|
|
1754
1634
|
</span>
|
|
1755
1635
|
|
|
1756
|
-
— <div class='inline'
|
|
1757
|
-
|
|
1758
|
-
</p>
|
|
1636
|
+
— <div class='inline'>
|
|
1637
|
+
<p>for backwards capability with red hat hosted candlepin - list of
|
|
1638
|
+
subscription capabilities</p>
|
|
1759
1639
|
</div>
|
|
1760
1640
|
|
|
1761
1641
|
</li>
|
|
1762
1642
|
|
|
1763
1643
|
<li>
|
|
1764
|
-
<span class="name">
|
|
1765
|
-
<span class="type">(<tt>
|
|
1644
|
+
<span class="name">distributor</span>
|
|
1645
|
+
<span class="type">(<tt>Hash</tt>)</span>
|
|
1766
1646
|
<span class="default">
|
|
1767
1647
|
|
|
1768
1648
|
</span>
|
|
1769
1649
|
|
|
1770
|
-
— <div class='inline'
|
|
1771
|
-
|
|
1772
|
-
|
|
1650
|
+
— <div class='inline'>
|
|
1651
|
+
<p>allowed keys are:</p>
|
|
1652
|
+
<ul><li>
|
|
1653
|
+
<p>capabilities [Array, nil] list of subscription capabilities</p>
|
|
1654
|
+
</li><li>
|
|
1655
|
+
<p>facts [Hash, nil] key-value hash of distributor-specific facts</p>
|
|
1656
|
+
</li><li>
|
|
1657
|
+
<p>installedProducts [Array, nil] list of products installed on the
|
|
1658
|
+
distributor</p>
|
|
1659
|
+
</li><li>
|
|
1660
|
+
<p>location [String, nil] physical of the distributor</p>
|
|
1661
|
+
</li><li>
|
|
1662
|
+
<p>name [String] name of the distributor</p>
|
|
1663
|
+
</li><li>
|
|
1664
|
+
<p>releaseVer [String, nil] release of the os. the $releasever variable in
|
|
1665
|
+
repo url will be replaced with this value</p>
|
|
1666
|
+
</li><li>
|
|
1667
|
+
<p>serviceLevel [String, nil] a service level for auto-healing process, e.g.
|
|
1668
|
+
self-support</p>
|
|
1669
|
+
</li></ul>
|
|
1773
1670
|
</div>
|
|
1774
1671
|
|
|
1775
1672
|
</li>
|
|
1776
1673
|
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1674
|
+
</ul>
|
|
1675
|
+
|
|
1676
|
+
|
|
1677
|
+
|
|
1678
|
+
|
|
1679
|
+
<p class="tag_title">Returns:</p>
|
|
1680
|
+
<ul class="return">
|
|
1681
|
+
|
|
1682
|
+
<li>
|
|
1683
|
+
|
|
1684
|
+
|
|
1685
|
+
<span class='type'>(<tt>Array</tt>)</span>
|
|
1686
|
+
|
|
1687
|
+
|
|
1688
|
+
|
|
1689
|
+
—
|
|
1690
|
+
<div class='inline'>
|
|
1691
|
+
<p>First item: parsed data; second item: raw body</p>
|
|
1787
1692
|
</div>
|
|
1788
|
-
|
|
1789
|
-
</li>
|
|
1790
1693
|
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1694
|
+
</li>
|
|
1695
|
+
|
|
1696
|
+
</ul>
|
|
1697
|
+
|
|
1698
|
+
</div><table class="source_code">
|
|
1699
|
+
<tr>
|
|
1700
|
+
<td>
|
|
1701
|
+
<pre class="lines">
|
|
1702
|
+
|
|
1703
|
+
|
|
1704
|
+
43
|
|
1705
|
+
44
|
|
1706
|
+
45</pre>
|
|
1707
|
+
</td>
|
|
1708
|
+
<td>
|
|
1709
|
+
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/distributor.rb', line 43</span>
|
|
1710
|
+
|
|
1711
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_update'>update</span><span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
|
1712
|
+
<span class='id identifier rubyid_perform_call'>perform_call</span><span class='lparen'>(</span><span class='id identifier rubyid___method__'>__method__</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span><span class='rparen'>)</span>
|
|
1713
|
+
<span class='kw'>end</span></pre>
|
|
1714
|
+
</td>
|
|
1715
|
+
</tr>
|
|
1716
|
+
</table>
|
|
1801
1717
|
</div>
|
|
1802
|
-
|
|
1803
|
-
|
|
1718
|
+
|
|
1719
|
+
<div class="method_details ">
|
|
1720
|
+
<h3 class="signature " id="versions-instance_method">
|
|
1721
|
+
|
|
1722
|
+
- (<tt>Array</tt>) <strong>versions</strong>(params = {}, headers = {})
|
|
1723
|
+
|
|
1724
|
+
|
|
1725
|
+
|
|
1726
|
+
|
|
1727
|
+
|
|
1728
|
+
</h3><div class="docstring">
|
|
1729
|
+
<div class="discussion">
|
|
1730
|
+
|
|
1731
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
|
1732
|
+
|
|
1733
|
+
|
|
1734
|
+
</div>
|
|
1735
|
+
</div>
|
|
1736
|
+
<div class="tags">
|
|
1737
|
+
<p class="tag_title">Parameters:</p>
|
|
1738
|
+
<ul class="param">
|
|
1739
|
+
|
|
1740
|
+
<li>
|
|
1804
1741
|
|
|
1805
|
-
<
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1742
|
+
<span class='name'>params</span>
|
|
1743
|
+
|
|
1744
|
+
|
|
1745
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
|
1746
|
+
|
|
1747
|
+
|
|
1748
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
|
1749
|
+
|
|
1750
|
+
|
|
1751
|
+
—
|
|
1752
|
+
<div class='inline'>
|
|
1753
|
+
<p>a hash of params to be passed to the service</p>
|
|
1816
1754
|
</div>
|
|
1817
|
-
|
|
1818
|
-
</li>
|
|
1819
1755
|
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1756
|
+
</li>
|
|
1757
|
+
|
|
1758
|
+
<li>
|
|
1759
|
+
|
|
1760
|
+
<span class='name'>headers</span>
|
|
1761
|
+
|
|
1762
|
+
|
|
1763
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
|
1764
|
+
|
|
1765
|
+
|
|
1766
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
|
1767
|
+
|
|
1768
|
+
|
|
1769
|
+
—
|
|
1770
|
+
<div class='inline'>
|
|
1771
|
+
<p>additional http headers</p>
|
|
1830
1772
|
</div>
|
|
1831
|
-
|
|
1832
|
-
</li>
|
|
1833
1773
|
|
|
1834
|
-
</
|
|
1774
|
+
</li>
|
|
1835
1775
|
|
|
1836
|
-
|
|
1837
|
-
|
|
1776
|
+
</ul>
|
|
1838
1777
|
|
|
1839
1778
|
<p class="tag_title">Returns:</p>
|
|
1840
1779
|
<ul class="return">
|
|
@@ -1847,9 +1786,8 @@ a service level for auto-healing process, e.g. self-support
|
|
|
1847
1786
|
|
|
1848
1787
|
|
|
1849
1788
|
—
|
|
1850
|
-
<div class='inline'
|
|
1851
|
-
First item: parsed data; second item: raw body
|
|
1852
|
-
</p>
|
|
1789
|
+
<div class='inline'>
|
|
1790
|
+
<p>First item: parsed data; second item: raw body</p>
|
|
1853
1791
|
</div>
|
|
1854
1792
|
|
|
1855
1793
|
</li>
|
|
@@ -1862,17 +1800,16 @@ First item: parsed data; second item: raw body
|
|
|
1862
1800
|
<pre class="lines">
|
|
1863
1801
|
|
|
1864
1802
|
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1803
|
+
119
|
|
1804
|
+
120
|
|
1805
|
+
121</pre>
|
|
1868
1806
|
</td>
|
|
1869
1807
|
<td>
|
|
1870
|
-
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/distributor.rb', line
|
|
1808
|
+
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/distributor.rb', line 119</span>
|
|
1871
1809
|
|
|
1872
|
-
<span class='
|
|
1873
|
-
<span class='
|
|
1874
|
-
<span class='
|
|
1875
|
-
</pre>
|
|
1810
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_versions'>versions</span><span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
|
1811
|
+
<span class='id identifier rubyid_perform_call'>perform_call</span><span class='lparen'>(</span><span class='id identifier rubyid___method__'>__method__</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span><span class='rparen'>)</span>
|
|
1812
|
+
<span class='kw'>end</span></pre>
|
|
1876
1813
|
</td>
|
|
1877
1814
|
</tr>
|
|
1878
1815
|
</table>
|
|
@@ -1883,9 +1820,9 @@ First item: parsed data; second item: raw body
|
|
|
1883
1820
|
</div>
|
|
1884
1821
|
|
|
1885
1822
|
<div id="footer">
|
|
1886
|
-
Generated on
|
|
1823
|
+
Generated on Wed Jan 15 20:45:17 2014 by
|
|
1887
1824
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
1888
|
-
0.8.
|
|
1825
|
+
0.8.7.3 (ruby-1.9.3).
|
|
1889
1826
|
</div>
|
|
1890
1827
|
|
|
1891
1828
|
</body>
|