pulp_container_client 2.0.0b3 → 2.0.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 (156) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +69 -57
  3. data/docs/{ContainerBlob.md → ContainerBlobResponse.md} +2 -2
  4. data/docs/ContainerContainerDistribution.md +6 -12
  5. data/docs/ContainerContainerDistributionResponse.md +31 -0
  6. data/docs/ContainerContainerPushRepository.md +4 -10
  7. data/docs/ContainerContainerPushRepositoryResponse.md +29 -0
  8. data/docs/ContainerContainerRemote.md +8 -12
  9. data/docs/ContainerContainerRemoteResponse.md +49 -0
  10. data/docs/ContainerContainerRepository.md +4 -10
  11. data/docs/ContainerContainerRepositoryResponse.md +29 -0
  12. data/docs/ContainerContentRedirectContentGuard.md +1 -5
  13. data/docs/ContainerContentRedirectContentGuardResponse.md +23 -0
  14. data/docs/{ContainerManifest.md → ContainerManifestResponse.md} +2 -2
  15. data/docs/{ContainerTag.md → ContainerTagResponse.md} +2 -4
  16. data/docs/ContentBlobsApi.md +24 -24
  17. data/docs/ContentManifestsApi.md +24 -24
  18. data/docs/ContentSummary.md +3 -3
  19. data/docs/ContentSummaryResponse.md +21 -0
  20. data/docs/ContentTagsApi.md +26 -26
  21. data/docs/ContentguardsContentRedirectApi.md +55 -55
  22. data/docs/DistributionsContainerApi.md +108 -60
  23. data/docs/InlineResponse200.md +3 -3
  24. data/docs/InlineResponse2001.md +3 -3
  25. data/docs/InlineResponse2002.md +3 -3
  26. data/docs/InlineResponse2003.md +3 -3
  27. data/docs/InlineResponse2004.md +3 -3
  28. data/docs/InlineResponse2005.md +3 -3
  29. data/docs/InlineResponse2006.md +3 -3
  30. data/docs/InlineResponse2007.md +3 -3
  31. data/docs/InlineResponse2008.md +3 -3
  32. data/docs/ManifestCopy.md +1 -1
  33. data/docs/OCIBuildImage.md +23 -0
  34. data/docs/PatchedcontainerContainerDistribution.md +25 -0
  35. data/docs/PatchedcontainerContainerRemote.md +43 -0
  36. data/docs/PatchedcontainerContainerRepository.md +21 -0
  37. data/docs/PatchedcontainerContentRedirectContentGuard.md +19 -0
  38. data/docs/PolicyEnum.md +16 -0
  39. data/docs/RecursiveManage.md +1 -1
  40. data/docs/RemotesContainerApi.md +125 -65
  41. data/docs/RepositoriesContainerApi.md +158 -134
  42. data/docs/RepositoriesContainerPushApi.md +44 -148
  43. data/docs/RepositoriesContainerVersionsApi.md +190 -126
  44. data/docs/RepositorySyncURL.md +1 -1
  45. data/docs/RepositoryVersion.md +1 -9
  46. data/docs/RepositoryVersionResponse.md +25 -0
  47. data/docs/TagCopy.md +1 -1
  48. data/docs/TokenApi.md +8 -16
  49. data/lib/pulp_container_client/api/content_blobs_api.rb +38 -34
  50. data/lib/pulp_container_client/api/content_manifests_api.rb +38 -34
  51. data/lib/pulp_container_client/api/content_tags_api.rb +41 -37
  52. data/lib/pulp_container_client/api/contentguards_content_redirect_api.rb +90 -90
  53. data/lib/pulp_container_client/api/distributions_container_api.rb +153 -90
  54. data/lib/pulp_container_client/api/remotes_container_api.rb +181 -100
  55. data/lib/pulp_container_client/api/repositories_container_api.rb +245 -222
  56. data/lib/pulp_container_client/api/repositories_container_push_api.rb +66 -197
  57. data/lib/pulp_container_client/api/repositories_container_versions_api.rb +278 -188
  58. data/lib/pulp_container_client/api/token_api.rb +8 -14
  59. data/lib/pulp_container_client/api_client.rb +2 -2
  60. data/lib/pulp_container_client/api_error.rb +2 -2
  61. data/lib/pulp_container_client/configuration.rb +3 -3
  62. data/lib/pulp_container_client/models/async_operation_response.rb +3 -2
  63. data/lib/pulp_container_client/models/{container_blob.rb → container_blob_response.rb} +6 -43
  64. data/lib/pulp_container_client/models/container_container_distribution.rb +29 -110
  65. data/lib/pulp_container_client/models/container_container_distribution_response.rb +289 -0
  66. data/lib/pulp_container_client/models/container_container_push_repository.rb +18 -78
  67. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +271 -0
  68. data/lib/pulp_container_client/models/container_container_remote.rb +29 -227
  69. data/lib/pulp_container_client/models/container_container_remote_response.rb +409 -0
  70. data/lib/pulp_container_client/models/container_container_repository.rb +18 -78
  71. data/lib/pulp_container_client/models/container_container_repository_response.rb +271 -0
  72. data/lib/pulp_container_client/models/container_content_redirect_content_guard.rb +4 -56
  73. data/lib/pulp_container_client/models/container_content_redirect_content_guard_response.rb +243 -0
  74. data/lib/pulp_container_client/models/{container_manifest.rb → container_manifest_response.rb} +6 -43
  75. data/lib/pulp_container_client/models/{container_tag.rb → container_tag_response.rb} +7 -40
  76. data/lib/pulp_container_client/models/content_summary.rb +9 -15
  77. data/lib/pulp_container_client/models/content_summary_response.rb +240 -0
  78. data/lib/pulp_container_client/models/inline_response200.rb +3 -13
  79. data/lib/pulp_container_client/models/inline_response2001.rb +3 -13
  80. data/lib/pulp_container_client/models/inline_response2002.rb +3 -13
  81. data/lib/pulp_container_client/models/inline_response2003.rb +3 -13
  82. data/lib/pulp_container_client/models/inline_response2004.rb +3 -13
  83. data/lib/pulp_container_client/models/inline_response2005.rb +3 -13
  84. data/lib/pulp_container_client/models/inline_response2006.rb +3 -13
  85. data/lib/pulp_container_client/models/inline_response2007.rb +3 -13
  86. data/lib/pulp_container_client/models/inline_response2008.rb +3 -13
  87. data/lib/pulp_container_client/models/manifest_copy.rb +4 -3
  88. data/lib/pulp_container_client/models/oci_build_image.rb +240 -0
  89. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +250 -0
  90. data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +365 -0
  91. data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +229 -0
  92. data/lib/pulp_container_client/models/patchedcontainer_content_redirect_content_guard.rb +219 -0
  93. data/lib/pulp_container_client/models/policy_enum.rb +37 -0
  94. data/lib/pulp_container_client/models/recursive_manage.rb +4 -3
  95. data/lib/pulp_container_client/models/repository_sync_url.rb +3 -8
  96. data/lib/pulp_container_client/models/repository_version.rb +7 -43
  97. data/lib/pulp_container_client/models/repository_version_response.rb +246 -0
  98. data/lib/pulp_container_client/models/tag_copy.rb +4 -3
  99. data/lib/pulp_container_client/models/tag_image.rb +3 -40
  100. data/lib/pulp_container_client/models/un_tag_image.rb +3 -21
  101. data/lib/pulp_container_client/version.rb +3 -3
  102. data/lib/pulp_container_client.rb +18 -5
  103. data/pulp_container_client.gemspec +4 -4
  104. data/spec/api/content_blobs_api_spec.rb +11 -11
  105. data/spec/api/content_manifests_api_spec.rb +11 -11
  106. data/spec/api/content_tags_api_spec.rb +12 -12
  107. data/spec/api/contentguards_content_redirect_api_spec.rb +17 -17
  108. data/spec/api/distributions_container_api_spec.rb +39 -18
  109. data/spec/api/remotes_container_api_spec.rb +48 -21
  110. data/spec/api/repositories_container_api_spec.rb +41 -32
  111. data/spec/api/repositories_container_push_api_spec.rb +17 -40
  112. data/spec/api/repositories_container_versions_api_spec.rb +76 -46
  113. data/spec/api/token_api_spec.rb +4 -6
  114. data/spec/api_client_spec.rb +2 -2
  115. data/spec/configuration_spec.rb +2 -2
  116. data/spec/models/async_operation_response_spec.rb +2 -2
  117. data/spec/models/{container_blob_spec.rb → container_blob_response_spec.rb} +8 -8
  118. data/spec/models/container_container_distribution_response_spec.rb +83 -0
  119. data/spec/models/container_container_distribution_spec.rb +5 -23
  120. data/spec/models/container_container_push_repository_response_spec.rb +77 -0
  121. data/spec/models/container_container_push_repository_spec.rb +5 -23
  122. data/spec/models/container_container_remote_response_spec.rb +137 -0
  123. data/spec/models/container_container_remote_spec.rb +7 -23
  124. data/spec/models/container_container_repository_response_spec.rb +77 -0
  125. data/spec/models/container_container_repository_spec.rb +5 -23
  126. data/spec/models/container_content_redirect_content_guard_response_spec.rb +59 -0
  127. data/spec/models/container_content_redirect_content_guard_spec.rb +2 -14
  128. data/spec/models/{container_manifest_spec.rb → container_manifest_response_spec.rb} +8 -8
  129. data/spec/models/{container_tag_spec.rb → container_tag_response_spec.rb} +8 -14
  130. data/spec/models/content_summary_response_spec.rb +53 -0
  131. data/spec/models/content_summary_spec.rb +2 -2
  132. data/spec/models/inline_response2001_spec.rb +2 -2
  133. data/spec/models/inline_response2002_spec.rb +2 -2
  134. data/spec/models/inline_response2003_spec.rb +2 -2
  135. data/spec/models/inline_response2004_spec.rb +2 -2
  136. data/spec/models/inline_response2005_spec.rb +2 -2
  137. data/spec/models/inline_response2006_spec.rb +2 -2
  138. data/spec/models/inline_response2007_spec.rb +2 -2
  139. data/spec/models/inline_response2008_spec.rb +2 -2
  140. data/spec/models/inline_response200_spec.rb +2 -2
  141. data/spec/models/manifest_copy_spec.rb +2 -2
  142. data/spec/models/oci_build_image_spec.rb +59 -0
  143. data/spec/models/patchedcontainer_container_distribution_spec.rb +65 -0
  144. data/spec/models/patchedcontainer_container_remote_spec.rb +119 -0
  145. data/spec/models/patchedcontainer_container_repository_spec.rb +53 -0
  146. data/spec/models/patchedcontainer_content_redirect_content_guard_spec.rb +47 -0
  147. data/spec/models/policy_enum_spec.rb +35 -0
  148. data/spec/models/recursive_manage_spec.rb +2 -2
  149. data/spec/models/repository_sync_url_spec.rb +2 -2
  150. data/spec/models/repository_version_response_spec.rb +65 -0
  151. data/spec/models/repository_version_spec.rb +2 -26
  152. data/spec/models/tag_copy_spec.rb +2 -2
  153. data/spec/models/tag_image_spec.rb +2 -2
  154. data/spec/models/un_tag_image_spec.rb +2 -2
  155. data/spec/spec_helper.rb +2 -2
  156. metadata +93 -41
