pulp_container_client 2.24.1 → 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.
Files changed (51) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +12 -4
  3. data/docs/ContainerContainerDistribution.md +6 -6
  4. data/docs/ContainerContainerDistributionResponse.md +14 -14
  5. data/docs/ContainerContainerPullThroughDistribution.md +6 -6
  6. data/docs/ContainerContainerPullThroughDistributionResponse.md +14 -14
  7. data/docs/ContainerContainerPushRepository.md +2 -2
  8. data/docs/ContainerContainerPushRepositoryResponse.md +13 -13
  9. data/docs/ContentBlobsApi.md +146 -0
  10. data/docs/ContentManifestsApi.md +146 -0
  11. data/docs/ContentSignaturesApi.md +146 -0
  12. data/docs/ContentTagsApi.md +146 -0
  13. data/docs/DistributionsContainerApi.md +6 -4
  14. data/docs/DistributionsPullThroughApi.md +6 -4
  15. data/docs/PatchedcontainerContainerDistribution.md +6 -6
  16. data/docs/PatchedcontainerContainerPullThroughDistribution.md +6 -6
  17. data/docs/PatchedcontainerContainerPushRepository.md +2 -2
  18. data/lib/pulp_container_client/api/content_blobs_api.rb +148 -0
  19. data/lib/pulp_container_client/api/content_manifests_api.rb +148 -0
  20. data/lib/pulp_container_client/api/content_signatures_api.rb +148 -0
  21. data/lib/pulp_container_client/api/content_tags_api.rb +148 -0
  22. data/lib/pulp_container_client/api/distributions_container_api.rb +6 -3
  23. data/lib/pulp_container_client/api/distributions_pull_through_api.rb +6 -3
  24. data/lib/pulp_container_client/models/container_container_distribution.rb +54 -54
  25. data/lib/pulp_container_client/models/container_container_distribution_response.rb +69 -69
  26. data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +54 -54
  27. data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +69 -69
  28. data/lib/pulp_container_client/models/container_container_push_repository.rb +12 -12
  29. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +55 -55
  30. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +47 -47
  31. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +47 -47
  32. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +12 -12
  33. data/lib/pulp_container_client/models/unset_label.rb +1 -1
  34. data/lib/pulp_container_client/models/unset_label_response.rb +1 -1
  35. data/lib/pulp_container_client/version.rb +1 -1
  36. data/spec/api/content_blobs_api_spec.rb +26 -0
  37. data/spec/api/content_manifests_api_spec.rb +26 -0
  38. data/spec/api/content_signatures_api_spec.rb +26 -0
  39. data/spec/api/content_tags_api_spec.rb +26 -0
  40. data/spec/api/distributions_container_api_spec.rb +2 -1
  41. data/spec/api/distributions_pull_through_api_spec.rb +2 -1
  42. data/spec/models/container_container_distribution_response_spec.rb +10 -10
  43. data/spec/models/container_container_distribution_spec.rb +6 -6
  44. data/spec/models/container_container_pull_through_distribution_response_spec.rb +10 -10
  45. data/spec/models/container_container_pull_through_distribution_spec.rb +6 -6
  46. data/spec/models/container_container_push_repository_response_spec.rb +10 -10
  47. data/spec/models/container_container_push_repository_spec.rb +2 -2
  48. data/spec/models/patchedcontainer_container_distribution_spec.rb +6 -6
  49. data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +6 -6
  50. data/spec/models/patchedcontainer_container_push_repository_spec.rb +2 -2
  51. metadata +2 -2
@@ -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
@@ -209,3 +211,147 @@ end
209
211
  - **Content-Type**: Not defined
210
212
  - **Accept**: application/json
211
213
 
