pulp_rpm_client 3.29.5 → 3.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +5 -8
- data/docs/AcsRpmApi.md +28 -64
- data/docs/ContentAdvisoriesApi.md +8 -22
- data/docs/ContentDistributionTreesApi.md +8 -20
- data/docs/ContentModulemdDefaultsApi.md +12 -28
- data/docs/ContentModulemdObsoletesApi.md +12 -28
- data/docs/ContentModulemdsApi.md +12 -28
- data/docs/ContentPackagecategoriesApi.md +8 -20
- data/docs/ContentPackageenvironmentsApi.md +8 -20
- data/docs/ContentPackagegroupsApi.md +8 -20
- data/docs/ContentPackagelangpacksApi.md +8 -20
- data/docs/ContentPackagesApi.md +8 -22
- data/docs/ContentRepoMetadataFilesApi.md +8 -20
- data/docs/DistributionsRpmApi.md +32 -72
- data/docs/PatchedrpmRpmDistribution.md +3 -1
- data/docs/PatchedrpmRpmRepository.md +1 -9
- data/docs/PublicationsRpmApi.md +16 -40
- data/docs/RemotesRpmApi.md +32 -72
- data/docs/RemotesUlnApi.md +32 -72
- data/docs/RepositoriesRpmApi.md +40 -88
- data/docs/RepositoriesRpmVersionsApi.md +10 -22
- data/docs/RpmCompsApi.md +0 -2
- data/docs/RpmCopyApi.md +4 -8
- data/docs/RpmPackageResponse.md +2 -2
- data/docs/RpmPruneApi.md +4 -8
- data/docs/RpmRpmDistribution.md +3 -1
- data/docs/RpmRpmDistributionResponse.md +3 -1
- data/docs/RpmRpmPublication.md +3 -9
- data/docs/RpmRpmPublicationResponse.md +8 -6
- data/docs/RpmRpmRepository.md +1 -9
- data/docs/RpmRpmRepositoryResponse.md +5 -5
- data/lib/pulp_rpm_client/api/acs_rpm_api.rb +0 -33
- data/lib/pulp_rpm_client/api/content_advisories_api.rb +0 -15
- data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +0 -12
- data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +0 -15
- data/lib/pulp_rpm_client/api/content_modulemd_obsoletes_api.rb +0 -15
- data/lib/pulp_rpm_client/api/content_modulemds_api.rb +0 -15
- data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +0 -12
- data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +0 -12
- data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +0 -12
- data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +0 -12
- data/lib/pulp_rpm_client/api/content_packages_api.rb +0 -15
- data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +0 -12
- data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +0 -36
- data/lib/pulp_rpm_client/api/publications_rpm_api.rb +0 -24
- data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +0 -36
- data/lib/pulp_rpm_client/api/remotes_uln_api.rb +0 -36
- data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +0 -42
- data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +3 -15
- data/lib/pulp_rpm_client/api/rpm_comps_api.rb +0 -3
- data/lib/pulp_rpm_client/api/rpm_copy_api.rb +0 -3
- data/lib/pulp_rpm_client/api/rpm_prune_api.rb +0 -3
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_distribution.rb +13 -4
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +2 -94
- data/lib/pulp_rpm_client/models/rpm_package_response.rb +2 -2
- data/lib/pulp_rpm_client/models/rpm_rpm_distribution.rb +13 -4
- data/lib/pulp_rpm_client/models/rpm_rpm_distribution_response.rb +13 -4
- data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +11 -92
- data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +28 -13
- data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +2 -94
- data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +17 -12
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/spec/api/acs_rpm_api_spec.rb +0 -11
- data/spec/api/content_advisories_api_spec.rb +0 -5
- data/spec/api/content_distribution_trees_api_spec.rb +0 -4
- data/spec/api/content_modulemd_defaults_api_spec.rb +0 -5
- data/spec/api/content_modulemd_obsoletes_api_spec.rb +0 -5
- data/spec/api/content_modulemds_api_spec.rb +0 -5
- data/spec/api/content_packagecategories_api_spec.rb +0 -4
- data/spec/api/content_packageenvironments_api_spec.rb +0 -4
- data/spec/api/content_packagegroups_api_spec.rb +0 -4
- data/spec/api/content_packagelangpacks_api_spec.rb +0 -4
- data/spec/api/content_packages_api_spec.rb +0 -5
- data/spec/api/content_repo_metadata_files_api_spec.rb +0 -4
- data/spec/api/distributions_rpm_api_spec.rb +0 -12
- data/spec/api/publications_rpm_api_spec.rb +0 -8
- data/spec/api/remotes_rpm_api_spec.rb +0 -12
- data/spec/api/remotes_uln_api_spec.rb +0 -12
- data/spec/api/repositories_rpm_api_spec.rb +0 -14
- data/spec/api/repositories_rpm_versions_api_spec.rb +1 -5
- data/spec/api/rpm_comps_api_spec.rb +0 -1
- data/spec/api/rpm_copy_api_spec.rb +0 -1
- data/spec/api/rpm_prune_api_spec.rb +0 -1
- data/spec/models/patchedrpm_rpm_distribution_spec.rb +6 -0
- data/spec/models/patchedrpm_rpm_repository_spec.rb +0 -24
- data/spec/models/rpm_rpm_distribution_response_spec.rb +6 -0
- data/spec/models/rpm_rpm_distribution_spec.rb +6 -0
- data/spec/models/rpm_rpm_publication_response_spec.rb +6 -0
- data/spec/models/rpm_rpm_publication_spec.rb +2 -20
- data/spec/models/rpm_rpm_repository_spec.rb +0 -24
- metadata +82 -82
@@ -32,7 +32,6 @@ end
|
|
32
32
|
|
33
33
|
api_instance = PulpRpmClient::ContentRepoMetadataFilesApi.new
|
34
34
|
opts = {
|
35
|
-
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
36
35
|
limit: 56, # Integer | Number of results to return per page.
|
37
36
|
offset: 56, # Integer | The initial index from which to return the results.
|
38
37
|
ordering: ['-pk'], # Array<String> | Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -80,7 +79,6 @@ end
|
|
80
79
|
|
81
80
|
| Name | Type | Description | Notes |
|
82
81
|
| ---- | ---- | ----------- | ----- |
|
83
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
84
82
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
85
83
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
86
84
|
| **ordering** | [**Array<String>**](String.md) | Ordering * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
@@ -133,7 +131,6 @@ end
|
|
133
131
|
api_instance = PulpRpmClient::ContentRepoMetadataFilesApi.new
|
134
132
|
rpm_repo_metadata_file_href = 'rpm_repo_metadata_file_href_example' # String |
|
135
133
|
opts = {
|
136
|
-
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
137
134
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
138
135
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
139
136
|
}
|
@@ -170,7 +167,6 @@ end
|
|
170
167
|
| Name | Type | Description | Notes |
|
171
168
|
| ---- | ---- | ----------- | ----- |
|
172
169
|
| **rpm_repo_metadata_file_href** | **String** | | |
|
173
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
174
170
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
175
171
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
176
172
|
|
@@ -190,7 +186,7 @@ end
|
|
190
186
|
|
191
187
|
## set_label
|
192
188
|
|
193
|
-
> <SetLabelResponse> set_label(rpm_repo_metadata_file_href, set_label
|
189
|
+
> <SetLabelResponse> set_label(rpm_repo_metadata_file_href, set_label)
|
194
190
|
|
195
191
|
Set a label
|
196
192
|
|
@@ -211,13 +207,10 @@ end
|
|
211
207
|
api_instance = PulpRpmClient::ContentRepoMetadataFilesApi.new
|
212
208
|
rpm_repo_metadata_file_href = 'rpm_repo_metadata_file_href_example' # String |
|
213
209
|
set_label = PulpRpmClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
214
|
-
opts = {
|
215
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
216
|
-
}
|
217
210
|
|
218
211
|
begin
|
219
212
|
# Set a label
|
220
|
-
result = api_instance.set_label(rpm_repo_metadata_file_href, set_label
|
213
|
+
result = api_instance.set_label(rpm_repo_metadata_file_href, set_label)
|
221
214
|
p result
|
222
215
|
rescue PulpRpmClient::ApiError => e
|
223
216
|
puts "Error when calling ContentRepoMetadataFilesApi->set_label: #{e}"
|
@@ -228,12 +221,12 @@ end
|
|
228
221
|
|
229
222
|
This returns an Array which contains the response data, status code and headers.
|
230
223
|
|
231
|
-
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(rpm_repo_metadata_file_href, set_label
|
224
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(rpm_repo_metadata_file_href, set_label)
|
232
225
|
|
233
226
|
```ruby
|
234
227
|
begin
|
235
228
|
# Set a label
|
236
|
-
data, status_code, headers = api_instance.set_label_with_http_info(rpm_repo_metadata_file_href, set_label
|
229
|
+
data, status_code, headers = api_instance.set_label_with_http_info(rpm_repo_metadata_file_href, set_label)
|
237
230
|
p status_code # => 2xx
|
238
231
|
p headers # => { ... }
|
239
232
|
p data # => <SetLabelResponse>
|
@@ -248,7 +241,6 @@ end
|
|
248
241
|
| ---- | ---- | ----------- | ----- |
|
249
242
|
| **rpm_repo_metadata_file_href** | **String** | | |
|
250
243
|
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
251
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
252
244
|
|
253
245
|
### Return type
|
254
246
|
|
@@ -266,7 +258,7 @@ end
|
|
266
258
|
|
267
259
|
## unset_label
|
268
260
|
|
269
|
-
> <UnsetLabelResponse> unset_label(rpm_repo_metadata_file_href, unset_label
|
261
|
+
> <UnsetLabelResponse> unset_label(rpm_repo_metadata_file_href, unset_label)
|
270
262
|
|
271
263
|
Unset a label
|
272
264
|
|
@@ -287,13 +279,10 @@ end
|
|
287
279
|
api_instance = PulpRpmClient::ContentRepoMetadataFilesApi.new
|
288
280
|
rpm_repo_metadata_file_href = 'rpm_repo_metadata_file_href_example' # String |
|
289
281
|
unset_label = PulpRpmClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
290
|
-
opts = {
|
291
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
292
|
-
}
|
293
282
|
|
294
283
|
begin
|
295
284
|
# Unset a label
|
296
|
-
result = api_instance.unset_label(rpm_repo_metadata_file_href, unset_label
|
285
|
+
result = api_instance.unset_label(rpm_repo_metadata_file_href, unset_label)
|
297
286
|
p result
|
298
287
|
rescue PulpRpmClient::ApiError => e
|
299
288
|
puts "Error when calling ContentRepoMetadataFilesApi->unset_label: #{e}"
|
@@ -304,12 +293,12 @@ end
|
|
304
293
|
|
305
294
|
This returns an Array which contains the response data, status code and headers.
|
306
295
|
|
307
|
-
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(rpm_repo_metadata_file_href, unset_label
|
296
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(rpm_repo_metadata_file_href, unset_label)
|
308
297
|
|
309
298
|
```ruby
|
310
299
|
begin
|
311
300
|
# Unset a label
|
312
|
-
data, status_code, headers = api_instance.unset_label_with_http_info(rpm_repo_metadata_file_href, unset_label
|
301
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(rpm_repo_metadata_file_href, unset_label)
|
313
302
|
p status_code # => 2xx
|
314
303
|
p headers # => { ... }
|
315
304
|
p data # => <UnsetLabelResponse>
|
@@ -324,7 +313,6 @@ end
|
|
324
313
|
| ---- | ---- | ----------- | ----- |
|
325
314
|
| **rpm_repo_metadata_file_href** | **String** | | |
|
326
315
|
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
327
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
328
316
|
|
329
317
|
### Return type
|
330
318
|
|
data/docs/DistributionsRpmApi.md
CHANGED
@@ -20,7 +20,7 @@ All URIs are relative to *http://localhost:24817*
|
|
20
20
|
|
21
21
|
## add_role
|
22
22
|
|
23
|
-
> <NestedRoleResponse> add_role(rpm_rpm_distribution_href, nested_role
|
23
|
+
> <NestedRoleResponse> add_role(rpm_rpm_distribution_href, nested_role)
|
24
24
|
|
25
25
|
Add a role
|
26
26
|
|
@@ -41,13 +41,10 @@ end
|
|
41
41
|
api_instance = PulpRpmClient::DistributionsRpmApi.new
|
42
42
|
rpm_rpm_distribution_href = 'rpm_rpm_distribution_href_example' # String |
|
43
43
|
nested_role = PulpRpmClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
44
|
-
opts = {
|
45
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
46
|
-
}
|
47
44
|
|
48
45
|
begin
|
49
46
|
# Add a role
|
50
|
-
result = api_instance.add_role(rpm_rpm_distribution_href, nested_role
|
47
|
+
result = api_instance.add_role(rpm_rpm_distribution_href, nested_role)
|
51
48
|
p result
|
52
49
|
rescue PulpRpmClient::ApiError => e
|
53
50
|
puts "Error when calling DistributionsRpmApi->add_role: #{e}"
|
@@ -58,12 +55,12 @@ end
|
|
58
55
|
|
59
56
|
This returns an Array which contains the response data, status code and headers.
|
60
57
|
|
61
|
-
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(rpm_rpm_distribution_href, nested_role
|
58
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(rpm_rpm_distribution_href, nested_role)
|
62
59
|
|
63
60
|
```ruby
|
64
61
|
begin
|
65
62
|
# Add a role
|
66
|
-
data, status_code, headers = api_instance.add_role_with_http_info(rpm_rpm_distribution_href, nested_role
|
63
|
+
data, status_code, headers = api_instance.add_role_with_http_info(rpm_rpm_distribution_href, nested_role)
|
67
64
|
p status_code # => 2xx
|
68
65
|
p headers # => { ... }
|
69
66
|
p data # => <NestedRoleResponse>
|
@@ -78,7 +75,6 @@ end
|
|
78
75
|
| ---- | ---- | ----------- | ----- |
|
79
76
|
| **rpm_rpm_distribution_href** | **String** | | |
|
80
77
|
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
81
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
82
78
|
|
83
79
|
### Return type
|
84
80
|
|
@@ -96,7 +92,7 @@ end
|
|
96
92
|
|
97
93
|
## create
|
98
94
|
|
99
|
-
> <AsyncOperationResponse> create(rpm_rpm_distribution
|
95
|
+
> <AsyncOperationResponse> create(rpm_rpm_distribution)
|
100
96
|
|
101
97
|
Create a rpm distribution
|
102
98
|
|
@@ -116,13 +112,10 @@ end
|
|
116
112
|
|
117
113
|
api_instance = PulpRpmClient::DistributionsRpmApi.new
|
118
114
|
rpm_rpm_distribution = PulpRpmClient::RpmRpmDistribution.new({base_path: 'base_path_example', name: 'name_example'}) # RpmRpmDistribution |
|
119
|
-
opts = {
|
120
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
121
|
-
}
|
122
115
|
|
123
116
|
begin
|
124
117
|
# Create a rpm distribution
|
125
|
-
result = api_instance.create(rpm_rpm_distribution
|
118
|
+
result = api_instance.create(rpm_rpm_distribution)
|
126
119
|
p result
|
127
120
|
rescue PulpRpmClient::ApiError => e
|
128
121
|
puts "Error when calling DistributionsRpmApi->create: #{e}"
|
@@ -133,12 +126,12 @@ end
|
|
133
126
|
|
134
127
|
This returns an Array which contains the response data, status code and headers.
|
135
128
|
|
136
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(rpm_rpm_distribution
|
129
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(rpm_rpm_distribution)
|
137
130
|
|
138
131
|
```ruby
|
139
132
|
begin
|
140
133
|
# Create a rpm distribution
|
141
|
-
data, status_code, headers = api_instance.create_with_http_info(rpm_rpm_distribution
|
134
|
+
data, status_code, headers = api_instance.create_with_http_info(rpm_rpm_distribution)
|
142
135
|
p status_code # => 2xx
|
143
136
|
p headers # => { ... }
|
144
137
|
p data # => <AsyncOperationResponse>
|
@@ -152,7 +145,6 @@ end
|
|
152
145
|
| Name | Type | Description | Notes |
|
153
146
|
| ---- | ---- | ----------- | ----- |
|
154
147
|
| **rpm_rpm_distribution** | [**RpmRpmDistribution**](RpmRpmDistribution.md) | | |
|
155
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
156
148
|
|
157
149
|
### Return type
|
158
150
|
|
@@ -170,7 +162,7 @@ end
|
|
170
162
|
|
171
163
|
## delete
|
172
164
|
|
173
|
-
> <AsyncOperationResponse> delete(rpm_rpm_distribution_href
|
165
|
+
> <AsyncOperationResponse> delete(rpm_rpm_distribution_href)
|
174
166
|
|
175
167
|
Delete a rpm distribution
|
176
168
|
|
@@ -190,13 +182,10 @@ end
|
|
190
182
|
|
191
183
|
api_instance = PulpRpmClient::DistributionsRpmApi.new
|
192
184
|
rpm_rpm_distribution_href = 'rpm_rpm_distribution_href_example' # String |
|
193
|
-
opts = {
|
194
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
195
|
-
}
|
196
185
|
|
197
186
|
begin
|
198
187
|
# Delete a rpm distribution
|
199
|
-
result = api_instance.delete(rpm_rpm_distribution_href
|
188
|
+
result = api_instance.delete(rpm_rpm_distribution_href)
|
200
189
|
p result
|
201
190
|
rescue PulpRpmClient::ApiError => e
|
202
191
|
puts "Error when calling DistributionsRpmApi->delete: #{e}"
|
@@ -207,12 +196,12 @@ end
|
|
207
196
|
|
208
197
|
This returns an Array which contains the response data, status code and headers.
|
209
198
|
|
210
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(rpm_rpm_distribution_href
|
199
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(rpm_rpm_distribution_href)
|
211
200
|
|
212
201
|
```ruby
|
213
202
|
begin
|
214
203
|
# Delete a rpm distribution
|
215
|
-
data, status_code, headers = api_instance.delete_with_http_info(rpm_rpm_distribution_href
|
204
|
+
data, status_code, headers = api_instance.delete_with_http_info(rpm_rpm_distribution_href)
|
216
205
|
p status_code # => 2xx
|
217
206
|
p headers # => { ... }
|
218
207
|
p data # => <AsyncOperationResponse>
|
@@ -226,7 +215,6 @@ end
|
|
226
215
|
| Name | Type | Description | Notes |
|
227
216
|
| ---- | ---- | ----------- | ----- |
|
228
217
|
| **rpm_rpm_distribution_href** | **String** | | |
|
229
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
230
218
|
|
231
219
|
### Return type
|
232
220
|
|
@@ -264,7 +252,6 @@ end
|
|
264
252
|
|
265
253
|
api_instance = PulpRpmClient::DistributionsRpmApi.new
|
266
254
|
opts = {
|
267
|
-
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
268
255
|
base_path: 'base_path_example', # String | Filter results where base_path matches value
|
269
256
|
base_path__contains: 'base_path__contains_example', # String | Filter results where base_path contains value
|
270
257
|
base_path__icontains: 'base_path__icontains_example', # String | Filter results where base_path contains value
|
@@ -325,7 +312,6 @@ end
|
|
325
312
|
|
326
313
|
| Name | Type | Description | Notes |
|
327
314
|
| ---- | ---- | ----------- | ----- |
|
328
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
329
315
|
| **base_path** | **String** | Filter results where base_path matches value | [optional] |
|
330
316
|
| **base_path__contains** | **String** | Filter results where base_path contains value | [optional] |
|
331
317
|
| **base_path__icontains** | **String** | Filter results where base_path contains value | [optional] |
|
@@ -391,7 +377,6 @@ end
|
|
391
377
|
api_instance = PulpRpmClient::DistributionsRpmApi.new
|
392
378
|
rpm_rpm_distribution_href = 'rpm_rpm_distribution_href_example' # String |
|
393
379
|
opts = {
|
394
|
-
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
395
380
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
396
381
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
397
382
|
}
|
@@ -428,7 +413,6 @@ end
|
|
428
413
|
| Name | Type | Description | Notes |
|
429
414
|
| ---- | ---- | ----------- | ----- |
|
430
415
|
| **rpm_rpm_distribution_href** | **String** | | |
|
431
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
432
416
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
433
417
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
434
418
|
|
@@ -469,7 +453,6 @@ end
|
|
469
453
|
api_instance = PulpRpmClient::DistributionsRpmApi.new
|
470
454
|
rpm_rpm_distribution_href = 'rpm_rpm_distribution_href_example' # String |
|
471
455
|
opts = {
|
472
|
-
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
473
456
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
474
457
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
475
458
|
}
|
@@ -506,7 +489,6 @@ end
|
|
506
489
|
| Name | Type | Description | Notes |
|
507
490
|
| ---- | ---- | ----------- | ----- |
|
508
491
|
| **rpm_rpm_distribution_href** | **String** | | |
|
509
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
510
492
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
511
493
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
512
494
|
|
@@ -526,7 +508,7 @@ end
|
|
526
508
|
|
527
509
|
## partial_update
|
528
510
|
|
529
|
-
> <AsyncOperationResponse> partial_update(rpm_rpm_distribution_href, patchedrpm_rpm_distribution
|
511
|
+
> <AsyncOperationResponse> partial_update(rpm_rpm_distribution_href, patchedrpm_rpm_distribution)
|
530
512
|
|
531
513
|
Update a rpm distribution
|
532
514
|
|
@@ -547,13 +529,10 @@ end
|
|
547
529
|
api_instance = PulpRpmClient::DistributionsRpmApi.new
|
548
530
|
rpm_rpm_distribution_href = 'rpm_rpm_distribution_href_example' # String |
|
549
531
|
patchedrpm_rpm_distribution = PulpRpmClient::PatchedrpmRpmDistribution.new # PatchedrpmRpmDistribution |
|
550
|
-
opts = {
|
551
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
552
|
-
}
|
553
532
|
|
554
533
|
begin
|
555
534
|
# Update a rpm distribution
|
556
|
-
result = api_instance.partial_update(rpm_rpm_distribution_href, patchedrpm_rpm_distribution
|
535
|
+
result = api_instance.partial_update(rpm_rpm_distribution_href, patchedrpm_rpm_distribution)
|
557
536
|
p result
|
558
537
|
rescue PulpRpmClient::ApiError => e
|
559
538
|
puts "Error when calling DistributionsRpmApi->partial_update: #{e}"
|
@@ -564,12 +543,12 @@ end
|
|
564
543
|
|
565
544
|
This returns an Array which contains the response data, status code and headers.
|
566
545
|
|
567
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(rpm_rpm_distribution_href, patchedrpm_rpm_distribution
|
546
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(rpm_rpm_distribution_href, patchedrpm_rpm_distribution)
|
568
547
|
|
569
548
|
```ruby
|
570
549
|
begin
|
571
550
|
# Update a rpm distribution
|
572
|
-
data, status_code, headers = api_instance.partial_update_with_http_info(rpm_rpm_distribution_href, patchedrpm_rpm_distribution
|
551
|
+
data, status_code, headers = api_instance.partial_update_with_http_info(rpm_rpm_distribution_href, patchedrpm_rpm_distribution)
|
573
552
|
p status_code # => 2xx
|
574
553
|
p headers # => { ... }
|
575
554
|
p data # => <AsyncOperationResponse>
|
@@ -584,7 +563,6 @@ end
|
|
584
563
|
| ---- | ---- | ----------- | ----- |
|
585
564
|
| **rpm_rpm_distribution_href** | **String** | | |
|
586
565
|
| **patchedrpm_rpm_distribution** | [**PatchedrpmRpmDistribution**](PatchedrpmRpmDistribution.md) | | |
|
587
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
588
566
|
|
589
567
|
### Return type
|
590
568
|
|
@@ -623,7 +601,6 @@ end
|
|
623
601
|
api_instance = PulpRpmClient::DistributionsRpmApi.new
|
624
602
|
rpm_rpm_distribution_href = 'rpm_rpm_distribution_href_example' # String |
|
625
603
|
opts = {
|
626
|
-
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
627
604
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
628
605
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
629
606
|
}
|
@@ -660,7 +637,6 @@ end
|
|
660
637
|
| Name | Type | Description | Notes |
|
661
638
|
| ---- | ---- | ----------- | ----- |
|
662
639
|
| **rpm_rpm_distribution_href** | **String** | | |
|
663
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
664
640
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
665
641
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
666
642
|
|
@@ -680,7 +656,7 @@ end
|
|
680
656
|
|
681
657
|
## remove_role
|
682
658
|
|
683
|
-
> <NestedRoleResponse> remove_role(rpm_rpm_distribution_href, nested_role
|
659
|
+
> <NestedRoleResponse> remove_role(rpm_rpm_distribution_href, nested_role)
|
684
660
|
|
685
661
|
Remove a role
|
686
662
|
|
@@ -701,13 +677,10 @@ end
|
|
701
677
|
api_instance = PulpRpmClient::DistributionsRpmApi.new
|
702
678
|
rpm_rpm_distribution_href = 'rpm_rpm_distribution_href_example' # String |
|
703
679
|
nested_role = PulpRpmClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
704
|
-
opts = {
|
705
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
706
|
-
}
|
707
680
|
|
708
681
|
begin
|
709
682
|
# Remove a role
|
710
|
-
result = api_instance.remove_role(rpm_rpm_distribution_href, nested_role
|
683
|
+
result = api_instance.remove_role(rpm_rpm_distribution_href, nested_role)
|
711
684
|
p result
|
712
685
|
rescue PulpRpmClient::ApiError => e
|
713
686
|
puts "Error when calling DistributionsRpmApi->remove_role: #{e}"
|
@@ -718,12 +691,12 @@ end
|
|
718
691
|
|
719
692
|
This returns an Array which contains the response data, status code and headers.
|
720
693
|
|
721
|
-
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(rpm_rpm_distribution_href, nested_role
|
694
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(rpm_rpm_distribution_href, nested_role)
|
722
695
|
|
723
696
|
```ruby
|
724
697
|
begin
|
725
698
|
# Remove a role
|
726
|
-
data, status_code, headers = api_instance.remove_role_with_http_info(rpm_rpm_distribution_href, nested_role
|
699
|
+
data, status_code, headers = api_instance.remove_role_with_http_info(rpm_rpm_distribution_href, nested_role)
|
727
700
|
p status_code # => 2xx
|
728
701
|
p headers # => { ... }
|
729
702
|
p data # => <NestedRoleResponse>
|
@@ -738,7 +711,6 @@ end
|
|
738
711
|
| ---- | ---- | ----------- | ----- |
|
739
712
|
| **rpm_rpm_distribution_href** | **String** | | |
|
740
713
|
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
741
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
742
714
|
|
743
715
|
### Return type
|
744
716
|
|
@@ -756,7 +728,7 @@ end
|
|
756
728
|
|
757
729
|
## set_label
|
758
730
|
|
759
|
-
> <SetLabelResponse> set_label(rpm_rpm_distribution_href, set_label
|
731
|
+
> <SetLabelResponse> set_label(rpm_rpm_distribution_href, set_label)
|
760
732
|
|
761
733
|
Set a label
|
762
734
|
|
@@ -777,13 +749,10 @@ end
|
|
777
749
|
api_instance = PulpRpmClient::DistributionsRpmApi.new
|
778
750
|
rpm_rpm_distribution_href = 'rpm_rpm_distribution_href_example' # String |
|
779
751
|
set_label = PulpRpmClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
780
|
-
opts = {
|
781
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
782
|
-
}
|
783
752
|
|
784
753
|
begin
|
785
754
|
# Set a label
|
786
|
-
result = api_instance.set_label(rpm_rpm_distribution_href, set_label
|
755
|
+
result = api_instance.set_label(rpm_rpm_distribution_href, set_label)
|
787
756
|
p result
|
788
757
|
rescue PulpRpmClient::ApiError => e
|
789
758
|
puts "Error when calling DistributionsRpmApi->set_label: #{e}"
|
@@ -794,12 +763,12 @@ end
|
|
794
763
|
|
795
764
|
This returns an Array which contains the response data, status code and headers.
|
796
765
|
|
797
|
-
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(rpm_rpm_distribution_href, set_label
|
766
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(rpm_rpm_distribution_href, set_label)
|
798
767
|
|
799
768
|
```ruby
|
800
769
|
begin
|
801
770
|
# Set a label
|
802
|
-
data, status_code, headers = api_instance.set_label_with_http_info(rpm_rpm_distribution_href, set_label
|
771
|
+
data, status_code, headers = api_instance.set_label_with_http_info(rpm_rpm_distribution_href, set_label)
|
803
772
|
p status_code # => 2xx
|
804
773
|
p headers # => { ... }
|
805
774
|
p data # => <SetLabelResponse>
|
@@ -814,7 +783,6 @@ end
|
|
814
783
|
| ---- | ---- | ----------- | ----- |
|
815
784
|
| **rpm_rpm_distribution_href** | **String** | | |
|
816
785
|
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
817
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
818
786
|
|
819
787
|
### Return type
|
820
788
|
|
@@ -832,7 +800,7 @@ end
|
|
832
800
|
|
833
801
|
## unset_label
|
834
802
|
|
835
|
-
> <UnsetLabelResponse> unset_label(rpm_rpm_distribution_href, unset_label
|
803
|
+
> <UnsetLabelResponse> unset_label(rpm_rpm_distribution_href, unset_label)
|
836
804
|
|
837
805
|
Unset a label
|
838
806
|
|
@@ -853,13 +821,10 @@ end
|
|
853
821
|
api_instance = PulpRpmClient::DistributionsRpmApi.new
|
854
822
|
rpm_rpm_distribution_href = 'rpm_rpm_distribution_href_example' # String |
|
855
823
|
unset_label = PulpRpmClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
856
|
-
opts = {
|
857
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
858
|
-
}
|
859
824
|
|
860
825
|
begin
|
861
826
|
# Unset a label
|
862
|
-
result = api_instance.unset_label(rpm_rpm_distribution_href, unset_label
|
827
|
+
result = api_instance.unset_label(rpm_rpm_distribution_href, unset_label)
|
863
828
|
p result
|
864
829
|
rescue PulpRpmClient::ApiError => e
|
865
830
|
puts "Error when calling DistributionsRpmApi->unset_label: #{e}"
|
@@ -870,12 +835,12 @@ end
|
|
870
835
|
|
871
836
|
This returns an Array which contains the response data, status code and headers.
|
872
837
|
|
873
|
-
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(rpm_rpm_distribution_href, unset_label
|
838
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(rpm_rpm_distribution_href, unset_label)
|
874
839
|
|
875
840
|
```ruby
|
876
841
|
begin
|
877
842
|
# Unset a label
|
878
|
-
data, status_code, headers = api_instance.unset_label_with_http_info(rpm_rpm_distribution_href, unset_label
|
843
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(rpm_rpm_distribution_href, unset_label)
|
879
844
|
p status_code # => 2xx
|
880
845
|
p headers # => { ... }
|
881
846
|
p data # => <UnsetLabelResponse>
|
@@ -890,7 +855,6 @@ end
|
|
890
855
|
| ---- | ---- | ----------- | ----- |
|
891
856
|
| **rpm_rpm_distribution_href** | **String** | | |
|
892
857
|
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
893
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
894
858
|
|
895
859
|
### Return type
|
896
860
|
|
@@ -908,7 +872,7 @@ end
|
|
908
872
|
|
909
873
|
## update
|
910
874
|
|
911
|
-
> <AsyncOperationResponse> update(rpm_rpm_distribution_href, rpm_rpm_distribution
|
875
|
+
> <AsyncOperationResponse> update(rpm_rpm_distribution_href, rpm_rpm_distribution)
|
912
876
|
|
913
877
|
Update a rpm distribution
|
914
878
|
|
@@ -929,13 +893,10 @@ end
|
|
929
893
|
api_instance = PulpRpmClient::DistributionsRpmApi.new
|
930
894
|
rpm_rpm_distribution_href = 'rpm_rpm_distribution_href_example' # String |
|
931
895
|
rpm_rpm_distribution = PulpRpmClient::RpmRpmDistribution.new({base_path: 'base_path_example', name: 'name_example'}) # RpmRpmDistribution |
|
932
|
-
opts = {
|
933
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
934
|
-
}
|
935
896
|
|
936
897
|
begin
|
937
898
|
# Update a rpm distribution
|
938
|
-
result = api_instance.update(rpm_rpm_distribution_href, rpm_rpm_distribution
|
899
|
+
result = api_instance.update(rpm_rpm_distribution_href, rpm_rpm_distribution)
|
939
900
|
p result
|
940
901
|
rescue PulpRpmClient::ApiError => e
|
941
902
|
puts "Error when calling DistributionsRpmApi->update: #{e}"
|
@@ -946,12 +907,12 @@ end
|
|
946
907
|
|
947
908
|
This returns an Array which contains the response data, status code and headers.
|
948
909
|
|
949
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(rpm_rpm_distribution_href, rpm_rpm_distribution
|
910
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(rpm_rpm_distribution_href, rpm_rpm_distribution)
|
950
911
|
|
951
912
|
```ruby
|
952
913
|
begin
|
953
914
|
# Update a rpm distribution
|
954
|
-
data, status_code, headers = api_instance.update_with_http_info(rpm_rpm_distribution_href, rpm_rpm_distribution
|
915
|
+
data, status_code, headers = api_instance.update_with_http_info(rpm_rpm_distribution_href, rpm_rpm_distribution)
|
955
916
|
p status_code # => 2xx
|
956
917
|
p headers # => { ... }
|
957
918
|
p data # => <AsyncOperationResponse>
|
@@ -966,7 +927,6 @@ end
|
|
966
927
|
| ---- | ---- | ----------- | ----- |
|
967
928
|
| **rpm_rpm_distribution_href** | **String** | | |
|
968
929
|
| **rpm_rpm_distribution** | [**RpmRpmDistribution**](RpmRpmDistribution.md) | | |
|
969
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
970
930
|
|
971
931
|
### Return type
|
972
932
|
|
@@ -12,6 +12,7 @@
|
|
12
12
|
| **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
|
13
13
|
| **publication** | **String** | Publication to be served | [optional] |
|
14
14
|
| **generate_repo_config** | **Boolean** | An option specifying whether Pulp should generate *.repo files. | [optional][default to false] |
|
15
|
+
| **checkpoint** | **Boolean** | | [optional] |
|
15
16
|
|
16
17
|
## Example
|
17
18
|
|
@@ -26,7 +27,8 @@ instance = PulpRpmClient::PatchedrpmRpmDistribution.new(
|
|
26
27
|
name: null,
|
27
28
|
repository: null,
|
28
29
|
publication: null,
|
29
|
-
generate_repo_config: null
|
30
|
+
generate_repo_config: null,
|
31
|
+
checkpoint: null
|
30
32
|
)
|
31
33
|
```
|
32
34
|
|
@@ -15,11 +15,7 @@
|
|
15
15
|
| **package_signing_fingerprint** | **String** | The pubkey V4 fingerprint (160 bits) to be passed to the package signing service.The signing service will use that on signing operations related to this repository. | [optional][default to ''] |
|
16
16
|
| **retain_package_versions** | **Integer** | The number of versions of each package to keep in the repository; older versions will be purged. The default is '0', which will disable this feature and keep all versions of each package. | [optional] |
|
17
17
|
| **checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | The preferred checksum type during repo publish. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512 | [optional] |
|
18
|
-
| **
|
19
|
-
| **package_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | DEPRECATED: use CHECKSUM_TYPE instead. * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512 | [optional] |
|
20
|
-
| **gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on packages. | [optional] |
|
21
|
-
| **repo_gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata. | [optional] |
|
22
|
-
| **repo_config** | **Object** | A JSON document describing config.repo file | [optional] |
|
18
|
+
| **repo_config** | **Object** | A JSON document describing the config.repo file Pulp should generate for this repo | [optional] |
|
23
19
|
| **compression_type** | [**CompressionTypeEnum**](CompressionTypeEnum.md) | The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz | [optional] |
|
24
20
|
| **layout** | [**LayoutEnum**](LayoutEnum.md) | How to layout the packages within the published repository. * `nested_alphabetically` - nested_alphabetically * `flat` - flat | [optional] |
|
25
21
|
|
@@ -40,10 +36,6 @@ instance = PulpRpmClient::PatchedrpmRpmRepository.new(
|
|
40
36
|
package_signing_fingerprint: null,
|
41
37
|
retain_package_versions: null,
|
42
38
|
checksum_type: null,
|
43
|
-
metadata_checksum_type: null,
|
44
|
-
package_checksum_type: null,
|
45
|
-
gpgcheck: null,
|
46
|
-
repo_gpgcheck: null,
|
47
39
|
repo_config: null,
|
48
40
|
compression_type: null,
|
49
41
|
layout: null
|