pulp_container_client 2.5.5 → 2.6.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 (137) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/README.md +5 -5
  4. data/docs/ContainerContainerDistribution.md +7 -7
  5. data/docs/ContainerContainerDistributionResponse.md +9 -9
  6. data/docs/ContainerContainerPushRepositoryResponse.md +2 -0
  7. data/docs/ContainerContainerRepository.md +2 -0
  8. data/docs/ContainerContainerRepositoryResponse.md +2 -0
  9. data/docs/ContentBlobsApi.md +2 -2
  10. data/docs/ContentManifestsApi.md +2 -2
  11. data/docs/ContentSummary.md +3 -3
  12. data/docs/ContentSummaryResponse.md +3 -3
  13. data/docs/ContentTagsApi.md +2 -2
  14. data/docs/ManifestCopy.md +1 -1
  15. data/docs/PatchedcontainerContainerDistribution.md +7 -7
  16. data/docs/PatchedcontainerContainerRepository.md +2 -0
  17. data/docs/RecursiveManage.md +1 -1
  18. data/docs/RepositoryVersionResponse.md +2 -0
  19. data/docs/TagCopy.md +1 -1
  20. data/lib/pulp_container_client/api/content_blobs_api.rb +6 -6
  21. data/lib/pulp_container_client/api/content_manifests_api.rb +6 -6
  22. data/lib/pulp_container_client/api/content_tags_api.rb +6 -6
  23. data/lib/pulp_container_client/api/contentguards_content_redirect_api.rb +1 -1
  24. data/lib/pulp_container_client/api/distributions_container_api.rb +1 -1
  25. data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +1 -1
  26. data/lib/pulp_container_client/api/remotes_container_api.rb +1 -1
  27. data/lib/pulp_container_client/api/repositories_container_api.rb +1 -1
  28. data/lib/pulp_container_client/api/repositories_container_push_api.rb +1 -1
  29. data/lib/pulp_container_client/api/repositories_container_versions_api.rb +1 -41
  30. data/lib/pulp_container_client/api/token_api.rb +1 -1
  31. data/lib/pulp_container_client/api_client.rb +8 -12
  32. data/lib/pulp_container_client/api_error.rb +1 -1
  33. data/lib/pulp_container_client/configuration.rb +1 -8
  34. data/lib/pulp_container_client/models/async_operation_response.rb +1 -1
  35. data/lib/pulp_container_client/models/container_blob_response.rb +1 -1
  36. data/lib/pulp_container_client/models/container_container_distribution.rb +30 -30
  37. data/lib/pulp_container_client/models/container_container_distribution_response.rb +40 -40
  38. data/lib/pulp_container_client/models/container_container_namespace.rb +1 -1
  39. data/lib/pulp_container_client/models/container_container_namespace_response.rb +1 -1
  40. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +28 -2
  41. data/lib/pulp_container_client/models/container_container_remote.rb +1 -1
  42. data/lib/pulp_container_client/models/container_container_remote_response.rb +1 -1
  43. data/lib/pulp_container_client/models/container_container_repository.rb +28 -2
  44. data/lib/pulp_container_client/models/container_container_repository_response.rb +28 -2
  45. data/lib/pulp_container_client/models/container_content_redirect_content_guard.rb +1 -1
  46. data/lib/pulp_container_client/models/container_content_redirect_content_guard_response.rb +1 -1
  47. data/lib/pulp_container_client/models/container_manifest_response.rb +1 -1
  48. data/lib/pulp_container_client/models/container_tag_response.rb +1 -1
  49. data/lib/pulp_container_client/models/content_summary.rb +13 -7
  50. data/lib/pulp_container_client/models/content_summary_response.rb +13 -7
  51. data/lib/pulp_container_client/models/manifest_copy.rb +2 -2
  52. data/lib/pulp_container_client/models/media_types_enum.rb +1 -1
  53. data/lib/pulp_container_client/models/oci_build_image.rb +1 -1
  54. data/lib/pulp_container_client/models/paginated_repository_version_response_list.rb +1 -1
  55. data/lib/pulp_container_client/models/paginatedcontainer_blob_response_list.rb +1 -1
  56. data/lib/pulp_container_client/models/paginatedcontainer_container_distribution_response_list.rb +1 -1
  57. data/lib/pulp_container_client/models/paginatedcontainer_container_namespace_response_list.rb +1 -1
  58. data/lib/pulp_container_client/models/paginatedcontainer_container_push_repository_response_list.rb +1 -1
  59. data/lib/pulp_container_client/models/paginatedcontainer_container_remote_response_list.rb +1 -1
  60. data/lib/pulp_container_client/models/paginatedcontainer_container_repository_response_list.rb +1 -1
  61. data/lib/pulp_container_client/models/paginatedcontainer_content_redirect_content_guard_response_list.rb +1 -1
  62. data/lib/pulp_container_client/models/paginatedcontainer_manifest_response_list.rb +1 -1
  63. data/lib/pulp_container_client/models/paginatedcontainer_tag_response_list.rb +1 -1
  64. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +30 -30
  65. data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +1 -1
  66. data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +28 -2
  67. data/lib/pulp_container_client/models/patchedcontainer_content_redirect_content_guard.rb +1 -1
  68. data/lib/pulp_container_client/models/policy_enum.rb +1 -1
  69. data/lib/pulp_container_client/models/recursive_manage.rb +2 -2
  70. data/lib/pulp_container_client/models/remove_image.rb +1 -1
  71. data/lib/pulp_container_client/models/repository_sync_url.rb +1 -1
  72. data/lib/pulp_container_client/models/repository_version.rb +1 -1
  73. data/lib/pulp_container_client/models/repository_version_response.rb +11 -2
  74. data/lib/pulp_container_client/models/tag_copy.rb +2 -2
  75. data/lib/pulp_container_client/models/tag_image.rb +1 -1
  76. data/lib/pulp_container_client/models/un_tag_image.rb +1 -1
  77. data/lib/pulp_container_client/version.rb +2 -2
  78. data/lib/pulp_container_client.rb +1 -1
  79. data/pulp_container_client.gemspec +2 -2
  80. data/spec/api/content_blobs_api_spec.rb +2 -2
  81. data/spec/api/content_manifests_api_spec.rb +2 -2
  82. data/spec/api/content_tags_api_spec.rb +2 -2
  83. data/spec/api/contentguards_content_redirect_api_spec.rb +1 -1
  84. data/spec/api/distributions_container_api_spec.rb +1 -1
  85. data/spec/api/pulp_container_namespaces_api_spec.rb +1 -1
  86. data/spec/api/remotes_container_api_spec.rb +1 -1
  87. data/spec/api/repositories_container_api_spec.rb +1 -1
  88. data/spec/api/repositories_container_push_api_spec.rb +1 -1
  89. data/spec/api/repositories_container_versions_api_spec.rb +1 -1
  90. data/spec/api/token_api_spec.rb +1 -1
  91. data/spec/api_client_spec.rb +2 -2
  92. data/spec/configuration_spec.rb +1 -1
  93. data/spec/models/async_operation_response_spec.rb +1 -1
  94. data/spec/models/container_blob_response_spec.rb +1 -1
  95. data/spec/models/container_container_distribution_response_spec.rb +9 -9
  96. data/spec/models/container_container_distribution_spec.rb +7 -7
  97. data/spec/models/container_container_namespace_response_spec.rb +1 -1
  98. data/spec/models/container_container_namespace_spec.rb +1 -1
  99. data/spec/models/container_container_push_repository_response_spec.rb +7 -1
  100. data/spec/models/container_container_remote_response_spec.rb +1 -1
  101. data/spec/models/container_container_remote_spec.rb +1 -1
  102. data/spec/models/container_container_repository_response_spec.rb +7 -1
  103. data/spec/models/container_container_repository_spec.rb +7 -1
  104. data/spec/models/container_content_redirect_content_guard_response_spec.rb +1 -1
  105. data/spec/models/container_content_redirect_content_guard_spec.rb +1 -1
  106. data/spec/models/container_manifest_response_spec.rb +1 -1
  107. data/spec/models/container_tag_response_spec.rb +1 -1
  108. data/spec/models/content_summary_response_spec.rb +1 -1
  109. data/spec/models/content_summary_spec.rb +1 -1
  110. data/spec/models/manifest_copy_spec.rb +1 -1
  111. data/spec/models/media_types_enum_spec.rb +1 -1
  112. data/spec/models/oci_build_image_spec.rb +1 -1
  113. data/spec/models/paginated_repository_version_response_list_spec.rb +1 -1
  114. data/spec/models/paginatedcontainer_blob_response_list_spec.rb +1 -1
  115. data/spec/models/paginatedcontainer_container_distribution_response_list_spec.rb +1 -1
  116. data/spec/models/paginatedcontainer_container_namespace_response_list_spec.rb +1 -1
  117. data/spec/models/paginatedcontainer_container_push_repository_response_list_spec.rb +1 -1
  118. data/spec/models/paginatedcontainer_container_remote_response_list_spec.rb +1 -1
  119. data/spec/models/paginatedcontainer_container_repository_response_list_spec.rb +1 -1
  120. data/spec/models/paginatedcontainer_content_redirect_content_guard_response_list_spec.rb +1 -1
  121. data/spec/models/paginatedcontainer_manifest_response_list_spec.rb +1 -1
  122. data/spec/models/paginatedcontainer_tag_response_list_spec.rb +1 -1
  123. data/spec/models/patchedcontainer_container_distribution_spec.rb +7 -7
  124. data/spec/models/patchedcontainer_container_remote_spec.rb +1 -1
  125. data/spec/models/patchedcontainer_container_repository_spec.rb +7 -1
  126. data/spec/models/patchedcontainer_content_redirect_content_guard_spec.rb +1 -1
  127. data/spec/models/policy_enum_spec.rb +1 -1
  128. data/spec/models/recursive_manage_spec.rb +1 -1
  129. data/spec/models/remove_image_spec.rb +1 -1
  130. data/spec/models/repository_sync_url_spec.rb +1 -1
  131. data/spec/models/repository_version_response_spec.rb +7 -1
  132. data/spec/models/repository_version_spec.rb +1 -1
  133. data/spec/models/tag_copy_spec.rb +1 -1
  134. data/spec/models/tag_image_spec.rb +1 -1
  135. data/spec/models/un_tag_image_spec.rb +1 -1
  136. data/spec/spec_helper.rb +1 -1
  137. metadata +44 -50
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8f606e6b26b7623d181313f0f68e398858a8468c6ad72db2a375428e54923d7b
4
- data.tar.gz: 722fc936d3c7fa3554c0ed405c50bd91204b844aef619ded82318045aa405dc8
3
+ metadata.gz: b6798482477b21e82065ad7bcf2bda7129c70b7d399459e0501bdb22992bb915
4
+ data.tar.gz: 5ba94e0d850f52b43612d71e56dca31bdf3aa642924ce97046272ce4ca90f1e7
5
5
  SHA512:
