pulp_container_client 2.24.3 → 2.25.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 +4 -5
- data/docs/ContainerContainerDistribution.md +8 -8
- data/docs/ContainerContainerDistributionResponse.md +14 -14
- data/docs/ContainerContainerPullThroughDistribution.md +8 -8
- data/docs/ContainerContainerPullThroughDistributionResponse.md +14 -14
- data/docs/ContainerContainerPushRepository.md +5 -5
- data/docs/ContainerContainerPushRepositoryResponse.md +14 -14
- data/docs/ContentBlobsApi.md +8 -20
- data/docs/ContentManifestsApi.md +8 -20
- data/docs/ContentSignaturesApi.md +8 -20
- data/docs/ContentTagsApi.md +8 -20
- data/docs/DistributionsContainerApi.md +34 -74
- data/docs/DistributionsPullThroughApi.md +34 -74
- data/docs/PatchedcontainerContainerDistribution.md +8 -8
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +8 -8
- data/docs/PatchedcontainerContainerPushRepository.md +5 -5
- data/docs/PulpContainerNamespacesApi.md +16 -40
- data/docs/RemotesContainerApi.md +32 -72
- data/docs/RemotesPullThroughApi.md +32 -72
- data/docs/RepositoriesContainerApi.md +64 -138
- data/docs/RepositoriesContainerPushApi.md +36 -80
- data/docs/RepositoriesContainerPushVersionsApi.md +10 -22
- data/docs/RepositoriesContainerVersionsApi.md +10 -22
- data/docs/TokenApi.md +5 -14
- data/lib/pulp_container_client/api/content_blobs_api.rb +0 -12
- data/lib/pulp_container_client/api/content_manifests_api.rb +0 -12
- data/lib/pulp_container_client/api/content_signatures_api.rb +0 -12
- data/lib/pulp_container_client/api/content_tags_api.rb +0 -12
- data/lib/pulp_container_client/api/distributions_container_api.rb +0 -36
- data/lib/pulp_container_client/api/distributions_pull_through_api.rb +0 -36
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +0 -24
- data/lib/pulp_container_client/api/remotes_container_api.rb +0 -36
- data/lib/pulp_container_client/api/remotes_pull_through_api.rb +0 -36
- data/lib/pulp_container_client/api/repositories_container_api.rb +0 -63
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +0 -39
- data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +3 -15
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +3 -15
- data/lib/pulp_container_client/api/token_api.rb +0 -9
- data/lib/pulp_container_client/models/container_container_distribution.rb +64 -64
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +70 -70
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +64 -64
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +70 -70
- data/lib/pulp_container_client/models/container_container_push_repository.rb +41 -41
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +62 -62
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +58 -58
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +58 -58
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +41 -41
- data/lib/pulp_container_client/version.rb +1 -1
- data/pulp_container_client.gemspec +1 -0
- data/spec/api/content_blobs_api_spec.rb +0 -4
- data/spec/api/content_manifests_api_spec.rb +0 -4
- data/spec/api/content_signatures_api_spec.rb +0 -4
- data/spec/api/content_tags_api_spec.rb +0 -4
- data/spec/api/distributions_container_api_spec.rb +0 -12
- data/spec/api/distributions_pull_through_api_spec.rb +0 -12
- data/spec/api/pulp_container_namespaces_api_spec.rb +0 -8
- data/spec/api/remotes_container_api_spec.rb +0 -12
- data/spec/api/remotes_pull_through_api_spec.rb +0 -12
- data/spec/api/repositories_container_api_spec.rb +0 -21
- data/spec/api/repositories_container_push_api_spec.rb +0 -13
- data/spec/api/repositories_container_push_versions_api_spec.rb +1 -5
- data/spec/api/repositories_container_versions_api_spec.rb +1 -5
- data/spec/api/token_api_spec.rb +0 -3
- data/spec/models/container_container_distribution_response_spec.rb +11 -11
- data/spec/models/container_container_distribution_spec.rb +6 -6
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +11 -11
- data/spec/models/container_container_pull_through_distribution_spec.rb +6 -6
- data/spec/models/container_container_push_repository_response_spec.rb +9 -9
- data/spec/models/container_container_push_repository_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_distribution_spec.rb +6 -6
- data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +6 -6
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +5 -5
- metadata +80 -60
|
@@ -20,7 +20,7 @@ All URIs are relative to *http://localhost:24817*
|
|
|
20
20
|
|
|
21
21
|
## add_role
|
|
22
22
|
|
|
23
|
-
> <NestedRoleResponse> add_role(container_container_distribution_href, nested_role
|
|
23
|
+
> <NestedRoleResponse> add_role(container_container_distribution_href, nested_role)
|
|
24
24
|
|
|
25
25
|
Add a role
|
|
26
26
|
|
|
@@ -41,13 +41,10 @@ end
|
|
|
41
41
|
api_instance = PulpContainerClient::DistributionsContainerApi.new
|
|
42
42
|
container_container_distribution_href = 'container_container_distribution_href_example' # String |
|
|
43
43
|
nested_role = PulpContainerClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
|
44
|
-
opts = {
|
|
45
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
46
|
-
}
|
|
47
44
|
|
|
48
45
|
begin
|
|
49
46
|
# Add a role
|
|
50
|
-
result = api_instance.add_role(container_container_distribution_href, nested_role
|
|
47
|
+
result = api_instance.add_role(container_container_distribution_href, nested_role)
|
|
51
48
|
p result
|
|
52
49
|
rescue PulpContainerClient::ApiError => e
|
|
53
50
|
puts "Error when calling DistributionsContainerApi->add_role: #{e}"
|
|
@@ -58,12 +55,12 @@ end
|
|
|
58
55
|
|
|
59
56
|
This returns an Array which contains the response data, status code and headers.
|
|
60
57
|
|
|
61
|
-
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(container_container_distribution_href, nested_role
|
|
58
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(container_container_distribution_href, nested_role)
|
|
62
59
|
|
|
63
60
|
```ruby
|
|
64
61
|
begin
|
|
65
62
|
# Add a role
|
|
66
|
-
data, status_code, headers = api_instance.add_role_with_http_info(container_container_distribution_href, nested_role
|
|
63
|
+
data, status_code, headers = api_instance.add_role_with_http_info(container_container_distribution_href, nested_role)
|
|
67
64
|
p status_code # => 2xx
|
|
68
65
|
p headers # => { ... }
|
|
69
66
|
p data # => <NestedRoleResponse>
|
|
@@ -78,7 +75,6 @@ end
|
|
|
78
75
|
| ---- | ---- | ----------- | ----- |
|
|
79
76
|
| **container_container_distribution_href** | **String** | | |
|
|
80
77
|
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
|
81
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
82
78
|
|
|
83
79
|
### Return type
|
|
84
80
|
|
|
@@ -96,7 +92,7 @@ end
|
|
|
96
92
|
|
|
97
93
|
## create
|
|
98
94
|
|
|
99
|
-
> <AsyncOperationResponse> create(container_container_distribution
|
|
95
|
+
> <AsyncOperationResponse> create(container_container_distribution)
|
|
100
96
|
|
|
101
97
|
Create a container distribution
|
|
102
98
|
|
|
@@ -115,14 +111,11 @@ PulpContainerClient.configure do |config|
|
|
|
115
111
|
end
|
|
116
112
|
|
|
117
113
|
api_instance = PulpContainerClient::DistributionsContainerApi.new
|
|
118
|
-
container_container_distribution = PulpContainerClient::ContainerContainerDistribution.new({
|
|
119
|
-
opts = {
|
|
120
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
121
|
-
}
|
|
114
|
+
container_container_distribution = PulpContainerClient::ContainerContainerDistribution.new({name: 'name_example', base_path: 'base_path_example'}) # ContainerContainerDistribution |
|
|
122
115
|
|
|
123
116
|
begin
|
|
124
117
|
# Create a container distribution
|
|
125
|
-
result = api_instance.create(container_container_distribution
|
|
118
|
+
result = api_instance.create(container_container_distribution)
|
|
126
119
|
p result
|
|
127
120
|
rescue PulpContainerClient::ApiError => e
|
|
128
121
|
puts "Error when calling DistributionsContainerApi->create: #{e}"
|
|
@@ -133,12 +126,12 @@ end
|
|
|
133
126
|
|
|
134
127
|
This returns an Array which contains the response data, status code and headers.
|
|
135
128
|
|
|
136
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(container_container_distribution
|
|
129
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(container_container_distribution)
|
|
137
130
|
|
|
138
131
|
```ruby
|
|
139
132
|
begin
|
|
140
133
|
# Create a container distribution
|
|
141
|
-
data, status_code, headers = api_instance.create_with_http_info(container_container_distribution
|
|
134
|
+
data, status_code, headers = api_instance.create_with_http_info(container_container_distribution)
|
|
142
135
|
p status_code # => 2xx
|
|
143
136
|
p headers # => { ... }
|
|
144
137
|
p data # => <AsyncOperationResponse>
|
|
@@ -152,7 +145,6 @@ end
|
|
|
152
145
|
| Name | Type | Description | Notes |
|
|
153
146
|
| ---- | ---- | ----------- | ----- |
|
|
154
147
|
| **container_container_distribution** | [**ContainerContainerDistribution**](ContainerContainerDistribution.md) | | |
|
|
155
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
156
148
|
|
|
157
149
|
### Return type
|
|
158
150
|
|
|
@@ -170,7 +162,7 @@ end
|
|
|
170
162
|
|
|
171
163
|
## delete
|
|
172
164
|
|
|
173
|
-
> <AsyncOperationResponse> delete(container_container_distribution_href
|
|
165
|
+
> <AsyncOperationResponse> delete(container_container_distribution_href)
|
|
174
166
|
|
|
175
167
|
Delete a container distribution
|
|
176
168
|
|
|
@@ -190,13 +182,10 @@ end
|
|
|
190
182
|
|
|
191
183
|
api_instance = PulpContainerClient::DistributionsContainerApi.new
|
|
192
184
|
container_container_distribution_href = 'container_container_distribution_href_example' # String |
|
|
193
|
-
opts = {
|
|
194
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
195
|
-
}
|
|
196
185
|
|
|
197
186
|
begin
|
|
198
187
|
# Delete a container distribution
|
|
199
|
-
result = api_instance.delete(container_container_distribution_href
|
|
188
|
+
result = api_instance.delete(container_container_distribution_href)
|
|
200
189
|
p result
|
|
201
190
|
rescue PulpContainerClient::ApiError => e
|
|
202
191
|
puts "Error when calling DistributionsContainerApi->delete: #{e}"
|
|
@@ -207,12 +196,12 @@ end
|
|
|
207
196
|
|
|
208
197
|
This returns an Array which contains the response data, status code and headers.
|
|
209
198
|
|
|
210
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(container_container_distribution_href
|
|
199
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(container_container_distribution_href)
|
|
211
200
|
|
|
212
201
|
```ruby
|
|
213
202
|
begin
|
|
214
203
|
# Delete a container distribution
|
|
215
|
-
data, status_code, headers = api_instance.delete_with_http_info(container_container_distribution_href
|
|
204
|
+
data, status_code, headers = api_instance.delete_with_http_info(container_container_distribution_href)
|
|
216
205
|
p status_code # => 2xx
|
|
217
206
|
p headers # => { ... }
|
|
218
207
|
p data # => <AsyncOperationResponse>
|
|
@@ -226,7 +215,6 @@ end
|
|
|
226
215
|
| Name | Type | Description | Notes |
|
|
227
216
|
| ---- | ---- | ----------- | ----- |
|
|
228
217
|
| **container_container_distribution_href** | **String** | | |
|
|
229
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
230
218
|
|
|
231
219
|
### Return type
|
|
232
220
|
|
|
@@ -264,7 +252,6 @@ end
|
|
|
264
252
|
|
|
265
253
|
api_instance = PulpContainerClient::DistributionsContainerApi.new
|
|
266
254
|
opts = {
|
|
267
|
-
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
268
255
|
base_path: 'base_path_example', # String | Filter results where base_path matches value
|
|
269
256
|
base_path__contains: 'base_path__contains_example', # String | Filter results where base_path contains value
|
|
270
257
|
base_path__icontains: 'base_path__icontains_example', # String | Filter results where base_path contains value
|
|
@@ -326,7 +313,6 @@ end
|
|
|
326
313
|
|
|
327
314
|
| Name | Type | Description | Notes |
|
|
328
315
|
| ---- | ---- | ----------- | ----- |
|
|
329
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
330
316
|
| **base_path** | **String** | Filter results where base_path matches value | [optional] |
|
|
331
317
|
| **base_path__contains** | **String** | Filter results where base_path contains value | [optional] |
|
|
332
318
|
| **base_path__icontains** | **String** | Filter results where base_path contains value | [optional] |
|
|
@@ -393,7 +379,6 @@ end
|
|
|
393
379
|
api_instance = PulpContainerClient::DistributionsContainerApi.new
|
|
394
380
|
container_container_distribution_href = 'container_container_distribution_href_example' # String |
|
|
395
381
|
opts = {
|
|
396
|
-
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
397
382
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
|
398
383
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
|
399
384
|
}
|
|
@@ -430,7 +415,6 @@ end
|
|
|
430
415
|
| Name | Type | Description | Notes |
|
|
431
416
|
| ---- | ---- | ----------- | ----- |
|
|
432
417
|
| **container_container_distribution_href** | **String** | | |
|
|
433
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
434
418
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
|
435
419
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
|
436
420
|
|
|
@@ -471,7 +455,6 @@ end
|
|
|
471
455
|
api_instance = PulpContainerClient::DistributionsContainerApi.new
|
|
472
456
|
container_container_distribution_href = 'container_container_distribution_href_example' # String |
|
|
473
457
|
opts = {
|
|
474
|
-
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
475
458
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
|
476
459
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
|
477
460
|
}
|
|
@@ -508,7 +491,6 @@ end
|
|
|
508
491
|
| Name | Type | Description | Notes |
|
|
509
492
|
| ---- | ---- | ----------- | ----- |
|
|
510
493
|
| **container_container_distribution_href** | **String** | | |
|
|
511
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
512
494
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
|
513
495
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
|
514
496
|
|
|
@@ -528,7 +510,7 @@ end
|
|
|
528
510
|
|
|
529
511
|
## partial_update
|
|
530
512
|
|
|
531
|
-
> <AsyncOperationResponse> partial_update(container_container_distribution_href, patchedcontainer_container_distribution
|
|
513
|
+
> <AsyncOperationResponse> partial_update(container_container_distribution_href, patchedcontainer_container_distribution)
|
|
532
514
|
|
|
533
515
|
Update a container distribution
|
|
534
516
|
|
|
@@ -549,13 +531,10 @@ end
|
|
|
549
531
|
api_instance = PulpContainerClient::DistributionsContainerApi.new
|
|
550
532
|
container_container_distribution_href = 'container_container_distribution_href_example' # String |
|
|
551
533
|
patchedcontainer_container_distribution = PulpContainerClient::PatchedcontainerContainerDistribution.new # PatchedcontainerContainerDistribution |
|
|
552
|
-
opts = {
|
|
553
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
554
|
-
}
|
|
555
534
|
|
|
556
535
|
begin
|
|
557
536
|
# Update a container distribution
|
|
558
|
-
result = api_instance.partial_update(container_container_distribution_href, patchedcontainer_container_distribution
|
|
537
|
+
result = api_instance.partial_update(container_container_distribution_href, patchedcontainer_container_distribution)
|
|
559
538
|
p result
|
|
560
539
|
rescue PulpContainerClient::ApiError => e
|
|
561
540
|
puts "Error when calling DistributionsContainerApi->partial_update: #{e}"
|
|
@@ -566,12 +545,12 @@ end
|
|
|
566
545
|
|
|
567
546
|
This returns an Array which contains the response data, status code and headers.
|
|
568
547
|
|
|
569
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(container_container_distribution_href, patchedcontainer_container_distribution
|
|
548
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(container_container_distribution_href, patchedcontainer_container_distribution)
|
|
570
549
|
|
|
571
550
|
```ruby
|
|
572
551
|
begin
|
|
573
552
|
# Update a container distribution
|
|
574
|
-
data, status_code, headers = api_instance.partial_update_with_http_info(container_container_distribution_href, patchedcontainer_container_distribution
|
|
553
|
+
data, status_code, headers = api_instance.partial_update_with_http_info(container_container_distribution_href, patchedcontainer_container_distribution)
|
|
575
554
|
p status_code # => 2xx
|
|
576
555
|
p headers # => { ... }
|
|
577
556
|
p data # => <AsyncOperationResponse>
|
|
@@ -586,7 +565,6 @@ end
|
|
|
586
565
|
| ---- | ---- | ----------- | ----- |
|
|
587
566
|
| **container_container_distribution_href** | **String** | | |
|
|
588
567
|
| **patchedcontainer_container_distribution** | [**PatchedcontainerContainerDistribution**](PatchedcontainerContainerDistribution.md) | | |
|
|
589
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
590
568
|
|
|
591
569
|
### Return type
|
|
592
570
|
|
|
@@ -625,7 +603,6 @@ end
|
|
|
625
603
|
api_instance = PulpContainerClient::DistributionsContainerApi.new
|
|
626
604
|
container_container_distribution_href = 'container_container_distribution_href_example' # String |
|
|
627
605
|
opts = {
|
|
628
|
-
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
629
606
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
|
630
607
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
|
631
608
|
}
|
|
@@ -662,7 +639,6 @@ end
|
|
|
662
639
|
| Name | Type | Description | Notes |
|
|
663
640
|
| ---- | ---- | ----------- | ----- |
|
|
664
641
|
| **container_container_distribution_href** | **String** | | |
|
|
665
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
666
642
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
|
667
643
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
|
668
644
|
|
|
@@ -682,7 +658,7 @@ end
|
|
|
682
658
|
|
|
683
659
|
## remove_role
|
|
684
660
|
|
|
685
|
-
> <NestedRoleResponse> remove_role(container_container_distribution_href, nested_role
|
|
661
|
+
> <NestedRoleResponse> remove_role(container_container_distribution_href, nested_role)
|
|
686
662
|
|
|
687
663
|
Remove a role
|
|
688
664
|
|
|
@@ -703,13 +679,10 @@ end
|
|
|
703
679
|
api_instance = PulpContainerClient::DistributionsContainerApi.new
|
|
704
680
|
container_container_distribution_href = 'container_container_distribution_href_example' # String |
|
|
705
681
|
nested_role = PulpContainerClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
|
706
|
-
opts = {
|
|
707
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
708
|
-
}
|
|
709
682
|
|
|
710
683
|
begin
|
|
711
684
|
# Remove a role
|
|
712
|
-
result = api_instance.remove_role(container_container_distribution_href, nested_role
|
|
685
|
+
result = api_instance.remove_role(container_container_distribution_href, nested_role)
|
|
713
686
|
p result
|
|
714
687
|
rescue PulpContainerClient::ApiError => e
|
|
715
688
|
puts "Error when calling DistributionsContainerApi->remove_role: #{e}"
|
|
@@ -720,12 +693,12 @@ end
|
|
|
720
693
|
|
|
721
694
|
This returns an Array which contains the response data, status code and headers.
|
|
722
695
|
|
|
723
|
-
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(container_container_distribution_href, nested_role
|
|
696
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(container_container_distribution_href, nested_role)
|
|
724
697
|
|
|
725
698
|
```ruby
|
|
726
699
|
begin
|
|
727
700
|
# Remove a role
|
|
728
|
-
data, status_code, headers = api_instance.remove_role_with_http_info(container_container_distribution_href, nested_role
|
|
701
|
+
data, status_code, headers = api_instance.remove_role_with_http_info(container_container_distribution_href, nested_role)
|
|
729
702
|
p status_code # => 2xx
|
|
730
703
|
p headers # => { ... }
|
|
731
704
|
p data # => <NestedRoleResponse>
|
|
@@ -740,7 +713,6 @@ end
|
|
|
740
713
|
| ---- | ---- | ----------- | ----- |
|
|
741
714
|
| **container_container_distribution_href** | **String** | | |
|
|
742
715
|
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
|
743
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
744
716
|
|
|
745
717
|
### Return type
|
|
746
718
|
|
|
@@ -758,7 +730,7 @@ end
|
|
|
758
730
|
|
|
759
731
|
## set_label
|
|
760
732
|
|
|
761
|
-
> <SetLabelResponse> set_label(container_container_distribution_href, set_label
|
|
733
|
+
> <SetLabelResponse> set_label(container_container_distribution_href, set_label)
|
|
762
734
|
|
|
763
735
|
Set a label
|
|
764
736
|
|
|
@@ -779,13 +751,10 @@ end
|
|
|
779
751
|
api_instance = PulpContainerClient::DistributionsContainerApi.new
|
|
780
752
|
container_container_distribution_href = 'container_container_distribution_href_example' # String |
|
|
781
753
|
set_label = PulpContainerClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
|
782
|
-
opts = {
|
|
783
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
784
|
-
}
|
|
785
754
|
|
|
786
755
|
begin
|
|
787
756
|
# Set a label
|
|
788
|
-
result = api_instance.set_label(container_container_distribution_href, set_label
|
|
757
|
+
result = api_instance.set_label(container_container_distribution_href, set_label)
|
|
789
758
|
p result
|
|
790
759
|
rescue PulpContainerClient::ApiError => e
|
|
791
760
|
puts "Error when calling DistributionsContainerApi->set_label: #{e}"
|
|
@@ -796,12 +765,12 @@ end
|
|
|
796
765
|
|
|
797
766
|
This returns an Array which contains the response data, status code and headers.
|
|
798
767
|
|
|
799
|
-
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(container_container_distribution_href, set_label
|
|
768
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(container_container_distribution_href, set_label)
|
|
800
769
|
|
|
801
770
|
```ruby
|
|
802
771
|
begin
|
|
803
772
|
# Set a label
|
|
804
|
-
data, status_code, headers = api_instance.set_label_with_http_info(container_container_distribution_href, set_label
|
|
773
|
+
data, status_code, headers = api_instance.set_label_with_http_info(container_container_distribution_href, set_label)
|
|
805
774
|
p status_code # => 2xx
|
|
806
775
|
p headers # => { ... }
|
|
807
776
|
p data # => <SetLabelResponse>
|
|
@@ -816,7 +785,6 @@ end
|
|
|
816
785
|
| ---- | ---- | ----------- | ----- |
|
|
817
786
|
| **container_container_distribution_href** | **String** | | |
|
|
818
787
|
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
|
819
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
820
788
|
|
|
821
789
|
### Return type
|
|
822
790
|
|
|
@@ -834,7 +802,7 @@ end
|
|
|
834
802
|
|
|
835
803
|
## unset_label
|
|
836
804
|
|
|
837
|
-
> <UnsetLabelResponse> unset_label(container_container_distribution_href, unset_label
|
|
805
|
+
> <UnsetLabelResponse> unset_label(container_container_distribution_href, unset_label)
|
|
838
806
|
|
|
839
807
|
Unset a label
|
|
840
808
|
|
|
@@ -855,13 +823,10 @@ end
|
|
|
855
823
|
api_instance = PulpContainerClient::DistributionsContainerApi.new
|
|
856
824
|
container_container_distribution_href = 'container_container_distribution_href_example' # String |
|
|
857
825
|
unset_label = PulpContainerClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
|
858
|
-
opts = {
|
|
859
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
860
|
-
}
|
|
861
826
|
|
|
862
827
|
begin
|
|
863
828
|
# Unset a label
|
|
864
|
-
result = api_instance.unset_label(container_container_distribution_href, unset_label
|
|
829
|
+
result = api_instance.unset_label(container_container_distribution_href, unset_label)
|
|
865
830
|
p result
|
|
866
831
|
rescue PulpContainerClient::ApiError => e
|
|
867
832
|
puts "Error when calling DistributionsContainerApi->unset_label: #{e}"
|
|
@@ -872,12 +837,12 @@ end
|
|
|
872
837
|
|
|
873
838
|
This returns an Array which contains the response data, status code and headers.
|
|
874
839
|
|
|
875
|
-
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(container_container_distribution_href, unset_label
|
|
840
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(container_container_distribution_href, unset_label)
|
|
876
841
|
|
|
877
842
|
```ruby
|
|
878
843
|
begin
|
|
879
844
|
# Unset a label
|
|
880
|
-
data, status_code, headers = api_instance.unset_label_with_http_info(container_container_distribution_href, unset_label
|
|
845
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(container_container_distribution_href, unset_label)
|
|
881
846
|
p status_code # => 2xx
|
|
882
847
|
p headers # => { ... }
|
|
883
848
|
p data # => <UnsetLabelResponse>
|
|
@@ -892,7 +857,6 @@ end
|
|
|
892
857
|
| ---- | ---- | ----------- | ----- |
|
|
893
858
|
| **container_container_distribution_href** | **String** | | |
|
|
894
859
|
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
|
895
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
896
860
|
|
|
897
861
|
### Return type
|
|
898
862
|
|
|
@@ -910,7 +874,7 @@ end
|
|
|
910
874
|
|
|
911
875
|
## update
|
|
912
876
|
|
|
913
|
-
> <AsyncOperationResponse> update(container_container_distribution_href, container_container_distribution
|
|
877
|
+
> <AsyncOperationResponse> update(container_container_distribution_href, container_container_distribution)
|
|
914
878
|
|
|
915
879
|
Update a container distribution
|
|
916
880
|
|
|
@@ -930,14 +894,11 @@ end
|
|
|
930
894
|
|
|
931
895
|
api_instance = PulpContainerClient::DistributionsContainerApi.new
|
|
932
896
|
container_container_distribution_href = 'container_container_distribution_href_example' # String |
|
|
933
|
-
container_container_distribution = PulpContainerClient::ContainerContainerDistribution.new({
|
|
934
|
-
opts = {
|
|
935
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
936
|
-
}
|
|
897
|
+
container_container_distribution = PulpContainerClient::ContainerContainerDistribution.new({name: 'name_example', base_path: 'base_path_example'}) # ContainerContainerDistribution |
|
|
937
898
|
|
|
938
899
|
begin
|
|
939
900
|
# Update a container distribution
|
|
940
|
-
result = api_instance.update(container_container_distribution_href, container_container_distribution
|
|
901
|
+
result = api_instance.update(container_container_distribution_href, container_container_distribution)
|
|
941
902
|
p result
|
|
942
903
|
rescue PulpContainerClient::ApiError => e
|
|
943
904
|
puts "Error when calling DistributionsContainerApi->update: #{e}"
|
|
@@ -948,12 +909,12 @@ end
|
|
|
948
909
|
|
|
949
910
|
This returns an Array which contains the response data, status code and headers.
|
|
950
911
|
|
|
951
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(container_container_distribution_href, container_container_distribution
|
|
912
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(container_container_distribution_href, container_container_distribution)
|
|
952
913
|
|
|
953
914
|
```ruby
|
|
954
915
|
begin
|
|
955
916
|
# Update a container distribution
|
|
956
|
-
data, status_code, headers = api_instance.update_with_http_info(container_container_distribution_href, container_container_distribution
|
|
917
|
+
data, status_code, headers = api_instance.update_with_http_info(container_container_distribution_href, container_container_distribution)
|
|
957
918
|
p status_code # => 2xx
|
|
958
919
|
p headers # => { ... }
|
|
959
920
|
p data # => <AsyncOperationResponse>
|
|
@@ -968,7 +929,6 @@ end
|
|
|
968
929
|
| ---- | ---- | ----------- | ----- |
|
|
969
930
|
| **container_container_distribution_href** | **String** | | |
|
|
970
931
|
| **container_container_distribution** | [**ContainerContainerDistribution**](ContainerContainerDistribution.md) | | |
|
|
971
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
972
932
|
|
|
973
933
|
### Return type
|
|
974
934
|
|