katello_api 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- 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::ComputeResource
|
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>
|
@@ -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>
|
@@ -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>
|
@@ -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>
|
@@ -334,10 +329,9 @@ First item: parsed data; second item: raw body.
|
|
334
329
|
<td>
|
335
330
|
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/compute_resource.rb', line 4</span>
|
336
331
|
|
337
|
-
<span class='
|
338
|
-
<span class='
|
339
|
-
<span class='
|
340
|
-
</pre>
|
332
|
+
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_doc'>doc</span>
|
333
|
+
<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'>compute_resources</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span>
|
334
|
+
<span class='kw'>end</span></pre>
|
341
335
|
</td>
|
342
336
|
</tr>
|
343
337
|
</table>
|
@@ -360,9 +354,8 @@ First item: parsed data; second item: raw body.
|
|
360
354
|
|
361
355
|
</h3><div class="docstring">
|
362
356
|
<div class="discussion">
|
363
|
-
|
364
|
-
First item: parsed data; second item: raw body
|
365
|
-
</p>
|
357
|
+
|
358
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
366
359
|
|
367
360
|
|
368
361
|
</div>
|
@@ -383,9 +376,8 @@ First item: parsed data; second item: raw body
|
|
383
376
|
|
384
377
|
|
385
378
|
—
|
386
|
-
<div class='inline'
|
387
|
-
a hash of params to be passed to the service
|
388
|
-
</p>
|
379
|
+
<div class='inline'>
|
380
|
+
<p>a hash of params to be passed to the service</p>
|
389
381
|
</div>
|
390
382
|
|
391
383
|
</li>
|
@@ -402,9 +394,8 @@ a hash of params to be passed to the service
|
|
402
394
|
|
403
395
|
|
404
396
|
—
|
405
|
-
<div class='inline'
|
406
|
-
additional http headers
|
407
|
-
</p>
|
397
|
+
<div class='inline'>
|
398
|
+
<p>additional http headers</p>
|
408
399
|
</div>
|
409
400
|
|
410
401
|
</li>
|
@@ -424,44 +415,32 @@ additional http headers
|
|
424
415
|
|
425
416
|
</span>
|
426
417
|
|
427
|
-
— <div class='inline'
|
428
|
-
compute resource info
|
429
|
-
|
430
|
-
<
|
431
|
-
|
432
|
-
|
433
|
-
</li>
|
434
|
-
<
|
435
|
-
|
436
|
-
</li>
|
437
|
-
<
|
438
|
-
|
439
|
-
|
440
|
-
</
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
</
|
445
|
-
|
446
|
-
|
447
|
-
</li>
|
448
|
-
<
|
449
|
-
|
450
|
-
</li>
|
451
|
-
<
|
452
|
-
|
453
|
-
</li>
|
454
|
-
<li>url [String] url for libvirt, ovirt, and openstack
|
455
|
-
|
456
|
-
</li>
|
457
|
-
<li>user [String, nil] username for ovirt, ec2, vmware, openstack. access key
|
458
|
-
for ec2.
|
459
|
-
|
460
|
-
</li>
|
461
|
-
<li>uuid [String, nil] for ovirt, vmware datacenter
|
462
|
-
|
463
|
-
</li>
|
464
|
-
</ul>
|
418
|
+
— <div class='inline'>
|
419
|
+
<p>compute resource info allowed keys are:</p>
|
420
|
+
<ul><li>
|
421
|
+
<p>description [String, nil]</p>
|
422
|
+
</li><li>
|
423
|
+
<p>name [String]</p>
|
424
|
+
</li><li>
|
425
|
+
<p>password [String, nil] password for ovirt, ec2, vmware, openstack. secret
|
426
|
+
key for ec2</p>
|
427
|
+
</li><li>
|
428
|
+
<p>provider [String] providers include libvirt, ovirt, ec2, vmware,
|
429
|
+
openstack, rackspace</p>
|
430
|
+
</li><li>
|
431
|
+
<p>region [String, nil] for ec2 only</p>
|
432
|
+
</li><li>
|
433
|
+
<p>server [String, nil] for vmware</p>
|
434
|
+
</li><li>
|
435
|
+
<p>tenant [String, nil] for openstack only</p>
|
436
|
+
</li><li>
|
437
|
+
<p>url [String] url for libvirt, ovirt, and openstack</p>
|
438
|
+
</li><li>
|
439
|
+
<p>user [String, nil] username for ovirt, ec2, vmware, openstack. access key
|
440
|
+
for ec2.</p>
|
441
|
+
</li><li>
|
442
|
+
<p>uuid [String, nil] for ovirt, vmware datacenter</p>
|
443
|
+
</li></ul>
|
465
444
|
</div>
|
466
445
|
|
467
446
|
</li>
|
@@ -482,9 +461,8 @@ for ec2.
|
|
482
461
|
|
483
462
|
|
484
463
|
—
|
485
|
-
<div class='inline'
|
486
|
-
First item: parsed data; second item: raw body
|
487
|
-
</p>
|
464
|
+
<div class='inline'>
|
465
|
+
<p>First item: parsed data; second item: raw body</p>
|
488
466
|
</div>
|
489
467
|
|
490
468
|
</li>
|
@@ -504,10 +482,9 @@ First item: parsed data; second item: raw body
|
|
504
482
|
<td>
|
505
483
|
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/compute_resource.rb', line 41</span>
|
506
484
|
|
507
|
-
<span class='
|
508
|
-
<span class='
|
509
|
-
<span class='
|
510
|
-
</pre>
|
485
|
+
<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>
|
486
|
+
<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>
|
487
|
+
<span class='kw'>end</span></pre>
|
511
488
|
</td>
|
512
489
|
</tr>
|
513
490
|
</table>
|
@@ -524,9 +501,8 @@ First item: parsed data; second item: raw body
|
|
524
501
|
|
525
502
|
</h3><div class="docstring">
|
526
503
|
<div class="discussion">
|
527
|
-
|
528
|
-
First item: parsed data; second item: raw body
|
529
|
-
</p>
|
504
|
+
|
505
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
530
506
|
|
531
507
|
|
532
508
|
</div>
|
@@ -547,9 +523,8 @@ First item: parsed data; second item: raw body
|
|
547
523
|
|
548
524
|
|
549
525
|
—
|
550
|
-
<div class='inline'
|
551
|
-
a hash of params to be passed to the service
|
552
|
-
</p>
|
526
|
+
<div class='inline'>
|
527
|
+
<p>a hash of params to be passed to the service</p>
|
553
528
|
</div>
|
554
529
|
|
555
530
|
</li>
|
@@ -566,9 +541,8 @@ a hash of params to be passed to the service
|
|
566
541
|
|
567
542
|
|
568
543
|
—
|
569
|
-
<div class='inline'
|
570
|
-
additional http headers
|
571
|
-
</p>
|
544
|
+
<div class='inline'>
|
545
|
+
<p>additional http headers</p>
|
572
546
|
</div>
|
573
547
|
|
574
548
|
</li>
|
@@ -588,9 +562,8 @@ additional http headers
|
|
588
562
|
|
589
563
|
</span>
|
590
564
|
|
591
|
-
— <div class='inline'
|
592
|
-
compute resource name
|
593
|
-
</p>
|
565
|
+
— <div class='inline'>
|
566
|
+
<p>compute resource name</p>
|
594
567
|
</div>
|
595
568
|
|
596
569
|
</li>
|
@@ -611,9 +584,8 @@ compute resource name
|
|
611
584
|
|
612
585
|
|
613
586
|
—
|
614
|
-
<div class='inline'
|
615
|
-
First item: parsed data; second item: raw body
|
616
|
-
</p>
|
587
|
+
<div class='inline'>
|
588
|
+
<p>First item: parsed data; second item: raw body</p>
|
617
589
|
</div>
|
618
590
|
|
619
591
|
</li>
|
@@ -633,10 +605,9 @@ First item: parsed data; second item: raw body
|
|
633
605
|
<td>
|
634
606
|
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/compute_resource.rb', line 71</span>
|
635
607
|
|
636
|
-
<span class='
|
637
|
-
<span class='
|
638
|
-
<span class='
|
639
|
-
</pre>
|
608
|
+
<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>
|
609
|
+
<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>
|
610
|
+
<span class='kw'>end</span></pre>
|
640
611
|
</td>
|
641
612
|
</tr>
|
642
613
|
</table>
|
@@ -653,9 +624,8 @@ First item: parsed data; second item: raw body
|
|
653
624
|
|
654
625
|
</h3><div class="docstring">
|
655
626
|
<div class="discussion">
|
656
|
-
|
657
|
-
First item: parsed data; second item: raw body
|
658
|
-
</p>
|
627
|
+
|
628
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
659
629
|
|
660
630
|
|
661
631
|
</div>
|
@@ -676,9 +646,8 @@ First item: parsed data; second item: raw body
|
|
676
646
|
|
677
647
|
|
678
648
|
—
|
679
|
-
<div class='inline'
|
680
|
-
a hash of params to be passed to the service
|
681
|
-
</p>
|
649
|
+
<div class='inline'>
|
650
|
+
<p>a hash of params to be passed to the service</p>
|
682
651
|
</div>
|
683
652
|
|
684
653
|
</li>
|
@@ -695,9 +664,8 @@ a hash of params to be passed to the service
|
|
695
664
|
|
696
665
|
|
697
666
|
—
|
698
|
-
<div class='inline'
|
699
|
-
additional http headers
|
700
|
-
</p>
|
667
|
+
<div class='inline'>
|
668
|
+
<p>additional http headers</p>
|
701
669
|
</div>
|
702
670
|
|
703
671
|
</li>
|
@@ -715,9 +683,8 @@ additional http headers
|
|
715
683
|
|
716
684
|
|
717
685
|
—
|
718
|
-
<div class='inline'
|
719
|
-
First item: parsed data; second item: raw body
|
720
|
-
</p>
|
686
|
+
<div class='inline'>
|
687
|
+
<p>First item: parsed data; second item: raw body</p>
|
721
688
|
</div>
|
722
689
|
|
723
690
|
</li>
|
@@ -737,10 +704,9 @@ First item: parsed data; second item: raw body
|
|
737
704
|
<td>
|
738
705
|
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/compute_resource.rb', line 12</span>
|
739
706
|
|
740
|
-
<span class='
|
741
|
-
<span class='
|
742
|
-
<span class='
|
743
|
-
</pre>
|
707
|
+
<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>
|
708
|
+
<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>
|
709
|
+
<span class='kw'>end</span></pre>
|
744
710
|
</td>
|
745
711
|
</tr>
|
746
712
|
</table>
|
@@ -757,9 +723,8 @@ First item: parsed data; second item: raw body
|
|
757
723
|
|
758
724
|
</h3><div class="docstring">
|
759
725
|
<div class="discussion">
|
760
|
-
|
761
|
-
First item: parsed data; second item: raw body
|
762
|
-
</p>
|
726
|
+
|
727
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
763
728
|
|
764
729
|
|
765
730
|
</div>
|
@@ -780,9 +745,8 @@ First item: parsed data; second item: raw body
|
|
780
745
|
|
781
746
|
|
782
747
|
—
|
783
|
-
<div class='inline'
|
784
|
-
a hash of params to be passed to the service
|
785
|
-
</p>
|
748
|
+
<div class='inline'>
|
749
|
+
<p>a hash of params to be passed to the service</p>
|
786
750
|
</div>
|
787
751
|
|
788
752
|
</li>
|
@@ -799,9 +763,8 @@ a hash of params to be passed to the service
|
|
799
763
|
|
800
764
|
|
801
765
|
—
|
802
|
-
<div class='inline'
|
803
|
-
additional http headers
|
804
|
-
</p>
|
766
|
+
<div class='inline'>
|
767
|
+
<p>additional http headers</p>
|
805
768
|
</div>
|
806
769
|
|
807
770
|
</li>
|
@@ -821,9 +784,8 @@ additional http headers
|
|
821
784
|
|
822
785
|
</span>
|
823
786
|
|
824
|
-
— <div class='inline'
|
825
|
-
compute resource name
|
826
|
-
</p>
|
787
|
+
— <div class='inline'>
|
788
|
+
<p>compute resource name</p>
|
827
789
|
</div>
|
828
790
|
|
829
791
|
</li>
|
@@ -844,9 +806,8 @@ compute resource name
|
|
844
806
|
|
845
807
|
|
846
808
|
—
|
847
|
-
<div class='inline'
|
848
|
-
First item: parsed data; second item: raw body
|
849
|
-
</p>
|
809
|
+
<div class='inline'>
|
810
|
+
<p>First item: parsed data; second item: raw body</p>
|
850
811
|
</div>
|
851
812
|
|
852
813
|
</li>
|
@@ -866,10 +827,9 @@ First item: parsed data; second item: raw body
|
|
866
827
|
<td>
|
867
828
|
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/compute_resource.rb', line 21</span>
|
868
829
|
|
869
|
-
<span class='
|
870
|
-
<span class='
|
871
|
-
<span class='
|
872
|
-
</pre>
|
830
|
+
<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>
|
831
|
+
<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>
|
832
|
+
<span class='kw'>end</span></pre>
|
873
833
|
</td>
|
874
834
|
</tr>
|
875
835
|
</table>
|
@@ -886,9 +846,8 @@ First item: parsed data; second item: raw body
|
|
886
846
|
|
887
847
|
</h3><div class="docstring">
|
888
848
|
<div class="discussion">
|
889
|
-
|
890
|
-
First item: parsed data; second item: raw body
|
891
|
-
</p>
|
849
|
+
|
850
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
892
851
|
|
893
852
|
|
894
853
|
</div>
|
@@ -909,9 +868,8 @@ First item: parsed data; second item: raw body
|
|
909
868
|
|
910
869
|
|
911
870
|
—
|
912
|
-
<div class='inline'
|
913
|
-
a hash of params to be passed to the service
|
914
|
-
</p>
|
871
|
+
<div class='inline'>
|
872
|
+
<p>a hash of params to be passed to the service</p>
|
915
873
|
</div>
|
916
874
|
|
917
875
|
</li>
|
@@ -928,9 +886,8 @@ a hash of params to be passed to the service
|
|
928
886
|
|
929
887
|
|
930
888
|
—
|
931
|
-
<div class='inline'
|
932
|
-
additional http headers
|
933
|
-
</p>
|
889
|
+
<div class='inline'>
|
890
|
+
<p>additional http headers</p>
|
934
891
|
</div>
|
935
892
|
|
936
893
|
</li>
|
@@ -950,9 +907,8 @@ additional http headers
|
|
950
907
|
|
951
908
|
</span>
|
952
909
|
|
953
|
-
— <div class='inline'
|
954
|
-
compute resource name
|
955
|
-
</p>
|
910
|
+
— <div class='inline'>
|
911
|
+
<p>compute resource name</p>
|
956
912
|
</div>
|
957
913
|
|
958
914
|
</li>
|
@@ -964,44 +920,32 @@ compute resource name
|
|
964
920
|
|
965
921
|
</span>
|
966
922
|
|
967
|
-
— <div class='inline'
|
968
|
-
compute resource info
|
969
|
-
|
970
|
-
<
|
971
|
-
|
972
|
-
|
973
|
-
</li>
|
974
|
-
<
|
975
|
-
|
976
|
-
</li>
|
977
|
-
<
|
978
|
-
|
979
|
-
|
980
|
-
</
|
981
|
-
|
982
|
-
|
983
|
-
|
984
|
-
</
|
985
|
-
|
986
|
-
|
987
|
-
</li>
|
988
|
-
<
|
989
|
-
|
990
|
-
</li>
|
991
|
-
<
|
992
|
-
|
993
|
-
</li>
|
994
|
-
<li>url [String] url for libvirt, ovirt, and openstack
|
995
|
-
|
996
|
-
</li>
|
997
|
-
<li>user [String, nil] username for ovirt, ec2, vmware, openstack. access key
|
998
|
-
for ec2.
|
999
|
-
|
1000
|
-
</li>
|
1001
|
-
<li>uuid [String, nil] for ovirt, vmware datacenter
|
1002
|
-
|
1003
|
-
</li>
|
1004
|
-
</ul>
|
923
|
+
— <div class='inline'>
|
924
|
+
<p>compute resource info allowed keys are:</p>
|
925
|
+
<ul><li>
|
926
|
+
<p>description [String, nil]</p>
|
927
|
+
</li><li>
|
928
|
+
<p>name [String]</p>
|
929
|
+
</li><li>
|
930
|
+
<p>password [String, nil] password for ovirt, ec2, vmware, openstack. secret
|
931
|
+
key for ec2</p>
|
932
|
+
</li><li>
|
933
|
+
<p>provider [String] providers include libvirt, ovirt, ec2, vmware,
|
934
|
+
openstack, rackspace</p>
|
935
|
+
</li><li>
|
936
|
+
<p>region [String, nil] for ec2 only</p>
|
937
|
+
</li><li>
|
938
|
+
<p>server [String, nil] for vmware</p>
|
939
|
+
</li><li>
|
940
|
+
<p>tenant [String, nil] for openstack only</p>
|
941
|
+
</li><li>
|
942
|
+
<p>url [String] url for libvirt, ovirt, and openstack</p>
|
943
|
+
</li><li>
|
944
|
+
<p>user [String, nil] username for ovirt, ec2, vmware, openstack. access key
|
945
|
+
for ec2.</p>
|
946
|
+
</li><li>
|
947
|
+
<p>uuid [String, nil] for ovirt, vmware datacenter</p>
|
948
|
+
</li></ul>
|
1005
949
|
</div>
|
1006
950
|
|
1007
951
|
</li>
|
@@ -1022,9 +966,8 @@ for ec2.
|
|
1022
966
|
|
1023
967
|
|
1024
968
|
—
|
1025
|
-
<div class='inline'
|
1026
|
-
First item: parsed data; second item: raw body
|
1027
|
-
</p>
|
969
|
+
<div class='inline'>
|
970
|
+
<p>First item: parsed data; second item: raw body</p>
|
1028
971
|
</div>
|
1029
972
|
|
1030
973
|
</li>
|
@@ -1044,10 +987,9 @@ First item: parsed data; second item: raw body
|
|
1044
987
|
<td>
|
1045
988
|
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/compute_resource.rb', line 62</span>
|
1046
989
|
|
1047
|
-
<span class='
|
1048
|
-
<span class='
|
1049
|
-
<span class='
|
1050
|
-
</pre>
|
990
|
+
<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>
|
991
|
+
<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>
|
992
|
+
<span class='kw'>end</span></pre>
|
1051
993
|
</td>
|
1052
994
|
</tr>
|
1053
995
|
</table>
|
@@ -1058,9 +1000,9 @@ First item: parsed data; second item: raw body
|
|
1058
1000
|
</div>
|
1059
1001
|
|
1060
1002
|
<div id="footer">
|
1061
|
-
Generated on
|
1003
|
+
Generated on Wed Jan 15 20:45:20 2014 by
|
1062
1004
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1063
|
-
0.8.
|
1005
|
+
0.8.7.3 (ruby-1.9.3).
|
1064
1006
|
</div>
|
1065
1007
|
|
1066
1008
|
</body>
|