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
@@ -32,6 +32,7 @@ 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.
|
35
36
|
digest: 'digest_example', # String | Filter results where digest matches value
|
36
37
|
digest__in: ['inner_example'], # Array<String> | Filter results where digest is in a comma-separated list of values
|
37
38
|
key_id: 'key_id_example', # String | Filter results where key_id matches value
|
@@ -93,6 +94,7 @@ end
|
|
93
94
|
|
94
95
|
| Name | Type | Description | Notes |
|
95
96
|
| ---- | ---- | ----------- | ----- |
|
97
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
96
98
|
| **digest** | **String** | Filter results where digest matches value | [optional] |
|
97
99
|
| **digest__in** | [**Array<String>**](String.md) | Filter results where digest is in a comma-separated list of values | [optional] |
|
98
100
|
| **key_id** | **String** | Filter results where key_id matches value | [optional] |
|
@@ -159,6 +161,7 @@ end
|
|
159
161
|
api_instance = PulpContainerClient::ContentSignaturesApi.new
|
160
162
|
container_manifest_signature_href = 'container_manifest_signature_href_example' # String |
|
161
163
|
opts = {
|
164
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
162
165
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
163
166
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
164
167
|
}
|
@@ -195,6 +198,7 @@ end
|
|
195
198
|
| Name | Type | Description | Notes |
|
196
199
|
| ---- | ---- | ----------- | ----- |
|
197
200
|
| **container_manifest_signature_href** | **String** | | |
|
201
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
198
202
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
199
203
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
200
204
|
|
@@ -214,7 +218,7 @@ end
|
|
214
218
|
|
215
219
|
## set_label
|
216
220
|
|
217
|
-
> <SetLabelResponse> set_label(container_manifest_signature_href, set_label)
|
221
|
+
> <SetLabelResponse> set_label(container_manifest_signature_href, set_label, opts)
|
218
222
|
|
219
223
|
Set a label
|
220
224
|
|
@@ -235,10 +239,13 @@ end
|
|
235
239
|
api_instance = PulpContainerClient::ContentSignaturesApi.new
|
236
240
|
container_manifest_signature_href = 'container_manifest_signature_href_example' # String |
|
237
241
|
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
|
+
}
|
238
245
|
|
239
246
|
begin
|
240
247
|
# Set a label
|
241
|
-
result = api_instance.set_label(container_manifest_signature_href, set_label)
|
248
|
+
result = api_instance.set_label(container_manifest_signature_href, set_label, opts)
|
242
249
|
p result
|
243
250
|
rescue PulpContainerClient::ApiError => e
|
244
251
|
puts "Error when calling ContentSignaturesApi->set_label: #{e}"
|
@@ -249,12 +256,12 @@ end
|
|
249
256
|
|
250
257
|
This returns an Array which contains the response data, status code and headers.
|
251
258
|
|
252
|
-
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(container_manifest_signature_href, set_label)
|
259
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(container_manifest_signature_href, set_label, opts)
|
253
260
|
|
254
261
|
```ruby
|
255
262
|
begin
|
256
263
|
# Set a label
|
257
|
-
data, status_code, headers = api_instance.set_label_with_http_info(container_manifest_signature_href, set_label)
|
264
|
+
data, status_code, headers = api_instance.set_label_with_http_info(container_manifest_signature_href, set_label, opts)
|
258
265
|
p status_code # => 2xx
|
259
266
|
p headers # => { ... }
|
260
267
|
p data # => <SetLabelResponse>
|
@@ -269,6 +276,7 @@ end
|
|
269
276
|
| ---- | ---- | ----------- | ----- |
|
270
277
|
| **container_manifest_signature_href** | **String** | | |
|
271
278
|
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
279
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
272
280
|
|
273
281
|
### Return type
|
274
282
|
|
@@ -286,7 +294,7 @@ end
|
|
286
294
|
|
287
295
|
## unset_label
|
288
296
|
|
289
|
-
> <UnsetLabelResponse> unset_label(container_manifest_signature_href, unset_label)
|
297
|
+
> <UnsetLabelResponse> unset_label(container_manifest_signature_href, unset_label, opts)
|
290
298
|
|
291
299
|
Unset a label
|
292
300
|
|
@@ -307,10 +315,13 @@ end
|
|
307
315
|
api_instance = PulpContainerClient::ContentSignaturesApi.new
|
308
316
|
container_manifest_signature_href = 'container_manifest_signature_href_example' # String |
|
309
317
|
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
|
+
}
|
310
321
|
|
311
322
|
begin
|
312
323
|
# Unset a label
|
313
|
-
result = api_instance.unset_label(container_manifest_signature_href, unset_label)
|
324
|
+
result = api_instance.unset_label(container_manifest_signature_href, unset_label, opts)
|
314
325
|
p result
|
315
326
|
rescue PulpContainerClient::ApiError => e
|
316
327
|
puts "Error when calling ContentSignaturesApi->unset_label: #{e}"
|
@@ -321,12 +332,12 @@ end
|
|
321
332
|
|
322
333
|
This returns an Array which contains the response data, status code and headers.
|
323
334
|
|
324
|
-
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(container_manifest_signature_href, unset_label)
|
335
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(container_manifest_signature_href, unset_label, opts)
|
325
336
|
|
326
337
|
```ruby
|
327
338
|
begin
|
328
339
|
# Unset a label
|
329
|
-
data, status_code, headers = api_instance.unset_label_with_http_info(container_manifest_signature_href, unset_label)
|
340
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(container_manifest_signature_href, unset_label, opts)
|
330
341
|
p status_code # => 2xx
|
331
342
|
p headers # => { ... }
|
332
343
|
p data # => <UnsetLabelResponse>
|
@@ -341,6 +352,7 @@ end
|
|
341
352
|
| ---- | ---- | ----------- | ----- |
|
342
353
|
| **container_manifest_signature_href** | **String** | | |
|
343
354
|
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
355
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
344
356
|
|
345
357
|
### Return type
|
346
358
|
|
data/docs/ContentTagsApi.md
CHANGED
@@ -32,6 +32,7 @@ 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.
|
35
36
|
digest: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
36
37
|
limit: 56, # Integer | Number of results to return per page.
|
37
38
|
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
|
@@ -83,6 +84,7 @@ end
|
|
83
84
|
|
84
85
|
| Name | Type | Description | Notes |
|
85
86
|
| ---- | ---- | ----------- | ----- |
|
87
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
86
88
|
| **digest** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
87
89
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
88
90
|
| **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] |
|
@@ -139,6 +141,7 @@ end
|
|
139
141
|
api_instance = PulpContainerClient::ContentTagsApi.new
|
140
142
|
container_tag_href = 'container_tag_href_example' # String |
|
141
143
|
opts = {
|
144
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
142
145
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
143
146
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
144
147
|
}
|
@@ -175,6 +178,7 @@ end
|
|
175
178
|
| Name | Type | Description | Notes |
|
176
179
|
| ---- | ---- | ----------- | ----- |
|
177
180
|
| **container_tag_href** | **String** | | |
|
181
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
178
182
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
179
183
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
180
184
|
|
@@ -194,7 +198,7 @@ end
|
|
194
198
|
|
195
199
|
## set_label
|
196
200
|
|
197
|
-
> <SetLabelResponse> set_label(container_tag_href, set_label)
|
201
|
+
> <SetLabelResponse> set_label(container_tag_href, set_label, opts)
|
198
202
|
|
199
203
|
Set a label
|
200
204
|
|
@@ -215,10 +219,13 @@ end
|
|
215
219
|
api_instance = PulpContainerClient::ContentTagsApi.new
|
216
220
|
container_tag_href = 'container_tag_href_example' # String |
|
217
221
|
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
|
+
}
|
218
225
|
|
219
226
|
begin
|
220
227
|
# Set a label
|
221
|
-
result = api_instance.set_label(container_tag_href, set_label)
|
228
|
+
result = api_instance.set_label(container_tag_href, set_label, opts)
|
222
229
|
p result
|
223
230
|
rescue PulpContainerClient::ApiError => e
|
224
231
|
puts "Error when calling ContentTagsApi->set_label: #{e}"
|
@@ -229,12 +236,12 @@ end
|
|
229
236
|
|
230
237
|
This returns an Array which contains the response data, status code and headers.
|
231
238
|
|
232
|
-
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(container_tag_href, set_label)
|
239
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(container_tag_href, set_label, opts)
|
233
240
|
|
234
241
|
```ruby
|
235
242
|
begin
|
236
243
|
# Set a label
|
237
|
-
data, status_code, headers = api_instance.set_label_with_http_info(container_tag_href, set_label)
|
244
|
+
data, status_code, headers = api_instance.set_label_with_http_info(container_tag_href, set_label, opts)
|
238
245
|
p status_code # => 2xx
|
239
246
|
p headers # => { ... }
|
240
247
|
p data # => <SetLabelResponse>
|
@@ -249,6 +256,7 @@ end
|
|
249
256
|
| ---- | ---- | ----------- | ----- |
|
250
257
|
| **container_tag_href** | **String** | | |
|
251
258
|
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
259
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
252
260
|
|
253
261
|
### Return type
|
254
262
|
|
@@ -266,7 +274,7 @@ end
|
|
266
274
|
|
267
275
|
## unset_label
|
268
276
|
|
269
|
-
> <UnsetLabelResponse> unset_label(container_tag_href, unset_label)
|
277
|
+
> <UnsetLabelResponse> unset_label(container_tag_href, unset_label, opts)
|
270
278
|
|
271
279
|
Unset a label
|
272
280
|
|
@@ -287,10 +295,13 @@ end
|
|
287
295
|
api_instance = PulpContainerClient::ContentTagsApi.new
|
288
296
|
container_tag_href = 'container_tag_href_example' # String |
|
289
297
|
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
|
+
}
|
290
301
|
|
291
302
|
begin
|
292
303
|
# Unset a label
|
293
|
-
result = api_instance.unset_label(container_tag_href, unset_label)
|
304
|
+
result = api_instance.unset_label(container_tag_href, unset_label, opts)
|
294
305
|
p result
|
295
306
|
rescue PulpContainerClient::ApiError => e
|
296
307
|
puts "Error when calling ContentTagsApi->unset_label: #{e}"
|
@@ -301,12 +312,12 @@ end
|
|
301
312
|
|
302
313
|
This returns an Array which contains the response data, status code and headers.
|
303
314
|
|
304
|
-
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(container_tag_href, unset_label)
|
315
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(container_tag_href, unset_label, opts)
|
305
316
|
|
306
317
|
```ruby
|
307
318
|
begin
|
308
319
|
# Unset a label
|
309
|
-
data, status_code, headers = api_instance.unset_label_with_http_info(container_tag_href, unset_label)
|
320
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(container_tag_href, unset_label, opts)
|
310
321
|
p status_code # => 2xx
|
311
322
|
p headers # => { ... }
|
312
323
|
p data # => <UnsetLabelResponse>
|
@@ -321,6 +332,7 @@ end
|
|
321
332
|
| ---- | ---- | ----------- | ----- |
|
322
333
|
| **container_tag_href** | **String** | | |
|
323
334
|
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
335
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
324
336
|
|
325
337
|
### Return type
|
326
338
|
|
@@ -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, opts)
|
24
24
|
|
25
25
|
Add a role
|
26
26
|
|
@@ -41,10 +41,13 @@ 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
|
+
}
|
44
47
|
|
45
48
|
begin
|
46
49
|
# Add a role
|
47
|
-
result = api_instance.add_role(container_container_distribution_href, nested_role)
|
50
|
+
result = api_instance.add_role(container_container_distribution_href, nested_role, opts)
|
48
51
|
p result
|
49
52
|
rescue PulpContainerClient::ApiError => e
|
50
53
|
puts "Error when calling DistributionsContainerApi->add_role: #{e}"
|
@@ -55,12 +58,12 @@ end
|
|
55
58
|
|
56
59
|
This returns an Array which contains the response data, status code and headers.
|
57
60
|
|
58
|
-
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(container_container_distribution_href, nested_role)
|
61
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(container_container_distribution_href, nested_role, opts)
|
59
62
|
|
60
63
|
```ruby
|
61
64
|
begin
|
62
65
|
# Add a role
|
63
|
-
data, status_code, headers = api_instance.add_role_with_http_info(container_container_distribution_href, nested_role)
|
66
|
+
data, status_code, headers = api_instance.add_role_with_http_info(container_container_distribution_href, nested_role, opts)
|
64
67
|
p status_code # => 2xx
|
65
68
|
p headers # => { ... }
|
66
69
|
p data # => <NestedRoleResponse>
|
@@ -75,6 +78,7 @@ end
|
|
75
78
|
| ---- | ---- | ----------- | ----- |
|
76
79
|
| **container_container_distribution_href** | **String** | | |
|
77
80
|
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
81
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
78
82
|
|
79
83
|
### Return type
|
80
84
|
|
@@ -92,7 +96,7 @@ end
|
|
92
96
|
|
93
97
|
## create
|
94
98
|
|
95
|
-
> <AsyncOperationResponse> create(container_container_distribution)
|
99
|
+
> <AsyncOperationResponse> create(container_container_distribution, opts)
|
96
100
|
|
97
101
|
Create a container distribution
|
98
102
|
|
@@ -112,10 +116,13 @@ end
|
|
112
116
|
|
113
117
|
api_instance = PulpContainerClient::DistributionsContainerApi.new
|
114
118
|
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
|
+
}
|
115
122
|
|
116
123
|
begin
|
117
124
|
# Create a container distribution
|
118
|
-
result = api_instance.create(container_container_distribution)
|
125
|
+
result = api_instance.create(container_container_distribution, opts)
|
119
126
|
p result
|
120
127
|
rescue PulpContainerClient::ApiError => e
|
121
128
|
puts "Error when calling DistributionsContainerApi->create: #{e}"
|
@@ -126,12 +133,12 @@ end
|
|
126
133
|
|
127
134
|
This returns an Array which contains the response data, status code and headers.
|
128
135
|
|
129
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(container_container_distribution)
|
136
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(container_container_distribution, opts)
|
130
137
|
|
131
138
|
```ruby
|
132
139
|
begin
|
133
140
|
# Create a container distribution
|
134
|
-
data, status_code, headers = api_instance.create_with_http_info(container_container_distribution)
|
141
|
+
data, status_code, headers = api_instance.create_with_http_info(container_container_distribution, opts)
|
135
142
|
p status_code # => 2xx
|
136
143
|
p headers # => { ... }
|
137
144
|
p data # => <AsyncOperationResponse>
|
@@ -145,6 +152,7 @@ end
|
|
145
152
|
| Name | Type | Description | Notes |
|
146
153
|
| ---- | ---- | ----------- | ----- |
|
147
154
|
| **container_container_distribution** | [**ContainerContainerDistribution**](ContainerContainerDistribution.md) | | |
|
155
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
148
156
|
|
149
157
|
### Return type
|
150
158
|
|
@@ -162,7 +170,7 @@ end
|
|
162
170
|
|
163
171
|
## delete
|
164
172
|
|
165
|
-
> <AsyncOperationResponse> delete(container_container_distribution_href)
|
173
|
+
> <AsyncOperationResponse> delete(container_container_distribution_href, opts)
|
166
174
|
|
167
175
|
Delete a container distribution
|
168
176
|
|
@@ -182,10 +190,13 @@ end
|
|
182
190
|
|
183
191
|
api_instance = PulpContainerClient::DistributionsContainerApi.new
|
184
192
|
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
|
+
}
|
185
196
|
|
186
197
|
begin
|
187
198
|
# Delete a container distribution
|
188
|
-
result = api_instance.delete(container_container_distribution_href)
|
199
|
+
result = api_instance.delete(container_container_distribution_href, opts)
|
189
200
|
p result
|
190
201
|
rescue PulpContainerClient::ApiError => e
|
191
202
|
puts "Error when calling DistributionsContainerApi->delete: #{e}"
|
@@ -196,12 +207,12 @@ end
|
|
196
207
|
|
197
208
|
This returns an Array which contains the response data, status code and headers.
|
198
209
|
|
199
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(container_container_distribution_href)
|
210
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(container_container_distribution_href, opts)
|
200
211
|
|
201
212
|
```ruby
|
202
213
|
begin
|
203
214
|
# Delete a container distribution
|
204
|
-
data, status_code, headers = api_instance.delete_with_http_info(container_container_distribution_href)
|
215
|
+
data, status_code, headers = api_instance.delete_with_http_info(container_container_distribution_href, opts)
|
205
216
|
p status_code # => 2xx
|
206
217
|
p headers # => { ... }
|
207
218
|
p data # => <AsyncOperationResponse>
|
@@ -215,6 +226,7 @@ end
|
|
215
226
|
| Name | Type | Description | Notes |
|
216
227
|
| ---- | ---- | ----------- | ----- |
|
217
228
|
| **container_container_distribution_href** | **String** | | |
|
229
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
218
230
|
|
219
231
|
### Return type
|
220
232
|
|
@@ -252,6 +264,7 @@ end
|
|
252
264
|
|
253
265
|
api_instance = PulpContainerClient::DistributionsContainerApi.new
|
254
266
|
opts = {
|
267
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
255
268
|
base_path: 'base_path_example', # String | Filter results where base_path matches value
|
256
269
|
base_path__contains: 'base_path__contains_example', # String | Filter results where base_path contains value
|
257
270
|
base_path__icontains: 'base_path__icontains_example', # String | Filter results where base_path contains value
|
@@ -313,6 +326,7 @@ end
|
|
313
326
|
|
314
327
|
| Name | Type | Description | Notes |
|
315
328
|
| ---- | ---- | ----------- | ----- |
|
329
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
316
330
|
| **base_path** | **String** | Filter results where base_path matches value | [optional] |
|
317
331
|
| **base_path__contains** | **String** | Filter results where base_path contains value | [optional] |
|
318
332
|
| **base_path__icontains** | **String** | Filter results where base_path contains value | [optional] |
|
@@ -379,6 +393,7 @@ end
|
|
379
393
|
api_instance = PulpContainerClient::DistributionsContainerApi.new
|
380
394
|
container_container_distribution_href = 'container_container_distribution_href_example' # String |
|
381
395
|
opts = {
|
396
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
382
397
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
383
398
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
384
399
|
}
|
@@ -415,6 +430,7 @@ end
|
|
415
430
|
| Name | Type | Description | Notes |
|
416
431
|
| ---- | ---- | ----------- | ----- |
|
417
432
|
| **container_container_distribution_href** | **String** | | |
|
433
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
418
434
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
419
435
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
420
436
|
|
@@ -455,6 +471,7 @@ end
|
|
455
471
|
api_instance = PulpContainerClient::DistributionsContainerApi.new
|
456
472
|
container_container_distribution_href = 'container_container_distribution_href_example' # String |
|
457
473
|
opts = {
|
474
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
458
475
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
459
476
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
460
477
|
}
|
@@ -491,6 +508,7 @@ end
|
|
491
508
|
| Name | Type | Description | Notes |
|
492
509
|
| ---- | ---- | ----------- | ----- |
|
493
510
|
| **container_container_distribution_href** | **String** | | |
|
511
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
494
512
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
495
513
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
496
514
|
|
@@ -510,7 +528,7 @@ end
|
|
510
528
|
|
511
529
|
## partial_update
|
512
530
|
|
513
|
-
> <AsyncOperationResponse> partial_update(container_container_distribution_href, patchedcontainer_container_distribution)
|
531
|
+
> <AsyncOperationResponse> partial_update(container_container_distribution_href, patchedcontainer_container_distribution, opts)
|
514
532
|
|
515
533
|
Update a container distribution
|
516
534
|
|
@@ -531,10 +549,13 @@ end
|
|
531
549
|
api_instance = PulpContainerClient::DistributionsContainerApi.new
|
532
550
|
container_container_distribution_href = 'container_container_distribution_href_example' # String |
|
533
551
|
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
|
+
}
|
534
555
|
|
535
556
|
begin
|
536
557
|
# Update a container distribution
|
537
|
-
result = api_instance.partial_update(container_container_distribution_href, patchedcontainer_container_distribution)
|
558
|
+
result = api_instance.partial_update(container_container_distribution_href, patchedcontainer_container_distribution, opts)
|
538
559
|
p result
|
539
560
|
rescue PulpContainerClient::ApiError => e
|
540
561
|
puts "Error when calling DistributionsContainerApi->partial_update: #{e}"
|
@@ -545,12 +566,12 @@ end
|
|
545
566
|
|
546
567
|
This returns an Array which contains the response data, status code and headers.
|
547
568
|
|
548
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(container_container_distribution_href, patchedcontainer_container_distribution)
|
569
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(container_container_distribution_href, patchedcontainer_container_distribution, opts)
|
549
570
|
|
550
571
|
```ruby
|
551
572
|
begin
|
552
573
|
# Update a container distribution
|
553
|
-
data, status_code, headers = api_instance.partial_update_with_http_info(container_container_distribution_href, patchedcontainer_container_distribution)
|
574
|
+
data, status_code, headers = api_instance.partial_update_with_http_info(container_container_distribution_href, patchedcontainer_container_distribution, opts)
|
554
575
|
p status_code # => 2xx
|
555
576
|
p headers # => { ... }
|
556
577
|
p data # => <AsyncOperationResponse>
|
@@ -565,6 +586,7 @@ end
|
|
565
586
|
| ---- | ---- | ----------- | ----- |
|
566
587
|
| **container_container_distribution_href** | **String** | | |
|
567
588
|
| **patchedcontainer_container_distribution** | [**PatchedcontainerContainerDistribution**](PatchedcontainerContainerDistribution.md) | | |
|
589
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
568
590
|
|
569
591
|
### Return type
|
570
592
|
|
@@ -603,6 +625,7 @@ end
|
|
603
625
|
api_instance = PulpContainerClient::DistributionsContainerApi.new
|
604
626
|
container_container_distribution_href = 'container_container_distribution_href_example' # String |
|
605
627
|
opts = {
|
628
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
606
629
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
607
630
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
608
631
|
}
|
@@ -639,6 +662,7 @@ end
|
|
639
662
|
| Name | Type | Description | Notes |
|
640
663
|
| ---- | ---- | ----------- | ----- |
|
641
664
|
| **container_container_distribution_href** | **String** | | |
|
665
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
642
666
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
643
667
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
644
668
|
|
@@ -658,7 +682,7 @@ end
|
|
658
682
|
|
659
683
|
## remove_role
|
660
684
|
|
661
|
-
> <NestedRoleResponse> remove_role(container_container_distribution_href, nested_role)
|
685
|
+
> <NestedRoleResponse> remove_role(container_container_distribution_href, nested_role, opts)
|
662
686
|
|
663
687
|
Remove a role
|
664
688
|
|
@@ -679,10 +703,13 @@ end
|
|
679
703
|
api_instance = PulpContainerClient::DistributionsContainerApi.new
|
680
704
|
container_container_distribution_href = 'container_container_distribution_href_example' # String |
|
681
705
|
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
|
+
}
|
682
709
|
|
683
710
|
begin
|
684
711
|
# Remove a role
|
685
|
-
result = api_instance.remove_role(container_container_distribution_href, nested_role)
|
712
|
+
result = api_instance.remove_role(container_container_distribution_href, nested_role, opts)
|
686
713
|
p result
|
687
714
|
rescue PulpContainerClient::ApiError => e
|
688
715
|
puts "Error when calling DistributionsContainerApi->remove_role: #{e}"
|
@@ -693,12 +720,12 @@ end
|
|
693
720
|
|
694
721
|
This returns an Array which contains the response data, status code and headers.
|
695
722
|
|
696
|
-
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(container_container_distribution_href, nested_role)
|
723
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(container_container_distribution_href, nested_role, opts)
|
697
724
|
|
698
725
|
```ruby
|
699
726
|
begin
|
700
727
|
# Remove a role
|
701
|
-
data, status_code, headers = api_instance.remove_role_with_http_info(container_container_distribution_href, nested_role)
|
728
|
+
data, status_code, headers = api_instance.remove_role_with_http_info(container_container_distribution_href, nested_role, opts)
|
702
729
|
p status_code # => 2xx
|
703
730
|
p headers # => { ... }
|
704
731
|
p data # => <NestedRoleResponse>
|
@@ -713,6 +740,7 @@ end
|
|
713
740
|
| ---- | ---- | ----------- | ----- |
|
714
741
|
| **container_container_distribution_href** | **String** | | |
|
715
742
|
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
743
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
716
744
|
|
717
745
|
### Return type
|
718
746
|
|
@@ -730,7 +758,7 @@ end
|
|
730
758
|
|
731
759
|
## set_label
|
732
760
|
|
733
|
-
> <SetLabelResponse> set_label(container_container_distribution_href, set_label)
|
761
|
+
> <SetLabelResponse> set_label(container_container_distribution_href, set_label, opts)
|
734
762
|
|
735
763
|
Set a label
|
736
764
|
|
@@ -751,10 +779,13 @@ end
|
|
751
779
|
api_instance = PulpContainerClient::DistributionsContainerApi.new
|
752
780
|
container_container_distribution_href = 'container_container_distribution_href_example' # String |
|
753
781
|
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
|
+
}
|
754
785
|
|
755
786
|
begin
|
756
787
|
# Set a label
|
757
|
-
result = api_instance.set_label(container_container_distribution_href, set_label)
|
788
|
+
result = api_instance.set_label(container_container_distribution_href, set_label, opts)
|
758
789
|
p result
|
759
790
|
rescue PulpContainerClient::ApiError => e
|
760
791
|
puts "Error when calling DistributionsContainerApi->set_label: #{e}"
|
@@ -765,12 +796,12 @@ end
|
|
765
796
|
|
766
797
|
This returns an Array which contains the response data, status code and headers.
|
767
798
|
|
768
|
-
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(container_container_distribution_href, set_label)
|
799
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(container_container_distribution_href, set_label, opts)
|
769
800
|
|
770
801
|
```ruby
|
771
802
|
begin
|
772
803
|
# Set a label
|
773
|
-
data, status_code, headers = api_instance.set_label_with_http_info(container_container_distribution_href, set_label)
|
804
|
+
data, status_code, headers = api_instance.set_label_with_http_info(container_container_distribution_href, set_label, opts)
|
774
805
|
p status_code # => 2xx
|
775
806
|
p headers # => { ... }
|
776
807
|
p data # => <SetLabelResponse>
|
@@ -785,6 +816,7 @@ end
|
|
785
816
|
| ---- | ---- | ----------- | ----- |
|
786
817
|
| **container_container_distribution_href** | **String** | | |
|
787
818
|
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
819
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
788
820
|
|
789
821
|
### Return type
|
790
822
|
|
@@ -802,7 +834,7 @@ end
|
|
802
834
|
|
803
835
|
## unset_label
|
804
836
|
|
805
|
-
> <UnsetLabelResponse> unset_label(container_container_distribution_href, unset_label)
|
837
|
+
> <UnsetLabelResponse> unset_label(container_container_distribution_href, unset_label, opts)
|
806
838
|
|
807
839
|
Unset a label
|
808
840
|
|
@@ -823,10 +855,13 @@ end
|
|
823
855
|
api_instance = PulpContainerClient::DistributionsContainerApi.new
|
824
856
|
container_container_distribution_href = 'container_container_distribution_href_example' # String |
|
825
857
|
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
|
+
}
|
826
861
|
|
827
862
|
begin
|
828
863
|
# Unset a label
|
829
|
-
result = api_instance.unset_label(container_container_distribution_href, unset_label)
|
864
|
+
result = api_instance.unset_label(container_container_distribution_href, unset_label, opts)
|
830
865
|
p result
|
831
866
|
rescue PulpContainerClient::ApiError => e
|
832
867
|
puts "Error when calling DistributionsContainerApi->unset_label: #{e}"
|
@@ -837,12 +872,12 @@ end
|
|
837
872
|
|
838
873
|
This returns an Array which contains the response data, status code and headers.
|
839
874
|
|
840
|
-
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(container_container_distribution_href, unset_label)
|
875
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(container_container_distribution_href, unset_label, opts)
|
841
876
|
|
842
877
|
```ruby
|
843
878
|
begin
|
844
879
|
# Unset a label
|
845
|
-
data, status_code, headers = api_instance.unset_label_with_http_info(container_container_distribution_href, unset_label)
|
880
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(container_container_distribution_href, unset_label, opts)
|
846
881
|
p status_code # => 2xx
|
847
882
|
p headers # => { ... }
|
848
883
|
p data # => <UnsetLabelResponse>
|
@@ -857,6 +892,7 @@ end
|
|
857
892
|
| ---- | ---- | ----------- | ----- |
|
858
893
|
| **container_container_distribution_href** | **String** | | |
|
859
894
|
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
895
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
860
896
|
|
861
897
|
### Return type
|
862
898
|
|
@@ -874,7 +910,7 @@ end
|
|
874
910
|
|
875
911
|
## update
|
876
912
|
|
877
|
-
> <AsyncOperationResponse> update(container_container_distribution_href, container_container_distribution)
|
913
|
+
> <AsyncOperationResponse> update(container_container_distribution_href, container_container_distribution, opts)
|
878
914
|
|
879
915
|
Update a container distribution
|
880
916
|
|
@@ -895,10 +931,13 @@ end
|
|
895
931
|
api_instance = PulpContainerClient::DistributionsContainerApi.new
|
896
932
|
container_container_distribution_href = 'container_container_distribution_href_example' # String |
|
897
933
|
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
|
+
}
|
898
937
|
|
899
938
|
begin
|
900
939
|
# Update a container distribution
|
901
|
-
result = api_instance.update(container_container_distribution_href, container_container_distribution)
|
940
|
+
result = api_instance.update(container_container_distribution_href, container_container_distribution, opts)
|
902
941
|
p result
|
903
942
|
rescue PulpContainerClient::ApiError => e
|
904
943
|
puts "Error when calling DistributionsContainerApi->update: #{e}"
|
@@ -909,12 +948,12 @@ end
|
|
909
948
|
|
910
949
|
This returns an Array which contains the response data, status code and headers.
|
911
950
|
|
912
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(container_container_distribution_href, container_container_distribution)
|
951
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(container_container_distribution_href, container_container_distribution, opts)
|
913
952
|
|
914
953
|
```ruby
|
915
954
|
begin
|
916
955
|
# Update a container distribution
|
917
|
-
data, status_code, headers = api_instance.update_with_http_info(container_container_distribution_href, container_container_distribution)
|
956
|
+
data, status_code, headers = api_instance.update_with_http_info(container_container_distribution_href, container_container_distribution, opts)
|
918
957
|
p status_code # => 2xx
|
919
958
|
p headers # => { ... }
|
920
959
|
p data # => <AsyncOperationResponse>
|
@@ -929,6 +968,7 @@ end
|
|
929
968
|
| ---- | ---- | ----------- | ----- |
|
930
969
|
| **container_container_distribution_href** | **String** | | |
|
931
970
|
| **container_container_distribution** | [**ContainerContainerDistribution**](ContainerContainerDistribution.md) | | |
|
971
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
932
972
|
|
933
973
|
### Return type
|
934
974
|
|