pulp_ostree_client 2.4.8 → 2.5.1
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 -4
- data/docs/ContentCommitsApi.md +20 -8
- data/docs/ContentConfigsApi.md +20 -8
- data/docs/ContentContentApi.md +28 -12
- data/docs/ContentObjectsApi.md +20 -8
- data/docs/ContentRefsApi.md +20 -8
- data/docs/ContentSummariesApi.md +20 -8
- data/docs/DistributionsOstreeApi.md +78 -38
- data/docs/OstreeOstreeCommitResponse.md +2 -0
- data/docs/OstreeOstreeConfigResponse.md +2 -0
- data/docs/OstreeOstreeContentResponse.md +2 -0
- data/docs/OstreeOstreeObjectResponse.md +2 -0
- data/docs/OstreeOstreeRefResponse.md +2 -0
- data/docs/OstreeOstreeRemoteResponse.md +1 -1
- data/docs/OstreeOstreeSummaryResponse.md +2 -0
- data/docs/RemotesOstreeApi.md +78 -38
- data/docs/RepositoriesOstreeApi.md +110 -54
- data/docs/RepositoriesOstreeVersionsApi.md +22 -10
- data/docs/RepositoryVersionResponse.md +3 -1
- data/lib/pulp_ostree_client/api/content_commits_api.rb +12 -0
- data/lib/pulp_ostree_client/api/content_configs_api.rb +12 -0
- data/lib/pulp_ostree_client/api/content_content_api.rb +15 -0
- data/lib/pulp_ostree_client/api/content_objects_api.rb +12 -0
- data/lib/pulp_ostree_client/api/content_refs_api.rb +12 -0
- data/lib/pulp_ostree_client/api/content_summaries_api.rb +12 -0
- data/lib/pulp_ostree_client/api/distributions_ostree_api.rb +46 -10
- data/lib/pulp_ostree_client/api/remotes_ostree_api.rb +46 -10
- data/lib/pulp_ostree_client/api/repositories_ostree_api.rb +58 -10
- data/lib/pulp_ostree_client/api/repositories_ostree_versions_api.rb +15 -3
- data/lib/pulp_ostree_client/models/ostree_ostree_commit_response.rb +10 -1
- data/lib/pulp_ostree_client/models/ostree_ostree_config_response.rb +10 -1
- data/lib/pulp_ostree_client/models/ostree_ostree_content_response.rb +10 -1
- data/lib/pulp_ostree_client/models/ostree_ostree_object_response.rb +10 -1
- data/lib/pulp_ostree_client/models/ostree_ostree_ref_response.rb +10 -1
- data/lib/pulp_ostree_client/models/ostree_ostree_remote.rb +0 -15
- data/lib/pulp_ostree_client/models/ostree_ostree_remote_response.rb +0 -15
- data/lib/pulp_ostree_client/models/ostree_ostree_repository.rb +0 -15
- data/lib/pulp_ostree_client/models/ostree_ostree_repository_response.rb +0 -15
- data/lib/pulp_ostree_client/models/ostree_ostree_summary_response.rb +10 -1
- data/lib/pulp_ostree_client/models/paginated_repository_version_response_list.rb +0 -2
- data/lib/pulp_ostree_client/models/paginatedostree_ostree_commit_response_list.rb +0 -2
- data/lib/pulp_ostree_client/models/paginatedostree_ostree_config_response_list.rb +0 -2
- data/lib/pulp_ostree_client/models/paginatedostree_ostree_content_response_list.rb +0 -2
- data/lib/pulp_ostree_client/models/paginatedostree_ostree_distribution_response_list.rb +0 -2
- data/lib/pulp_ostree_client/models/paginatedostree_ostree_object_response_list.rb +0 -2
- data/lib/pulp_ostree_client/models/paginatedostree_ostree_ref_response_list.rb +0 -2
- data/lib/pulp_ostree_client/models/paginatedostree_ostree_remote_response_list.rb +0 -2
- data/lib/pulp_ostree_client/models/paginatedostree_ostree_repository_response_list.rb +0 -2
- data/lib/pulp_ostree_client/models/paginatedostree_ostree_summary_response_list.rb +0 -2
- data/lib/pulp_ostree_client/models/patchedostree_ostree_remote.rb +0 -15
- data/lib/pulp_ostree_client/models/patchedostree_ostree_repository.rb +0 -15
- data/lib/pulp_ostree_client/models/repository_version_response.rb +13 -4
- data/lib/pulp_ostree_client/version.rb +1 -1
- data/spec/api/content_commits_api_spec.rb +4 -0
- data/spec/api/content_configs_api_spec.rb +4 -0
- data/spec/api/content_content_api_spec.rb +5 -0
- data/spec/api/content_objects_api_spec.rb +4 -0
- data/spec/api/content_refs_api_spec.rb +4 -0
- data/spec/api/content_summaries_api_spec.rb +4 -0
- data/spec/api/distributions_ostree_api_spec.rb +16 -4
- data/spec/api/remotes_ostree_api_spec.rb +16 -4
- data/spec/api/repositories_ostree_api_spec.rb +20 -4
- data/spec/api/repositories_ostree_versions_api_spec.rb +5 -1
- data/spec/models/ostree_ostree_commit_response_spec.rb +6 -0
- data/spec/models/ostree_ostree_config_response_spec.rb +6 -0
- data/spec/models/ostree_ostree_content_response_spec.rb +6 -0
- data/spec/models/ostree_ostree_object_response_spec.rb +6 -0
- data/spec/models/ostree_ostree_ref_response_spec.rb +6 -0
- data/spec/models/ostree_ostree_summary_response_spec.rb +6 -0
- data/spec/models/repository_version_response_spec.rb +6 -0
- metadata +39 -39
data/docs/ContentRefsApi.md
CHANGED
|
@@ -32,6 +32,7 @@ end
|
|
|
32
32
|
|
|
33
33
|
api_instance = PulpOstreeClient::ContentRefsApi.new
|
|
34
34
|
opts = {
|
|
35
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
35
36
|
checksum: 'checksum_example', # String |
|
|
36
37
|
limit: 56, # Integer | Number of results to return per page.
|
|
37
38
|
name: 'name_example', # String | Filter results where name matches value
|
|
@@ -89,6 +90,7 @@ end
|
|
|
89
90
|
|
|
90
91
|
| Name | Type | Description | Notes |
|
|
91
92
|
| ---- | ---- | ----------- | ----- |
|
|
93
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
92
94
|
| **checksum** | **String** | | [optional] |
|
|
93
95
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
|
94
96
|
| **name** | **String** | Filter results where name matches value | [optional] |
|
|
@@ -151,6 +153,7 @@ end
|
|
|
151
153
|
api_instance = PulpOstreeClient::ContentRefsApi.new
|
|
152
154
|
ostree_ostree_ref_href = 'ostree_ostree_ref_href_example' # String |
|
|
153
155
|
opts = {
|
|
156
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
154
157
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
|
155
158
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
|
156
159
|
}
|
|
@@ -187,6 +190,7 @@ end
|
|
|
187
190
|
| Name | Type | Description | Notes |
|
|
188
191
|
| ---- | ---- | ----------- | ----- |
|
|
189
192
|
| **ostree_ostree_ref_href** | **String** | | |
|
|
193
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
190
194
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
|
191
195
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
|
192
196
|
|
|
@@ -206,7 +210,7 @@ end
|
|
|
206
210
|
|
|
207
211
|
## set_label
|
|
208
212
|
|
|
209
|
-
> <SetLabelResponse> set_label(ostree_ostree_ref_href, set_label)
|
|
213
|
+
> <SetLabelResponse> set_label(ostree_ostree_ref_href, set_label, opts)
|
|
210
214
|
|
|
211
215
|
Set a label
|
|
212
216
|
|
|
@@ -227,10 +231,13 @@ end
|
|
|
227
231
|
api_instance = PulpOstreeClient::ContentRefsApi.new
|
|
228
232
|
ostree_ostree_ref_href = 'ostree_ostree_ref_href_example' # String |
|
|
229
233
|
set_label = PulpOstreeClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
|
234
|
+
opts = {
|
|
235
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
236
|
+
}
|
|
230
237
|
|
|
231
238
|
begin
|
|
232
239
|
# Set a label
|
|
233
|
-
result = api_instance.set_label(ostree_ostree_ref_href, set_label)
|
|
240
|
+
result = api_instance.set_label(ostree_ostree_ref_href, set_label, opts)
|
|
234
241
|
p result
|
|
235
242
|
rescue PulpOstreeClient::ApiError => e
|
|
236
243
|
puts "Error when calling ContentRefsApi->set_label: #{e}"
|
|
@@ -241,12 +248,12 @@ end
|
|
|
241
248
|
|
|
242
249
|
This returns an Array which contains the response data, status code and headers.
|
|
243
250
|
|
|
244
|
-
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(ostree_ostree_ref_href, set_label)
|
|
251
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(ostree_ostree_ref_href, set_label, opts)
|
|
245
252
|
|
|
246
253
|
```ruby
|
|
247
254
|
begin
|
|
248
255
|
# Set a label
|
|
249
|
-
data, status_code, headers = api_instance.set_label_with_http_info(ostree_ostree_ref_href, set_label)
|
|
256
|
+
data, status_code, headers = api_instance.set_label_with_http_info(ostree_ostree_ref_href, set_label, opts)
|
|
250
257
|
p status_code # => 2xx
|
|
251
258
|
p headers # => { ... }
|
|
252
259
|
p data # => <SetLabelResponse>
|
|
@@ -261,6 +268,7 @@ end
|
|
|
261
268
|
| ---- | ---- | ----------- | ----- |
|
|
262
269
|
| **ostree_ostree_ref_href** | **String** | | |
|
|
263
270
|
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
|
271
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
264
272
|
|
|
265
273
|
### Return type
|
|
266
274
|
|
|
@@ -278,7 +286,7 @@ end
|
|
|
278
286
|
|
|
279
287
|
## unset_label
|
|
280
288
|
|
|
281
|
-
> <UnsetLabelResponse> unset_label(ostree_ostree_ref_href, unset_label)
|
|
289
|
+
> <UnsetLabelResponse> unset_label(ostree_ostree_ref_href, unset_label, opts)
|
|
282
290
|
|
|
283
291
|
Unset a label
|
|
284
292
|
|
|
@@ -299,10 +307,13 @@ end
|
|
|
299
307
|
api_instance = PulpOstreeClient::ContentRefsApi.new
|
|
300
308
|
ostree_ostree_ref_href = 'ostree_ostree_ref_href_example' # String |
|
|
301
309
|
unset_label = PulpOstreeClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
|
310
|
+
opts = {
|
|
311
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
312
|
+
}
|
|
302
313
|
|
|
303
314
|
begin
|
|
304
315
|
# Unset a label
|
|
305
|
-
result = api_instance.unset_label(ostree_ostree_ref_href, unset_label)
|
|
316
|
+
result = api_instance.unset_label(ostree_ostree_ref_href, unset_label, opts)
|
|
306
317
|
p result
|
|
307
318
|
rescue PulpOstreeClient::ApiError => e
|
|
308
319
|
puts "Error when calling ContentRefsApi->unset_label: #{e}"
|
|
@@ -313,12 +324,12 @@ end
|
|
|
313
324
|
|
|
314
325
|
This returns an Array which contains the response data, status code and headers.
|
|
315
326
|
|
|
316
|
-
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(ostree_ostree_ref_href, unset_label)
|
|
327
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(ostree_ostree_ref_href, unset_label, opts)
|
|
317
328
|
|
|
318
329
|
```ruby
|
|
319
330
|
begin
|
|
320
331
|
# Unset a label
|
|
321
|
-
data, status_code, headers = api_instance.unset_label_with_http_info(ostree_ostree_ref_href, unset_label)
|
|
332
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(ostree_ostree_ref_href, unset_label, opts)
|
|
322
333
|
p status_code # => 2xx
|
|
323
334
|
p headers # => { ... }
|
|
324
335
|
p data # => <UnsetLabelResponse>
|
|
@@ -333,6 +344,7 @@ end
|
|
|
333
344
|
| ---- | ---- | ----------- | ----- |
|
|
334
345
|
| **ostree_ostree_ref_href** | **String** | | |
|
|
335
346
|
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
|
347
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
336
348
|
|
|
337
349
|
### Return type
|
|
338
350
|
|
data/docs/ContentSummariesApi.md
CHANGED
|
@@ -32,6 +32,7 @@ end
|
|
|
32
32
|
|
|
33
33
|
api_instance = PulpOstreeClient::ContentSummariesApi.new
|
|
34
34
|
opts = {
|
|
35
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
35
36
|
limit: 56, # Integer | Number of results to return per page.
|
|
36
37
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
37
38
|
ordering: ['-pk'], # Array<String> | Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
|
@@ -79,6 +80,7 @@ end
|
|
|
79
80
|
|
|
80
81
|
| Name | Type | Description | Notes |
|
|
81
82
|
| ---- | ---- | ----------- | ----- |
|
|
83
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
82
84
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
|
83
85
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
|
84
86
|
| **ordering** | [**Array<String>**](String.md) | Ordering * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
|
@@ -131,6 +133,7 @@ end
|
|
|
131
133
|
api_instance = PulpOstreeClient::ContentSummariesApi.new
|
|
132
134
|
ostree_ostree_summary_href = 'ostree_ostree_summary_href_example' # String |
|
|
133
135
|
opts = {
|
|
136
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
134
137
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
|
135
138
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
|
136
139
|
}
|
|
@@ -167,6 +170,7 @@ end
|
|
|
167
170
|
| Name | Type | Description | Notes |
|
|
168
171
|
| ---- | ---- | ----------- | ----- |
|
|
169
172
|
| **ostree_ostree_summary_href** | **String** | | |
|
|
173
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
170
174
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
|
171
175
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
|
172
176
|
|
|
@@ -186,7 +190,7 @@ end
|
|
|
186
190
|
|
|
187
191
|
## set_label
|
|
188
192
|
|
|
189
|
-
> <SetLabelResponse> set_label(ostree_ostree_summary_href, set_label)
|
|
193
|
+
> <SetLabelResponse> set_label(ostree_ostree_summary_href, set_label, opts)
|
|
190
194
|
|
|
191
195
|
Set a label
|
|
192
196
|
|
|
@@ -207,10 +211,13 @@ end
|
|
|
207
211
|
api_instance = PulpOstreeClient::ContentSummariesApi.new
|
|
208
212
|
ostree_ostree_summary_href = 'ostree_ostree_summary_href_example' # String |
|
|
209
213
|
set_label = PulpOstreeClient::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
|
+
}
|
|
210
217
|
|
|
211
218
|
begin
|
|
212
219
|
# Set a label
|
|
213
|
-
result = api_instance.set_label(ostree_ostree_summary_href, set_label)
|
|
220
|
+
result = api_instance.set_label(ostree_ostree_summary_href, set_label, opts)
|
|
214
221
|
p result
|
|
215
222
|
rescue PulpOstreeClient::ApiError => e
|
|
216
223
|
puts "Error when calling ContentSummariesApi->set_label: #{e}"
|
|
@@ -221,12 +228,12 @@ end
|
|
|
221
228
|
|
|
222
229
|
This returns an Array which contains the response data, status code and headers.
|
|
223
230
|
|
|
224
|
-
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(ostree_ostree_summary_href, set_label)
|
|
231
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(ostree_ostree_summary_href, set_label, opts)
|
|
225
232
|
|
|
226
233
|
```ruby
|
|
227
234
|
begin
|
|
228
235
|
# Set a label
|
|
229
|
-
data, status_code, headers = api_instance.set_label_with_http_info(ostree_ostree_summary_href, set_label)
|
|
236
|
+
data, status_code, headers = api_instance.set_label_with_http_info(ostree_ostree_summary_href, set_label, opts)
|
|
230
237
|
p status_code # => 2xx
|
|
231
238
|
p headers # => { ... }
|
|
232
239
|
p data # => <SetLabelResponse>
|
|
@@ -241,6 +248,7 @@ end
|
|
|
241
248
|
| ---- | ---- | ----------- | ----- |
|
|
242
249
|
| **ostree_ostree_summary_href** | **String** | | |
|
|
243
250
|
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
|
251
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
244
252
|
|
|
245
253
|
### Return type
|
|
246
254
|
|
|
@@ -258,7 +266,7 @@ end
|
|
|
258
266
|
|
|
259
267
|
## unset_label
|
|
260
268
|
|
|
261
|
-
> <UnsetLabelResponse> unset_label(ostree_ostree_summary_href, unset_label)
|
|
269
|
+
> <UnsetLabelResponse> unset_label(ostree_ostree_summary_href, unset_label, opts)
|
|
262
270
|
|
|
263
271
|
Unset a label
|
|
264
272
|
|
|
@@ -279,10 +287,13 @@ end
|
|
|
279
287
|
api_instance = PulpOstreeClient::ContentSummariesApi.new
|
|
280
288
|
ostree_ostree_summary_href = 'ostree_ostree_summary_href_example' # String |
|
|
281
289
|
unset_label = PulpOstreeClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
|
290
|
+
opts = {
|
|
291
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
292
|
+
}
|
|
282
293
|
|
|
283
294
|
begin
|
|
284
295
|
# Unset a label
|
|
285
|
-
result = api_instance.unset_label(ostree_ostree_summary_href, unset_label)
|
|
296
|
+
result = api_instance.unset_label(ostree_ostree_summary_href, unset_label, opts)
|
|
286
297
|
p result
|
|
287
298
|
rescue PulpOstreeClient::ApiError => e
|
|
288
299
|
puts "Error when calling ContentSummariesApi->unset_label: #{e}"
|
|
@@ -293,12 +304,12 @@ end
|
|
|
293
304
|
|
|
294
305
|
This returns an Array which contains the response data, status code and headers.
|
|
295
306
|
|
|
296
|
-
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(ostree_ostree_summary_href, unset_label)
|
|
307
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(ostree_ostree_summary_href, unset_label, opts)
|
|
297
308
|
|
|
298
309
|
```ruby
|
|
299
310
|
begin
|
|
300
311
|
# Unset a label
|
|
301
|
-
data, status_code, headers = api_instance.unset_label_with_http_info(ostree_ostree_summary_href, unset_label)
|
|
312
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(ostree_ostree_summary_href, unset_label, opts)
|
|
302
313
|
p status_code # => 2xx
|
|
303
314
|
p headers # => { ... }
|
|
304
315
|
p data # => <UnsetLabelResponse>
|
|
@@ -313,6 +324,7 @@ end
|
|
|
313
324
|
| ---- | ---- | ----------- | ----- |
|
|
314
325
|
| **ostree_ostree_summary_href** | **String** | | |
|
|
315
326
|
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
|
327
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
316
328
|
|
|
317
329
|
### Return type
|
|
318
330
|
|