pulp_ostree_client 2.4.8 → 2.5.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 -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 +72 -32
- 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 +72 -32
- data/docs/RepositoriesOstreeApi.md +104 -48
- 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 +36 -0
- data/lib/pulp_ostree_client/api/remotes_ostree_api.rb +36 -0
- data/lib/pulp_ostree_client/api/repositories_ostree_api.rb +48 -0
- 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 +12 -0
- data/spec/api/remotes_ostree_api_spec.rb +12 -0
- data/spec/api/repositories_ostree_api_spec.rb +16 -0
- 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 +43 -43
@@ -24,7 +24,7 @@ All URIs are relative to *http://localhost:24817*
|
|
24
24
|
|
25
25
|
## add_role
|
26
26
|
|
27
|
-
> <NestedRoleResponse> add_role(ostree_ostree_repository_href, nested_role)
|
27
|
+
> <NestedRoleResponse> add_role(ostree_ostree_repository_href, nested_role, opts)
|
28
28
|
|
29
29
|
Add a role
|
30
30
|
|
@@ -45,10 +45,13 @@ end
|
|
45
45
|
api_instance = PulpOstreeClient::RepositoriesOstreeApi.new
|
46
46
|
ostree_ostree_repository_href = 'ostree_ostree_repository_href_example' # String |
|
47
47
|
nested_role = PulpOstreeClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
48
|
+
opts = {
|
49
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
50
|
+
}
|
48
51
|
|
49
52
|
begin
|
50
53
|
# Add a role
|
51
|
-
result = api_instance.add_role(ostree_ostree_repository_href, nested_role)
|
54
|
+
result = api_instance.add_role(ostree_ostree_repository_href, nested_role, opts)
|
52
55
|
p result
|
53
56
|
rescue PulpOstreeClient::ApiError => e
|
54
57
|
puts "Error when calling RepositoriesOstreeApi->add_role: #{e}"
|
@@ -59,12 +62,12 @@ end
|
|
59
62
|
|
60
63
|
This returns an Array which contains the response data, status code and headers.
|
61
64
|
|
62
|
-
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(ostree_ostree_repository_href, nested_role)
|
65
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(ostree_ostree_repository_href, nested_role, opts)
|
63
66
|
|
64
67
|
```ruby
|
65
68
|
begin
|
66
69
|
# Add a role
|
67
|
-
data, status_code, headers = api_instance.add_role_with_http_info(ostree_ostree_repository_href, nested_role)
|
70
|
+
data, status_code, headers = api_instance.add_role_with_http_info(ostree_ostree_repository_href, nested_role, opts)
|
68
71
|
p status_code # => 2xx
|
69
72
|
p headers # => { ... }
|
70
73
|
p data # => <NestedRoleResponse>
|
@@ -79,6 +82,7 @@ end
|
|
79
82
|
| ---- | ---- | ----------- | ----- |
|
80
83
|
| **ostree_ostree_repository_href** | **String** | | |
|
81
84
|
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
85
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
82
86
|
|
83
87
|
### Return type
|
84
88
|
|
@@ -96,7 +100,7 @@ end
|
|
96
100
|
|
97
101
|
## create
|
98
102
|
|
99
|
-
> <OstreeOstreeRepositoryResponse> create(ostree_ostree_repository)
|
103
|
+
> <OstreeOstreeRepositoryResponse> create(ostree_ostree_repository, opts)
|
100
104
|
|
101
105
|
Create an ostree repository
|
102
106
|
|
@@ -116,10 +120,13 @@ end
|
|
116
120
|
|
117
121
|
api_instance = PulpOstreeClient::RepositoriesOstreeApi.new
|
118
122
|
ostree_ostree_repository = PulpOstreeClient::OstreeOstreeRepository.new({name: 'name_example'}) # OstreeOstreeRepository |
|
123
|
+
opts = {
|
124
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
125
|
+
}
|
119
126
|
|
120
127
|
begin
|
121
128
|
# Create an ostree repository
|
122
|
-
result = api_instance.create(ostree_ostree_repository)
|
129
|
+
result = api_instance.create(ostree_ostree_repository, opts)
|
123
130
|
p result
|
124
131
|
rescue PulpOstreeClient::ApiError => e
|
125
132
|
puts "Error when calling RepositoriesOstreeApi->create: #{e}"
|
@@ -130,12 +137,12 @@ end
|
|
130
137
|
|
131
138
|
This returns an Array which contains the response data, status code and headers.
|
132
139
|
|
133
|
-
> <Array(<OstreeOstreeRepositoryResponse>, Integer, Hash)> create_with_http_info(ostree_ostree_repository)
|
140
|
+
> <Array(<OstreeOstreeRepositoryResponse>, Integer, Hash)> create_with_http_info(ostree_ostree_repository, opts)
|
134
141
|
|
135
142
|
```ruby
|
136
143
|
begin
|
137
144
|
# Create an ostree repository
|
138
|
-
data, status_code, headers = api_instance.create_with_http_info(ostree_ostree_repository)
|
145
|
+
data, status_code, headers = api_instance.create_with_http_info(ostree_ostree_repository, opts)
|
139
146
|
p status_code # => 2xx
|
140
147
|
p headers # => { ... }
|
141
148
|
p data # => <OstreeOstreeRepositoryResponse>
|
@@ -149,6 +156,7 @@ end
|
|
149
156
|
| Name | Type | Description | Notes |
|
150
157
|
| ---- | ---- | ----------- | ----- |
|
151
158
|
| **ostree_ostree_repository** | [**OstreeOstreeRepository**](OstreeOstreeRepository.md) | | |
|
159
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
152
160
|
|
153
161
|
### Return type
|
154
162
|
|
@@ -166,7 +174,7 @@ end
|
|
166
174
|
|
167
175
|
## delete
|
168
176
|
|
169
|
-
> <AsyncOperationResponse> delete(ostree_ostree_repository_href)
|
177
|
+
> <AsyncOperationResponse> delete(ostree_ostree_repository_href, opts)
|
170
178
|
|
171
179
|
Delete an ostree repository
|
172
180
|
|
@@ -186,10 +194,13 @@ end
|
|
186
194
|
|
187
195
|
api_instance = PulpOstreeClient::RepositoriesOstreeApi.new
|
188
196
|
ostree_ostree_repository_href = 'ostree_ostree_repository_href_example' # String |
|
197
|
+
opts = {
|
198
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
199
|
+
}
|
189
200
|
|
190
201
|
begin
|
191
202
|
# Delete an ostree repository
|
192
|
-
result = api_instance.delete(ostree_ostree_repository_href)
|
203
|
+
result = api_instance.delete(ostree_ostree_repository_href, opts)
|
193
204
|
p result
|
194
205
|
rescue PulpOstreeClient::ApiError => e
|
195
206
|
puts "Error when calling RepositoriesOstreeApi->delete: #{e}"
|
@@ -200,12 +211,12 @@ end
|
|
200
211
|
|
201
212
|
This returns an Array which contains the response data, status code and headers.
|
202
213
|
|
203
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(ostree_ostree_repository_href)
|
214
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(ostree_ostree_repository_href, opts)
|
204
215
|
|
205
216
|
```ruby
|
206
217
|
begin
|
207
218
|
# Delete an ostree repository
|
208
|
-
data, status_code, headers = api_instance.delete_with_http_info(ostree_ostree_repository_href)
|
219
|
+
data, status_code, headers = api_instance.delete_with_http_info(ostree_ostree_repository_href, opts)
|
209
220
|
p status_code # => 2xx
|
210
221
|
p headers # => { ... }
|
211
222
|
p data # => <AsyncOperationResponse>
|
@@ -219,6 +230,7 @@ end
|
|
219
230
|
| Name | Type | Description | Notes |
|
220
231
|
| ---- | ---- | ----------- | ----- |
|
221
232
|
| **ostree_ostree_repository_href** | **String** | | |
|
233
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
222
234
|
|
223
235
|
### Return type
|
224
236
|
|
@@ -236,7 +248,7 @@ end
|
|
236
248
|
|
237
249
|
## import_all
|
238
250
|
|
239
|
-
> <AsyncOperationResponse> import_all(ostree_ostree_repository_href, ostree_import_all)
|
251
|
+
> <AsyncOperationResponse> import_all(ostree_ostree_repository_href, ostree_import_all, opts)
|
240
252
|
|
241
253
|
Import refs and commits to a repository
|
242
254
|
|
@@ -257,10 +269,13 @@ end
|
|
257
269
|
api_instance = PulpOstreeClient::RepositoriesOstreeApi.new
|
258
270
|
ostree_ostree_repository_href = 'ostree_ostree_repository_href_example' # String |
|
259
271
|
ostree_import_all = PulpOstreeClient::OstreeImportAll.new({artifact: 'artifact_example', repository_name: 'repository_name_example'}) # OstreeImportAll |
|
272
|
+
opts = {
|
273
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
274
|
+
}
|
260
275
|
|
261
276
|
begin
|
262
277
|
# Import refs and commits to a repository
|
263
|
-
result = api_instance.import_all(ostree_ostree_repository_href, ostree_import_all)
|
278
|
+
result = api_instance.import_all(ostree_ostree_repository_href, ostree_import_all, opts)
|
264
279
|
p result
|
265
280
|
rescue PulpOstreeClient::ApiError => e
|
266
281
|
puts "Error when calling RepositoriesOstreeApi->import_all: #{e}"
|
@@ -271,12 +286,12 @@ end
|
|
271
286
|
|
272
287
|
This returns an Array which contains the response data, status code and headers.
|
273
288
|
|
274
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> import_all_with_http_info(ostree_ostree_repository_href, ostree_import_all)
|
289
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> import_all_with_http_info(ostree_ostree_repository_href, ostree_import_all, opts)
|
275
290
|
|
276
291
|
```ruby
|
277
292
|
begin
|
278
293
|
# Import refs and commits to a repository
|
279
|
-
data, status_code, headers = api_instance.import_all_with_http_info(ostree_ostree_repository_href, ostree_import_all)
|
294
|
+
data, status_code, headers = api_instance.import_all_with_http_info(ostree_ostree_repository_href, ostree_import_all, opts)
|
280
295
|
p status_code # => 2xx
|
281
296
|
p headers # => { ... }
|
282
297
|
p data # => <AsyncOperationResponse>
|
@@ -291,6 +306,7 @@ end
|
|
291
306
|
| ---- | ---- | ----------- | ----- |
|
292
307
|
| **ostree_ostree_repository_href** | **String** | | |
|
293
308
|
| **ostree_import_all** | [**OstreeImportAll**](OstreeImportAll.md) | | |
|
309
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
294
310
|
|
295
311
|
### Return type
|
296
312
|
|
@@ -308,7 +324,7 @@ end
|
|
308
324
|
|
309
325
|
## import_commits
|
310
326
|
|
311
|
-
> <AsyncOperationResponse> import_commits(ostree_ostree_repository_href, ostree_import_commits_to_ref)
|
327
|
+
> <AsyncOperationResponse> import_commits(ostree_ostree_repository_href, ostree_import_commits_to_ref, opts)
|
312
328
|
|
313
329
|
Append child commits to a repository
|
314
330
|
|
@@ -329,10 +345,13 @@ end
|
|
329
345
|
api_instance = PulpOstreeClient::RepositoriesOstreeApi.new
|
330
346
|
ostree_ostree_repository_href = 'ostree_ostree_repository_href_example' # String |
|
331
347
|
ostree_import_commits_to_ref = PulpOstreeClient::OstreeImportCommitsToRef.new({artifact: 'artifact_example', repository_name: 'repository_name_example', ref: 'ref_example'}) # OstreeImportCommitsToRef |
|
348
|
+
opts = {
|
349
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
350
|
+
}
|
332
351
|
|
333
352
|
begin
|
334
353
|
# Append child commits to a repository
|
335
|
-
result = api_instance.import_commits(ostree_ostree_repository_href, ostree_import_commits_to_ref)
|
354
|
+
result = api_instance.import_commits(ostree_ostree_repository_href, ostree_import_commits_to_ref, opts)
|
336
355
|
p result
|
337
356
|
rescue PulpOstreeClient::ApiError => e
|
338
357
|
puts "Error when calling RepositoriesOstreeApi->import_commits: #{e}"
|
@@ -343,12 +362,12 @@ end
|
|
343
362
|
|
344
363
|
This returns an Array which contains the response data, status code and headers.
|
345
364
|
|
346
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> import_commits_with_http_info(ostree_ostree_repository_href, ostree_import_commits_to_ref)
|
365
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> import_commits_with_http_info(ostree_ostree_repository_href, ostree_import_commits_to_ref, opts)
|
347
366
|
|
348
367
|
```ruby
|
349
368
|
begin
|
350
369
|
# Append child commits to a repository
|
351
|
-
data, status_code, headers = api_instance.import_commits_with_http_info(ostree_ostree_repository_href, ostree_import_commits_to_ref)
|
370
|
+
data, status_code, headers = api_instance.import_commits_with_http_info(ostree_ostree_repository_href, ostree_import_commits_to_ref, opts)
|
352
371
|
p status_code # => 2xx
|
353
372
|
p headers # => { ... }
|
354
373
|
p data # => <AsyncOperationResponse>
|
@@ -363,6 +382,7 @@ end
|
|
363
382
|
| ---- | ---- | ----------- | ----- |
|
364
383
|
| **ostree_ostree_repository_href** | **String** | | |
|
365
384
|
| **ostree_import_commits_to_ref** | [**OstreeImportCommitsToRef**](OstreeImportCommitsToRef.md) | | |
|
385
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
366
386
|
|
367
387
|
### Return type
|
368
388
|
|
@@ -400,6 +420,7 @@ end
|
|
400
420
|
|
401
421
|
api_instance = PulpOstreeClient::RepositoriesOstreeApi.new
|
402
422
|
opts = {
|
423
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
403
424
|
latest_with_content: 'latest_with_content_example', # String | Content Unit referenced by HREF/PRN
|
404
425
|
limit: 56, # Integer | Number of results to return per page.
|
405
426
|
name: 'name_example', # String | Filter results where name matches value
|
@@ -463,6 +484,7 @@ end
|
|
463
484
|
|
464
485
|
| Name | Type | Description | Notes |
|
465
486
|
| ---- | ---- | ----------- | ----- |
|
487
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
466
488
|
| **latest_with_content** | **String** | Content Unit referenced by HREF/PRN | [optional] |
|
467
489
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
468
490
|
| **name** | **String** | Filter results where name matches value | [optional] |
|
@@ -531,6 +553,7 @@ end
|
|
531
553
|
api_instance = PulpOstreeClient::RepositoriesOstreeApi.new
|
532
554
|
ostree_ostree_repository_href = 'ostree_ostree_repository_href_example' # String |
|
533
555
|
opts = {
|
556
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
534
557
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
535
558
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
536
559
|
}
|
@@ -567,6 +590,7 @@ end
|
|
567
590
|
| Name | Type | Description | Notes |
|
568
591
|
| ---- | ---- | ----------- | ----- |
|
569
592
|
| **ostree_ostree_repository_href** | **String** | | |
|
593
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
570
594
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
571
595
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
572
596
|
|
@@ -586,7 +610,7 @@ end
|
|
586
610
|
|
587
611
|
## modify
|
588
612
|
|
589
|
-
> <AsyncOperationResponse> modify(ostree_ostree_repository_href, repository_add_remove_content)
|
613
|
+
> <AsyncOperationResponse> modify(ostree_ostree_repository_href, repository_add_remove_content, opts)
|
590
614
|
|
591
615
|
Modify repository
|
592
616
|
|
@@ -607,10 +631,13 @@ end
|
|
607
631
|
api_instance = PulpOstreeClient::RepositoriesOstreeApi.new
|
608
632
|
ostree_ostree_repository_href = 'ostree_ostree_repository_href_example' # String |
|
609
633
|
repository_add_remove_content = PulpOstreeClient::RepositoryAddRemoveContent.new # RepositoryAddRemoveContent |
|
634
|
+
opts = {
|
635
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
636
|
+
}
|
610
637
|
|
611
638
|
begin
|
612
639
|
# Modify repository
|
613
|
-
result = api_instance.modify(ostree_ostree_repository_href, repository_add_remove_content)
|
640
|
+
result = api_instance.modify(ostree_ostree_repository_href, repository_add_remove_content, opts)
|
614
641
|
p result
|
615
642
|
rescue PulpOstreeClient::ApiError => e
|
616
643
|
puts "Error when calling RepositoriesOstreeApi->modify: #{e}"
|
@@ -621,12 +648,12 @@ end
|
|
621
648
|
|
622
649
|
This returns an Array which contains the response data, status code and headers.
|
623
650
|
|
624
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> modify_with_http_info(ostree_ostree_repository_href, repository_add_remove_content)
|
651
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> modify_with_http_info(ostree_ostree_repository_href, repository_add_remove_content, opts)
|
625
652
|
|
626
653
|
```ruby
|
627
654
|
begin
|
628
655
|
# Modify repository
|
629
|
-
data, status_code, headers = api_instance.modify_with_http_info(ostree_ostree_repository_href, repository_add_remove_content)
|
656
|
+
data, status_code, headers = api_instance.modify_with_http_info(ostree_ostree_repository_href, repository_add_remove_content, opts)
|
630
657
|
p status_code # => 2xx
|
631
658
|
p headers # => { ... }
|
632
659
|
p data # => <AsyncOperationResponse>
|
@@ -641,6 +668,7 @@ end
|
|
641
668
|
| ---- | ---- | ----------- | ----- |
|
642
669
|
| **ostree_ostree_repository_href** | **String** | | |
|
643
670
|
| **repository_add_remove_content** | [**RepositoryAddRemoveContent**](RepositoryAddRemoveContent.md) | | |
|
671
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
644
672
|
|
645
673
|
### Return type
|
646
674
|
|
@@ -679,6 +707,7 @@ end
|
|
679
707
|
api_instance = PulpOstreeClient::RepositoriesOstreeApi.new
|
680
708
|
ostree_ostree_repository_href = 'ostree_ostree_repository_href_example' # String |
|
681
709
|
opts = {
|
710
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
682
711
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
683
712
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
684
713
|
}
|
@@ -715,6 +744,7 @@ end
|
|
715
744
|
| Name | Type | Description | Notes |
|
716
745
|
| ---- | ---- | ----------- | ----- |
|
717
746
|
| **ostree_ostree_repository_href** | **String** | | |
|
747
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
718
748
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
719
749
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
720
750
|
|
@@ -734,7 +764,7 @@ end
|
|
734
764
|
|
735
765
|
## partial_update
|
736
766
|
|
737
|
-
> <AsyncOperationResponse> partial_update(ostree_ostree_repository_href, patchedostree_ostree_repository)
|
767
|
+
> <AsyncOperationResponse> partial_update(ostree_ostree_repository_href, patchedostree_ostree_repository, opts)
|
738
768
|
|
739
769
|
Update an ostree repository
|
740
770
|
|
@@ -755,10 +785,13 @@ end
|
|
755
785
|
api_instance = PulpOstreeClient::RepositoriesOstreeApi.new
|
756
786
|
ostree_ostree_repository_href = 'ostree_ostree_repository_href_example' # String |
|
757
787
|
patchedostree_ostree_repository = PulpOstreeClient::PatchedostreeOstreeRepository.new # PatchedostreeOstreeRepository |
|
788
|
+
opts = {
|
789
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
790
|
+
}
|
758
791
|
|
759
792
|
begin
|
760
793
|
# Update an ostree repository
|
761
|
-
result = api_instance.partial_update(ostree_ostree_repository_href, patchedostree_ostree_repository)
|
794
|
+
result = api_instance.partial_update(ostree_ostree_repository_href, patchedostree_ostree_repository, opts)
|
762
795
|
p result
|
763
796
|
rescue PulpOstreeClient::ApiError => e
|
764
797
|
puts "Error when calling RepositoriesOstreeApi->partial_update: #{e}"
|
@@ -769,12 +802,12 @@ end
|
|
769
802
|
|
770
803
|
This returns an Array which contains the response data, status code and headers.
|
771
804
|
|
772
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(ostree_ostree_repository_href, patchedostree_ostree_repository)
|
805
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(ostree_ostree_repository_href, patchedostree_ostree_repository, opts)
|
773
806
|
|
774
807
|
```ruby
|
775
808
|
begin
|
776
809
|
# Update an ostree repository
|
777
|
-
data, status_code, headers = api_instance.partial_update_with_http_info(ostree_ostree_repository_href, patchedostree_ostree_repository)
|
810
|
+
data, status_code, headers = api_instance.partial_update_with_http_info(ostree_ostree_repository_href, patchedostree_ostree_repository, opts)
|
778
811
|
p status_code # => 2xx
|
779
812
|
p headers # => { ... }
|
780
813
|
p data # => <AsyncOperationResponse>
|
@@ -789,6 +822,7 @@ end
|
|
789
822
|
| ---- | ---- | ----------- | ----- |
|
790
823
|
| **ostree_ostree_repository_href** | **String** | | |
|
791
824
|
| **patchedostree_ostree_repository** | [**PatchedostreeOstreeRepository**](PatchedostreeOstreeRepository.md) | | |
|
825
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
792
826
|
|
793
827
|
### Return type
|
794
828
|
|
@@ -827,6 +861,7 @@ end
|
|
827
861
|
api_instance = PulpOstreeClient::RepositoriesOstreeApi.new
|
828
862
|
ostree_ostree_repository_href = 'ostree_ostree_repository_href_example' # String |
|
829
863
|
opts = {
|
864
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
830
865
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
831
866
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
832
867
|
}
|
@@ -863,6 +898,7 @@ end
|
|
863
898
|
| Name | Type | Description | Notes |
|
864
899
|
| ---- | ---- | ----------- | ----- |
|
865
900
|
| **ostree_ostree_repository_href** | **String** | | |
|
901
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
866
902
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
867
903
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
868
904
|
|
@@ -882,7 +918,7 @@ end
|
|
882
918
|
|
883
919
|
## remove_role
|
884
920
|
|
885
|
-
> <NestedRoleResponse> remove_role(ostree_ostree_repository_href, nested_role)
|
921
|
+
> <NestedRoleResponse> remove_role(ostree_ostree_repository_href, nested_role, opts)
|
886
922
|
|
887
923
|
Remove a role
|
888
924
|
|
@@ -903,10 +939,13 @@ end
|
|
903
939
|
api_instance = PulpOstreeClient::RepositoriesOstreeApi.new
|
904
940
|
ostree_ostree_repository_href = 'ostree_ostree_repository_href_example' # String |
|
905
941
|
nested_role = PulpOstreeClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
942
|
+
opts = {
|
943
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
944
|
+
}
|
906
945
|
|
907
946
|
begin
|
908
947
|
# Remove a role
|
909
|
-
result = api_instance.remove_role(ostree_ostree_repository_href, nested_role)
|
948
|
+
result = api_instance.remove_role(ostree_ostree_repository_href, nested_role, opts)
|
910
949
|
p result
|
911
950
|
rescue PulpOstreeClient::ApiError => e
|
912
951
|
puts "Error when calling RepositoriesOstreeApi->remove_role: #{e}"
|
@@ -917,12 +956,12 @@ end
|
|
917
956
|
|
918
957
|
This returns an Array which contains the response data, status code and headers.
|
919
958
|
|
920
|
-
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(ostree_ostree_repository_href, nested_role)
|
959
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(ostree_ostree_repository_href, nested_role, opts)
|
921
960
|
|
922
961
|
```ruby
|
923
962
|
begin
|
924
963
|
# Remove a role
|
925
|
-
data, status_code, headers = api_instance.remove_role_with_http_info(ostree_ostree_repository_href, nested_role)
|
964
|
+
data, status_code, headers = api_instance.remove_role_with_http_info(ostree_ostree_repository_href, nested_role, opts)
|
926
965
|
p status_code # => 2xx
|
927
966
|
p headers # => { ... }
|
928
967
|
p data # => <NestedRoleResponse>
|
@@ -937,6 +976,7 @@ end
|
|
937
976
|
| ---- | ---- | ----------- | ----- |
|
938
977
|
| **ostree_ostree_repository_href** | **String** | | |
|
939
978
|
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
979
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
940
980
|
|
941
981
|
### Return type
|
942
982
|
|
@@ -954,7 +994,7 @@ end
|
|
954
994
|
|
955
995
|
## set_label
|
956
996
|
|
957
|
-
> <SetLabelResponse> set_label(ostree_ostree_repository_href, set_label)
|
997
|
+
> <SetLabelResponse> set_label(ostree_ostree_repository_href, set_label, opts)
|
958
998
|
|
959
999
|
Set a label
|
960
1000
|
|
@@ -975,10 +1015,13 @@ end
|
|
975
1015
|
api_instance = PulpOstreeClient::RepositoriesOstreeApi.new
|
976
1016
|
ostree_ostree_repository_href = 'ostree_ostree_repository_href_example' # String |
|
977
1017
|
set_label = PulpOstreeClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
1018
|
+
opts = {
|
1019
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
1020
|
+
}
|
978
1021
|
|
979
1022
|
begin
|
980
1023
|
# Set a label
|
981
|
-
result = api_instance.set_label(ostree_ostree_repository_href, set_label)
|
1024
|
+
result = api_instance.set_label(ostree_ostree_repository_href, set_label, opts)
|
982
1025
|
p result
|
983
1026
|
rescue PulpOstreeClient::ApiError => e
|
984
1027
|
puts "Error when calling RepositoriesOstreeApi->set_label: #{e}"
|
@@ -989,12 +1032,12 @@ end
|
|
989
1032
|
|
990
1033
|
This returns an Array which contains the response data, status code and headers.
|
991
1034
|
|
992
|
-
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(ostree_ostree_repository_href, set_label)
|
1035
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(ostree_ostree_repository_href, set_label, opts)
|
993
1036
|
|
994
1037
|
```ruby
|
995
1038
|
begin
|
996
1039
|
# Set a label
|
997
|
-
data, status_code, headers = api_instance.set_label_with_http_info(ostree_ostree_repository_href, set_label)
|
1040
|
+
data, status_code, headers = api_instance.set_label_with_http_info(ostree_ostree_repository_href, set_label, opts)
|
998
1041
|
p status_code # => 2xx
|
999
1042
|
p headers # => { ... }
|
1000
1043
|
p data # => <SetLabelResponse>
|
@@ -1009,6 +1052,7 @@ end
|
|
1009
1052
|
| ---- | ---- | ----------- | ----- |
|
1010
1053
|
| **ostree_ostree_repository_href** | **String** | | |
|
1011
1054
|
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
1055
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
1012
1056
|
|
1013
1057
|
### Return type
|
1014
1058
|
|
@@ -1026,7 +1070,7 @@ end
|
|
1026
1070
|
|
1027
1071
|
## sync
|
1028
1072
|
|
1029
|
-
> <AsyncOperationResponse> sync(ostree_ostree_repository_href, repository_sync_url)
|
1073
|
+
> <AsyncOperationResponse> sync(ostree_ostree_repository_href, repository_sync_url, opts)
|
1030
1074
|
|
1031
1075
|
Sync from remote
|
1032
1076
|
|
@@ -1047,10 +1091,13 @@ end
|
|
1047
1091
|
api_instance = PulpOstreeClient::RepositoriesOstreeApi.new
|
1048
1092
|
ostree_ostree_repository_href = 'ostree_ostree_repository_href_example' # String |
|
1049
1093
|
repository_sync_url = PulpOstreeClient::RepositorySyncURL.new # RepositorySyncURL |
|
1094
|
+
opts = {
|
1095
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
1096
|
+
}
|
1050
1097
|
|
1051
1098
|
begin
|
1052
1099
|
# Sync from remote
|
1053
|
-
result = api_instance.sync(ostree_ostree_repository_href, repository_sync_url)
|
1100
|
+
result = api_instance.sync(ostree_ostree_repository_href, repository_sync_url, opts)
|
1054
1101
|
p result
|
1055
1102
|
rescue PulpOstreeClient::ApiError => e
|
1056
1103
|
puts "Error when calling RepositoriesOstreeApi->sync: #{e}"
|
@@ -1061,12 +1108,12 @@ end
|
|
1061
1108
|
|
1062
1109
|
This returns an Array which contains the response data, status code and headers.
|
1063
1110
|
|
1064
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> sync_with_http_info(ostree_ostree_repository_href, repository_sync_url)
|
1111
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> sync_with_http_info(ostree_ostree_repository_href, repository_sync_url, opts)
|
1065
1112
|
|
1066
1113
|
```ruby
|
1067
1114
|
begin
|
1068
1115
|
# Sync from remote
|
1069
|
-
data, status_code, headers = api_instance.sync_with_http_info(ostree_ostree_repository_href, repository_sync_url)
|
1116
|
+
data, status_code, headers = api_instance.sync_with_http_info(ostree_ostree_repository_href, repository_sync_url, opts)
|
1070
1117
|
p status_code # => 2xx
|
1071
1118
|
p headers # => { ... }
|
1072
1119
|
p data # => <AsyncOperationResponse>
|
@@ -1081,6 +1128,7 @@ end
|
|
1081
1128
|
| ---- | ---- | ----------- | ----- |
|
1082
1129
|
| **ostree_ostree_repository_href** | **String** | | |
|
1083
1130
|
| **repository_sync_url** | [**RepositorySyncURL**](RepositorySyncURL.md) | | |
|
1131
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
1084
1132
|
|
1085
1133
|
### Return type
|
1086
1134
|
|
@@ -1098,7 +1146,7 @@ end
|
|
1098
1146
|
|
1099
1147
|
## unset_label
|
1100
1148
|
|
1101
|
-
> <UnsetLabelResponse> unset_label(ostree_ostree_repository_href, unset_label)
|
1149
|
+
> <UnsetLabelResponse> unset_label(ostree_ostree_repository_href, unset_label, opts)
|
1102
1150
|
|
1103
1151
|
Unset a label
|
1104
1152
|
|
@@ -1119,10 +1167,13 @@ end
|
|
1119
1167
|
api_instance = PulpOstreeClient::RepositoriesOstreeApi.new
|
1120
1168
|
ostree_ostree_repository_href = 'ostree_ostree_repository_href_example' # String |
|
1121
1169
|
unset_label = PulpOstreeClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
1170
|
+
opts = {
|
1171
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
1172
|
+
}
|
1122
1173
|
|
1123
1174
|
begin
|
1124
1175
|
# Unset a label
|
1125
|
-
result = api_instance.unset_label(ostree_ostree_repository_href, unset_label)
|
1176
|
+
result = api_instance.unset_label(ostree_ostree_repository_href, unset_label, opts)
|
1126
1177
|
p result
|
1127
1178
|
rescue PulpOstreeClient::ApiError => e
|
1128
1179
|
puts "Error when calling RepositoriesOstreeApi->unset_label: #{e}"
|
@@ -1133,12 +1184,12 @@ end
|
|
1133
1184
|
|
1134
1185
|
This returns an Array which contains the response data, status code and headers.
|
1135
1186
|
|
1136
|
-
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(ostree_ostree_repository_href, unset_label)
|
1187
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(ostree_ostree_repository_href, unset_label, opts)
|
1137
1188
|
|
1138
1189
|
```ruby
|
1139
1190
|
begin
|
1140
1191
|
# Unset a label
|
1141
|
-
data, status_code, headers = api_instance.unset_label_with_http_info(ostree_ostree_repository_href, unset_label)
|
1192
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(ostree_ostree_repository_href, unset_label, opts)
|
1142
1193
|
p status_code # => 2xx
|
1143
1194
|
p headers # => { ... }
|
1144
1195
|
p data # => <UnsetLabelResponse>
|
@@ -1153,6 +1204,7 @@ end
|
|
1153
1204
|
| ---- | ---- | ----------- | ----- |
|
1154
1205
|
| **ostree_ostree_repository_href** | **String** | | |
|
1155
1206
|
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
1207
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
1156
1208
|
|
1157
1209
|
### Return type
|
1158
1210
|
|
@@ -1170,7 +1222,7 @@ end
|
|
1170
1222
|
|
1171
1223
|
## update
|
1172
1224
|
|
1173
|
-
> <AsyncOperationResponse> update(ostree_ostree_repository_href, ostree_ostree_repository)
|
1225
|
+
> <AsyncOperationResponse> update(ostree_ostree_repository_href, ostree_ostree_repository, opts)
|
1174
1226
|
|
1175
1227
|
Update an ostree repository
|
1176
1228
|
|
@@ -1191,10 +1243,13 @@ end
|
|
1191
1243
|
api_instance = PulpOstreeClient::RepositoriesOstreeApi.new
|
1192
1244
|
ostree_ostree_repository_href = 'ostree_ostree_repository_href_example' # String |
|
1193
1245
|
ostree_ostree_repository = PulpOstreeClient::OstreeOstreeRepository.new({name: 'name_example'}) # OstreeOstreeRepository |
|
1246
|
+
opts = {
|
1247
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
1248
|
+
}
|
1194
1249
|
|
1195
1250
|
begin
|
1196
1251
|
# Update an ostree repository
|
1197
|
-
result = api_instance.update(ostree_ostree_repository_href, ostree_ostree_repository)
|
1252
|
+
result = api_instance.update(ostree_ostree_repository_href, ostree_ostree_repository, opts)
|
1198
1253
|
p result
|
1199
1254
|
rescue PulpOstreeClient::ApiError => e
|
1200
1255
|
puts "Error when calling RepositoriesOstreeApi->update: #{e}"
|
@@ -1205,12 +1260,12 @@ end
|
|
1205
1260
|
|
1206
1261
|
This returns an Array which contains the response data, status code and headers.
|
1207
1262
|
|
1208
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(ostree_ostree_repository_href, ostree_ostree_repository)
|
1263
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(ostree_ostree_repository_href, ostree_ostree_repository, opts)
|
1209
1264
|
|
1210
1265
|
```ruby
|
1211
1266
|
begin
|
1212
1267
|
# Update an ostree repository
|
1213
|
-
data, status_code, headers = api_instance.update_with_http_info(ostree_ostree_repository_href, ostree_ostree_repository)
|
1268
|
+
data, status_code, headers = api_instance.update_with_http_info(ostree_ostree_repository_href, ostree_ostree_repository, opts)
|
1214
1269
|
p status_code # => 2xx
|
1215
1270
|
p headers # => { ... }
|
1216
1271
|
p data # => <AsyncOperationResponse>
|
@@ -1225,6 +1280,7 @@ end
|
|
1225
1280
|
| ---- | ---- | ----------- | ----- |
|
1226
1281
|
| **ostree_ostree_repository_href** | **String** | | |
|
1227
1282
|
| **ostree_ostree_repository** | [**OstreeOstreeRepository**](OstreeOstreeRepository.md) | | |
|
1283
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
1228
1284
|
|
1229
1285
|
### Return type
|
1230
1286
|
|