pulp_container_client 2.24.1 → 2.24.3

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.
Files changed (76) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +13 -4
  3. data/docs/ContainerContainerDistribution.md +4 -4
  4. data/docs/ContainerContainerDistributionResponse.md +10 -10
  5. data/docs/ContainerContainerPullThroughDistribution.md +4 -4
  6. data/docs/ContainerContainerPullThroughDistributionResponse.md +10 -10
  7. data/docs/ContainerContainerPushRepository.md +7 -7
  8. data/docs/ContainerContainerPushRepositoryResponse.md +15 -15
  9. data/docs/ContentBlobsApi.md +158 -0
  10. data/docs/ContentManifestsApi.md +158 -0
  11. data/docs/ContentSignaturesApi.md +158 -0
  12. data/docs/ContentTagsApi.md +158 -0
  13. data/docs/DistributionsContainerApi.md +76 -34
  14. data/docs/DistributionsPullThroughApi.md +76 -34
  15. data/docs/PatchedcontainerContainerDistribution.md +4 -4
  16. data/docs/PatchedcontainerContainerPullThroughDistribution.md +4 -4
  17. data/docs/PatchedcontainerContainerPushRepository.md +7 -7
  18. data/docs/PulpContainerNamespacesApi.md +40 -16
  19. data/docs/RemotesContainerApi.md +72 -32
  20. data/docs/RemotesPullThroughApi.md +72 -32
  21. data/docs/RepositoriesContainerApi.md +138 -64
  22. data/docs/RepositoriesContainerPushApi.md +80 -36
  23. data/docs/RepositoriesContainerPushVersionsApi.md +22 -10
  24. data/docs/RepositoriesContainerVersionsApi.md +22 -10
  25. data/docs/TokenApi.md +14 -5
  26. data/lib/pulp_container_client/api/content_blobs_api.rb +160 -0
  27. data/lib/pulp_container_client/api/content_manifests_api.rb +160 -0
  28. data/lib/pulp_container_client/api/content_signatures_api.rb +160 -0
  29. data/lib/pulp_container_client/api/content_tags_api.rb +160 -0
  30. data/lib/pulp_container_client/api/distributions_container_api.rb +42 -3
  31. data/lib/pulp_container_client/api/distributions_pull_through_api.rb +42 -3
  32. data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +24 -0
  33. data/lib/pulp_container_client/api/remotes_container_api.rb +36 -0
  34. data/lib/pulp_container_client/api/remotes_pull_through_api.rb +36 -0
  35. data/lib/pulp_container_client/api/repositories_container_api.rb +63 -0
  36. data/lib/pulp_container_client/api/repositories_container_push_api.rb +39 -0
  37. data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +15 -3
  38. data/lib/pulp_container_client/api/repositories_container_versions_api.rb +15 -3
  39. data/lib/pulp_container_client/api/token_api.rb +9 -0
  40. data/lib/pulp_container_client/models/container_container_distribution.rb +22 -22
  41. data/lib/pulp_container_client/models/container_container_distribution_response.rb +49 -49
  42. data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +22 -22
  43. data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +49 -49
  44. data/lib/pulp_container_client/models/container_container_push_repository.rb +46 -46
  45. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +69 -69
  46. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +22 -22
  47. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +22 -22
  48. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +46 -46
  49. data/lib/pulp_container_client/models/unset_label.rb +1 -1
  50. data/lib/pulp_container_client/models/unset_label_response.rb +1 -1
  51. data/lib/pulp_container_client/version.rb +1 -1
  52. data/pulp_container_client.gemspec +0 -1
  53. data/spec/api/content_blobs_api_spec.rb +30 -0
  54. data/spec/api/content_manifests_api_spec.rb +30 -0
  55. data/spec/api/content_signatures_api_spec.rb +30 -0
  56. data/spec/api/content_tags_api_spec.rb +30 -0
  57. data/spec/api/distributions_container_api_spec.rb +14 -1
  58. data/spec/api/distributions_pull_through_api_spec.rb +14 -1
  59. data/spec/api/pulp_container_namespaces_api_spec.rb +8 -0
  60. data/spec/api/remotes_container_api_spec.rb +12 -0
  61. data/spec/api/remotes_pull_through_api_spec.rb +12 -0
  62. data/spec/api/repositories_container_api_spec.rb +21 -0
  63. data/spec/api/repositories_container_push_api_spec.rb +13 -0
  64. data/spec/api/repositories_container_push_versions_api_spec.rb +5 -1
  65. data/spec/api/repositories_container_versions_api_spec.rb +5 -1
  66. data/spec/api/token_api_spec.rb +3 -0
  67. data/spec/models/container_container_distribution_response_spec.rb +11 -11
  68. data/spec/models/container_container_distribution_spec.rb +5 -5
  69. data/spec/models/container_container_pull_through_distribution_response_spec.rb +11 -11
  70. data/spec/models/container_container_pull_through_distribution_spec.rb +5 -5
  71. data/spec/models/container_container_push_repository_response_spec.rb +11 -11
  72. data/spec/models/container_container_push_repository_spec.rb +4 -4
  73. data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
  74. data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +5 -5
  75. data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
  76. metadata +60 -80