6
- metadata.gz: f5127266bc3cdef3a78b2eccb0cef4004fde87b3a9c776e52e915bb75db5b639022998b625dddb5b2cc81c9bb61c7ab3f443c1806ae102f8c88ea2a78e9d6013
7
- data.tar.gz: c7586df6aa96001fa2e485510be4870cc9008a05db31fb2cf7a7097ac72c71c44d932bdb7257f4ab4c4e52f67b604bb4d9bc350a460e2b0c446a30edc9ef0bdd
6
+ metadata.gz: 03cdc6230746eabeb63c97f51b2736e6ff3445430de37d92463628e029873f5a26b8281d7df1ebdf55d9a4130e527092350e29f41955970e8c6eba4d712eb8a6
7
+ data.tar.gz: 33efb19405cb70853829c19e0ecb2ecf4385e563e2879bd816ebb4ce6c3ca7ae65bd31491dff4756667cb77fd38bf176d5a99d156f90736358d75f02b3fe3ba9
data/Gemfile CHANGED
@@ -3,7 +3,7 @@ source 'https://rubygems.org'
3
3
  gemspec
4
4
 
5
5
  group :development, :test do
6
- gem 'rake', '~> 13.0.1'
6
+ gem 'rake', '~> 12.0.0'
7
7
  gem 'pry-byebug'
