pulp_container_client 2.24.6 → 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 +6 -6
- data/docs/ContainerContainerDistributionResponse.md +16 -16
- data/docs/ContainerContainerPullThroughDistribution.md +6 -6
- data/docs/ContainerContainerPullThroughDistributionResponse.md +16 -16
- data/docs/ContainerContainerPushRepository.md +5 -5
- data/docs/ContainerContainerPushRepositoryResponse.md +13 -13
- 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 +32 -72
- data/docs/DistributionsPullThroughApi.md +32 -72
- data/docs/PatchedcontainerContainerDistribution.md +6 -6
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +6 -6
- 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 +31 -31
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +73 -73
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +31 -31
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +73 -73
- data/lib/pulp_container_client/models/container_container_push_repository.rb +43 -43
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +66 -66
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +29 -29
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +29 -29
- 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 +5 -5
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +11 -11
- data/spec/models/container_container_pull_through_distribution_spec.rb +5 -5
- 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/patchedcontainer_container_distribution_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +5 -5
- metadata +80 -60
|
@@ -32,7 +32,6 @@ end
|
|
|
32
32
|
|
|
33
33
|
api_instance = PulpContainerClient::ContentSignaturesApi.new
|
|
34
34
|
opts = {
|
|
35
|
-
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
36
35
|
digest: 'digest_example', # String | Filter results where digest matches value
|
|
37
36
|
digest__in: ['inner_example'], # Array<String> | Filter results where digest is in a comma-separated list of values
|
|
38
37
|
key_id: 'key_id_example', # String | Filter results where key_id matches value
|
|
@@ -94,7 +93,6 @@ end
|
|
|
94
93
|
|
|
95
94
|
| Name | Type | Description | Notes |
|
|
96
95
|
| ---- | ---- | ----------- | ----- |
|
|
97
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
98
96
|
| **digest** | **String** | Filter results where digest matches value | [optional] |
|
|
99
97
|
| **digest__in** | [**Array<String>**](String.md) | Filter results where digest is in a comma-separated list of values | [optional] |
|
|
100
98
|
| **key_id** | **String** | Filter results where key_id matches value | [optional] |
|
|
@@ -161,7 +159,6 @@ end
|
|
|
161
159
|
api_instance = PulpContainerClient::ContentSignaturesApi.new
|
|
162
160
|
container_manifest_signature_href = 'container_manifest_signature_href_example' # String |
|
|
163
161
|
opts = {
|
|
164
|
-
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
165
162
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
|
166
163
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
|
167
164
|
}
|
|
@@ -198,7 +195,6 @@ end
|
|
|
198
195
|
| Name | Type | Description | Notes |
|
|
199
196
|
| ---- | ---- | ----------- | ----- |
|
|
200
197
|
| **container_manifest_signature_href** | **String** | | |
|
|
201
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
202
198
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
|
203
199
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
|
204
200
|
|
|
@@ -218,7 +214,7 @@ end
|
|
|
218
214
|
|
|
219
215
|
## set_label
|
|
220
216
|
|
|
221
|
-
> <SetLabelResponse> set_label(container_manifest_signature_href, set_label
|
|
217
|
+
> <SetLabelResponse> set_label(container_manifest_signature_href, set_label)
|
|
222
218
|
|
|
223
219
|
Set a label
|
|
224
220
|
|
|
@@ -239,13 +235,10 @@ end
|
|
|
239
235
|
api_instance = PulpContainerClient::ContentSignaturesApi.new
|
|
240
236
|
container_manifest_signature_href = 'container_manifest_signature_href_example' # String |
|
|
241
237
|
set_label = PulpContainerClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
|
242
|
-
opts = {
|
|
243
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
244
|
-
}
|
|
245
238
|
|
|
246
239
|
begin
|
|
247
240
|
# Set a label
|
|
248
|
-
result = api_instance.set_label(container_manifest_signature_href, set_label
|
|
241
|
+
result = api_instance.set_label(container_manifest_signature_href, set_label)
|
|
249
242
|
p result
|
|
250
243
|
rescue PulpContainerClient::ApiError => e
|
|
251
244
|
puts "Error when calling ContentSignaturesApi->set_label: #{e}"
|
|
@@ -256,12 +249,12 @@ end
|
|
|
256
249
|
|
|
257
250
|
This returns an Array which contains the response data, status code and headers.
|
|
258
251
|
|
|
259
|
-
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(container_manifest_signature_href, set_label
|
|
252
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(container_manifest_signature_href, set_label)
|
|
260
253
|
|
|
261
254
|
```ruby
|
|
262
255
|
begin
|
|
263
256
|
# Set a label
|
|
264
|
-
data, status_code, headers = api_instance.set_label_with_http_info(container_manifest_signature_href, set_label
|
|
257
|
+
data, status_code, headers = api_instance.set_label_with_http_info(container_manifest_signature_href, set_label)
|
|
265
258
|
p status_code # => 2xx
|
|
266
259
|
p headers # => { ... }
|
|
267
260
|
p data # => <SetLabelResponse>
|
|
@@ -276,7 +269,6 @@ end
|
|
|
276
269
|
| ---- | ---- | ----------- | ----- |
|
|
277
270
|
| **container_manifest_signature_href** | **String** | | |
|
|
278
271
|
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
|
279
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
280
272
|
|
|
281
273
|
### Return type
|
|
282
274
|
|
|
@@ -294,7 +286,7 @@ end
|
|
|
294
286
|
|
|
295
287
|
## unset_label
|
|
296
288
|
|
|
297
|
-
> <UnsetLabelResponse> unset_label(container_manifest_signature_href, unset_label
|
|
289
|
+
> <UnsetLabelResponse> unset_label(container_manifest_signature_href, unset_label)
|
|
298
290
|
|
|
299
291
|
Unset a label
|
|
300
292
|
|
|
@@ -315,13 +307,10 @@ end
|
|
|
315
307
|
api_instance = PulpContainerClient::ContentSignaturesApi.new
|
|
316
308
|
container_manifest_signature_href = 'container_manifest_signature_href_example' # String |
|
|
317
309
|
unset_label = PulpContainerClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
|
318
|
-
opts = {
|
|
319
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
320
|
-
}
|
|
321
310
|
|
|
322
311
|
begin
|
|
323
312
|
# Unset a label
|
|
324
|
-
result = api_instance.unset_label(container_manifest_signature_href, unset_label
|
|
313
|
+
result = api_instance.unset_label(container_manifest_signature_href, unset_label)
|
|
325
314
|
p result
|
|
326
315
|
rescue PulpContainerClient::ApiError => e
|
|
327
316
|
puts "Error when calling ContentSignaturesApi->unset_label: #{e}"
|
|
@@ -332,12 +321,12 @@ end
|
|
|
332
321
|
|
|
333
322
|
This returns an Array which contains the response data, status code and headers.
|
|
334
323
|
|
|
335
|
-
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(container_manifest_signature_href, unset_label
|
|
324
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(container_manifest_signature_href, unset_label)
|
|
336
325
|
|
|
337
326
|
```ruby
|
|
338
327
|
begin
|
|
339
328
|
# Unset a label
|
|
340
|
-
data, status_code, headers = api_instance.unset_label_with_http_info(container_manifest_signature_href, unset_label
|
|
329
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(container_manifest_signature_href, unset_label)
|
|
341
330
|
p status_code # => 2xx
|
|
342
331
|
p headers # => { ... }
|
|
343
332
|
p data # => <UnsetLabelResponse>
|
|
@@ -352,7 +341,6 @@ end
|
|
|
352
341
|
| ---- | ---- | ----------- | ----- |
|
|
353
342
|
| **container_manifest_signature_href** | **String** | | |
|
|
354
343
|
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
|
355
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
356
344
|
|
|
357
345
|
### Return type
|
|
358
346
|
|
data/docs/ContentTagsApi.md
CHANGED
|
@@ -32,7 +32,6 @@ end
|
|
|
32
32
|
|
|
33
33
|
api_instance = PulpContainerClient::ContentTagsApi.new
|
|
34
34
|
opts = {
|
|
35
|
-
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
36
35
|
digest: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
37
36
|
limit: 56, # Integer | Number of results to return per page.
|
|
38
37
|
media_type: ['application/vnd.docker.distribution.manifest.list.v2+json'], # Array<String> | * `application/vnd.docker.distribution.manifest.v1+json` - application/vnd.docker.distribution.manifest.v1+json * `application/vnd.docker.distribution.manifest.v2+json` - application/vnd.docker.distribution.manifest.v2+json * `application/vnd.docker.distribution.manifest.list.v2+json` - application/vnd.docker.distribution.manifest.list.v2+json * `application/vnd.oci.image.manifest.v1+json` - application/vnd.oci.image.manifest.v1+json * `application/vnd.oci.image.index.v1+json` - application/vnd.oci.image.index.v1+json
|
|
@@ -84,7 +83,6 @@ end
|
|
|
84
83
|
|
|
85
84
|
| Name | Type | Description | Notes |
|
|
86
85
|
| ---- | ---- | ----------- | ----- |
|
|
87
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
88
86
|
| **digest** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
89
87
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
|
90
88
|
| **media_type** | [**Array<String>**](String.md) | * `application/vnd.docker.distribution.manifest.v1+json` - application/vnd.docker.distribution.manifest.v1+json * `application/vnd.docker.distribution.manifest.v2+json` - application/vnd.docker.distribution.manifest.v2+json * `application/vnd.docker.distribution.manifest.list.v2+json` - application/vnd.docker.distribution.manifest.list.v2+json * `application/vnd.oci.image.manifest.v1+json` - application/vnd.oci.image.manifest.v1+json * `application/vnd.oci.image.index.v1+json` - application/vnd.oci.image.index.v1+json | [optional] |
|
|
@@ -141,7 +139,6 @@ end
|
|
|
141
139
|
api_instance = PulpContainerClient::ContentTagsApi.new
|
|
142
140
|
container_tag_href = 'container_tag_href_example' # String |
|
|
143
141
|
opts = {
|
|
144
|
-
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
145
142
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
|
146
143
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
|
147
144
|
}
|
|
@@ -178,7 +175,6 @@ end
|
|
|
178
175
|
| Name | Type | Description | Notes |
|
|
179
176
|
| ---- | ---- | ----------- | ----- |
|
|
180
177
|
| **container_tag_href** | **String** | | |
|
|
181
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
182
178
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
|
183
179
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
|
184
180
|
|
|
@@ -198,7 +194,7 @@ end
|
|
|
198
194
|
|
|
199
195
|
## set_label
|
|
200
196
|
|
|
201
|
-
> <SetLabelResponse> set_label(container_tag_href, set_label
|
|
197
|
+
> <SetLabelResponse> set_label(container_tag_href, set_label)
|
|
202
198
|
|
|
203
199
|
Set a label
|
|
204
200
|
|
|
@@ -219,13 +215,10 @@ end
|
|
|
219
215
|
api_instance = PulpContainerClient::ContentTagsApi.new
|
|
220
216
|
container_tag_href = 'container_tag_href_example' # String |
|
|
221
217
|
set_label = PulpContainerClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
|
222
|
-
opts = {
|
|
223
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
224
|
-
}
|
|
225
218
|
|
|
226
219
|
begin
|
|
227
220
|
# Set a label
|
|
228
|
-
result = api_instance.set_label(container_tag_href, set_label
|
|
221
|
+
result = api_instance.set_label(container_tag_href, set_label)
|
|
229
222
|
p result
|
|
230
223
|
rescue PulpContainerClient::ApiError => e
|
|
231
224
|
puts "Error when calling ContentTagsApi->set_label: #{e}"
|
|
@@ -236,12 +229,12 @@ end
|
|
|
236
229
|
|
|
237
230
|
This returns an Array which contains the response data, status code and headers.
|
|
238
231
|
|
|
239
|
-
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(container_tag_href, set_label
|
|
232
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(container_tag_href, set_label)
|
|
240
233
|
|
|
241
234
|
```ruby
|
|
242
235
|
begin
|
|
243
236
|
# Set a label
|
|
244
|
-
data, status_code, headers = api_instance.set_label_with_http_info(container_tag_href, set_label
|
|
237
|
+
data, status_code, headers = api_instance.set_label_with_http_info(container_tag_href, set_label)
|
|
245
238
|
p status_code # => 2xx
|
|
246
239
|
p headers # => { ... }
|
|
247
240
|
p data # => <SetLabelResponse>
|
|
@@ -256,7 +249,6 @@ end
|
|
|
256
249
|
| ---- | ---- | ----------- | ----- |
|
|
257
250
|
| **container_tag_href** | **String** | | |
|
|
258
251
|
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
|
259
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
260
252
|
|
|
261
253
|
### Return type
|
|
262
254
|
|
|
@@ -274,7 +266,7 @@ end
|
|
|
274
266
|
|
|
275
267
|
## unset_label
|
|
276
268
|
|
|
277
|
-
> <UnsetLabelResponse> unset_label(container_tag_href, unset_label
|
|
269
|
+
> <UnsetLabelResponse> unset_label(container_tag_href, unset_label)
|
|
278
270
|
|
|
279
271
|
Unset a label
|
|
280
272
|
|
|
@@ -295,13 +287,10 @@ end
|
|
|
295
287
|
api_instance = PulpContainerClient::ContentTagsApi.new
|
|
296
288
|
container_tag_href = 'container_tag_href_example' # String |
|
|
297
289
|
unset_label = PulpContainerClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
|
298
|
-
opts = {
|
|
299
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
300
|
-
}
|
|
301
290
|
|
|
302
291
|
begin
|
|
303
292
|
# Unset a label
|
|
304
|
-
result = api_instance.unset_label(container_tag_href, unset_label
|
|
293
|
+
result = api_instance.unset_label(container_tag_href, unset_label)
|
|
305
294
|
p result
|
|
306
295
|
rescue PulpContainerClient::ApiError => e
|
|
307
296
|
puts "Error when calling ContentTagsApi->unset_label: #{e}"
|
|
@@ -312,12 +301,12 @@ end
|
|
|
312
301
|
|
|
313
302
|
This returns an Array which contains the response data, status code and headers.
|
|
314
303
|
|
|
315
|
-
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(container_tag_href, unset_label
|
|
304
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(container_tag_href, unset_label)
|
|
316
305
|
|
|
317
306
|
```ruby
|
|
318
307
|
begin
|
|
319
308
|
# Unset a label
|
|
320
|
-
data, status_code, headers = api_instance.unset_label_with_http_info(container_tag_href, unset_label
|
|
309
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(container_tag_href, unset_label)
|
|
321
310
|
p status_code # => 2xx
|
|
322
311
|
p headers # => { ... }
|
|
323
312
|
p data # => <UnsetLabelResponse>
|
|
@@ -332,7 +321,6 @@ end
|
|
|
332
321
|
| ---- | ---- | ----------- | ----- |
|
|
333
322
|
| **container_tag_href** | **String** | | |
|
|
334
323
|
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
|
335
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
336
324
|
|
|
337
325
|
### Return type
|
|
338
326
|
|
|
@@ -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
|
|
|
@@ -116,13 +112,10 @@ end
|
|
|
116
112
|
|
|
117
113
|
api_instance = PulpContainerClient::DistributionsContainerApi.new
|
|
118
114
|
container_container_distribution = PulpContainerClient::ContainerContainerDistribution.new({name: 'name_example', base_path: 'base_path_example'}) # ContainerContainerDistribution |
|
|
119
|
-
opts = {
|
|
120
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
121
|
-
}
|
|
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
|
|
|
@@ -931,13 +895,10 @@ end
|
|
|
931
895
|
api_instance = PulpContainerClient::DistributionsContainerApi.new
|
|
932
896
|
container_container_distribution_href = 'container_container_distribution_href_example' # String |
|
|
933
897
|
container_container_distribution = PulpContainerClient::ContainerContainerDistribution.new({name: 'name_example', base_path: 'base_path_example'}) # ContainerContainerDistribution |
|
|
934
|
-
opts = {
|
|
935
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
936
|
-
}
|
|
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
|
|