pulp_container_client 2.25.0 → 2.26.0
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 +4 -4
- data/README.md +5 -4
- data/docs/ContainerBlobResponse.md +2 -0
- data/docs/ContainerContainerDistribution.md +8 -8
- data/docs/ContainerContainerDistributionResponse.md +16 -16
- data/docs/ContainerContainerPullThroughDistribution.md +8 -8
- data/docs/ContainerContainerPullThroughDistributionResponse.md +16 -16
- data/docs/ContainerContainerPullThroughRemoteResponse.md +1 -1
- data/docs/ContainerContainerPushRepository.md +7 -7
- data/docs/ContainerContainerPushRepositoryResponse.md +15 -15
- data/docs/ContainerContainerRemoteResponse.md +1 -1
- data/docs/ContainerManifestResponse.md +2 -0
- data/docs/ContainerManifestSignatureResponse.md +2 -0
- data/docs/ContainerTagResponse.md +2 -0
- data/docs/ContentBlobsApi.md +20 -8
- data/docs/ContentManifestsApi.md +20 -8
- data/docs/ContentSignaturesApi.md +20 -8
- data/docs/ContentTagsApi.md +20 -8
- data/docs/DistributionsContainerApi.md +72 -32
- data/docs/DistributionsPullThroughApi.md +72 -32
- data/docs/PatchedcontainerContainerDistribution.md +8 -8
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +8 -8
- data/docs/PatchedcontainerContainerPushRepository.md +7 -7
- data/docs/PulpContainerNamespacesApi.md +40 -16
- data/docs/RemotesContainerApi.md +72 -32
- data/docs/RemotesPullThroughApi.md +72 -32
- data/docs/RepositoriesContainerApi.md +138 -64
- data/docs/RepositoriesContainerPushApi.md +80 -36
- data/docs/RepositoriesContainerPushVersionsApi.md +22 -10
- data/docs/RepositoriesContainerVersionsApi.md +22 -10
- data/docs/RepositoryVersionResponse.md +3 -1
- data/docs/TokenApi.md +14 -5
- data/lib/pulp_container_client/api/content_blobs_api.rb +12 -0
- data/lib/pulp_container_client/api/content_manifests_api.rb +12 -0
- data/lib/pulp_container_client/api/content_signatures_api.rb +12 -0
- data/lib/pulp_container_client/api/content_tags_api.rb +12 -0
- data/lib/pulp_container_client/api/distributions_container_api.rb +36 -0
- data/lib/pulp_container_client/api/distributions_pull_through_api.rb +36 -0
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +24 -0
- data/lib/pulp_container_client/api/remotes_container_api.rb +36 -0
- data/lib/pulp_container_client/api/remotes_pull_through_api.rb +36 -0
- data/lib/pulp_container_client/api/repositories_container_api.rb +63 -0
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +39 -0
- data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +15 -3
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +15 -3
- data/lib/pulp_container_client/api/token_api.rb +9 -0
- data/lib/pulp_container_client/models/container_blob_response.rb +10 -1
- data/lib/pulp_container_client/models/container_container_distribution.rb +34 -34
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +71 -71
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +34 -34
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +71 -71
- data/lib/pulp_container_client/models/container_container_pull_through_remote.rb +0 -15
- data/lib/pulp_container_client/models/container_container_pull_through_remote_response.rb +0 -15
- data/lib/pulp_container_client/models/container_container_push_repository.rb +33 -48
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +66 -81
- data/lib/pulp_container_client/models/container_container_remote.rb +0 -15
- data/lib/pulp_container_client/models/container_container_remote_response.rb +0 -15
- data/lib/pulp_container_client/models/container_container_repository.rb +0 -15
- data/lib/pulp_container_client/models/container_container_repository_response.rb +0 -15
- data/lib/pulp_container_client/models/container_manifest_response.rb +10 -1
- data/lib/pulp_container_client/models/container_manifest_signature_response.rb +10 -1
- data/lib/pulp_container_client/models/container_tag_response.rb +10 -1
- data/lib/pulp_container_client/models/paginated_repository_version_response_list.rb +0 -2
- data/lib/pulp_container_client/models/paginatedcontainer_blob_response_list.rb +0 -2
- data/lib/pulp_container_client/models/paginatedcontainer_container_distribution_response_list.rb +0 -2
- data/lib/pulp_container_client/models/paginatedcontainer_container_namespace_response_list.rb +0 -2
- data/lib/pulp_container_client/models/paginatedcontainer_container_pull_through_distribution_response_list.rb +0 -2
- data/lib/pulp_container_client/models/paginatedcontainer_container_pull_through_remote_response_list.rb +0 -2
- data/lib/pulp_container_client/models/paginatedcontainer_container_push_repository_response_list.rb +0 -2
- data/lib/pulp_container_client/models/paginatedcontainer_container_remote_response_list.rb +0 -2
- data/lib/pulp_container_client/models/paginatedcontainer_container_repository_response_list.rb +0 -2
- data/lib/pulp_container_client/models/paginatedcontainer_manifest_response_list.rb +0 -2
- data/lib/pulp_container_client/models/paginatedcontainer_manifest_signature_response_list.rb +0 -2
- data/lib/pulp_container_client/models/paginatedcontainer_tag_response_list.rb +0 -2
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +32 -32
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +32 -32
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_remote.rb +0 -15
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +31 -46
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +0 -15
- data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +0 -15
- data/lib/pulp_container_client/models/repository_version_response.rb +13 -4
- data/lib/pulp_container_client/version.rb +1 -1
- data/pulp_container_client.gemspec +0 -1
- data/spec/api/content_blobs_api_spec.rb +4 -0
- data/spec/api/content_manifests_api_spec.rb +4 -0
- data/spec/api/content_signatures_api_spec.rb +4 -0
- data/spec/api/content_tags_api_spec.rb +4 -0
- data/spec/api/distributions_container_api_spec.rb +12 -0
- data/spec/api/distributions_pull_through_api_spec.rb +12 -0
- data/spec/api/pulp_container_namespaces_api_spec.rb +8 -0
- data/spec/api/remotes_container_api_spec.rb +12 -0
- data/spec/api/remotes_pull_through_api_spec.rb +12 -0
- data/spec/api/repositories_container_api_spec.rb +21 -0
- data/spec/api/repositories_container_push_api_spec.rb +13 -0
- data/spec/api/repositories_container_push_versions_api_spec.rb +5 -1
- data/spec/api/repositories_container_versions_api_spec.rb +5 -1
- data/spec/api/token_api_spec.rb +3 -0
- data/spec/models/container_blob_response_spec.rb +6 -0
- data/spec/models/container_container_distribution_response_spec.rb +10 -10
- data/spec/models/container_container_distribution_spec.rb +4 -4
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +10 -10
- data/spec/models/container_container_pull_through_distribution_spec.rb +4 -4
- data/spec/models/container_container_push_repository_response_spec.rb +11 -11
- data/spec/models/container_container_push_repository_spec.rb +5 -5
- data/spec/models/container_manifest_response_spec.rb +6 -0
- data/spec/models/container_manifest_signature_response_spec.rb +6 -0
- data/spec/models/container_tag_response_spec.rb +6 -0
- data/spec/models/patchedcontainer_container_distribution_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +5 -5
- data/spec/models/repository_version_response_spec.rb +6 -0
- metadata +62 -82
@@ -21,7 +21,7 @@ All URIs are relative to *http://localhost:24817*
|
|
21
21
|
|
22
22
|
## add_role
|
23
23
|
|
24
|
-
> <NestedRoleResponse> add_role(container_container_push_repository_href, nested_role)
|
24
|
+
> <NestedRoleResponse> add_role(container_container_push_repository_href, nested_role, opts)
|
25
25
|
|
26
26
|
Add a role
|
27
27
|
|
@@ -42,10 +42,13 @@ end
|
|
42
42
|
api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
|
43
43
|
container_container_push_repository_href = 'container_container_push_repository_href_example' # String |
|
44
44
|
nested_role = PulpContainerClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
45
|
+
opts = {
|
46
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
47
|
+
}
|
45
48
|
|
46
49
|
begin
|
47
50
|
# Add a role
|
48
|
-
result = api_instance.add_role(container_container_push_repository_href, nested_role)
|
51
|
+
result = api_instance.add_role(container_container_push_repository_href, nested_role, opts)
|
49
52
|
p result
|
50
53
|
rescue PulpContainerClient::ApiError => e
|
51
54
|
puts "Error when calling RepositoriesContainerPushApi->add_role: #{e}"
|
@@ -56,12 +59,12 @@ end
|
|
56
59
|
|
57
60
|
This returns an Array which contains the response data, status code and headers.
|
58
61
|
|
59
|
-
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(container_container_push_repository_href, nested_role)
|
62
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(container_container_push_repository_href, nested_role, opts)
|
60
63
|
|
61
64
|
```ruby
|
62
65
|
begin
|
63
66
|
# Add a role
|
64
|
-
data, status_code, headers = api_instance.add_role_with_http_info(container_container_push_repository_href, nested_role)
|
67
|
+
data, status_code, headers = api_instance.add_role_with_http_info(container_container_push_repository_href, nested_role, opts)
|
65
68
|
p status_code # => 2xx
|
66
69
|
p headers # => { ... }
|
67
70
|
p data # => <NestedRoleResponse>
|
@@ -76,6 +79,7 @@ end
|
|
76
79
|
| ---- | ---- | ----------- | ----- |
|
77
80
|
| **container_container_push_repository_href** | **String** | | |
|
78
81
|
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
82
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
79
83
|
|
80
84
|
### Return type
|
81
85
|
|
@@ -113,6 +117,7 @@ end
|
|
113
117
|
|
114
118
|
api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
|
115
119
|
opts = {
|
120
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
116
121
|
latest_with_content: 'latest_with_content_example', # String | Content Unit referenced by HREF/PRN
|
117
122
|
limit: 56, # Integer | Number of results to return per page.
|
118
123
|
name: 'name_example', # String | Filter results where name matches value
|
@@ -176,6 +181,7 @@ end
|
|
176
181
|
|
177
182
|
| Name | Type | Description | Notes |
|
178
183
|
| ---- | ---- | ----------- | ----- |
|
184
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
179
185
|
| **latest_with_content** | **String** | Content Unit referenced by HREF/PRN | [optional] |
|
180
186
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
181
187
|
| **name** | **String** | Filter results where name matches value | [optional] |
|
@@ -244,6 +250,7 @@ end
|
|
244
250
|
api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
|
245
251
|
container_container_push_repository_href = 'container_container_push_repository_href_example' # String |
|
246
252
|
opts = {
|
253
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
247
254
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
248
255
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
249
256
|
}
|
@@ -280,6 +287,7 @@ end
|
|
280
287
|
| Name | Type | Description | Notes |
|
281
288
|
| ---- | ---- | ----------- | ----- |
|
282
289
|
| **container_container_push_repository_href** | **String** | | |
|
290
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
283
291
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
284
292
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
285
293
|
|
@@ -320,6 +328,7 @@ end
|
|
320
328
|
api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
|
321
329
|
container_container_push_repository_href = 'container_container_push_repository_href_example' # String |
|
322
330
|
opts = {
|
331
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
323
332
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
324
333
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
325
334
|
}
|
@@ -356,6 +365,7 @@ end
|
|
356
365
|
| Name | Type | Description | Notes |
|
357
366
|
| ---- | ---- | ----------- | ----- |
|
358
367
|
| **container_container_push_repository_href** | **String** | | |
|
368
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
359
369
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
360
370
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
361
371
|
|
@@ -375,7 +385,7 @@ end
|
|
375
385
|
|
376
386
|
## partial_update
|
377
387
|
|
378
|
-
> <AsyncOperationResponse> partial_update(container_container_push_repository_href, patchedcontainer_container_push_repository)
|
388
|
+
> <AsyncOperationResponse> partial_update(container_container_push_repository_href, patchedcontainer_container_push_repository, opts)
|
379
389
|
|
380
390
|
Update a container push repository
|
381
391
|
|
@@ -396,10 +406,13 @@ end
|
|
396
406
|
api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
|
397
407
|
container_container_push_repository_href = 'container_container_push_repository_href_example' # String |
|
398
408
|
patchedcontainer_container_push_repository = PulpContainerClient::PatchedcontainerContainerPushRepository.new # PatchedcontainerContainerPushRepository |
|
409
|
+
opts = {
|
410
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
411
|
+
}
|
399
412
|
|
400
413
|
begin
|
401
414
|
# Update a container push repository
|
402
|
-
result = api_instance.partial_update(container_container_push_repository_href, patchedcontainer_container_push_repository)
|
415
|
+
result = api_instance.partial_update(container_container_push_repository_href, patchedcontainer_container_push_repository, opts)
|
403
416
|
p result
|
404
417
|
rescue PulpContainerClient::ApiError => e
|
405
418
|
puts "Error when calling RepositoriesContainerPushApi->partial_update: #{e}"
|
@@ -410,12 +423,12 @@ end
|
|
410
423
|
|
411
424
|
This returns an Array which contains the response data, status code and headers.
|
412
425
|
|
413
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(container_container_push_repository_href, patchedcontainer_container_push_repository)
|
426
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(container_container_push_repository_href, patchedcontainer_container_push_repository, opts)
|
414
427
|
|
415
428
|
```ruby
|
416
429
|
begin
|
417
430
|
# Update a container push repository
|
418
|
-
data, status_code, headers = api_instance.partial_update_with_http_info(container_container_push_repository_href, patchedcontainer_container_push_repository)
|
431
|
+
data, status_code, headers = api_instance.partial_update_with_http_info(container_container_push_repository_href, patchedcontainer_container_push_repository, opts)
|
419
432
|
p status_code # => 2xx
|
420
433
|
p headers # => { ... }
|
421
434
|
p data # => <AsyncOperationResponse>
|
@@ -430,6 +443,7 @@ end
|
|
430
443
|
| ---- | ---- | ----------- | ----- |
|
431
444
|
| **container_container_push_repository_href** | **String** | | |
|
432
445
|
| **patchedcontainer_container_push_repository** | [**PatchedcontainerContainerPushRepository**](PatchedcontainerContainerPushRepository.md) | | |
|
446
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
433
447
|
|
434
448
|
### Return type
|
435
449
|
|
@@ -468,6 +482,7 @@ end
|
|
468
482
|
api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
|
469
483
|
container_container_push_repository_href = 'container_container_push_repository_href_example' # String |
|
470
484
|
opts = {
|
485
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
471
486
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
472
487
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
473
488
|
}
|
@@ -504,6 +519,7 @@ end
|
|
504
519
|
| Name | Type | Description | Notes |
|
505
520
|
| ---- | ---- | ----------- | ----- |
|
506
521
|
| **container_container_push_repository_href** | **String** | | |
|
522
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
507
523
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
508
524
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
509
525
|
|
@@ -523,7 +539,7 @@ end
|
|
523
539
|
|
524
540
|
## remove_image
|
525
541
|
|
526
|
-
> <AsyncOperationResponse> remove_image(container_container_push_repository_href, remove_image)
|
542
|
+
> <AsyncOperationResponse> remove_image(container_container_push_repository_href, remove_image, opts)
|
527
543
|
|
528
544
|
Delete an image from a repository
|
529
545
|
|
@@ -544,10 +560,13 @@ end
|
|
544
560
|
api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
|
545
561
|
container_container_push_repository_href = 'container_container_push_repository_href_example' # String |
|
546
562
|
remove_image = PulpContainerClient::RemoveImage.new({digest: 'digest_example'}) # RemoveImage |
|
563
|
+
opts = {
|
564
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
565
|
+
}
|
547
566
|
|
548
567
|
begin
|
549
568
|
# Delete an image from a repository
|
550
|
-
result = api_instance.remove_image(container_container_push_repository_href, remove_image)
|
569
|
+
result = api_instance.remove_image(container_container_push_repository_href, remove_image, opts)
|
551
570
|
p result
|
552
571
|
rescue PulpContainerClient::ApiError => e
|
553
572
|
puts "Error when calling RepositoriesContainerPushApi->remove_image: #{e}"
|
@@ -558,12 +577,12 @@ end
|
|
558
577
|
|
559
578
|
This returns an Array which contains the response data, status code and headers.
|
560
579
|
|
561
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> remove_image_with_http_info(container_container_push_repository_href, remove_image)
|
580
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> remove_image_with_http_info(container_container_push_repository_href, remove_image, opts)
|
562
581
|
|
563
582
|
```ruby
|
564
583
|
begin
|
565
584
|
# Delete an image from a repository
|
566
|
-
data, status_code, headers = api_instance.remove_image_with_http_info(container_container_push_repository_href, remove_image)
|
585
|
+
data, status_code, headers = api_instance.remove_image_with_http_info(container_container_push_repository_href, remove_image, opts)
|
567
586
|
p status_code # => 2xx
|
568
587
|
p headers # => { ... }
|
569
588
|
p data # => <AsyncOperationResponse>
|
@@ -578,6 +597,7 @@ end
|
|
578
597
|
| ---- | ---- | ----------- | ----- |
|
579
598
|
| **container_container_push_repository_href** | **String** | | |
|
580
599
|
| **remove_image** | [**RemoveImage**](RemoveImage.md) | | |
|
600
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
581
601
|
|
582
602
|
### Return type
|
583
603
|
|
@@ -595,7 +615,7 @@ end
|
|
595
615
|
|
596
616
|
## remove_role
|
597
617
|
|
598
|
-
> <NestedRoleResponse> remove_role(container_container_push_repository_href, nested_role)
|
618
|
+
> <NestedRoleResponse> remove_role(container_container_push_repository_href, nested_role, opts)
|
599
619
|
|
600
620
|
Remove a role
|
601
621
|
|
@@ -616,10 +636,13 @@ end
|
|
616
636
|
api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
|
617
637
|
container_container_push_repository_href = 'container_container_push_repository_href_example' # String |
|
618
638
|
nested_role = PulpContainerClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
639
|
+
opts = {
|
640
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
641
|
+
}
|
619
642
|
|
620
643
|
begin
|
621
644
|
# Remove a role
|
622
|
-
result = api_instance.remove_role(container_container_push_repository_href, nested_role)
|
645
|
+
result = api_instance.remove_role(container_container_push_repository_href, nested_role, opts)
|
623
646
|
p result
|
624
647
|
rescue PulpContainerClient::ApiError => e
|
625
648
|
puts "Error when calling RepositoriesContainerPushApi->remove_role: #{e}"
|
@@ -630,12 +653,12 @@ end
|
|
630
653
|
|
631
654
|
This returns an Array which contains the response data, status code and headers.
|
632
655
|
|
633
|
-
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(container_container_push_repository_href, nested_role)
|
656
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(container_container_push_repository_href, nested_role, opts)
|
634
657
|
|
635
658
|
```ruby
|
636
659
|
begin
|
637
660
|
# Remove a role
|
638
|
-
data, status_code, headers = api_instance.remove_role_with_http_info(container_container_push_repository_href, nested_role)
|
661
|
+
data, status_code, headers = api_instance.remove_role_with_http_info(container_container_push_repository_href, nested_role, opts)
|
639
662
|
p status_code # => 2xx
|
640
663
|
p headers # => { ... }
|
641
664
|
p data # => <NestedRoleResponse>
|
@@ -650,6 +673,7 @@ end
|
|
650
673
|
| ---- | ---- | ----------- | ----- |
|
651
674
|
| **container_container_push_repository_href** | **String** | | |
|
652
675
|
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
676
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
653
677
|
|
654
678
|
### Return type
|
655
679
|
|
@@ -667,7 +691,7 @@ end
|
|
667
691
|
|
668
692
|
## remove_signatures
|
669
693
|
|
670
|
-
> <RemoveSignaturesResponse> remove_signatures(container_container_push_repository_href, remove_signatures)
|
694
|
+
> <RemoveSignaturesResponse> remove_signatures(container_container_push_repository_href, remove_signatures, opts)
|
671
695
|
|
672
696
|
|
673
697
|
|
@@ -688,10 +712,13 @@ end
|
|
688
712
|
api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
|
689
713
|
container_container_push_repository_href = 'container_container_push_repository_href_example' # String |
|
690
714
|
remove_signatures = PulpContainerClient::RemoveSignatures.new({signed_with_key_id: 'signed_with_key_id_example'}) # RemoveSignatures |
|
715
|
+
opts = {
|
716
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
717
|
+
}
|
691
718
|
|
692
719
|
begin
|
693
720
|
|
694
|
-
result = api_instance.remove_signatures(container_container_push_repository_href, remove_signatures)
|
721
|
+
result = api_instance.remove_signatures(container_container_push_repository_href, remove_signatures, opts)
|
695
722
|
p result
|
696
723
|
rescue PulpContainerClient::ApiError => e
|
697
724
|
puts "Error when calling RepositoriesContainerPushApi->remove_signatures: #{e}"
|
@@ -702,12 +729,12 @@ end
|
|
702
729
|
|
703
730
|
This returns an Array which contains the response data, status code and headers.
|
704
731
|
|
705
|
-
> <Array(<RemoveSignaturesResponse>, Integer, Hash)> remove_signatures_with_http_info(container_container_push_repository_href, remove_signatures)
|
732
|
+
> <Array(<RemoveSignaturesResponse>, Integer, Hash)> remove_signatures_with_http_info(container_container_push_repository_href, remove_signatures, opts)
|
706
733
|
|
707
734
|
```ruby
|
708
735
|
begin
|
709
736
|
|
710
|
-
data, status_code, headers = api_instance.remove_signatures_with_http_info(container_container_push_repository_href, remove_signatures)
|
737
|
+
data, status_code, headers = api_instance.remove_signatures_with_http_info(container_container_push_repository_href, remove_signatures, opts)
|
711
738
|
p status_code # => 2xx
|
712
739
|
p headers # => { ... }
|
713
740
|
p data # => <RemoveSignaturesResponse>
|
@@ -722,6 +749,7 @@ end
|
|
722
749
|
| ---- | ---- | ----------- | ----- |
|
723
750
|
| **container_container_push_repository_href** | **String** | | |
|
724
751
|
| **remove_signatures** | [**RemoveSignatures**](RemoveSignatures.md) | | |
|
752
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
725
753
|
|
726
754
|
### Return type
|
727
755
|
|
@@ -739,7 +767,7 @@ end
|
|
739
767
|
|
740
768
|
## sign
|
741
769
|
|
742
|
-
> <AsyncOperationResponse> sign(container_container_push_repository_href, repository_sign)
|
770
|
+
> <AsyncOperationResponse> sign(container_container_push_repository_href, repository_sign, opts)
|
743
771
|
|
744
772
|
Sign images in the repo
|
745
773
|
|
@@ -760,10 +788,13 @@ end
|
|
760
788
|
api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
|
761
789
|
container_container_push_repository_href = 'container_container_push_repository_href_example' # String |
|
762
790
|
repository_sign = PulpContainerClient::RepositorySign.new # RepositorySign |
|
791
|
+
opts = {
|
792
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
793
|
+
}
|
763
794
|
|
764
795
|
begin
|
765
796
|
# Sign images in the repo
|
766
|
-
result = api_instance.sign(container_container_push_repository_href, repository_sign)
|
797
|
+
result = api_instance.sign(container_container_push_repository_href, repository_sign, opts)
|
767
798
|
p result
|
768
799
|
rescue PulpContainerClient::ApiError => e
|
769
800
|
puts "Error when calling RepositoriesContainerPushApi->sign: #{e}"
|
@@ -774,12 +805,12 @@ end
|
|
774
805
|
|
775
806
|
This returns an Array which contains the response data, status code and headers.
|
776
807
|
|
777
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> sign_with_http_info(container_container_push_repository_href, repository_sign)
|
808
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> sign_with_http_info(container_container_push_repository_href, repository_sign, opts)
|
778
809
|
|
779
810
|
```ruby
|
780
811
|
begin
|
781
812
|
# Sign images in the repo
|
782
|
-
data, status_code, headers = api_instance.sign_with_http_info(container_container_push_repository_href, repository_sign)
|
813
|
+
data, status_code, headers = api_instance.sign_with_http_info(container_container_push_repository_href, repository_sign, opts)
|
783
814
|
p status_code # => 2xx
|
784
815
|
p headers # => { ... }
|
785
816
|
p data # => <AsyncOperationResponse>
|
@@ -794,6 +825,7 @@ end
|
|
794
825
|
| ---- | ---- | ----------- | ----- |
|
795
826
|
| **container_container_push_repository_href** | **String** | | |
|
796
827
|
| **repository_sign** | [**RepositorySign**](RepositorySign.md) | | |
|
828
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
797
829
|
|
798
830
|
### Return type
|
799
831
|
|
@@ -811,7 +843,7 @@ end
|
|
811
843
|
|
812
844
|
## tag
|
813
845
|
|
814
|
-
> <AsyncOperationResponse> tag(container_container_push_repository_href, tag_image)
|
846
|
+
> <AsyncOperationResponse> tag(container_container_push_repository_href, tag_image, opts)
|
815
847
|
|
816
848
|
Create a Tag
|
817
849
|
|
@@ -832,10 +864,13 @@ end
|
|
832
864
|
api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
|
833
865
|
container_container_push_repository_href = 'container_container_push_repository_href_example' # String |
|
834
866
|
tag_image = PulpContainerClient::TagImage.new({tag: 'tag_example', digest: 'digest_example'}) # TagImage |
|
867
|
+
opts = {
|
868
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
869
|
+
}
|
835
870
|
|
836
871
|
begin
|
837
872
|
# Create a Tag
|
838
|
-
result = api_instance.tag(container_container_push_repository_href, tag_image)
|
873
|
+
result = api_instance.tag(container_container_push_repository_href, tag_image, opts)
|
839
874
|
p result
|
840
875
|
rescue PulpContainerClient::ApiError => e
|
841
876
|
puts "Error when calling RepositoriesContainerPushApi->tag: #{e}"
|
@@ -846,12 +881,12 @@ end
|
|
846
881
|
|
847
882
|
This returns an Array which contains the response data, status code and headers.
|
848
883
|
|
849
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> tag_with_http_info(container_container_push_repository_href, tag_image)
|
884
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> tag_with_http_info(container_container_push_repository_href, tag_image, opts)
|
850
885
|
|
851
886
|
```ruby
|
852
887
|
begin
|
853
888
|
# Create a Tag
|
854
|
-
data, status_code, headers = api_instance.tag_with_http_info(container_container_push_repository_href, tag_image)
|
889
|
+
data, status_code, headers = api_instance.tag_with_http_info(container_container_push_repository_href, tag_image, opts)
|
855
890
|
p status_code # => 2xx
|
856
891
|
p headers # => { ... }
|
857
892
|
p data # => <AsyncOperationResponse>
|
@@ -866,6 +901,7 @@ end
|
|
866
901
|
| ---- | ---- | ----------- | ----- |
|
867
902
|
| **container_container_push_repository_href** | **String** | | |
|
868
903
|
| **tag_image** | [**TagImage**](TagImage.md) | | |
|
904
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
869
905
|
|
870
906
|
### Return type
|
871
907
|
|
@@ -883,7 +919,7 @@ end
|
|
883
919
|
|
884
920
|
## untag
|
885
921
|
|
886
|
-
> <AsyncOperationResponse> untag(container_container_push_repository_href, un_tag_image)
|
922
|
+
> <AsyncOperationResponse> untag(container_container_push_repository_href, un_tag_image, opts)
|
887
923
|
|
888
924
|
Delete a tag
|
889
925
|
|
@@ -904,10 +940,13 @@ end
|
|
904
940
|
api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
|
905
941
|
container_container_push_repository_href = 'container_container_push_repository_href_example' # String |
|
906
942
|
un_tag_image = PulpContainerClient::UnTagImage.new({tag: 'tag_example'}) # UnTagImage |
|
943
|
+
opts = {
|
944
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
945
|
+
}
|
907
946
|
|
908
947
|
begin
|
909
948
|
# Delete a tag
|
910
|
-
result = api_instance.untag(container_container_push_repository_href, un_tag_image)
|
949
|
+
result = api_instance.untag(container_container_push_repository_href, un_tag_image, opts)
|
911
950
|
p result
|
912
951
|
rescue PulpContainerClient::ApiError => e
|
913
952
|
puts "Error when calling RepositoriesContainerPushApi->untag: #{e}"
|
@@ -918,12 +957,12 @@ end
|
|
918
957
|
|
919
958
|
This returns an Array which contains the response data, status code and headers.
|
920
959
|
|
921
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> untag_with_http_info(container_container_push_repository_href, un_tag_image)
|
960
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> untag_with_http_info(container_container_push_repository_href, un_tag_image, opts)
|
922
961
|
|
923
962
|
```ruby
|
924
963
|
begin
|
925
964
|
# Delete a tag
|
926
|
-
data, status_code, headers = api_instance.untag_with_http_info(container_container_push_repository_href, un_tag_image)
|
965
|
+
data, status_code, headers = api_instance.untag_with_http_info(container_container_push_repository_href, un_tag_image, opts)
|
927
966
|
p status_code # => 2xx
|
928
967
|
p headers # => { ... }
|
929
968
|
p data # => <AsyncOperationResponse>
|
@@ -938,6 +977,7 @@ end
|
|
938
977
|
| ---- | ---- | ----------- | ----- |
|
939
978
|
| **container_container_push_repository_href** | **String** | | |
|
940
979
|
| **un_tag_image** | [**UnTagImage**](UnTagImage.md) | | |
|
980
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
941
981
|
|
942
982
|
### Return type
|
943
983
|
|
@@ -955,7 +995,7 @@ end
|
|
955
995
|
|
956
996
|
## update
|
957
997
|
|
958
|
-
> <AsyncOperationResponse> update(container_container_push_repository_href, container_container_push_repository)
|
998
|
+
> <AsyncOperationResponse> update(container_container_push_repository_href, container_container_push_repository, opts)
|
959
999
|
|
960
1000
|
Update a container push repository
|
961
1001
|
|
@@ -976,10 +1016,13 @@ end
|
|
976
1016
|
api_instance = PulpContainerClient::RepositoriesContainerPushApi.new
|
977
1017
|
container_container_push_repository_href = 'container_container_push_repository_href_example' # String |
|
978
1018
|
container_container_push_repository = PulpContainerClient::ContainerContainerPushRepository.new({name: 'name_example'}) # ContainerContainerPushRepository |
|
1019
|
+
opts = {
|
1020
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
1021
|
+
}
|
979
1022
|
|
980
1023
|
begin
|
981
1024
|
# Update a container push repository
|
982
|
-
result = api_instance.update(container_container_push_repository_href, container_container_push_repository)
|
1025
|
+
result = api_instance.update(container_container_push_repository_href, container_container_push_repository, opts)
|
983
1026
|
p result
|
984
1027
|
rescue PulpContainerClient::ApiError => e
|
985
1028
|
puts "Error when calling RepositoriesContainerPushApi->update: #{e}"
|
@@ -990,12 +1033,12 @@ end
|
|
990
1033
|
|
991
1034
|
This returns an Array which contains the response data, status code and headers.
|
992
1035
|
|
993
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(container_container_push_repository_href, container_container_push_repository)
|
1036
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(container_container_push_repository_href, container_container_push_repository, opts)
|
994
1037
|
|
995
1038
|
```ruby
|
996
1039
|
begin
|
997
1040
|
# Update a container push repository
|
998
|
-
data, status_code, headers = api_instance.update_with_http_info(container_container_push_repository_href, container_container_push_repository)
|
1041
|
+
data, status_code, headers = api_instance.update_with_http_info(container_container_push_repository_href, container_container_push_repository, opts)
|
999
1042
|
p status_code # => 2xx
|
1000
1043
|
p headers # => { ... }
|
1001
1044
|
p data # => <AsyncOperationResponse>
|
@@ -1010,6 +1053,7 @@ end
|
|
1010
1053
|
| ---- | ---- | ----------- | ----- |
|
1011
1054
|
| **container_container_push_repository_href** | **String** | | |
|
1012
1055
|
| **container_container_push_repository** | [**ContainerContainerPushRepository**](ContainerContainerPushRepository.md) | | |
|
1056
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
1013
1057
|
|
1014
1058
|
### Return type
|
1015
1059
|
|
@@ -12,7 +12,7 @@ All URIs are relative to *http://localhost:24817*
|
|
12
12
|
|
13
13
|
## delete
|
14
14
|
|
15
|
-
> <AsyncOperationResponse> delete(container_container_push_repository_version_href)
|
15
|
+
> <AsyncOperationResponse> delete(container_container_push_repository_version_href, opts)
|
16
16
|
|
17
17
|
Delete a repository version
|
18
18
|
|
@@ -32,10 +32,13 @@ end
|
|
32
32
|
|
33
33
|
api_instance = PulpContainerClient::RepositoriesContainerPushVersionsApi.new
|
34
34
|
container_container_push_repository_version_href = 'container_container_push_repository_version_href_example' # String |
|
35
|
+
opts = {
|
36
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
37
|
+
}
|
35
38
|
|
36
39
|
begin
|
37
40
|
# Delete a repository version
|
38
|
-
result = api_instance.delete(container_container_push_repository_version_href)
|
41
|
+
result = api_instance.delete(container_container_push_repository_version_href, opts)
|
39
42
|
p result
|
40
43
|
rescue PulpContainerClient::ApiError => e
|
41
44
|
puts "Error when calling RepositoriesContainerPushVersionsApi->delete: #{e}"
|
@@ -46,12 +49,12 @@ end
|
|
46
49
|
|
47
50
|
This returns an Array which contains the response data, status code and headers.
|
48
51
|
|
49
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(container_container_push_repository_version_href)
|
52
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(container_container_push_repository_version_href, opts)
|
50
53
|
|
51
54
|
```ruby
|
52
55
|
begin
|
53
56
|
# Delete a repository version
|
54
|
-
data, status_code, headers = api_instance.delete_with_http_info(container_container_push_repository_version_href)
|
57
|
+
data, status_code, headers = api_instance.delete_with_http_info(container_container_push_repository_version_href, opts)
|
55
58
|
p status_code # => 2xx
|
56
59
|
p headers # => { ... }
|
57
60
|
p data # => <AsyncOperationResponse>
|
@@ -65,6 +68,7 @@ end
|
|
65
68
|
| Name | Type | Description | Notes |
|
66
69
|
| ---- | ---- | ----------- | ----- |
|
67
70
|
| **container_container_push_repository_version_href** | **String** | | |
|
71
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
68
72
|
|
69
73
|
### Return type
|
70
74
|
|
@@ -103,6 +107,7 @@ end
|
|
103
107
|
api_instance = PulpContainerClient::RepositoriesContainerPushVersionsApi.new
|
104
108
|
container_container_push_repository_href = 'container_container_push_repository_href_example' # String |
|
105
109
|
opts = {
|
110
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
106
111
|
content: 'content_example', # String | Content Unit referenced by HREF/PRN
|
107
112
|
content__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
108
113
|
limit: 56, # Integer | Number of results to return per page.
|
@@ -113,7 +118,7 @@ opts = {
|
|
113
118
|
number__lte: 56, # Integer | Filter results where number is less than or equal to value
|
114
119
|
number__range: [37], # Array<Integer> | Filter results where number is between two comma separated values
|
115
120
|
offset: 56, # Integer | The initial index from which to return the results.
|
116
|
-
ordering: ['-complete'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
121
|
+
ordering: ['-complete'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `content_ids` - Content ids * `-content_ids` - Content ids (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
117
122
|
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
118
123
|
pulp_created: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_created matches value
|
119
124
|
pulp_created__gt: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_created is greater than value
|
@@ -160,6 +165,7 @@ end
|
|
160
165
|
| Name | Type | Description | Notes |
|
161
166
|
| ---- | ---- | ----------- | ----- |
|
162
167
|
| **container_container_push_repository_href** | **String** | | |
|
168
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
163
169
|
| **content** | **String** | Content Unit referenced by HREF/PRN | [optional] |
|
164
170
|
| **content__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
165
171
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
@@ -170,7 +176,7 @@ end
|
|
170
176
|
| **number__lte** | **Integer** | Filter results where number is less than or equal to value | [optional] |
|
171
177
|
| **number__range** | [**Array<Integer>**](Integer.md) | Filter results where number is between two comma separated values | [optional] |
|
172
178
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
173
|
-
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
179
|
+
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `content_ids` - Content ids * `-content_ids` - Content ids (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
174
180
|
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
175
181
|
| **pulp_created** | **Time** | Filter results where pulp_created matches value | [optional] |
|
176
182
|
| **pulp_created__gt** | **Time** | Filter results where pulp_created is greater than value | [optional] |
|
@@ -221,6 +227,7 @@ end
|
|
221
227
|
api_instance = PulpContainerClient::RepositoriesContainerPushVersionsApi.new
|
222
228
|
container_container_push_repository_version_href = 'container_container_push_repository_version_href_example' # String |
|
223
229
|
opts = {
|
230
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
224
231
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
225
232
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
226
233
|
}
|
@@ -257,6 +264,7 @@ end
|
|
257
264
|
| Name | Type | Description | Notes |
|
258
265
|
| ---- | ---- | ----------- | ----- |
|
259
266
|
| **container_container_push_repository_version_href** | **String** | | |
|
267
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
260
268
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
261
269
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
262
270
|
|
@@ -276,7 +284,7 @@ end
|
|
276
284
|
|
277
285
|
## repair
|
278
286
|
|
279
|
-
> <AsyncOperationResponse> repair(container_container_push_repository_version_href, repair)
|
287
|
+
> <AsyncOperationResponse> repair(container_container_push_repository_version_href, repair, opts)
|
280
288
|
|
281
289
|
|
282
290
|
|
@@ -297,10 +305,13 @@ end
|
|
297
305
|
api_instance = PulpContainerClient::RepositoriesContainerPushVersionsApi.new
|
298
306
|
container_container_push_repository_version_href = 'container_container_push_repository_version_href_example' # String |
|
299
307
|
repair = PulpContainerClient::Repair.new # Repair |
|
308
|
+
opts = {
|
309
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
310
|
+
}
|
300
311
|
|
301
312
|
begin
|
302
313
|
|
303
|
-
result = api_instance.repair(container_container_push_repository_version_href, repair)
|
314
|
+
result = api_instance.repair(container_container_push_repository_version_href, repair, opts)
|
304
315
|
p result
|
305
316
|
rescue PulpContainerClient::ApiError => e
|
306
317
|
puts "Error when calling RepositoriesContainerPushVersionsApi->repair: #{e}"
|
@@ -311,12 +322,12 @@ end
|
|
311
322
|
|
312
323
|
This returns an Array which contains the response data, status code and headers.
|
313
324
|
|
314
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> repair_with_http_info(container_container_push_repository_version_href, repair)
|
325
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> repair_with_http_info(container_container_push_repository_version_href, repair, opts)
|
315
326
|
|
316
327
|
```ruby
|
317
328
|
begin
|
318
329
|
|
319
|
-
data, status_code, headers = api_instance.repair_with_http_info(container_container_push_repository_version_href, repair)
|
330
|
+
data, status_code, headers = api_instance.repair_with_http_info(container_container_push_repository_version_href, repair, opts)
|
320
331
|
p status_code # => 2xx
|
321
332
|
p headers # => { ... }
|
322
333
|
p data # => <AsyncOperationResponse>
|
@@ -331,6 +342,7 @@ end
|
|
331
342
|
| ---- | ---- | ----------- | ----- |
|
332
343
|
| **container_container_push_repository_version_href** | **String** | | |
|
333
344
|
| **repair** | [**Repair**](Repair.md) | | |
|
345
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
334
346
|
|
335
347
|
### Return type
|
336
348
|
|