214
+
215
+ ## set_label
216
+
217
+ > <SetLabelResponse> set_label(container_manifest_signature_href, set_label)
218
+
219
+ Set a label
220
+
221
+ Set a single pulp_label on the object to a specific value or null.
222
+
223
+ ### Examples
224
+
225
+ ```ruby
226
+ require 'time'
227
+ require 'pulp_container_client'
228
+ # setup authorization
229
+ PulpContainerClient.configure do |config|
230
+ # Configure HTTP basic authorization: basicAuth
231
+ config.username = 'YOUR USERNAME'
232
+ config.password = 'YOUR PASSWORD'
233
+ end
234
+
235
+ api_instance = PulpContainerClient::ContentSignaturesApi.new
236
+ container_manifest_signature_href = 'container_manifest_signature_href_example' # String |
237
+ set_label = PulpContainerClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
238
+
239
+ begin
240
+ # Set a label
241
+ result = api_instance.set_label(container_manifest_signature_href, set_label)
242
+ p result
243
+ rescue PulpContainerClient::ApiError => e
244
+ puts "Error when calling ContentSignaturesApi->set_label: #{e}"
245
+ end
246
+ ```
247
+
248
+ #### Using the set_label_with_http_info variant
249
+
250
+ This returns an Array which contains the response data, status code and headers.
251
+
252
+ > <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(container_manifest_signature_href, set_label)
253
+
254
+ ```ruby
255
+ begin
256
+ # Set a label
257
+ data, status_code, headers = api_instance.set_label_with_http_info(container_manifest_signature_href, set_label)
258
+ p status_code # => 2xx
259
+ p headers # => { ... }
260
+ p data # => <SetLabelResponse>
261
+ rescue PulpContainerClient::ApiError => e
262
+ puts "Error when calling ContentSignaturesApi->set_label_with_http_info: #{e}"
263
+ end
264
+ ```
265
+
266
+ ### Parameters
267
+
268
+ | Name | Type | Description | Notes |
269
+ | ---- | ---- | ----------- | ----- |
270
+ | **container_manifest_signature_href** | **String** | | |
271
+ | **set_label** | [**SetLabel**](SetLabel.md) | | |
272
+
273
+ ### Return type
274
+
275
+ [**SetLabelResponse**](SetLabelResponse.md)
276
+
277
+ ### Authorization
278
+
279
+ [basicAuth](../README.md#basicAuth)
280
+
281
+ ### HTTP request headers
282
+
283
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
284
+ - **Accept**: application/json
285
+
286
+
287
+ ## unset_label
288
+
289
+ > <UnsetLabelResponse> unset_label(container_manifest_signature_href, unset_label)
290
+
291
+ Unset a label
292
+
293
+ Unset a single pulp_label on the object.
294
+
295
+ ### Examples
296
+
297
+ ```ruby
298
+ require 'time'
299
+ require 'pulp_container_client'
300
+ # setup authorization
301
+ PulpContainerClient.configure do |config|
302
+ # Configure HTTP basic authorization: basicAuth
303
+ config.username = 'YOUR USERNAME'
304
+ config.password = 'YOUR PASSWORD'
305
+ end
306
+
307
+ api_instance = PulpContainerClient::ContentSignaturesApi.new
308
+ container_manifest_signature_href = 'container_manifest_signature_href_example' # String |
309
+ unset_label = PulpContainerClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
310
+
311
+ begin
312
+ # Unset a label
313
+ result = api_instance.unset_label(container_manifest_signature_href, unset_label)
314
+ p result
315
+ rescue PulpContainerClient::ApiError => e
316
+ puts "Error when calling ContentSignaturesApi->unset_label: #{e}"
317
+ end
318
+ ```
319
+
320
+ #### Using the unset_label_with_http_info variant
321
+
322
+ This returns an Array which contains the response data, status code and headers.
323
+
324
+ > <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(container_manifest_signature_href, unset_label)
325
+
326
+ ```ruby
327
+ begin
328
+ # Unset a label
329
+ data, status_code, headers = api_instance.unset_label_with_http_info(container_manifest_signature_href, unset_label)
330
+ p status_code # => 2xx
331
+ p headers # => { ... }
332
+ p data # => <UnsetLabelResponse>
333
+ rescue PulpContainerClient::ApiError => e
334
+ puts "Error when calling ContentSignaturesApi->unset_label_with_http_info: #{e}"
335
+ end
336
+ ```
337
+
338
+ ### Parameters
339
+
340
+ | Name | Type | Description | Notes |
341
+ | ---- | ---- | ----------- | ----- |
342
+ | **container_manifest_signature_href** | **String** | | |
343
+ | **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
344
+
345
+ ### Return type
346
+
347
+ [**UnsetLabelResponse**](UnsetLabelResponse.md)
348
+
349
+ ### Authorization
350
+
351
+ [basicAuth](../README.md#basicAuth)
352
+
353
+ ### HTTP request headers
354
+
355
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
356
+ - **Accept**: application/json
357
+
@@ -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
@@ -189,3 +191,147 @@ end
189
191
  - **Content-Type**: Not defined
190
192
  - **Accept**: application/json
191
193
 
194
+
195
+ ## set_label
196
+
197
+ > <SetLabelResponse> set_label(container_tag_href, set_label)
198
+
199
+ Set a label
200
+
201
+ Set a single pulp_label on the object to a specific value or null.
202
+
203
+ ### Examples
204
+
205
+ ```ruby
206
+ require 'time'
207
+ require 'pulp_container_client'
208
+ # setup authorization
209
+ PulpContainerClient.configure do |config|
210
+ # Configure HTTP basic authorization: basicAuth
211
+ config.username = 'YOUR USERNAME'
212
+ config.password = 'YOUR PASSWORD'
213
+ end
214
+
215
+ api_instance = PulpContainerClient::ContentTagsApi.new
216
+ container_tag_href = 'container_tag_href_example' # String |
217
+ set_label = PulpContainerClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
218
+
219
+ begin
220
+ # Set a label
221
+ result = api_instance.set_label(container_tag_href, set_label)
222
+ p result
223
+ rescue PulpContainerClient::ApiError => e
224
+ puts "Error when calling ContentTagsApi->set_label: #{e}"
225
+ end
226
+ ```
227
+
228
+ #### Using the set_label_with_http_info variant
229
+
230
+ This returns an Array which contains the response data, status code and headers.
231
+
232
+ > <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(container_tag_href, set_label)
233
+
234
+ ```ruby
235
+ begin
236
+ # Set a label
237
+ data, status_code, headers = api_instance.set_label_with_http_info(container_tag_href, set_label)
238
+ p status_code # => 2xx
239
+ p headers # => { ... }
240
+ p data # => <SetLabelResponse>
241
+ rescue PulpContainerClient::ApiError => e
242
+ puts "Error when calling ContentTagsApi->set_label_with_http_info: #{e}"
243
+ end
244
+ ```
245
+
246
+ ### Parameters
247
+
248
+ | Name | Type | Description | Notes |
249
+ | ---- | ---- | ----------- | ----- |
250
+ | **container_tag_href** | **String** | | |
251
+ | **set_label** | [**SetLabel**](SetLabel.md) | | |
252
+
253
+ ### Return type
254
+
255
+ [**SetLabelResponse**](SetLabelResponse.md)
256
+
257
+ ### Authorization
258
+
259
+ [basicAuth](../README.md#basicAuth)
260
+
261
+ ### HTTP request headers
262
+
263
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
264
+ - **Accept**: application/json
265
+
266
+
267
+ ## unset_label
268
+
269
+ > <UnsetLabelResponse> unset_label(container_tag_href, unset_label)
270
+
271
+ Unset a label
272
+
273
+ Unset a single pulp_label on the object.
274
+
275
+ ### Examples
276
+
277
+ ```ruby
278
+ require 'time'
279
+ require 'pulp_container_client'
280
+ # setup authorization
281
+ PulpContainerClient.configure do |config|
282
+ # Configure HTTP basic authorization: basicAuth
283
+ config.username = 'YOUR USERNAME'
284
+ config.password = 'YOUR PASSWORD'
285
+ end
286
+
287
+ api_instance = PulpContainerClient::ContentTagsApi.new
288
+ container_tag_href = 'container_tag_href_example' # String |
289
+ unset_label = PulpContainerClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
290
+
291
+ begin
292
+ # Unset a label
293
+ result = api_instance.unset_label(container_tag_href, unset_label)
294
+ p result
295
+ rescue PulpContainerClient::ApiError => e
296
+ puts "Error when calling ContentTagsApi->unset_label: #{e}"
297
+ end
298
+ ```
299
+
300
+ #### Using the unset_label_with_http_info variant
301
+
302
+ This returns an Array which contains the response data, status code and headers.
303
+
304
+ > <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(container_tag_href, unset_label)
305
+
306
+ ```ruby
307
+ begin
308
+ # Unset a label
309
+ data, status_code, headers = api_instance.unset_label_with_http_info(container_tag_href, unset_label)
310
+ p status_code # => 2xx
311
+ p headers # => { ... }
312
+ p data # => <UnsetLabelResponse>
313
+ rescue PulpContainerClient::ApiError => e
314
+ puts "Error when calling ContentTagsApi->unset_label_with_http_info: #{e}"
315
+ end
316
+ ```
317
+
318
+ ### Parameters
319
+
320
+ | Name | Type | Description | Notes |
321
+ | ---- | ---- | ----------- | ----- |
322
+ | **container_tag_href** | **String** | | |
323
+ | **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
324
+
325
+ ### Return type
326
+
327
+ [**UnsetLabelResponse**](UnsetLabelResponse.md)
328
+
329
+ ### Authorization
330
+
331
+ [basicAuth](../README.md#basicAuth)
332
+
333
+ ### HTTP request headers
334
+
335
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
336
+ - **Accept**: application/json
337
+
@@ -111,7 +111,7 @@ PulpContainerClient.configure do |config|
111
111
  end
112
112
 
113
113
  api_instance = PulpContainerClient::DistributionsContainerApi.new
114
- container_container_distribution = PulpContainerClient::ContainerContainerDistribution.new({base_path: 'base_path_example', name: 'name_example'}) # ContainerContainerDistribution |
114
+ container_container_distribution = PulpContainerClient::ContainerContainerDistribution.new({name: 'name_example', base_path: 'base_path_example'}) # ContainerContainerDistribution |
115
115
 
116
116
  begin
117
117
  # Create a container distribution
@@ -256,6 +256,7 @@ opts = {
256
256
  base_path__contains: 'base_path__contains_example', # String | Filter results where base_path contains value
257
257
  base_path__icontains: 'base_path__icontains_example', # String | Filter results where base_path contains value
258
258
  base_path__in: ['inner_example'], # Array<String> | Filter results where base_path is in a comma-separated list of values
259
+ checkpoint: true, # Boolean | Filter results where checkpoint matches value
259
260
  limit: 56, # Integer | Number of results to return per page.
260
261
  name: 'name_example', # String | Filter results where name matches value
261
262
  name__contains: 'name__contains_example', # String | Filter results where name contains value
@@ -268,7 +269,7 @@ opts = {
268
269
  name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
269
270
  namespace__name: 'namespace__name_example', # String |
270
271
  offset: 56, # Integer | The initial index from which to return the results.
271
- ordering: ['-base_path'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `private` - Private * `-private` - Private (descending) * `description` - Description * `-description` - Description (descending) * `pk` - Pk * `-pk` - Pk (descending)
272
+ ordering: ['-base_path'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `private` - Private * `-private` - Private (descending) * `description` - Description * `-description` - Description (descending) * `pk` - Pk * `-pk` - Pk (descending)
272
273
  prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
273
274
  pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
274
275
  pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
@@ -316,6 +317,7 @@ end
316
317
  | **base_path__contains** | **String** | Filter results where base_path contains value | [optional] |
317
318
  | **base_path__icontains** | **String** | Filter results where base_path contains value | [optional] |
318
319
  | **base_path__in** | [**Array&lt;String&gt;**](String.md) | Filter results where base_path is in a comma-separated list of values | [optional] |
320
+ | **checkpoint** | **Boolean** | Filter results where checkpoint matches value | [optional] |
319
321
  | **limit** | **Integer** | Number of results to return per page. | [optional] |
320
322
  | **name** | **String** | Filter results where name matches value | [optional] |
321
323
  | **name__contains** | **String** | Filter results where name contains value | [optional] |
@@ -328,7 +330,7 @@ end
328
330
  | **name__startswith** | **String** | Filter results where name starts with value | [optional] |
329
331
  | **namespace__name** | **String** | | [optional] |
330
332
  | **offset** | **Integer** | The initial index from which to return the results. | [optional] |
331
- | **ordering** | [**Array&lt;String&gt;**](String.md) | Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;base_path&#x60; - Base path * &#x60;-base_path&#x60; - Base path (descending) * &#x60;hidden&#x60; - Hidden * &#x60;-hidden&#x60; - Hidden (descending) * &#x60;private&#x60; - Private * &#x60;-private&#x60; - Private (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
333
+ | **ordering** | [**Array&lt;String&gt;**](String.md) | Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;base_path&#x60; - Base path * &#x60;-base_path&#x60; - Base path (descending) * &#x60;hidden&#x60; - Hidden * &#x60;-hidden&#x60; - Hidden (descending) * &#x60;checkpoint&#x60; - Checkpoint * &#x60;-checkpoint&#x60; - Checkpoint (descending) * &#x60;private&#x60; - Private * &#x60;-private&#x60; - Private (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
332
334
  | **prn__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
333
335
  | **pulp_href__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
334
336
  | **pulp_id__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
@@ -892,7 +894,7 @@ end
892
894
 
893
895
  api_instance = PulpContainerClient::DistributionsContainerApi.new
894
896
  container_container_distribution_href = 'container_container_distribution_href_example' # String |
895
- container_container_distribution = PulpContainerClient::ContainerContainerDistribution.new({base_path: 'base_path_example', name: 'name_example'}) # ContainerContainerDistribution |
897
+ container_container_distribution = PulpContainerClient::ContainerContainerDistribution.new({name: 'name_example', base_path: 'base_path_example'}) # ContainerContainerDistribution |
896
898
 
897
899
  begin
898
900
  # Update a container distribution
@@ -111,7 +111,7 @@ PulpContainerClient.configure do |config|
111
111
  end
112
112
 
113
113
  api_instance = PulpContainerClient::DistributionsPullThroughApi.new
114
- container_container_pull_through_distribution = PulpContainerClient::ContainerContainerPullThroughDistribution.new({base_path: 'base_path_example', name: 'name_example', remote: 'remote_example'}) # ContainerContainerPullThroughDistribution |
114
+ container_container_pull_through_distribution = PulpContainerClient::ContainerContainerPullThroughDistribution.new({name: 'name_example', base_path: 'base_path_example', remote: 'remote_example'}) # ContainerContainerPullThroughDistribution |
115
115
 
116
116
  begin
117
117
  # Create a container pull through distribution
@@ -256,6 +256,7 @@ opts = {
256
256
  base_path__contains: 'base_path__contains_example', # String | Filter results where base_path contains value
257
257
  base_path__icontains: 'base_path__icontains_example', # String | Filter results where base_path contains value
258
258
  base_path__in: ['inner_example'], # Array<String> | Filter results where base_path is in a comma-separated list of values
259
+ checkpoint: true, # Boolean | Filter results where checkpoint matches value
259
260
  limit: 56, # Integer | Number of results to return per page.
260
261
  name: 'name_example', # String | Filter results where name matches value
261
262
  name__contains: 'name__contains_example', # String | Filter results where name contains value
@@ -267,7 +268,7 @@ opts = {
267
268
  name__regex: 'name__regex_example', # String | Filter results where name matches regex value
268
269
  name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
269
270
  offset: 56, # Integer | The initial index from which to return the results.
270
- ordering: ['-base_path'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
271
+ ordering: ['-base_path'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending)
271
272
  prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
272
273
  pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
273
274
  pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
@@ -315,6 +316,7 @@ end
315
316
  | **base_path__contains** | **String** | Filter results where base_path contains value | [optional] |
316
317
  | **base_path__icontains** | **String** | Filter results where base_path contains value | [optional] |
317
318
  | **base_path__in** | [**Array&lt;String&gt;**](String.md) | Filter results where base_path is in a comma-separated list of values | [optional] |
319
+ | **checkpoint** | **Boolean** | Filter results where checkpoint matches value | [optional] |
318
320
  | **limit** | **Integer** | Number of results to return per page. | [optional] |
319
321
  | **name** | **String** | Filter results where name matches value | [optional] |
320
322
  | **name__contains** | **String** | Filter results where name contains value | [optional] |
@@ -326,7 +328,7 @@ end
326
328
  | **name__regex** | **String** | Filter results where name matches regex value | [optional] |
327
329
  | **name__startswith** | **String** | Filter results where name starts with value | [optional] |
328
330
  | **offset** | **Integer** | The initial index from which to return the results. | [optional] |
329
- | **ordering** | [**Array&lt;String&gt;**](String.md) | Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;base_path&#x60; - Base path * &#x60;-base_path&#x60; - Base path (descending) * &#x60;hidden&#x60; - Hidden * &#x60;-hidden&#x60; - Hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
331
+ | **ordering** | [**Array&lt;String&gt;**](String.md) | Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;base_path&#x60; - Base path * &#x60;-base_path&#x60; - Base path (descending) * &#x60;hidden&#x60; - Hidden * &#x60;-hidden&#x60; - Hidden (descending) * &#x60;checkpoint&#x60; - Checkpoint * &#x60;-checkpoint&#x60; - Checkpoint (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
330
332
  | **prn__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
331
333
  | **pulp_href__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
332
334
  | **pulp_id__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
@@ -890,7 +892,7 @@ end
890
892
 
891
893
  api_instance = PulpContainerClient::DistributionsPullThroughApi.new
892
894
  container_container_pull_through_distribution_href = 'container_container_pull_through_distribution_href_example' # String |
893
- container_container_pull_through_distribution = PulpContainerClient::ContainerContainerPullThroughDistribution.new({base_path: 'base_path_example', name: 'name_example', remote: 'remote_example'}) # ContainerContainerPullThroughDistribution |
895
+ container_container_pull_through_distribution = PulpContainerClient::ContainerContainerPullThroughDistribution.new({name: 'name_example', base_path: 'base_path_example', remote: 'remote_example'}) # ContainerContainerPullThroughDistribution |
894
896
 
895
897
  begin
896
898
  # Update a container pull through distribution
@@ -4,12 +4,12 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
8
+ | **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional] |
7
9
  | **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
8
- | **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \&quot;foo\&quot; and \&quot;foo/bar\&quot;) | [optional] |
9
10
  | **name** | **String** | A unique name. Ex, &#x60;rawhide&#x60; and &#x60;stable&#x60;. | [optional] |
10
- | **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional] |
11
+ | **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \&quot;foo\&quot; and \&quot;foo/bar\&quot;) | [optional] |
11
12
  | **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional] |
12
- | **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
13
13
  | **repository_version** | **String** | RepositoryVersion to be served | [optional] |
14
14
  | **private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional] |
15
15
  | **description** | **String** | An optional description. | [optional] |
@@ -20,12 +20,12 @@
20
20
  require 'pulp_container_client'
21
21
 
22
22
  instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(
23
+ repository: null,
24
+ content_guard: null,
23
25
  hidden: null,
24
- base_path: null,
25
26
  name: null,
26
- content_guard: null,
27
+ base_path: null,
27
28
  pulp_labels: null,
28
- repository: null,
29
29
  repository_version: null,
30
30
  private: null,
31
31
  description: null
@@ -4,12 +4,12 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
8
+ | **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional] |
7
9
  | **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
8
- | **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \&quot;foo\&quot; and \&quot;foo/bar\&quot;) | [optional] |
9
10
  | **name** | **String** | A unique name. Ex, &#x60;rawhide&#x60; and &#x60;stable&#x60;. | [optional] |
10
- | **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional] |
11
+ | **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \&quot;foo\&quot; and \&quot;foo/bar\&quot;) | [optional] |
11
12
  | **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional] |
12
- | **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
13
13
  | **remote** | **String** | Remote that can be used to fetch content when using pull-through caching. | [optional] |
14
14
  | **distributions** | **Array&lt;String&gt;** | Distributions created after pulling content through cache | [optional] |
15
15
  | **private** | **Boolean** | Restrict pull access to explicitly authorized users. Related distributions inherit this value. Defaults to unrestricted pull access. | [optional] |
@@ -21,12 +21,12 @@
21
21
  require 'pulp_container_client'
22
22
 
23
23
  instance = PulpContainerClient::PatchedcontainerContainerPullThroughDistribution.new(
24
+ repository: null,
25
+ content_guard: null,
24
26
  hidden: null,
25
- base_path: null,
26
27
  name: null,
27
- content_guard: null,
28
+ base_path: null,
28
29
  pulp_labels: null,
29
- repository: null,
30
30
  remote: null,
31
31
  distributions: null,
32
32
  private: null,
@@ -4,8 +4,8 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional] |
8
7
  | **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
8
+ | **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional] |
9
9
  | **name** | **String** | A unique name for this repository. | [optional] |