8
8
  gem 'rubocop', '~> 0.66.0'
9
9
  end
data/README.md CHANGED
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: v3
10
- - Package version: 2.5.5
10
+ - Package version: 2.6.0
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
13
13
 
@@ -24,16 +24,16 @@ gem build pulp_container_client.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./pulp_container_client-2.5.5.gem
27
+ gem install ./pulp_container_client-2.6.0.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_container_client-2.5.5.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_container_client-2.6.0.gem` to install the development dependencies)
31
31
 
32
32
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
33
33
 
34
34
  Finally add this to the Gemfile:
35
35
 
36
- gem 'pulp_container_client', '~> 2.5.5'
36
+ gem 'pulp_container_client', '~> 2.6.0'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -69,7 +69,7 @@ opts = {
69
69
  digest: 'digest_example', # String | Filter results where digest matches value
70
70
  digest__in: ['digest__in_example'], # Array<String> | Filter results where digest is in a comma-separated list of values
71
71
  limit: 56, # Integer | Number of results to return per page.
72
- media_type: 'media_type_example', # String |
72
+ media_type: ['media_type_example'], # Array<String> |
73
73
  offset: 56, # Integer | The initial index from which to return the results.
74
74
  ordering: 'ordering_example', # String | Which field to use when ordering the results.
75
75
  repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
@@ -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
+ **pulp_labels** | [**Object**](.md) | | [optional]
7
9
  **name** | **String** | A unique name. Ex, &#x60;rawhide&#x60; and &#x60;stable&#x60;. |
10
+ **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
8
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;) |
9
- **pulp_labels** | [**Object**](.md) | | [optional]
10
12
  **repository_version** | **String** | RepositoryVersion to be served | [optional]
11
- **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
12
- **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
13
13
  **private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional]
14
14
  **description** | **String** | An optional description. | [optional]
15
15
 
@@ -18,12 +18,12 @@ Name | Type | Description | Notes
18
18
  ```ruby