@@ -5,17 +5,17 @@ All URIs are relative to *http://pulp*
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
7
  [**create**](DistributionsContainerApi.md#create) | **POST** /pulp/api/v3/distributions/container/container/ | Create a container distribution
8
- [**delete**](DistributionsContainerApi.md#delete) | **DELETE** {container_distribution_href} | Delete a container distribution
8
+ [**delete**](DistributionsContainerApi.md#delete) | **DELETE** {container_container_distribution_href} | Delete a container distribution
9
9
  [**list**](DistributionsContainerApi.md#list) | **GET** /pulp/api/v3/distributions/container/container/ | List container distributions
10
- [**partial_update**](DistributionsContainerApi.md#partial_update) | **PATCH** {container_distribution_href} | Partially update a container distribution
11
- [**read**](DistributionsContainerApi.md#read) | **GET** {container_distribution_href} | Inspect a container distribution
12
- [**update**](DistributionsContainerApi.md#update) | **PUT** {container_distribution_href} | Update a container distribution
10
+ [**partial_update**](DistributionsContainerApi.md#partial_update) | **PATCH** {container_container_distribution_href} | Update a container distribution
11
+ [**read**](DistributionsContainerApi.md#read) | **GET** {container_container_distribution_href} | Inspect a container distribution
12
+ [**update**](DistributionsContainerApi.md#update) | **PUT** {container_container_distribution_href} | Update a container distribution
13
13
 
14
14
 
15
15
 
16
16
  ## create
17
17
 
18
- > AsyncOperationResponse create(data)
18
+ > AsyncOperationResponse create(container_container_distribution)
19
19
 
20
20
  Create a container distribution
21
21
 
@@ -28,17 +28,17 @@ Trigger an asynchronous create task
28
28
  require 'pulp_container_client'
29
29
  # setup authorization
30
30
  PulpContainerClient.configure do |config|
31
- # Configure HTTP basic authorization: Basic
31
+ # Configure HTTP basic authorization: basicAuth
32
32
  config.username = 'YOUR USERNAME'
33
33
  config.password = 'YOUR PASSWORD'
34
34
  end
35
35
 
36
36
  api_instance = PulpContainerClient::DistributionsContainerApi.new
37
- data = PulpContainerClient::ContainerContainerDistribution.new # ContainerContainerDistribution |
37
+ container_container_distribution = PulpContainerClient::ContainerContainerDistribution.new # ContainerContainerDistribution |
38
38
 
39
39
  begin
40
40
  #Create a container distribution
41
- result = api_instance.create(data)
41
+ result = api_instance.create(container_container_distribution)
42
42
  p result
43
43
  rescue PulpContainerClient::ApiError => e
44
44
  puts "Exception when calling DistributionsContainerApi->create: #{e}"
@@ -50,7 +50,7 @@ end
50
50
 
51
51
  Name | Type | Description | Notes
52
52
  ------------- | ------------- | ------------- | -------------
53
- **data** | [**ContainerContainerDistribution**](ContainerContainerDistribution.md)| |
53
+ **container_container_distribution** | [**ContainerContainerDistribution**](ContainerContainerDistribution.md)| |
54
54
 
55
55
  ### Return type
56
56
 
@@ -58,17 +58,17 @@ Name | Type | Description | Notes
58
58
 
59
59
  ### Authorization
60
60
 
61
- [Basic](../README.md#Basic)
61
+ [basicAuth](../README.md#basicAuth)
62
62
 
63
63
  ### HTTP request headers
64
64
 
65
- - **Content-Type**: application/json
65
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
66
66
  - **Accept**: application/json
67
67
 
68
68
 
69
69
  ## delete
70
70
 
71
- > AsyncOperationResponse delete(container_distribution_href)
71
+ > AsyncOperationResponse delete(container_container_distribution_href, opts)
72
72
 
73
73
  Delete a container distribution
74
74
 
@@ -81,17 +81,26 @@ Trigger an asynchronous delete task
81
81
  require 'pulp_container_client'
82
82
  # setup authorization
83
83
  PulpContainerClient.configure do |config|
84
- # Configure HTTP basic authorization: Basic
84
+ # Configure HTTP basic authorization: basicAuth
85
85
  config.username = 'YOUR USERNAME'
86
86
  config.password = 'YOUR PASSWORD'
87
87
  end
88
88
 
89
89
  api_instance = PulpContainerClient::DistributionsContainerApi.new
90
- container_distribution_href = 'container_distribution_href_example' # String | URI of Container Distribution. e.g.: /pulp/api/v3/distributions/container/container/1/
90
+ container_container_distribution_href = 'container_container_distribution_href_example' # String |
91
+ opts = {
92
+ base_path: 'base_path_example', # String | base_path
93
+ base_path__contains: 'base_path__contains_example', # String | base_path__contains
94
+ base_path__icontains: 'base_path__icontains_example', # String | base_path__icontains
95
+ base_path__in: 'base_path__in_example', # String | base_path__in
96
+ name: 'name_example', # String | name
97
+ name__in: 'name__in_example', # String | name__in
98
+ ordering: 'ordering_example' # String | Which field to use when ordering the results.
99
+ }
91
100
 
92
101
  begin
93
102
  #Delete a container distribution
94
- result = api_instance.delete(container_distribution_href)
103
+ result = api_instance.delete(container_container_distribution_href, opts)
95
104
  p result
96
105
  rescue PulpContainerClient::ApiError => e
97
106
  puts "Exception when calling DistributionsContainerApi->delete: #{e}"
@@ -103,7 +112,14 @@ end
103
112
 
104
113
  Name | Type | Description | Notes
105
114
  ------------- | ------------- | ------------- | -------------
106
- **container_distribution_href** | **String**| URI of Container Distribution. e.g.: /pulp/api/v3/distributions/container/container/1/ |
115
+ **container_container_distribution_href** | **String**| |
116
+ **base_path** | **String**| base_path | [optional]
117
+ **base_path__contains** | **String**| base_path__contains | [optional]
118
+ **base_path__icontains** | **String**| base_path__icontains | [optional]
119
+ **base_path__in** | **String**| base_path__in | [optional]
120
+ **name** | **String**| name | [optional]
121
+ **name__in** | **String**| name__in | [optional]
122
+ **ordering** | **String**| Which field to use when ordering the results. | [optional]
107
123
 
108
124
  ### Return type
109
125
 
@@ -111,7 +127,7 @@ Name | Type | Description | Notes
111
127
 
112
128
  ### Authorization
113
129
 
114
- [Basic](../README.md#Basic)
130
+ [basicAuth](../README.md#basicAuth)
115
131
 
116
132
  ### HTTP request headers
117
133
 
@@ -134,22 +150,22 @@ The Container Distribution will serve the latest version of a Repository if ``re
134
150
  require 'pulp_container_client'
135
151
  # setup authorization
136
152
  PulpContainerClient.configure do |config|
137
- # Configure HTTP basic authorization: Basic
153
+ # Configure HTTP basic authorization: basicAuth
138
154
  config.username = 'YOUR USERNAME'
139
155
  config.password = 'YOUR PASSWORD'
140
156
  end
141
157
 
142
158
  api_instance = PulpContainerClient::DistributionsContainerApi.new
143
159
  opts = {
144
- ordering: 'ordering_example', # String | Which field to use when ordering the results.
145
- name: 'name_example', # String |
146
- name__in: 'name__in_example', # String | Filter results where name is in a comma-separated list of values
147
- base_path: 'base_path_example', # String |
148
- base_path__contains: 'base_path__contains_example', # String | Filter results where base_path contains value
149
- base_path__icontains: 'base_path__icontains_example', # String | Filter results where base_path contains value
150
- base_path__in: 'base_path__in_example', # String | Filter results where base_path is in a comma-separated list of values
160
+ base_path: 'base_path_example', # String | base_path
161
+ base_path__contains: 'base_path__contains_example', # String | base_path__contains
162
+ base_path__icontains: 'base_path__icontains_example', # String | base_path__icontains
163
+ base_path__in: 'base_path__in_example', # String | base_path__in
151
164
  limit: 56, # Integer | Number of results to return per page.
165
+ name: 'name_example', # String | name
166
+ name__in: 'name__in_example', # String | name__in
152
167
  offset: 56, # Integer | The initial index from which to return the results.
168
+ ordering: 'ordering_example', # String | Which field to use when ordering the results.
153
169
  fields: 'fields_example', # String | A list of fields to include in the response.
154
170
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
155
171
  }
@@ -168,15 +184,15 @@ end
168
184
 
169
185
  Name | Type | Description | Notes
170
186
  ------------- | ------------- | ------------- | -------------
171
- **ordering** | **String**| Which field to use when ordering the results. | [optional]
172
- **name** | **String**| | [optional]
173
- **name__in** | **String**| Filter results where name is in a comma-separated list of values | [optional]
174
- **base_path** | **String**| | [optional]
175
- **base_path__contains** | **String**| Filter results where base_path contains value | [optional]
176
- **base_path__icontains** | **String**| Filter results where base_path contains value | [optional]
177
- **base_path__in** | **String**| Filter results where base_path is in a comma-separated list of values | [optional]
187
+ **base_path** | **String**| base_path | [optional]
188
+ **base_path__contains** | **String**| base_path__contains | [optional]
189
+ **base_path__icontains** | **String**| base_path__icontains | [optional]
190
+ **base_path__in** | **String**| base_path__in | [optional]
178
191
  **limit** | **Integer**| Number of results to return per page. | [optional]
192
+ **name** | **String**| name | [optional]
193
+ **name__in** | **String**| name__in | [optional]
179
194
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
195
+ **ordering** | **String**| Which field to use when ordering the results. | [optional]
180
196
  **fields** | **String**| A list of fields to include in the response. | [optional]
181
197
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
182
198
 
@@ -186,7 +202,7 @@ Name | Type | Description | Notes
186
202
 
187
203
  ### Authorization
188
204
 
189
- [Basic](../README.md#Basic)
205
+ [basicAuth](../README.md#basicAuth)
190
206
 
191
207
  ### HTTP request headers
192
208
 
@@ -196,9 +212,9 @@ Name | Type | Description | Notes
196
212
 
197
213
  ## partial_update
198
214
 
199
- > AsyncOperationResponse partial_update(container_distribution_href, data)
215
+ > AsyncOperationResponse partial_update(container_container_distribution_href, patchedcontainer_container_distribution, opts)
200
216
 
201
- Partially update a container distribution
217
+ Update a container distribution
202
218
 
203
219
  Trigger an asynchronous partial update task
204
220
 
@@ -209,18 +225,27 @@ Trigger an asynchronous partial update task
209
225
  require 'pulp_container_client'
210
226
  # setup authorization
211
227
  PulpContainerClient.configure do |config|
212
- # Configure HTTP basic authorization: Basic
228
+ # Configure HTTP basic authorization: basicAuth
213
229
  config.username = 'YOUR USERNAME'
214
230
  config.password = 'YOUR PASSWORD'
215
231
  end
216
232
 
217
233
  api_instance = PulpContainerClient::DistributionsContainerApi.new
218
- container_distribution_href = 'container_distribution_href_example' # String | URI of Container Distribution. e.g.: /pulp/api/v3/distributions/container/container/1/
219
- data = PulpContainerClient::ContainerContainerDistribution.new # ContainerContainerDistribution |
234
+ container_container_distribution_href = 'container_container_distribution_href_example' # String |
235
+ patchedcontainer_container_distribution = PulpContainerClient::PatchedcontainerContainerDistribution.new # PatchedcontainerContainerDistribution |
236
+ opts = {
237
+ base_path: 'base_path_example', # String | base_path
238
+ base_path__contains: 'base_path__contains_example', # String | base_path__contains
239
+ base_path__icontains: 'base_path__icontains_example', # String | base_path__icontains
240
+ base_path__in: 'base_path__in_example', # String | base_path__in
241
+ name: 'name_example', # String | name
242
+ name__in: 'name__in_example', # String | name__in
243
+ ordering: 'ordering_example' # String | Which field to use when ordering the results.
244
+ }
220
245
 
221
246
  begin
222
- #Partially update a container distribution
223
- result = api_instance.partial_update(container_distribution_href, data)
247
+ #Update a container distribution
248
+ result = api_instance.partial_update(container_container_distribution_href, patchedcontainer_container_distribution, opts)
224
249
  p result
225
250
  rescue PulpContainerClient::ApiError => e
226
251
  puts "Exception when calling DistributionsContainerApi->partial_update: #{e}"
@@ -232,8 +257,15 @@ end
232
257
 
233
258
  Name | Type | Description | Notes
234
259
  ------------- | ------------- | ------------- | -------------
235
- **container_distribution_href** | **String**| URI of Container Distribution. e.g.: /pulp/api/v3/distributions/container/container/1/ |
236
- **data** | [**ContainerContainerDistribution**](ContainerContainerDistribution.md)| |
260
+ **container_container_distribution_href** | **String**| |
261
+ **patchedcontainer_container_distribution** | [**PatchedcontainerContainerDistribution**](PatchedcontainerContainerDistribution.md)| |
262
+ **base_path** | **String**| base_path | [optional]
263
+ **base_path__contains** | **String**| base_path__contains | [optional]
264
+ **base_path__icontains** | **String**| base_path__icontains | [optional]
265
+ **base_path__in** | **String**| base_path__in | [optional]
266
+ **name** | **String**| name | [optional]
267
+ **name__in** | **String**| name__in | [optional]
268
+ **ordering** | **String**| Which field to use when ordering the results. | [optional]
237
269
 
238
270
  ### Return type
239
271
 
@@ -241,17 +273,17 @@ Name | Type | Description | Notes
241
273
 
242
274
  ### Authorization
243
275
 
244
- [Basic](../README.md#Basic)
276
+ [basicAuth](../README.md#basicAuth)
245
277
 
246
278
  ### HTTP request headers
247
279
 
248
- - **Content-Type**: application/json
280
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
249
281
  - **Accept**: application/json
250
282
 
251
283
 
252
284
  ## read
253
285
 
254
- > ContainerContainerDistribution read(container_distribution_href, opts)
286
+ > ContainerContainerDistributionResponse read(container_container_distribution_href, opts)
255
287
 
256
288
  Inspect a container distribution
257
289
 
@@ -264,13 +296,13 @@ The Container Distribution will serve the latest version of a Repository if ``re
264
296
  require 'pulp_container_client'
265
297
  # setup authorization
266
298
  PulpContainerClient.configure do |config|
267
- # Configure HTTP basic authorization: Basic
299
+ # Configure HTTP basic authorization: basicAuth
268
300
  config.username = 'YOUR USERNAME'
269
301
  config.password = 'YOUR PASSWORD'
270
302
  end
271
303
 
272
304
  api_instance = PulpContainerClient::DistributionsContainerApi.new
273
- container_distribution_href = 'container_distribution_href_example' # String | URI of Container Distribution. e.g.: /pulp/api/v3/distributions/container/container/1/
305
+ container_container_distribution_href = 'container_container_distribution_href_example' # String |
274
306
  opts = {
275
307
  fields: 'fields_example', # String | A list of fields to include in the response.
276
308
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
@@ -278,7 +310,7 @@ opts = {
278
310
 
279
311
  begin
280
312
  #Inspect a container distribution
281
- result = api_instance.read(container_distribution_href, opts)
313
+ result = api_instance.read(container_container_distribution_href, opts)
282
314
  p result
283
315
  rescue PulpContainerClient::ApiError => e
284
316
  puts "Exception when calling DistributionsContainerApi->read: #{e}"
@@ -290,17 +322,17 @@ end
290
322
 
291
323
  Name | Type | Description | Notes
292
324
  ------------- | ------------- | ------------- | -------------
293
- **container_distribution_href** | **String**| URI of Container Distribution. e.g.: /pulp/api/v3/distributions/container/container/1/ |
325
+ **container_container_distribution_href** | **String**| |
294
326
  **fields** | **String**| A list of fields to include in the response. | [optional]
295
327
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
296
328
 
297
329
  ### Return type
298
330
 
299
- [**ContainerContainerDistribution**](ContainerContainerDistribution.md)
331
+ [**ContainerContainerDistributionResponse**](ContainerContainerDistributionResponse.md)
300
332
 
301
333
  ### Authorization
302
334
 
303
- [Basic](../README.md#Basic)
335
+ [basicAuth](../README.md#basicAuth)
304
336
 
305
337
  ### HTTP request headers
306
338
 
@@ -310,7 +342,7 @@ Name | Type | Description | Notes
310
342
 
311
343
  ## update
312
344
 
313
- > AsyncOperationResponse update(container_distribution_href, data)
345
+ > AsyncOperationResponse update(container_container_distribution_href, container_container_distribution, opts)
314
346
 
315
347
  Update a container distribution
316
348
 
@@ -323,18 +355,27 @@ Trigger an asynchronous update task
323
355
  require 'pulp_container_client'
324
356
  # setup authorization
325
357
  PulpContainerClient.configure do |config|
326
- # Configure HTTP basic authorization: Basic
358
+ # Configure HTTP basic authorization: basicAuth
327
359
  config.username = 'YOUR USERNAME'
328
360
  config.password = 'YOUR PASSWORD'
329
361
  end
330
362
 
331
363
  api_instance = PulpContainerClient::DistributionsContainerApi.new
332
- container_distribution_href = 'container_distribution_href_example' # String | URI of Container Distribution. e.g.: /pulp/api/v3/distributions/container/container/1/
333
- data = PulpContainerClient::ContainerContainerDistribution.new # ContainerContainerDistribution |
364
+ container_container_distribution_href = 'container_container_distribution_href_example' # String |
365
+ container_container_distribution = PulpContainerClient::ContainerContainerDistribution.new # ContainerContainerDistribution |
366
+ opts = {
367
+ base_path: 'base_path_example', # String | base_path
368
+ base_path__contains: 'base_path__contains_example', # String | base_path__contains
369
+ base_path__icontains: 'base_path__icontains_example', # String | base_path__icontains
370
+ base_path__in: 'base_path__in_example', # String | base_path__in
371
+ name: 'name_example', # String | name
372
+ name__in: 'name__in_example', # String | name__in
373
+ ordering: 'ordering_example' # String | Which field to use when ordering the results.
374
+ }
334
375
 
335
376
  begin
336
377
  #Update a container distribution
337
- result = api_instance.update(container_distribution_href, data)
378
+ result = api_instance.update(container_container_distribution_href, container_container_distribution, opts)
338
379
  p result
339
380
  rescue PulpContainerClient::ApiError => e
340
381
  puts "Exception when calling DistributionsContainerApi->update: #{e}"
@@ -346,8 +387,15 @@ end
346
387
 
347
388
  Name | Type | Description | Notes
348
389
  ------------- | ------------- | ------------- | -------------
349
- **container_distribution_href** | **String**| URI of Container Distribution. e.g.: /pulp/api/v3/distributions/container/container/1/ |
350
- **data** | [**ContainerContainerDistribution**](ContainerContainerDistribution.md)| |
390
+ **container_container_distribution_href** | **String**| |
391
+ **container_container_distribution** | [**ContainerContainerDistribution**](ContainerContainerDistribution.md)| |
392
+ **base_path** | **String**| base_path | [optional]
393
+ **base_path__contains** | **String**| base_path__contains | [optional]
394
+ **base_path__icontains** | **String**| base_path__icontains | [optional]
395
+ **base_path__in** | **String**| base_path__in | [optional]
396
+ **name** | **String**| name | [optional]
397
+ **name__in** | **String**| name__in | [optional]
398
+ **ordering** | **String**| Which field to use when ordering the results. | [optional]
351
399
 
352
400
  ### Return type
353
401
 
@@ -355,10 +403,10 @@ Name | Type | Description | Notes
355
403
 
356
404
  ### Authorization
357
405
 
358
- [Basic](../README.md#Basic)
406
+ [basicAuth](../README.md#basicAuth)
359
407
 
360
408
  ### HTTP request headers
361
409
 
362
- - **Content-Type**: application/json
410
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
363
411
  - **Accept**: application/json
364
412
 
@@ -4,17 +4,17 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **count** | **Integer** | |
7
+ **count** | **Integer** | | [optional]
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<ContainerBlob>**](ContainerBlob.md) | |
10
+ **results** | [**Array<ContainerBlobResponse>**](ContainerBlobResponse.md) | | [optional]
11
11
 
12
12
  ## Code Sample
13
13
 
14
14
  ```ruby
15
15
  require 'PulpContainerClient'
16
16
 
17
- instance = PulpContainerClient::InlineResponse200.new(count: null,
17
+ instance = PulpContainerClient::InlineResponse200.new(count: 123,
18
18
  _next: null,
19
19
  previous: null,
20
20
  results: null)
@@ -4,17 +4,17 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **count** | **Integer** | |
7
+ **count** | **Integer** | | [optional]
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<ContainerManifest>**](ContainerManifest.md) | |
10
+ **results** | [**Array<ContainerManifestResponse>**](ContainerManifestResponse.md) | | [optional]
11
11
 
12
12
  ## Code Sample
13
13
 
14
14
  ```ruby
15
15
  require 'PulpContainerClient'
16
16
 
17
- instance = PulpContainerClient::InlineResponse2001.new(count: null,
17
+ instance = PulpContainerClient::InlineResponse2001.new(count: 123,
18
18
  _next: null,
19
19
  previous: null,
20
20
  results: null)
@@ -4,17 +4,17 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **count** | **Integer** | |
7
+ **count** | **Integer** | | [optional]
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<ContainerTag>**](ContainerTag.md) | |
10
+ **results** | [**Array<ContainerTagResponse>**](ContainerTagResponse.md) | | [optional]
11
11
 
12
12
  ## Code Sample
13
13
 
14
14
  ```ruby
15
15
  require 'PulpContainerClient'
16
16
 
17
- instance = PulpContainerClient::InlineResponse2002.new(count: null,
17
+ instance = PulpContainerClient::InlineResponse2002.new(count: 123,
18
18
  _next: null,
19
19
  previous: null,
20
20
  results: null)
@@ -4,17 +4,17 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **count** | **Integer** | |
7
+ **count** | **Integer** | | [optional]
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<ContainerContentRedirectContentGuard>**](ContainerContentRedirectContentGuard.md) | |
10
+ **results** | [**Array<ContainerContentRedirectContentGuardResponse>**](ContainerContentRedirectContentGuardResponse.md) | | [optional]
11
11
 
12
12
  ## Code Sample
13
13
 
14
14
  ```ruby
15
15
  require 'PulpContainerClient'
16
16
 
17
- instance = PulpContainerClient::InlineResponse2003.new(count: null,
17
+ instance = PulpContainerClient::InlineResponse2003.new(count: 123,
18
18
  _next: null,
19
19
  previous: null,
20
20
  results: null)
@@ -4,17 +4,17 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **count** | **Integer** | |
7
+ **count** | **Integer** | | [optional]
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<ContainerContainerDistribution>**](ContainerContainerDistribution.md) | |
10
+ **results** | [**Array<ContainerContainerDistributionResponse>**](ContainerContainerDistributionResponse.md) | | [optional]
11
11
 
12
12
  ## Code Sample
13
13
 
14
14
  ```ruby
15
15
  require 'PulpContainerClient'
16
16
 
17
- instance = PulpContainerClient::InlineResponse2004.new(count: null,
17
+ instance = PulpContainerClient::InlineResponse2004.new(count: 123,
18
18
  _next: null,
19
19
  previous: null,
20
20
  results: null)
@@ -4,17 +4,17 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **count** | **Integer** | |
7
+ **count** | **Integer** | | [optional]
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<ContainerContainerRemote>**](ContainerContainerRemote.md) | |
10
+ **results** | [**Array<ContainerContainerRemoteResponse>**](ContainerContainerRemoteResponse.md) | | [optional]
11
11
 
12
12
  ## Code Sample
13
13
 
14
14
  ```ruby
15
15
  require 'PulpContainerClient'
16
16
 
17
- instance = PulpContainerClient::InlineResponse2005.new(count: null,
17
+ instance = PulpContainerClient::InlineResponse2005.new(count: 123,
18
18
  _next: null,
19
19
  previous: null,
20
20
  results: null)
@@ -4,17 +4,17 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **count** | **Integer** | |
7
+ **count** | **Integer** | | [optional]
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<ContainerContainerPushRepository>**](ContainerContainerPushRepository.md) | |
10
+ **results** | [**Array<ContainerContainerRepositoryResponse>**](ContainerContainerRepositoryResponse.md) | | [optional]
11
11
 
12
12
  ## Code Sample
13
13
 
14
14
  ```ruby
15
15
  require 'PulpContainerClient'
16
16
 
17
- instance = PulpContainerClient::InlineResponse2006.new(count: null,
17
+ instance = PulpContainerClient::InlineResponse2006.new(count: 123,
18
18
  _next: null,
19
19
  previous: null,
20
20
  results: null)
@@ -4,17 +4,17 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **count** | **Integer** | |
7
+ **count** | **Integer** | | [optional]
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<RepositoryVersion>**](RepositoryVersion.md) | |
10
+ **results** | [**Array<ContainerContainerPushRepositoryResponse>**](ContainerContainerPushRepositoryResponse.md) | | [optional]
11
11
 
12
12
  ## Code Sample
13
13
 
14
14
  ```ruby
15
15
  require 'PulpContainerClient'
16
16
 
17
- instance = PulpContainerClient::InlineResponse2007.new(count: null,
17
+ instance = PulpContainerClient::InlineResponse2007.new(count: 123,
18
18
  _next: null,
19
19
  previous: null,
20
20
  results: null)
@@ -4,17 +4,17 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **count** | **Integer** | |
7
+ **count** | **Integer** | | [optional]
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<ContainerContainerRepository>**](ContainerContainerRepository.md) | |
10
+ **results** | [**Array<RepositoryVersionResponse>**](RepositoryVersionResponse.md) | | [optional]
11
11
 
12
12
  ## Code Sample
13
13
 
14
14
  ```ruby
15
15
  require 'PulpContainerClient'
16
16
 
17
- instance = PulpContainerClient::InlineResponse2008.new(count: null,
17
+ instance = PulpContainerClient::InlineResponse2008.new(count: 123,
18
18
  _next: null,
19
19
  previous: null,
20
20
  results: null)
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<String>** | A list of manifest digests to copy. | [optional]
9
+ **digests** | **Array<Object>** | A list of manifest digests to copy. | [optional]
10
10
  **media_types** | **Array<String>** | A list of media_types to copy. | [optional]
11
11
 
12
12
  ## Code Sample
@@ -0,0 +1,23 @@
1
+ # PulpContainerClient::OCIBuildImage
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **containerfile_artifact** | **String** | Artifact representing the Containerfile that should be used to run buildah. | [optional]
8
+ **containerfile** | **File** | An uploaded Containerfile that should be used to run buildah. | [optional]
9
+ **tag** | **String** | A tag name for the new image being built. | [optional] [default to 'latest']
10
+ **artifacts** | [**Object**](.md) | A JSON string where each key is an artifact href and the value is it's relative path (name) inside the /pulp_working_directory of the build container executing the Containerfile. | [optional]
11
+
12
+ ## Code Sample
13
+
14
+ ```ruby
15
+ require 'PulpContainerClient'
16
+
17
+ instance = PulpContainerClient::OCIBuildImage.new(containerfile_artifact: null,
18
+ containerfile: null,
19
+ tag: null,
20
+ artifacts: null)
21
+ ```
22
+
23
+
@@ -0,0 +1,25 @@
1
+ # PulpContainerClient::PatchedcontainerContainerDistribution
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | [optional]
8
+ **repository_version** | **String** | RepositoryVersion to be served | [optional]
9
+ **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
10
+ **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
11
+ **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
12
+
13
+ ## Code Sample
14
+
15
+ ```ruby
16
+ require 'PulpContainerClient'
17
+
18
+ instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(base_path: null,
19
+ repository_version: null,
20
+ content_guard: null,
21
+ repository: null,
22
+ name: null)
23
+ ```
24
+
25
+