10
10
  | **description** | **String** | An optional description. | [optional] |
11
11
  | **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional] |
@@ -16,8 +16,8 @@
16
16
  require 'pulp_container_client'
17
17
 
18
18
  instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(
19
- manifest_signing_service: null,
20
19
  retain_repo_versions: null,
20
+ manifest_signing_service: null,
21
21
  name: null,
22
22
  description: null,
23
23
  pulp_labels: null
@@ -196,5 +196,153 @@ module PulpContainerClient
196
196
  end
197
197
  return data, status_code, headers
198
198
  end
199
+
200
+ # Set a label
201
+ # Set a single pulp_label on the object to a specific value or null.
202
+ # @param container_blob_href [String]
203
+ # @param set_label [SetLabel]
204
+ # @param [Hash] opts the optional parameters
205
+ # @return [SetLabelResponse]
206
+ def set_label(container_blob_href, set_label, opts = {})
207
+ data, _status_code, _headers = set_label_with_http_info(container_blob_href, set_label, opts)
208
+ data
209
+ end
210
+
211
+ # Set a label
212
+ # Set a single pulp_label on the object to a specific value or null.
213
+ # @param container_blob_href [String]
214
+ # @param set_label [SetLabel]
215
+ # @param [Hash] opts the optional parameters
216
+ # @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
217
+ def set_label_with_http_info(container_blob_href, set_label, opts = {})
218
+ if @api_client.config.debugging
219
+ @api_client.config.logger.debug 'Calling API: ContentBlobsApi.set_label ...'
220
+ end
221
+ # verify the required parameter 'container_blob_href' is set
222
+ if @api_client.config.client_side_validation && container_blob_href.nil?
223
+ fail ArgumentError, "Missing the required parameter 'container_blob_href' when calling ContentBlobsApi.set_label"
224
+ end
225
+ # verify the required parameter 'set_label' is set
226
+ if @api_client.config.client_side_validation && set_label.nil?
227
+ fail ArgumentError, "Missing the required parameter 'set_label' when calling ContentBlobsApi.set_label"
228
+ end
229
+ # resource path
230
+ local_var_path = '{container_blob_href}set_label/'.sub('{' + 'container_blob_href' + '}', CGI.escape(container_blob_href.to_s).gsub('%2F', '/'))
231
+
232
+ # query parameters
233
+ query_params = opts[:query_params] || {}
234
+
235
+ # header parameters
236
+ header_params = opts[:header_params] || {}
237
+ # HTTP header 'Accept' (if needed)
238
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
239
+ # HTTP header 'Content-Type'
240
+ content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
241
+ if !content_type.nil?
242
+ header_params['Content-Type'] = content_type
243
+ end
244
+
245
+ # form parameters
246
+ form_params = opts[:form_params] || {}
247
+
248
+ # http body (model)
249
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(set_label)
250
+
251
+ # return_type
252
+ return_type = opts[:debug_return_type] || 'SetLabelResponse'
253
+
254
+ # auth_names
255
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
256
+
257
+ new_options = opts.merge(
258
+ :operation => :"ContentBlobsApi.set_label",
259
+ :header_params => header_params,
260
+ :query_params => query_params,
261
+ :form_params => form_params,
262
+ :body => post_body,
263
+ :auth_names => auth_names,
264
+ :return_type => return_type
265
+ )
266
+
267
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
268
+ if @api_client.config.debugging
269
+ @api_client.config.logger.debug "API called: ContentBlobsApi#set_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
270
+ end
271
+ return data, status_code, headers
272
+ end
273
+
274
+ # Unset a label
275
+ # Unset a single pulp_label on the object.
276
+ # @param container_blob_href [String]
277
+ # @param unset_label [UnsetLabel]
278
+ # @param [Hash] opts the optional parameters
279
+ # @return [UnsetLabelResponse]
280
+ def unset_label(container_blob_href, unset_label, opts = {})
281
+ data, _status_code, _headers = unset_label_with_http_info(container_blob_href, unset_label, opts)
282
+ data
283
+ end
284
+
285
+ # Unset a label
286
+ # Unset a single pulp_label on the object.
287
+ # @param container_blob_href [String]
288
+ # @param unset_label [UnsetLabel]
289
+ # @param [Hash] opts the optional parameters
290
+ # @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
291
+ def unset_label_with_http_info(container_blob_href, unset_label, opts = {})
292
+ if @api_client.config.debugging
293
+ @api_client.config.logger.debug 'Calling API: ContentBlobsApi.unset_label ...'
294
+ end
295
+ # verify the required parameter 'container_blob_href' is set
296
+ if @api_client.config.client_side_validation && container_blob_href.nil?
297
+ fail ArgumentError, "Missing the required parameter 'container_blob_href' when calling ContentBlobsApi.unset_label"
298
+ end
299
+ # verify the required parameter 'unset_label' is set
300
+ if @api_client.config.client_side_validation && unset_label.nil?
301
+ fail ArgumentError, "Missing the required parameter 'unset_label' when calling ContentBlobsApi.unset_label"
302
+ end
303
+ # resource path
304
+ local_var_path = '{container_blob_href}unset_label/'.sub('{' + 'container_blob_href' + '}', CGI.escape(container_blob_href.to_s).gsub('%2F', '/'))
305
+
306
+ # query parameters
307
+ query_params = opts[:query_params] || {}
308
+
309
+ # header parameters
310
+ header_params = opts[:header_params] || {}
311
+ # HTTP header 'Accept' (if needed)
312
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
313
+ # HTTP header 'Content-Type'
314
+ content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
315
+ if !content_type.nil?
316
+ header_params['Content-Type'] = content_type
317
+ end
318
+
319
+ # form parameters
320
+ form_params = opts[:form_params] || {}
321
+
322
+ # http body (model)
323
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(unset_label)
324
+
325
+ # return_type
326
+ return_type = opts[:debug_return_type] || 'UnsetLabelResponse'
327
+
328
+ # auth_names
329
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
330
+
331
+ new_options = opts.merge(
332
+ :operation => :"ContentBlobsApi.unset_label",
333
+ :header_params => header_params,
334
+ :query_params => query_params,
335
+ :form_params => form_params,
336
+ :body => post_body,
337
+ :auth_names => auth_names,
338
+ :return_type => return_type
339
+ )
340
+
341
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
342
+ if @api_client.config.debugging
343
+ @api_client.config.logger.debug "API called: ContentBlobsApi#unset_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
344
+ end
345
+ return data, status_code, headers
346
+ end
199
347
  end
200
348
  end