19
19
  require 'PulpContainerClient'
20
20
 
21
- instance = PulpContainerClient::ContainerContainerDistribution.new(name: null,
22
- base_path: null,
21
+ instance = PulpContainerClient::ContainerContainerDistribution.new(repository: null,
23
22
  pulp_labels: null,
24
- repository_version: null,
23
+ name: null,
25
24
  content_guard: null,
26
- repository: null,
25
+ base_path: null,
26
+ repository_version: null,
27
27
  private: null,
28
28
  description: null)
29
29
  ```
@@ -4,14 +4,14 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
+ **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
8
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
+ **pulp_labels** | [**Object**](.md) | | [optional]
7
10
  **pulp_href** | **String** | | [optional] [readonly]
8
11
  **name** | **String** | A unique name. Ex, &#x60;rawhide&#x60; and &#x60;stable&#x60;. |
12
+ **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
9
13
  **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;) |
10
- **pulp_labels** | [**Object**](.md) | | [optional]
11
14
  **repository_version** | **String** | RepositoryVersion to be served | [optional]
12
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
13
- **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
14
- **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
15
15
  **registry_path** | **String** | The Registry hostame/name/ to use with docker pull command defined by this distribution. | [optional] [readonly]
16
16
  **namespace** | **String** | Namespace this distribution belongs to. | [optional] [readonly]
17
17
  **private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional]
@@ -22,14 +22,14 @@ Name | Type | Description | Notes
22
22
  ```ruby
23
23
  require 'PulpContainerClient'
24
24
 
25
- instance = PulpContainerClient::ContainerContainerDistributionResponse.new(pulp_href: null,
25
+ instance = PulpContainerClient::ContainerContainerDistributionResponse.new(repository: null,
26
+ pulp_created: null,
27
+ pulp_labels: null,
28
+ pulp_href: null,
26
29
  name: null,
30
+ content_guard: null,
27
31
  base_path: null,
28
- pulp_labels: null,
29
32
  repository_version: null,
30
- pulp_created: null,
31
- content_guard: null,
32
- repository: null,
33
33
  registry_path: null,
34
34
  namespace: null,
35
35
  private: null,
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
11
11
  **latest_version_href** | **String** | | [optional] [readonly]
12
12
  **name** | **String** | A unique name for this repository. |
13
13
  **description** | **String** | An optional description. | [optional]
14
+ **retained_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
14
15
  **remote** | **String** | | [optional]
15
16
 
16
17
  ## Code Sample
@@ -25,6 +26,7 @@ instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(pul
25
26
  latest_version_href: null,
26
27
  name: null,
27
28
  description: null,
29
+ retained_versions: null,
28
30
  remote: null)
29
31
  ```
30
32
 
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
7
7
  **pulp_labels** | [**Object**](.md) | | [optional]
8
8
  **name** | **String** | A unique name for this repository. |
9
9
  **description** | **String** | An optional description. | [optional]
10
+ **retained_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
10
11
  **remote** | **String** | | [optional]
11
12
 
12
13
  ## Code Sample
@@ -17,6 +18,7 @@ require 'PulpContainerClient'
17
18
  instance = PulpContainerClient::ContainerContainerRepository.new(pulp_labels: null,
18
19
  name: null,
19
20
  description: null,
21
+ retained_versions: null,
20
22
  remote: null)
21
23
  ```
22
24
 
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
11
11
  **latest_version_href** | **String** | | [optional] [readonly]
12
12
  **name** | **String** | A unique name for this repository. |
13
13
  **description** | **String** | An optional description. | [optional]
14
+ **retained_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
14
15
  **remote** | **String** | | [optional]
15
16
 
16
17
  ## Code Sample
@@ -25,6 +26,7 @@ instance = PulpContainerClient::ContainerContainerRepositoryResponse.new(pulp_hr
25
26
  latest_version_href: null,
26
27
  name: null,
27
28
  description: null,
29
+ retained_versions: null,
28
30
  remote: null)
29
31
  ```
30
32
 
@@ -34,7 +34,7 @@ opts = {
34
34
  digest: 'digest_example', # String | Filter results where digest matches value
35
35
  digest__in: ['digest__in_example'], # Array<String> | Filter results where digest is in a comma-separated list of values
36
36
  limit: 56, # Integer | Number of results to return per page.
37
- media_type: 'media_type_example', # String |
37
+ media_type: ['media_type_example'], # Array<String> |
38
38
  offset: 56, # Integer | The initial index from which to return the results.
39
39
  ordering: 'ordering_example', # String | Which field to use when ordering the results.
40
40
  repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
@@ -61,7 +61,7 @@ Name | Type | Description | Notes
61
61
  **digest** | **String**| Filter results where digest matches value | [optional]
62
62
  **digest__in** | [**Array&lt;String&gt;**](String.md)| Filter results where digest is in a comma-separated list of values | [optional]
63
63
  **limit** | **Integer**| Number of results to return per page. | [optional]
64
- **media_type** | **String**| | [optional]
64
+ **media_type** | [**Array&lt;String&gt;**](String.md)| | [optional]
65
65
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
66
66
  **ordering** | **String**| Which field to use when ordering the results. | [optional]
67
67
  **repository_version** | **String**| Repository Version referenced by HREF | [optional]
@@ -34,7 +34,7 @@ opts = {
34
34
  digest: 'digest_example', # String | Filter results where digest matches value
35
35
  digest__in: ['digest__in_example'], # Array<String> | Filter results where digest is in a comma-separated list of values
36
36
  limit: 56, # Integer | Number of results to return per page.
37
- media_type: 'media_type_example', # String |
37
+ media_type: ['media_type_example'], # Array<String> |
38
38
  offset: 56, # Integer | The initial index from which to return the results.
39
39
  ordering: 'ordering_example', # String | Which field to use when ordering the results.
40
40
  repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
@@ -61,7 +61,7 @@ Name | Type | Description | Notes
61
61
  **digest** | **String**| Filter results where digest matches value | [optional]
62
62
  **digest__in** | [**Array&lt;String&gt;**](String.md)| Filter results where digest is in a comma-separated list of values | [optional]
63
63
  **limit** | **Integer**| Number of results to return per page. | [optional]
64
- **media_type** | **String**| | [optional]
64
+ **media_type** | [**Array&lt;String&gt;**](String.md)| | [optional]
65
65
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
66
66
  **ordering** | **String**| Which field to use when ordering the results. | [optional]
67
67
  **repository_version** | **String**| Repository Version referenced by HREF | [optional]
@@ -4,9 +4,9 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **added** | [**Object**](.md) | |
8
- **removed** | [**Object**](.md) | |
9
- **present** | [**Object**](.md) | |
7
+ **added** | **Hash&lt;String, Object&gt;** | |
8
+ **removed** | **Hash&lt;String, Object&gt;** | |
9
+ **present** | **Hash&lt;String, Object&gt;** | |
10
10
 
11
11
  ## Code Sample
12
12
 
@@ -4,9 +4,9 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **added** | [**Object**](.md) | |
8
- **removed** | [**Object**](.md) | |
9
- **present** | [**Object**](.md) | |
7
+ **added** | **Hash&lt;String, Object&gt;** | |
8
+ **removed** | **Hash&lt;String, Object&gt;** | |
9
+ **present** | **Hash&lt;String, Object&gt;** | |
10
10
 
11
11
  ## Code Sample
12
12
 
@@ -33,7 +33,7 @@ api_instance = PulpContainerClient::ContentTagsApi.new
33
33
  opts = {
34
34
  digest: ['digest_example'], # Array<String> | Multiple values may be separated by commas.
35
35
  limit: 56, # Integer | Number of results to return per page.
36
- media_type: 'media_type_example', # String |
36
+ media_type: ['media_type_example'], # Array<String> |
37
37
  name: 'name_example', # String | Filter results where name matches value
38
38
  name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
39
39
  offset: 56, # Integer | The initial index from which to return the results.
@@ -61,7 +61,7 @@ Name | Type | Description | Notes
61
61
  ------------- | ------------- | ------------- | -------------
62
62
  **digest** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
63
63
  **limit** | **Integer**| Number of results to return per page. | [optional]
64
- **media_type** | **String**| | [optional]
64
+ **media_type** | [**Array&lt;String&gt;**](String.md)| | [optional]
65
65
  **name** | **String**| Filter results where name matches value | [optional]
66
66
  **name__in** | [**Array&lt;String&gt;**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
67
67
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
data/docs/ManifestCopy.md CHANGED
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **source_repository** | **String** | A URI of the repository to copy content from. | [optional]
8
8
  **source_repository_version** | **String** | A URI of the repository version to copy content from. | [optional]
9
- **digests** | [**Array&lt;AnyType&gt;**](AnyType.md) | A list of manifest digests to copy. | [optional]
9
+ **digests** | **Array&lt;Object&gt;** | A list of manifest digests to copy. | [optional]
10
10
  **media_types** | [**Array&lt;MediaTypesEnum&gt;**](MediaTypesEnum.md) | A list of media_types to copy. | [optional]
11
11
 
12
12
  ## Code Sample
@@ -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
+ **pulp_labels** | [**Object**](.md) | | [optional]
7
9
  **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]
8
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]
9
- **pulp_labels** | [**Object**](.md) | | [optional]
10
12
  **repository_version** | **String** | RepositoryVersion to be served | [optional]
11
- **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
12
- **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
13
13
  **private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional]
14
14
  **description** | **String** | An optional description. | [optional]
15
15
 
@@ -18,12 +18,12 @@ Name | Type | Description | Notes
18
18
  ```ruby
19
19
  require 'PulpContainerClient'
20
20
 
21
- instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(name: null,
22
- base_path: null,
21
+ instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(repository: null,
23
22
  pulp_labels: null,
24
- repository_version: null,
23
+ name: null,
25
24
  content_guard: null,
26
- repository: null,
25
+ base_path: null,
26
+ repository_version: null,
27
27
  private: null,
28
28
  description: null)
29
29
  ```
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
7
7
  **pulp_labels** | [**Object**](.md) | | [optional]
8
8
  **name** | **String** | A unique name for this repository. | [optional]
9
9
  **description** | **String** | An optional description. | [optional]
10
+ **retained_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
10
11
  **remote** | **String** | | [optional]
11
12
 
12
13
  ## Code Sample
@@ -17,6 +18,7 @@ require 'PulpContainerClient'
17
18
  instance = PulpContainerClient::PatchedcontainerContainerRepository.new(pulp_labels: null,
18
19
  name: null,
19
20
  description: null,
21
+ retained_versions: null,
20
22
  remote: null)
21
23
  ```
22
24
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **content_units** | [**Array&lt;AnyType&gt;**](AnyType.md) | A list of content units to operate on. | [optional]
7
+ **content_units** | **Array&lt;Object&gt;** | A list of content units to operate on. | [optional]
8
8
 
9
9
  ## Code Sample
10
10
 
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
7
7
  **pulp_href** | **String** | | [optional] [readonly]
8
8
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
9
  **number** | **Integer** | | [optional] [readonly]
10
+ **repository** | **String** | | [optional] [readonly]
10
11
  **base_version** | **String** | A repository version whose content was used as the initial set of content for this repository version | [optional]
11
12
  **content_summary** | [**ContentSummaryResponse**](ContentSummaryResponse.md) | Various count summaries of the content in the version and the HREF to view them. | [optional] [readonly]
12
13
 
@@ -18,6 +19,7 @@ require 'PulpContainerClient'
18
19
  instance = PulpContainerClient::RepositoryVersionResponse.new(pulp_href: null,
19
20
  pulp_created: null,
20
21
  number: null,
22
+ repository: null,
21
23
  base_version: null,
22
24
  content_summary: null)
23
25
  ```
data/docs/TagCopy.md CHANGED
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **source_repository** | **String** | A URI of the repository to copy content from. | [optional]
8
8
  **source_repository_version** | **String** | A URI of the repository version to copy content from. | [optional]
9
- **names** | [**Array&lt;AnyType&gt;**](AnyType.md) | A list of tag names to copy. | [optional]
9
+ **names** | **Array&lt;Object&gt;** | A list of tag names to copy. | [optional]
10
10
 
11
11
  ## Code Sample
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ OpenAPI Generator version: 4.2.3
10
10
 
11
11
  =end
12
12
 
@@ -25,7 +25,7 @@ module PulpContainerClient
25
25
  # @option opts [String] :digest Filter results where digest matches value
26
26
  # @option opts [Array<String>] :digest__in Filter results where digest is in a comma-separated list of values
27
27
  # @option opts [Integer] :limit Number of results to return per page.
28
- # @option opts [String] :media_type
28
+ # @option opts [Array<String>] :media_type
29
29
  # @option opts [Integer] :offset The initial index from which to return the results.
30
30
  # @option opts [String] :ordering Which field to use when ordering the results.
31
31
  # @option opts [String] :repository_version Repository Version referenced by HREF
@@ -45,7 +45,7 @@ module PulpContainerClient
45
45
  # @option opts [String] :digest Filter results where digest matches value
46
46
  # @option opts [Array<String>] :digest__in Filter results where digest is in a comma-separated list of values
47
47
  # @option opts [Integer] :limit Number of results to return per page.
48
- # @option opts [String] :media_type
48
+ # @option opts [Array<String>] :media_type
49
49
  # @option opts [Integer] :offset The initial index from which to return the results.
50
50
  # @option opts [String] :ordering Which field to use when ordering the results.
51
51
  # @option opts [String] :repository_version Repository Version referenced by HREF
@@ -59,8 +59,8 @@ module PulpContainerClient
59
59
  @api_client.config.logger.debug 'Calling API: ContentBlobsApi.list ...'
60
60
  end
61
61
  allowable_values = ["application/vnd.docker.container.image.v1+json", "application/vnd.docker.image.rootfs.diff.tar.gzip", "application/vnd.docker.image.rootfs.foreign.diff.tar.gzip", "application/vnd.oci.image.config.v1+json", "application/vnd.oci.image.layer.nondistributable.v1.tar+gzip", "application/vnd.oci.image.layer.v1.tar+gzip"]
62
- if @api_client.config.client_side_validation && opts[:'media_type'] && !allowable_values.include?(opts[:'media_type'])
63
- fail ArgumentError, "invalid value for \"media_type\", must be one of #{allowable_values}"
62
+ if @api_client.config.client_side_validation && opts[:'media_type'] && !opts[:'media_type'].all? { |item| allowable_values.include?(item) }
63
+ fail ArgumentError, "invalid value for \"media_type\", must include one of #{allowable_values}"
64
64
  end
65
65
  # resource path
66
66
  local_var_path = '/pulp/api/v3/content/container/blobs/'
@@ -70,7 +70,7 @@ module PulpContainerClient
70
70
  query_params[:'digest'] = opts[:'digest'] if !opts[:'digest'].nil?
71
71
  query_params[:'digest__in'] = @api_client.build_collection_param(opts[:'digest__in'], :csv) if !opts[:'digest__in'].nil?
72
72
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
73
- query_params[:'media_type'] = opts[:'media_type'] if !opts[:'media_type'].nil?
73
+ query_params[:'media_type'] = @api_client.build_collection_param(opts[:'media_type'], :multi) if !opts[:'media_type'].nil?
74
74
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
75
75
  query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
76
76
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ OpenAPI Generator version: 4.2.3
10
10
 
11
11
  =end
12
12
 
@@ -25,7 +25,7 @@ module PulpContainerClient
25
25
  # @option opts [String] :digest Filter results where digest matches value
26
26
  # @option opts [Array<String>] :digest__in Filter results where digest is in a comma-separated list of values
27
27
  # @option opts [Integer] :limit Number of results to return per page.
28
- # @option opts [String] :media_type
28
+ # @option opts [Array<String>] :media_type
29
29
  # @option opts [Integer] :offset The initial index from which to return the results.
30
30
  # @option opts [String] :ordering Which field to use when ordering the results.
31
31
  # @option opts [String] :repository_version Repository Version referenced by HREF
@@ -45,7 +45,7 @@ module PulpContainerClient
45
45
  # @option opts [String] :digest Filter results where digest matches value
46
46
  # @option opts [Array<String>] :digest__in Filter results where digest is in a comma-separated list of values
47
47
  # @option opts [Integer] :limit Number of results to return per page.
48
- # @option opts [String] :media_type
48
+ # @option opts [Array<String>] :media_type
49
49
  # @option opts [Integer] :offset The initial index from which to return the results.
50
50
  # @option opts [String] :ordering Which field to use when ordering the results.
51
51
  # @option opts [String] :repository_version Repository Version referenced by HREF
@@ -59,8 +59,8 @@ module PulpContainerClient
59
59
  @api_client.config.logger.debug 'Calling API: ContentManifestsApi.list ...'
60
60
  end
61
61
  allowable_values = ["application/vnd.docker.distribution.manifest.list.v2+json", "application/vnd.docker.distribution.manifest.v1+json", "application/vnd.docker.distribution.manifest.v2+json", "application/vnd.oci.image.index.v1+json", "application/vnd.oci.image.manifest.v1+json"]
62
- if @api_client.config.client_side_validation && opts[:'media_type'] && !allowable_values.include?(opts[:'media_type'])
63
- fail ArgumentError, "invalid value for \"media_type\", must be one of #{allowable_values}"
62
+ if @api_client.config.client_side_validation && opts[:'media_type'] && !opts[:'media_type'].all? { |item| allowable_values.include?(item) }
63
+ fail ArgumentError, "invalid value for \"media_type\", must include one of #{allowable_values}"
64
64
  end
65
65
  # resource path
66
66
  local_var_path = '/pulp/api/v3/content/container/manifests/'
@@ -70,7 +70,7 @@ module PulpContainerClient
70
70
  query_params[:'digest'] = opts[:'digest'] if !opts[:'digest'].nil?
71
71
  query_params[:'digest__in'] = @api_client.build_collection_param(opts[:'digest__in'], :csv) if !opts[:'digest__in'].nil?
72
72
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
73
- query_params[:'media_type'] = opts[:'media_type'] if !opts[:'media_type'].nil?
73
+ query_params[:'media_type'] = @api_client.build_collection_param(opts[:'media_type'], :multi) if !opts[:'media_type'].nil?
74
74
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
75
75
  query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
76
76
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ OpenAPI Generator version: 4.2.3
10
10
 
11
11
  =end
12
12
 
@@ -24,7 +24,7 @@ module PulpContainerClient
24
24
  # @param [Hash] opts the optional parameters
25
25
  # @option opts [Array<String>] :digest Multiple values may be separated by commas.
26
26
  # @option opts [Integer] :limit Number of results to return per page.
27
- # @option opts [String] :media_type
27
+ # @option opts [Array<String>] :media_type
28
28
  # @option opts [String] :name Filter results where name matches value
29
29
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
30
30
  # @option opts [Integer] :offset The initial index from which to return the results.
@@ -45,7 +45,7 @@ module PulpContainerClient
45
45
  # @param [Hash] opts the optional parameters
46
46
  # @option opts [Array<String>] :digest Multiple values may be separated by commas.
47
47
  # @option opts [Integer] :limit Number of results to return per page.
48
- # @option opts [String] :media_type
48
+ # @option opts [Array<String>] :media_type
49
49
  # @option opts [String] :name Filter results where name matches value
50
50
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
51
51
  # @option opts [Integer] :offset The initial index from which to return the results.
@@ -61,8 +61,8 @@ module PulpContainerClient
61
61
  @api_client.config.logger.debug 'Calling API: ContentTagsApi.list ...'
62
62
  end
63
63
  allowable_values = ["application/vnd.docker.distribution.manifest.list.v2+json", "application/vnd.docker.distribution.manifest.v1+json", "application/vnd.docker.distribution.manifest.v2+json", "application/vnd.oci.image.index.v1+json", "application/vnd.oci.image.manifest.v1+json"]
64
- if @api_client.config.client_side_validation && opts[:'media_type'] && !allowable_values.include?(opts[:'media_type'])
65
- fail ArgumentError, "invalid value for \"media_type\", must be one of #{allowable_values}"
64
+ if @api_client.config.client_side_validation && opts[:'media_type'] && !opts[:'media_type'].all? { |item| allowable_values.include?(item) }
65
+ fail ArgumentError, "invalid value for \"media_type\", must include one of #{allowable_values}"
66
66
  end
67
67
  # resource path
68
68
  local_var_path = '/pulp/api/v3/content/container/tags/'
@@ -71,7 +71,7 @@ module PulpContainerClient
71
71
  query_params = opts[:query_params] || {}
72
72
  query_params[:'digest'] = @api_client.build_collection_param(opts[:'digest'], :csv) if !opts[:'digest'].nil?
73
73
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
74
- query_params[:'media_type'] = opts[:'media_type'] if !opts[:'media_type'].nil?
74
+ query_params[:'media_type'] = @api_client.build_collection_param(opts[:'media_type'], :multi) if !opts[:'media_type'].nil?
75
75
  query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
76
76
  query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
77
77
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ OpenAPI Generator version: 4.2.3
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ OpenAPI Generator version: 4.2.3
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ OpenAPI Generator version: 4.2.3
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ OpenAPI Generator version: 4.2.3
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ OpenAPI Generator version: 4.2.3
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
  Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ OpenAPI Generator version: 4.2.3
10
10
 
11
11
  =end
12
12