@@ -6,6 +6,8 @@ All URIs are relative to *http://localhost:24817*
6
6
  | ------ | ------------ | ----------- |
7
7
  | [**list**](ContentManifestsApi.md#list) | **GET** /pulp/api/v3/content/container/manifests/ | List manifests |
8
8
  | [**read**](ContentManifestsApi.md#read) | **GET** {container_manifest_href} | Inspect a manifest |
9
+ | [**set_label**](ContentManifestsApi.md#set_label) | **POST** {container_manifest_href}set_label/ | Set a label |
10
+ | [**unset_label**](ContentManifestsApi.md#unset_label) | **POST** {container_manifest_href}unset_label/ | Unset a label |
9
11
 
10
12
 
11
13
  ## list
@@ -30,6 +32,7 @@ end
30
32
 
31
33
  api_instance = PulpContainerClient::ContentManifestsApi.new
32
34
  opts = {
35
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
33
36
  digest: 'digest_example', # String | Filter results where digest matches value
34
37
  digest__in: ['inner_example'], # Array<String> | Filter results where digest is in a comma-separated list of values
35
38
  is_bootable: true, # Boolean | Filter results where is_bootable matches value
@@ -82,6 +85,7 @@ end
82
85
 
83
86
  | Name | Type | Description | Notes |
84
87
  | ---- | ---- | ----------- | ----- |
88
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
85
89
  | **digest** | **String** | Filter results where digest matches value | [optional] |
86
90
  | **digest__in** | [**Array&lt;String&gt;**](String.md) | Filter results where digest is in a comma-separated list of values | [optional] |
87
91
  | **is_bootable** | **Boolean** | Filter results where is_bootable matches value | [optional] |
@@ -139,6 +143,7 @@ end
139
143
  api_instance = PulpContainerClient::ContentManifestsApi.new
140
144
  container_manifest_href = 'container_manifest_href_example' # String |
141
145
  opts = {
146
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
142
147
  fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
143
148
  exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
144
149
  }
@@ -175,6 +180,7 @@ end
175
180
  | Name | Type | Description | Notes |
176
181
  | ---- | ---- | ----------- | ----- |
177
182
  | **container_manifest_href** | **String** | | |
183
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
178
184
  | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
179
185
  | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
180
186
 
@@ -191,3 +197,155 @@ end
191
197
  - **Content-Type**: Not defined
192
198
  - **Accept**: application/json
193
199
 
200
+
201
+ ## set_label
202
+
203
+ > <SetLabelResponse> set_label(container_manifest_href, set_label, opts)
204
+
205
+ Set a label
206
+
207
+ Set a single pulp_label on the object to a specific value or null.
208
+
209
+ ### Examples
210
+
211
+ ```ruby
212
+ require 'time'
213
+ require 'pulp_container_client'
214
+ # setup authorization
215
+ PulpContainerClient.configure do |config|
216
+ # Configure HTTP basic authorization: basicAuth
217
+ config.username = 'YOUR USERNAME'
218
+ config.password = 'YOUR PASSWORD'
219
+ end
220
+
221
+ api_instance = PulpContainerClient::ContentManifestsApi.new
222
+ container_manifest_href = 'container_manifest_href_example' # String |
223
+ set_label = PulpContainerClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
224
+ opts = {
225
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
226
+ }
227
+
228
+ begin
229
+ # Set a label
230
+ result = api_instance.set_label(container_manifest_href, set_label, opts)
231
+ p result
232
+ rescue PulpContainerClient::ApiError => e
233
+ puts "Error when calling ContentManifestsApi->set_label: #{e}"
234
+ end
235
+ ```
236
+
237
+ #### Using the set_label_with_http_info variant
238
+
239
+ This returns an Array which contains the response data, status code and headers.
240
+
241
+ > <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(container_manifest_href, set_label, opts)
242
+
243
+ ```ruby
244
+ begin
245
+ # Set a label
246
+ data, status_code, headers = api_instance.set_label_with_http_info(container_manifest_href, set_label, opts)
247
+ p status_code # => 2xx
248
+ p headers # => { ... }
249
+ p data # => <SetLabelResponse>
250
+ rescue PulpContainerClient::ApiError => e
251
+ puts "Error when calling ContentManifestsApi->set_label_with_http_info: #{e}"
252
+ end
253
+ ```
254
+
255
+ ### Parameters
256
+
257
+ | Name | Type | Description | Notes |
258
+ | ---- | ---- | ----------- | ----- |
259
+ | **container_manifest_href** | **String** | | |
260
+ | **set_label** | [**SetLabel**](SetLabel.md) | | |
261
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
262
+
263
+ ### Return type
264
+
265
+ [**SetLabelResponse**](SetLabelResponse.md)
266
+
267
+ ### Authorization
268
+
269
+ [basicAuth](../README.md#basicAuth)
270
+
271
+ ### HTTP request headers
272
+
273
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
274
+ - **Accept**: application/json
275
+
276
+
277
+ ## unset_label
278
+
279
+ > <UnsetLabelResponse> unset_label(container_manifest_href, unset_label, opts)
280
+
281
+ Unset a label
282
+
283
+ Unset a single pulp_label on the object.
284
+
285
+ ### Examples
286
+
287
+ ```ruby
288
+ require 'time'
289
+ require 'pulp_container_client'
290
+ # setup authorization
291
+ PulpContainerClient.configure do |config|
292
+ # Configure HTTP basic authorization: basicAuth
293
+ config.username = 'YOUR USERNAME'
294
+ config.password = 'YOUR PASSWORD'
295
+ end
296
+
297
+ api_instance = PulpContainerClient::ContentManifestsApi.new
298
+ container_manifest_href = 'container_manifest_href_example' # String |
299
+ unset_label = PulpContainerClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
300
+ opts = {
301
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
302
+ }
303
+
304
+ begin
305
+ # Unset a label
306
+ result = api_instance.unset_label(container_manifest_href, unset_label, opts)
307
+ p result
308
+ rescue PulpContainerClient::ApiError => e
309
+ puts "Error when calling ContentManifestsApi->unset_label: #{e}"
310
+ end
311
+ ```
312
+
313
+ #### Using the unset_label_with_http_info variant
314
+
315
+ This returns an Array which contains the response data, status code and headers.
316
+
317
+ > <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(container_manifest_href, unset_label, opts)
318
+
319
+ ```ruby
320
+ begin
321
+ # Unset a label
322
+ data, status_code, headers = api_instance.unset_label_with_http_info(container_manifest_href, unset_label, opts)
323
+ p status_code # => 2xx
324
+ p headers # => { ... }
325
+ p data # => <UnsetLabelResponse>
326
+ rescue PulpContainerClient::ApiError => e
327
+ puts "Error when calling ContentManifestsApi->unset_label_with_http_info: #{e}"
328
+ end
329
+ ```
330
+
331
+ ### Parameters
332
+
333
+ | Name | Type | Description | Notes |
334
+ | ---- | ---- | ----------- | ----- |
335
+ | **container_manifest_href** | **String** | | |
336
+ | **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
337
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
338
+
339
+ ### Return type
340
+
341
+ [**UnsetLabelResponse**](UnsetLabelResponse.md)
342
+
343
+ ### Authorization
344
+
345
+ [basicAuth](../README.md#basicAuth)
346
+
347
+ ### HTTP request headers
348
+
349
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
350
+ - **Accept**: application/json
351
+
@@ -6,6 +6,8 @@ All URIs are relative to *http://localhost:24817*
6
6
  | ------ | ------------ | ----------- |
7
7
  | [**list**](ContentSignaturesApi.md#list) | **GET** /pulp/api/v3/content/container/signatures/ | List manifest signatures |
8
8
  | [**read**](ContentSignaturesApi.md#read) | **GET** {container_manifest_signature_href} | Inspect a manifest signature |
9
+ | [**set_label**](ContentSignaturesApi.md#set_label) | **POST** {container_manifest_signature_href}set_label/ | Set a label |
10
+ | [**unset_label**](ContentSignaturesApi.md#unset_label) | **POST** {container_manifest_signature_href}unset_label/ | Unset a label |
9
11
 
10
12
 
11
13
  ## list
@@ -30,6 +32,7 @@ end
30
32
 
31
33
  api_instance = PulpContainerClient::ContentSignaturesApi.new
32
34
  opts = {
35
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
33
36
  digest: 'digest_example', # String | Filter results where digest matches value
34
37
  digest__in: ['inner_example'], # Array<String> | Filter results where digest is in a comma-separated list of values
35
38
  key_id: 'key_id_example', # String | Filter results where key_id matches value
@@ -91,6 +94,7 @@ end
91
94
 
92
95
  | Name | Type | Description | Notes |
93
96
  | ---- | ---- | ----------- | ----- |
97
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
94
98
  | **digest** | **String** | Filter results where digest matches value | [optional] |
95
99
  | **digest__in** | [**Array&lt;String&gt;**](String.md) | Filter results where digest is in a comma-separated list of values | [optional] |
96
100
  | **key_id** | **String** | Filter results where key_id matches value | [optional] |
@@ -157,6 +161,7 @@ end
157
161
  api_instance = PulpContainerClient::ContentSignaturesApi.new
158
162
  container_manifest_signature_href = 'container_manifest_signature_href_example' # String |
159
163
  opts = {
164
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
160
165
  fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
161
166
  exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
162
167
  }
@@ -193,6 +198,7 @@ end
193
198
  | Name | Type | Description | Notes |
194
199
  | ---- | ---- | ----------- | ----- |
195
200
  | **container_manifest_signature_href** | **String** | | |
201
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
196
202
  | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
197
203
  | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
198
204
 
@@ -209,3 +215,155 @@ end
209
215
  - **Content-Type**: Not defined
210
216
  - **Accept**: application/json
211
217
 
218
+
219
+ ## set_label
220
+
221
+ > <SetLabelResponse> set_label(container_manifest_signature_href, set_label, opts)
222
+
223
+ Set a label
224
+
225
+ Set a single pulp_label on the object to a specific value or null.
226
+
227
+ ### Examples
228
+
229
+ ```ruby
230
+ require 'time'
231
+ require 'pulp_container_client'
232
+ # setup authorization
233
+ PulpContainerClient.configure do |config|
234
+ # Configure HTTP basic authorization: basicAuth
235
+ config.username = 'YOUR USERNAME'
236
+ config.password = 'YOUR PASSWORD'
237
+ end
238
+
239
+ api_instance = PulpContainerClient::ContentSignaturesApi.new
240
+ container_manifest_signature_href = 'container_manifest_signature_href_example' # String |
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
+ }
245
+
246
+ begin
247
+ # Set a label
248
+ result = api_instance.set_label(container_manifest_signature_href, set_label, opts)
249
+ p result
250
+ rescue PulpContainerClient::ApiError => e
251
+ puts "Error when calling ContentSignaturesApi->set_label: #{e}"
252
+ end
253
+ ```
254
+
255
+ #### Using the set_label_with_http_info variant
256
+
257
+ This returns an Array which contains the response data, status code and headers.
258
+
259
+ > <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(container_manifest_signature_href, set_label, opts)
260
+
261
+ ```ruby
262
+ begin
263
+ # Set a label
264
+ data, status_code, headers = api_instance.set_label_with_http_info(container_manifest_signature_href, set_label, opts)
265
+ p status_code # => 2xx
266
+ p headers # => { ... }
267
+ p data # => <SetLabelResponse>
268
+ rescue PulpContainerClient::ApiError => e
269
+ puts "Error when calling ContentSignaturesApi->set_label_with_http_info: #{e}"
270
+ end
271
+ ```
272
+
273
+ ### Parameters
274
+
275
+ | Name | Type | Description | Notes |
276
+ | ---- | ---- | ----------- | ----- |
277
+ | **container_manifest_signature_href** | **String** | | |
278
+ | **set_label** | [**SetLabel**](SetLabel.md) | | |
279
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
280
+
281
+ ### Return type
282
+
283
+ [**SetLabelResponse**](SetLabelResponse.md)
284
+
285
+ ### Authorization
286
+
287
+ [basicAuth](../README.md#basicAuth)
288
+
289
+ ### HTTP request headers
290
+
291
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
292
+ - **Accept**: application/json
293
+
294
+
295
+ ## unset_label
296
+
297
+ > <UnsetLabelResponse> unset_label(container_manifest_signature_href, unset_label, opts)
298
+
299
+ Unset a label
300
+
301
+ Unset a single pulp_label on the object.
302
+
303
+ ### Examples
304
+
305
+ ```ruby
306
+ require 'time'
307
+ require 'pulp_container_client'
308
+ # setup authorization
309
+ PulpContainerClient.configure do |config|
310
+ # Configure HTTP basic authorization: basicAuth
311
+ config.username = 'YOUR USERNAME'
312
+ config.password = 'YOUR PASSWORD'
313
+ end
314
+
315
+ api_instance = PulpContainerClient::ContentSignaturesApi.new
316
+ container_manifest_signature_href = 'container_manifest_signature_href_example' # String |
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
+ }
321
+
322
+ begin
323
+ # Unset a label
324
+ result = api_instance.unset_label(container_manifest_signature_href, unset_label, opts)
325
+ p result
326
+ rescue PulpContainerClient::ApiError => e
327
+ puts "Error when calling ContentSignaturesApi->unset_label: #{e}"
328
+ end
329
+ ```
330
+
331
+ #### Using the unset_label_with_http_info variant
332
+
333
+ This returns an Array which contains the response data, status code and headers.
334
+
335
+ > <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(container_manifest_signature_href, unset_label, opts)
336
+
337
+ ```ruby
338
+ begin
339
+ # Unset a label
340
+ data, status_code, headers = api_instance.unset_label_with_http_info(container_manifest_signature_href, unset_label, opts)
341
+ p status_code # => 2xx
342
+ p headers # => { ... }
343
+ p data # => <UnsetLabelResponse>
344
+ rescue PulpContainerClient::ApiError => e
345
+ puts "Error when calling ContentSignaturesApi->unset_label_with_http_info: #{e}"
346
+ end
347
+ ```
348
+
349
+ ### Parameters
350
+
351
+ | Name | Type | Description | Notes |
352
+ | ---- | ---- | ----------- | ----- |
353
+ | **container_manifest_signature_href** | **String** | | |
354
+ | **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
355
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
356
+
357
+ ### Return type
358
+
359
+ [**UnsetLabelResponse**](UnsetLabelResponse.md)
360
+
361
+ ### Authorization
362
+
363
+ [basicAuth](../README.md#basicAuth)
364
+
365
+ ### HTTP request headers
366
+
367
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
368
+ - **Accept**: application/json
369
+
@@ -6,6 +6,8 @@ All URIs are relative to *http://localhost:24817*
6
6
  | ------ | ------------ | ----------- |
7
7
  | [**list**](ContentTagsApi.md#list) | **GET** /pulp/api/v3/content/container/tags/ | List tags |
8
8
  | [**read**](ContentTagsApi.md#read) | **GET** {container_tag_href} | Inspect a tag |
9
+ | [**set_label**](ContentTagsApi.md#set_label) | **POST** {container_tag_href}set_label/ | Set a label |
10
+ | [**unset_label**](ContentTagsApi.md#unset_label) | **POST** {container_tag_href}unset_label/ | Unset a label |
9
11
 
10
12
 
11
13
  ## list
@@ -30,6 +32,7 @@ end
30
32
 
31
33
  api_instance = PulpContainerClient::ContentTagsApi.new
32
34
  opts = {
35
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
33
36
  digest: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
34
37
  limit: 56, # Integer | Number of results to return per page.
35
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
@@ -81,6 +84,7 @@ end
81
84
 
82
85
  | Name | Type | Description | Notes |
83
86
  | ---- | ---- | ----------- | ----- |
87
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
84
88
  | **digest** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
85
89
  | **limit** | **Integer** | Number of results to return per page. | [optional] |
86
90
  | **media_type** | [**Array&lt;String&gt;**](String.md) | * &#x60;application/vnd.docker.distribution.manifest.v1+json&#x60; - application/vnd.docker.distribution.manifest.v1+json * &#x60;application/vnd.docker.distribution.manifest.v2+json&#x60; - application/vnd.docker.distribution.manifest.v2+json * &#x60;application/vnd.docker.distribution.manifest.list.v2+json&#x60; - application/vnd.docker.distribution.manifest.list.v2+json * &#x60;application/vnd.oci.image.manifest.v1+json&#x60; - application/vnd.oci.image.manifest.v1+json * &#x60;application/vnd.oci.image.index.v1+json&#x60; - application/vnd.oci.image.index.v1+json | [optional] |
@@ -137,6 +141,7 @@ end
137
141
  api_instance = PulpContainerClient::ContentTagsApi.new
138
142
  container_tag_href = 'container_tag_href_example' # String |
139
143
  opts = {
144
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
140
145
  fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
141
146
  exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
142
147
  }
@@ -173,6 +178,7 @@ end
173
178
  | Name | Type | Description | Notes |
174
179
  | ---- | ---- | ----------- | ----- |
175
180
  | **container_tag_href** | **String** | | |
181
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
176
182
  | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
177
183
  | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
178
184
 
@@ -189,3 +195,155 @@ end
189
195
  - **Content-Type**: Not defined
190
196
  - **Accept**: application/json
191
197
 
198
+
199
+ ## set_label
200
+
201
+ > <SetLabelResponse> set_label(container_tag_href, set_label, opts)
202
+
203
+ Set a label
204
+
205
+ Set a single pulp_label on the object to a specific value or null.
206
+
207
+ ### Examples
208
+
209
+ ```ruby
210
+ require 'time'
211
+ require 'pulp_container_client'
212
+ # setup authorization
213
+ PulpContainerClient.configure do |config|
214
+ # Configure HTTP basic authorization: basicAuth
215
+ config.username = 'YOUR USERNAME'
216
+ config.password = 'YOUR PASSWORD'
217
+ end
218
+
219
+ api_instance = PulpContainerClient::ContentTagsApi.new
220
+ container_tag_href = 'container_tag_href_example' # String |
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
+ }
225
+
226
+ begin
227
+ # Set a label
228
+ result = api_instance.set_label(container_tag_href, set_label, opts)
229
+ p result
230
+ rescue PulpContainerClient::ApiError => e
231
+ puts "Error when calling ContentTagsApi->set_label: #{e}"
232
+ end
233
+ ```
234
+
235
+ #### Using the set_label_with_http_info variant
236
+
237
+ This returns an Array which contains the response data, status code and headers.
238
+
239
+ > <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(container_tag_href, set_label, opts)
240
+
241
+ ```ruby
242
+ begin
243
+ # Set a label
244
+ data, status_code, headers = api_instance.set_label_with_http_info(container_tag_href, set_label, opts)
245
+ p status_code # => 2xx
246
+ p headers # => { ... }
247
+ p data # => <SetLabelResponse>
248
+ rescue PulpContainerClient::ApiError => e
249
+ puts "Error when calling ContentTagsApi->set_label_with_http_info: #{e}"
250
+ end
251
+ ```
252
+
253
+ ### Parameters
254
+
255
+ | Name | Type | Description | Notes |
256
+ | ---- | ---- | ----------- | ----- |
257
+ | **container_tag_href** | **String** | | |
258
+ | **set_label** | [**SetLabel**](SetLabel.md) | | |
259
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
260
+
261
+ ### Return type
262
+
263
+ [**SetLabelResponse**](SetLabelResponse.md)
264
+
265
+ ### Authorization
266
+
267
+ [basicAuth](../README.md#basicAuth)
268
+
269
+ ### HTTP request headers
270
+
271
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
272
+ - **Accept**: application/json
273
+
274
+
275
+ ## unset_label
276
+
277
+ > <UnsetLabelResponse> unset_label(container_tag_href, unset_label, opts)
278
+
279
+ Unset a label
280
+
281
+ Unset a single pulp_label on the object.
282
+
283
+ ### Examples
284
+
285
+ ```ruby
286
+ require 'time'
287
+ require 'pulp_container_client'
288
+ # setup authorization
289
+ PulpContainerClient.configure do |config|
290
+ # Configure HTTP basic authorization: basicAuth
291
+ config.username = 'YOUR USERNAME'
292
+ config.password = 'YOUR PASSWORD'
293
+ end
294
+
295
+ api_instance = PulpContainerClient::ContentTagsApi.new
296
+ container_tag_href = 'container_tag_href_example' # String |
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
+ }
301
+
302
+ begin
303
+ # Unset a label
304
+ result = api_instance.unset_label(container_tag_href, unset_label, opts)
305
+ p result
306
+ rescue PulpContainerClient::ApiError => e
307
+ puts "Error when calling ContentTagsApi->unset_label: #{e}"
308
+ end
309
+ ```
310
+
311
+ #### Using the unset_label_with_http_info variant
312
+
313
+ This returns an Array which contains the response data, status code and headers.
314
+
315
+ > <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(container_tag_href, unset_label, opts)
316
+
317
+ ```ruby
318
+ begin
319
+ # Unset a label
320
+ data, status_code, headers = api_instance.unset_label_with_http_info(container_tag_href, unset_label, opts)
321
+ p status_code # => 2xx
322
+ p headers # => { ... }
323
+ p data # => <UnsetLabelResponse>
324
+ rescue PulpContainerClient::ApiError => e
325
+ puts "Error when calling ContentTagsApi->unset_label_with_http_info: #{e}"
326
+ end
327
+ ```
328
+
329
+ ### Parameters
330
+
331
+ | Name | Type | Description | Notes |
332
+ | ---- | ---- | ----------- | ----- |
333
+ | **container_tag_href** | **String** | | |
334
+ | **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
335
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
336
+
337
+ ### Return type
338
+
339
+ [**UnsetLabelResponse**](UnsetLabelResponse.md)
340
+
341
+ ### Authorization
342
+
343
+ [basicAuth](../README.md#basicAuth)
344
+
345
+ ### HTTP request headers
346
+
347
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
348
+ - **Accept**: application/json
349
+