pulp_python_client 3.15.1 → 3.17.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 +22 -17
- data/docs/ContentPackagesApi.md +58 -36
- data/docs/DistributionsPypiApi.md +72 -32
- data/docs/PublicationsPypiApi.md +40 -16
- data/docs/PypiApi.md +2 -0
- data/docs/PypiLegacyApi.md +2 -0
- data/docs/PypiMetadataApi.md +2 -0
- data/docs/PypiSimpleApi.md +6 -0
- data/docs/PythonPythonPackageContentResponse.md +46 -36
- data/docs/RemotesPythonApi.md +74 -32
- data/docs/RepositoriesPythonApi.md +96 -44
- data/docs/RepositoriesPythonVersionsApi.md +22 -10
- data/lib/pulp_python_client/api/content_packages_api.rb +69 -42
- data/lib/pulp_python_client/api/distributions_pypi_api.rb +36 -0
- data/lib/pulp_python_client/api/publications_pypi_api.rb +24 -0
- data/lib/pulp_python_client/api/pypi_api.rb +3 -0
- data/lib/pulp_python_client/api/pypi_legacy_api.rb +3 -0
- data/lib/pulp_python_client/api/pypi_metadata_api.rb +3 -0
- data/lib/pulp_python_client/api/pypi_simple_api.rb +9 -0
- data/lib/pulp_python_client/api/remotes_python_api.rb +39 -0
- data/lib/pulp_python_client/api/repositories_python_api.rb +45 -0
- data/lib/pulp_python_client/api/repositories_python_versions_api.rb +15 -3
- data/lib/pulp_python_client/models/python_python_package_content_response.rb +199 -146
- data/lib/pulp_python_client/version.rb +1 -1
- data/spec/api/content_packages_api_spec.rb +23 -14
- data/spec/api/distributions_pypi_api_spec.rb +12 -0
- data/spec/api/publications_pypi_api_spec.rb +8 -0
- data/spec/api/pypi_api_spec.rb +1 -0
- data/spec/api/pypi_legacy_api_spec.rb +1 -0
- data/spec/api/pypi_metadata_api_spec.rb +1 -0
- data/spec/api/pypi_simple_api_spec.rb +3 -0
- data/spec/api/remotes_python_api_spec.rb +13 -0
- data/spec/api/repositories_python_api_spec.rb +15 -0
- data/spec/api/repositories_python_versions_api_spec.rb +5 -1
- data/spec/models/python_python_package_content_response_spec.rb +54 -24
- metadata +39 -39
@@ -23,7 +23,7 @@ All URIs are relative to *http://localhost:24817*
|
|
23
23
|
|
24
24
|
## add_role
|
25
25
|
|
26
|
-
> <NestedRoleResponse> add_role(python_python_repository_href, nested_role)
|
26
|
+
> <NestedRoleResponse> add_role(python_python_repository_href, nested_role, opts)
|
27
27
|
|
28
28
|
Add a role
|
29
29
|
|
@@ -44,10 +44,13 @@ end
|
|
44
44
|
api_instance = PulpPythonClient::RepositoriesPythonApi.new
|
45
45
|
python_python_repository_href = 'python_python_repository_href_example' # String |
|
46
46
|
nested_role = PulpPythonClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
47
|
+
opts = {
|
48
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
49
|
+
}
|
47
50
|
|
48
51
|
begin
|
49
52
|
# Add a role
|
50
|
-
result = api_instance.add_role(python_python_repository_href, nested_role)
|
53
|
+
result = api_instance.add_role(python_python_repository_href, nested_role, opts)
|
51
54
|
p result
|
52
55
|
rescue PulpPythonClient::ApiError => e
|
53
56
|
puts "Error when calling RepositoriesPythonApi->add_role: #{e}"
|
@@ -58,12 +61,12 @@ end
|
|
58
61
|
|
59
62
|
This returns an Array which contains the response data, status code and headers.
|
60
63
|
|
61
|
-
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(python_python_repository_href, nested_role)
|
64
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(python_python_repository_href, nested_role, opts)
|
62
65
|
|
63
66
|
```ruby
|
64
67
|
begin
|
65
68
|
# Add a role
|
66
|
-
data, status_code, headers = api_instance.add_role_with_http_info(python_python_repository_href, nested_role)
|
69
|
+
data, status_code, headers = api_instance.add_role_with_http_info(python_python_repository_href, nested_role, opts)
|
67
70
|
p status_code # => 2xx
|
68
71
|
p headers # => { ... }
|
69
72
|
p data # => <NestedRoleResponse>
|
@@ -78,6 +81,7 @@ end
|
|
78
81
|
| ---- | ---- | ----------- | ----- |
|
79
82
|
| **python_python_repository_href** | **String** | | |
|
80
83
|
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
84
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
81
85
|
|
82
86
|
### Return type
|
83
87
|
|
@@ -95,7 +99,7 @@ end
|
|
95
99
|
|
96
100
|
## create
|
97
101
|
|
98
|
-
> <PythonPythonRepositoryResponse> create(python_python_repository)
|
102
|
+
> <PythonPythonRepositoryResponse> create(python_python_repository, opts)
|
99
103
|
|
100
104
|
Create a python repository
|
101
105
|
|
@@ -115,10 +119,13 @@ end
|
|
115
119
|
|
116
120
|
api_instance = PulpPythonClient::RepositoriesPythonApi.new
|
117
121
|
python_python_repository = PulpPythonClient::PythonPythonRepository.new({name: 'name_example'}) # PythonPythonRepository |
|
122
|
+
opts = {
|
123
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
124
|
+
}
|
118
125
|
|
119
126
|
begin
|
120
127
|
# Create a python repository
|
121
|
-
result = api_instance.create(python_python_repository)
|
128
|
+
result = api_instance.create(python_python_repository, opts)
|
122
129
|
p result
|
123
130
|
rescue PulpPythonClient::ApiError => e
|
124
131
|
puts "Error when calling RepositoriesPythonApi->create: #{e}"
|
@@ -129,12 +136,12 @@ end
|
|
129
136
|
|
130
137
|
This returns an Array which contains the response data, status code and headers.
|
131
138
|
|
132
|
-
> <Array(<PythonPythonRepositoryResponse>, Integer, Hash)> create_with_http_info(python_python_repository)
|
139
|
+
> <Array(<PythonPythonRepositoryResponse>, Integer, Hash)> create_with_http_info(python_python_repository, opts)
|
133
140
|
|
134
141
|
```ruby
|
135
142
|
begin
|
136
143
|
# Create a python repository
|
137
|
-
data, status_code, headers = api_instance.create_with_http_info(python_python_repository)
|
144
|
+
data, status_code, headers = api_instance.create_with_http_info(python_python_repository, opts)
|
138
145
|
p status_code # => 2xx
|
139
146
|
p headers # => { ... }
|
140
147
|
p data # => <PythonPythonRepositoryResponse>
|
@@ -148,6 +155,7 @@ end
|
|
148
155
|
| Name | Type | Description | Notes |
|
149
156
|
| ---- | ---- | ----------- | ----- |
|
150
157
|
| **python_python_repository** | [**PythonPythonRepository**](PythonPythonRepository.md) | | |
|
158
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
151
159
|
|
152
160
|
### Return type
|
153
161
|
|
@@ -165,7 +173,7 @@ end
|
|
165
173
|
|
166
174
|
## delete
|
167
175
|
|
168
|
-
> <AsyncOperationResponse> delete(python_python_repository_href)
|
176
|
+
> <AsyncOperationResponse> delete(python_python_repository_href, opts)
|
169
177
|
|
170
178
|
Delete a python repository
|
171
179
|
|
@@ -185,10 +193,13 @@ end
|
|
185
193
|
|
186
194
|
api_instance = PulpPythonClient::RepositoriesPythonApi.new
|
187
195
|
python_python_repository_href = 'python_python_repository_href_example' # String |
|
196
|
+
opts = {
|
197
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
198
|
+
}
|
188
199
|
|
189
200
|
begin
|
190
201
|
# Delete a python repository
|
191
|
-
result = api_instance.delete(python_python_repository_href)
|
202
|
+
result = api_instance.delete(python_python_repository_href, opts)
|
192
203
|
p result
|
193
204
|
rescue PulpPythonClient::ApiError => e
|
194
205
|
puts "Error when calling RepositoriesPythonApi->delete: #{e}"
|
@@ -199,12 +210,12 @@ end
|
|
199
210
|
|
200
211
|
This returns an Array which contains the response data, status code and headers.
|
201
212
|
|
202
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(python_python_repository_href)
|
213
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(python_python_repository_href, opts)
|
203
214
|
|
204
215
|
```ruby
|
205
216
|
begin
|
206
217
|
# Delete a python repository
|
207
|
-
data, status_code, headers = api_instance.delete_with_http_info(python_python_repository_href)
|
218
|
+
data, status_code, headers = api_instance.delete_with_http_info(python_python_repository_href, opts)
|
208
219
|
p status_code # => 2xx
|
209
220
|
p headers # => { ... }
|
210
221
|
p data # => <AsyncOperationResponse>
|
@@ -218,6 +229,7 @@ end
|
|
218
229
|
| Name | Type | Description | Notes |
|
219
230
|
| ---- | ---- | ----------- | ----- |
|
220
231
|
| **python_python_repository_href** | **String** | | |
|
232
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
221
233
|
|
222
234
|
### Return type
|
223
235
|
|
@@ -255,6 +267,7 @@ end
|
|
255
267
|
|
256
268
|
api_instance = PulpPythonClient::RepositoriesPythonApi.new
|
257
269
|
opts = {
|
270
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
258
271
|
latest_with_content: 'latest_with_content_example', # String | Content Unit referenced by HREF/PRN
|
259
272
|
limit: 56, # Integer | Number of results to return per page.
|
260
273
|
name: 'name_example', # String | Filter results where name matches value
|
@@ -318,6 +331,7 @@ end
|
|
318
331
|
|
319
332
|
| Name | Type | Description | Notes |
|
320
333
|
| ---- | ---- | ----------- | ----- |
|
334
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
321
335
|
| **latest_with_content** | **String** | Content Unit referenced by HREF/PRN | [optional] |
|
322
336
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
323
337
|
| **name** | **String** | Filter results where name matches value | [optional] |
|
@@ -386,6 +400,7 @@ end
|
|
386
400
|
api_instance = PulpPythonClient::RepositoriesPythonApi.new
|
387
401
|
python_python_repository_href = 'python_python_repository_href_example' # String |
|
388
402
|
opts = {
|
403
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
389
404
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
390
405
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
391
406
|
}
|
@@ -422,6 +437,7 @@ end
|
|
422
437
|
| Name | Type | Description | Notes |
|
423
438
|
| ---- | ---- | ----------- | ----- |
|
424
439
|
| **python_python_repository_href** | **String** | | |
|
440
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
425
441
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
426
442
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
427
443
|
|
@@ -441,7 +457,7 @@ end
|
|
441
457
|
|
442
458
|
## modify
|
443
459
|
|
444
|
-
> <AsyncOperationResponse> modify(python_python_repository_href, repository_add_remove_content)
|
460
|
+
> <AsyncOperationResponse> modify(python_python_repository_href, repository_add_remove_content, opts)
|
445
461
|
|
446
462
|
Modify Repository Content
|
447
463
|
|
@@ -462,10 +478,13 @@ end
|
|
462
478
|
api_instance = PulpPythonClient::RepositoriesPythonApi.new
|
463
479
|
python_python_repository_href = 'python_python_repository_href_example' # String |
|
464
480
|
repository_add_remove_content = PulpPythonClient::RepositoryAddRemoveContent.new # RepositoryAddRemoveContent |
|
481
|
+
opts = {
|
482
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
483
|
+
}
|
465
484
|
|
466
485
|
begin
|
467
486
|
# Modify Repository Content
|
468
|
-
result = api_instance.modify(python_python_repository_href, repository_add_remove_content)
|
487
|
+
result = api_instance.modify(python_python_repository_href, repository_add_remove_content, opts)
|
469
488
|
p result
|
470
489
|
rescue PulpPythonClient::ApiError => e
|
471
490
|
puts "Error when calling RepositoriesPythonApi->modify: #{e}"
|
@@ -476,12 +495,12 @@ end
|
|
476
495
|
|
477
496
|
This returns an Array which contains the response data, status code and headers.
|
478
497
|
|
479
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> modify_with_http_info(python_python_repository_href, repository_add_remove_content)
|
498
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> modify_with_http_info(python_python_repository_href, repository_add_remove_content, opts)
|
480
499
|
|
481
500
|
```ruby
|
482
501
|
begin
|
483
502
|
# Modify Repository Content
|
484
|
-
data, status_code, headers = api_instance.modify_with_http_info(python_python_repository_href, repository_add_remove_content)
|
503
|
+
data, status_code, headers = api_instance.modify_with_http_info(python_python_repository_href, repository_add_remove_content, opts)
|
485
504
|
p status_code # => 2xx
|
486
505
|
p headers # => { ... }
|
487
506
|
p data # => <AsyncOperationResponse>
|
@@ -496,6 +515,7 @@ end
|
|
496
515
|
| ---- | ---- | ----------- | ----- |
|
497
516
|
| **python_python_repository_href** | **String** | | |
|
498
517
|
| **repository_add_remove_content** | [**RepositoryAddRemoveContent**](RepositoryAddRemoveContent.md) | | |
|
518
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
499
519
|
|
500
520
|
### Return type
|
501
521
|
|
@@ -534,6 +554,7 @@ end
|
|
534
554
|
api_instance = PulpPythonClient::RepositoriesPythonApi.new
|
535
555
|
python_python_repository_href = 'python_python_repository_href_example' # String |
|
536
556
|
opts = {
|
557
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
537
558
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
538
559
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
539
560
|
}
|
@@ -570,6 +591,7 @@ end
|
|
570
591
|
| Name | Type | Description | Notes |
|
571
592
|
| ---- | ---- | ----------- | ----- |
|
572
593
|
| **python_python_repository_href** | **String** | | |
|
594
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
573
595
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
574
596
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
575
597
|
|
@@ -589,7 +611,7 @@ end
|
|
589
611
|
|
590
612
|
## partial_update
|
591
613
|
|
592
|
-
> <AsyncOperationResponse> partial_update(python_python_repository_href, patchedpython_python_repository)
|
614
|
+
> <AsyncOperationResponse> partial_update(python_python_repository_href, patchedpython_python_repository, opts)
|
593
615
|
|
594
616
|
Update a python repository
|
595
617
|
|
@@ -610,10 +632,13 @@ end
|
|
610
632
|
api_instance = PulpPythonClient::RepositoriesPythonApi.new
|
611
633
|
python_python_repository_href = 'python_python_repository_href_example' # String |
|
612
634
|
patchedpython_python_repository = PulpPythonClient::PatchedpythonPythonRepository.new # PatchedpythonPythonRepository |
|
635
|
+
opts = {
|
636
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
637
|
+
}
|
613
638
|
|
614
639
|
begin
|
615
640
|
# Update a python repository
|
616
|
-
result = api_instance.partial_update(python_python_repository_href, patchedpython_python_repository)
|
641
|
+
result = api_instance.partial_update(python_python_repository_href, patchedpython_python_repository, opts)
|
617
642
|
p result
|
618
643
|
rescue PulpPythonClient::ApiError => e
|
619
644
|
puts "Error when calling RepositoriesPythonApi->partial_update: #{e}"
|
@@ -624,12 +649,12 @@ end
|
|
624
649
|
|
625
650
|
This returns an Array which contains the response data, status code and headers.
|
626
651
|
|
627
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(python_python_repository_href, patchedpython_python_repository)
|
652
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(python_python_repository_href, patchedpython_python_repository, opts)
|
628
653
|
|
629
654
|
```ruby
|
630
655
|
begin
|
631
656
|
# Update a python repository
|
632
|
-
data, status_code, headers = api_instance.partial_update_with_http_info(python_python_repository_href, patchedpython_python_repository)
|
657
|
+
data, status_code, headers = api_instance.partial_update_with_http_info(python_python_repository_href, patchedpython_python_repository, opts)
|
633
658
|
p status_code # => 2xx
|
634
659
|
p headers # => { ... }
|
635
660
|
p data # => <AsyncOperationResponse>
|
@@ -644,6 +669,7 @@ end
|
|
644
669
|
| ---- | ---- | ----------- | ----- |
|
645
670
|
| **python_python_repository_href** | **String** | | |
|
646
671
|
| **patchedpython_python_repository** | [**PatchedpythonPythonRepository**](PatchedpythonPythonRepository.md) | | |
|
672
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
647
673
|
|
648
674
|
### Return type
|
649
675
|
|
@@ -682,6 +708,7 @@ end
|
|
682
708
|
api_instance = PulpPythonClient::RepositoriesPythonApi.new
|
683
709
|
python_python_repository_href = 'python_python_repository_href_example' # String |
|
684
710
|
opts = {
|
711
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
685
712
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
686
713
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
687
714
|
}
|
@@ -718,6 +745,7 @@ end
|
|
718
745
|
| Name | Type | Description | Notes |
|
719
746
|
| ---- | ---- | ----------- | ----- |
|
720
747
|
| **python_python_repository_href** | **String** | | |
|
748
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
721
749
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
722
750
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
723
751
|
|
@@ -737,7 +765,7 @@ end
|
|
737
765
|
|
738
766
|
## remove_role
|
739
767
|
|
740
|
-
> <NestedRoleResponse> remove_role(python_python_repository_href, nested_role)
|
768
|
+
> <NestedRoleResponse> remove_role(python_python_repository_href, nested_role, opts)
|
741
769
|
|
742
770
|
Remove a role
|
743
771
|
|
@@ -758,10 +786,13 @@ end
|
|
758
786
|
api_instance = PulpPythonClient::RepositoriesPythonApi.new
|
759
787
|
python_python_repository_href = 'python_python_repository_href_example' # String |
|
760
788
|
nested_role = PulpPythonClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
789
|
+
opts = {
|
790
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
791
|
+
}
|
761
792
|
|
762
793
|
begin
|
763
794
|
# Remove a role
|
764
|
-
result = api_instance.remove_role(python_python_repository_href, nested_role)
|
795
|
+
result = api_instance.remove_role(python_python_repository_href, nested_role, opts)
|
765
796
|
p result
|
766
797
|
rescue PulpPythonClient::ApiError => e
|
767
798
|
puts "Error when calling RepositoriesPythonApi->remove_role: #{e}"
|
@@ -772,12 +803,12 @@ end
|
|
772
803
|
|
773
804
|
This returns an Array which contains the response data, status code and headers.
|
774
805
|
|
775
|
-
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(python_python_repository_href, nested_role)
|
806
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(python_python_repository_href, nested_role, opts)
|
776
807
|
|
777
808
|
```ruby
|
778
809
|
begin
|
779
810
|
# Remove a role
|
780
|
-
data, status_code, headers = api_instance.remove_role_with_http_info(python_python_repository_href, nested_role)
|
811
|
+
data, status_code, headers = api_instance.remove_role_with_http_info(python_python_repository_href, nested_role, opts)
|
781
812
|
p status_code # => 2xx
|
782
813
|
p headers # => { ... }
|
783
814
|
p data # => <NestedRoleResponse>
|
@@ -792,6 +823,7 @@ end
|
|
792
823
|
| ---- | ---- | ----------- | ----- |
|
793
824
|
| **python_python_repository_href** | **String** | | |
|
794
825
|
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
826
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
795
827
|
|
796
828
|
### Return type
|
797
829
|
|
@@ -809,7 +841,7 @@ end
|
|
809
841
|
|
810
842
|
## repair_metadata
|
811
843
|
|
812
|
-
> <AsyncOperationResponse> repair_metadata(python_python_repository_href)
|
844
|
+
> <AsyncOperationResponse> repair_metadata(python_python_repository_href, opts)
|
813
845
|
|
814
846
|
Repair metadata
|
815
847
|
|
@@ -829,10 +861,13 @@ end
|
|
829
861
|
|
830
862
|
api_instance = PulpPythonClient::RepositoriesPythonApi.new
|
831
863
|
python_python_repository_href = 'python_python_repository_href_example' # String |
|
864
|
+
opts = {
|
865
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
866
|
+
}
|
832
867
|
|
833
868
|
begin
|
834
869
|
# Repair metadata
|
835
|
-
result = api_instance.repair_metadata(python_python_repository_href)
|
870
|
+
result = api_instance.repair_metadata(python_python_repository_href, opts)
|
836
871
|
p result
|
837
872
|
rescue PulpPythonClient::ApiError => e
|
838
873
|
puts "Error when calling RepositoriesPythonApi->repair_metadata: #{e}"
|
@@ -843,12 +878,12 @@ end
|
|
843
878
|
|
844
879
|
This returns an Array which contains the response data, status code and headers.
|
845
880
|
|
846
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> repair_metadata_with_http_info(python_python_repository_href)
|
881
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> repair_metadata_with_http_info(python_python_repository_href, opts)
|
847
882
|
|
848
883
|
```ruby
|
849
884
|
begin
|
850
885
|
# Repair metadata
|
851
|
-
data, status_code, headers = api_instance.repair_metadata_with_http_info(python_python_repository_href)
|
886
|
+
data, status_code, headers = api_instance.repair_metadata_with_http_info(python_python_repository_href, opts)
|
852
887
|
p status_code # => 2xx
|
853
888
|
p headers # => { ... }
|
854
889
|
p data # => <AsyncOperationResponse>
|
@@ -862,6 +897,7 @@ end
|
|
862
897
|
| Name | Type | Description | Notes |
|
863
898
|
| ---- | ---- | ----------- | ----- |
|
864
899
|
| **python_python_repository_href** | **String** | | |
|
900
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
865
901
|
|
866
902
|
### Return type
|
867
903
|
|
@@ -879,7 +915,7 @@ end
|
|
879
915
|
|
880
916
|
## set_label
|
881
917
|
|
882
|
-
> <SetLabelResponse> set_label(python_python_repository_href, set_label)
|
918
|
+
> <SetLabelResponse> set_label(python_python_repository_href, set_label, opts)
|
883
919
|
|
884
920
|
Set a label
|
885
921
|
|
@@ -900,10 +936,13 @@ end
|
|
900
936
|
api_instance = PulpPythonClient::RepositoriesPythonApi.new
|
901
937
|
python_python_repository_href = 'python_python_repository_href_example' # String |
|
902
938
|
set_label = PulpPythonClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
939
|
+
opts = {
|
940
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
941
|
+
}
|
903
942
|
|
904
943
|
begin
|
905
944
|
# Set a label
|
906
|
-
result = api_instance.set_label(python_python_repository_href, set_label)
|
945
|
+
result = api_instance.set_label(python_python_repository_href, set_label, opts)
|
907
946
|
p result
|
908
947
|
rescue PulpPythonClient::ApiError => e
|
909
948
|
puts "Error when calling RepositoriesPythonApi->set_label: #{e}"
|
@@ -914,12 +953,12 @@ end
|
|
914
953
|
|
915
954
|
This returns an Array which contains the response data, status code and headers.
|
916
955
|
|
917
|
-
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(python_python_repository_href, set_label)
|
956
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(python_python_repository_href, set_label, opts)
|
918
957
|
|
919
958
|
```ruby
|
920
959
|
begin
|
921
960
|
# Set a label
|
922
|
-
data, status_code, headers = api_instance.set_label_with_http_info(python_python_repository_href, set_label)
|
961
|
+
data, status_code, headers = api_instance.set_label_with_http_info(python_python_repository_href, set_label, opts)
|
923
962
|
p status_code # => 2xx
|
924
963
|
p headers # => { ... }
|
925
964
|
p data # => <SetLabelResponse>
|
@@ -934,6 +973,7 @@ end
|
|
934
973
|
| ---- | ---- | ----------- | ----- |
|
935
974
|
| **python_python_repository_href** | **String** | | |
|
936
975
|
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
976
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
937
977
|
|
938
978
|
### Return type
|
939
979
|
|
@@ -951,7 +991,7 @@ end
|
|
951
991
|
|
952
992
|
## sync
|
953
993
|
|
954
|
-
> <AsyncOperationResponse> sync(python_python_repository_href, repository_sync_url)
|
994
|
+
> <AsyncOperationResponse> sync(python_python_repository_href, repository_sync_url, opts)
|
955
995
|
|
956
996
|
Sync from remote
|
957
997
|
|
@@ -972,10 +1012,13 @@ end
|
|
972
1012
|
api_instance = PulpPythonClient::RepositoriesPythonApi.new
|
973
1013
|
python_python_repository_href = 'python_python_repository_href_example' # String |
|
974
1014
|
repository_sync_url = PulpPythonClient::RepositorySyncURL.new # RepositorySyncURL |
|
1015
|
+
opts = {
|
1016
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
1017
|
+
}
|
975
1018
|
|
976
1019
|
begin
|
977
1020
|
# Sync from remote
|
978
|
-
result = api_instance.sync(python_python_repository_href, repository_sync_url)
|
1021
|
+
result = api_instance.sync(python_python_repository_href, repository_sync_url, opts)
|
979
1022
|
p result
|
980
1023
|
rescue PulpPythonClient::ApiError => e
|
981
1024
|
puts "Error when calling RepositoriesPythonApi->sync: #{e}"
|
@@ -986,12 +1029,12 @@ end
|
|
986
1029
|
|
987
1030
|
This returns an Array which contains the response data, status code and headers.
|
988
1031
|
|
989
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> sync_with_http_info(python_python_repository_href, repository_sync_url)
|
1032
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> sync_with_http_info(python_python_repository_href, repository_sync_url, opts)
|
990
1033
|
|
991
1034
|
```ruby
|
992
1035
|
begin
|
993
1036
|
# Sync from remote
|
994
|
-
data, status_code, headers = api_instance.sync_with_http_info(python_python_repository_href, repository_sync_url)
|
1037
|
+
data, status_code, headers = api_instance.sync_with_http_info(python_python_repository_href, repository_sync_url, opts)
|
995
1038
|
p status_code # => 2xx
|
996
1039
|
p headers # => { ... }
|
997
1040
|
p data # => <AsyncOperationResponse>
|
@@ -1006,6 +1049,7 @@ end
|
|
1006
1049
|
| ---- | ---- | ----------- | ----- |
|
1007
1050
|
| **python_python_repository_href** | **String** | | |
|
1008
1051
|
| **repository_sync_url** | [**RepositorySyncURL**](RepositorySyncURL.md) | | |
|
1052
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
1009
1053
|
|
1010
1054
|
### Return type
|
1011
1055
|
|
@@ -1023,7 +1067,7 @@ end
|
|
1023
1067
|
|
1024
1068
|
## unset_label
|
1025
1069
|
|
1026
|
-
> <UnsetLabelResponse> unset_label(python_python_repository_href, unset_label)
|
1070
|
+
> <UnsetLabelResponse> unset_label(python_python_repository_href, unset_label, opts)
|
1027
1071
|
|
1028
1072
|
Unset a label
|
1029
1073
|
|
@@ -1044,10 +1088,13 @@ end
|
|
1044
1088
|
api_instance = PulpPythonClient::RepositoriesPythonApi.new
|
1045
1089
|
python_python_repository_href = 'python_python_repository_href_example' # String |
|
1046
1090
|
unset_label = PulpPythonClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
1091
|
+
opts = {
|
1092
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
1093
|
+
}
|
1047
1094
|
|
1048
1095
|
begin
|
1049
1096
|
# Unset a label
|
1050
|
-
result = api_instance.unset_label(python_python_repository_href, unset_label)
|
1097
|
+
result = api_instance.unset_label(python_python_repository_href, unset_label, opts)
|
1051
1098
|
p result
|
1052
1099
|
rescue PulpPythonClient::ApiError => e
|
1053
1100
|
puts "Error when calling RepositoriesPythonApi->unset_label: #{e}"
|
@@ -1058,12 +1105,12 @@ end
|
|
1058
1105
|
|
1059
1106
|
This returns an Array which contains the response data, status code and headers.
|
1060
1107
|
|
1061
|
-
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(python_python_repository_href, unset_label)
|
1108
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(python_python_repository_href, unset_label, opts)
|
1062
1109
|
|
1063
1110
|
```ruby
|
1064
1111
|
begin
|
1065
1112
|
# Unset a label
|
1066
|
-
data, status_code, headers = api_instance.unset_label_with_http_info(python_python_repository_href, unset_label)
|
1113
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(python_python_repository_href, unset_label, opts)
|
1067
1114
|
p status_code # => 2xx
|
1068
1115
|
p headers # => { ... }
|
1069
1116
|
p data # => <UnsetLabelResponse>
|
@@ -1078,6 +1125,7 @@ end
|
|
1078
1125
|
| ---- | ---- | ----------- | ----- |
|
1079
1126
|
| **python_python_repository_href** | **String** | | |
|
1080
1127
|
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
1128
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
1081
1129
|
|
1082
1130
|
### Return type
|
1083
1131
|
|
@@ -1095,7 +1143,7 @@ end
|
|
1095
1143
|
|
1096
1144
|
## update
|
1097
1145
|
|
1098
|
-
> <AsyncOperationResponse> update(python_python_repository_href, python_python_repository)
|
1146
|
+
> <AsyncOperationResponse> update(python_python_repository_href, python_python_repository, opts)
|
1099
1147
|
|
1100
1148
|
Update a python repository
|
1101
1149
|
|
@@ -1116,10 +1164,13 @@ end
|
|
1116
1164
|
api_instance = PulpPythonClient::RepositoriesPythonApi.new
|
1117
1165
|
python_python_repository_href = 'python_python_repository_href_example' # String |
|
1118
1166
|
python_python_repository = PulpPythonClient::PythonPythonRepository.new({name: 'name_example'}) # PythonPythonRepository |
|
1167
|
+
opts = {
|
1168
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
1169
|
+
}
|
1119
1170
|
|
1120
1171
|
begin
|
1121
1172
|
# Update a python repository
|
1122
|
-
result = api_instance.update(python_python_repository_href, python_python_repository)
|
1173
|
+
result = api_instance.update(python_python_repository_href, python_python_repository, opts)
|
1123
1174
|
p result
|
1124
1175
|
rescue PulpPythonClient::ApiError => e
|
1125
1176
|
puts "Error when calling RepositoriesPythonApi->update: #{e}"
|
@@ -1130,12 +1181,12 @@ end
|
|
1130
1181
|
|
1131
1182
|
This returns an Array which contains the response data, status code and headers.
|
1132
1183
|
|
1133
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(python_python_repository_href, python_python_repository)
|
1184
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(python_python_repository_href, python_python_repository, opts)
|
1134
1185
|
|
1135
1186
|
```ruby
|
1136
1187
|
begin
|
1137
1188
|
# Update a python repository
|
1138
|
-
data, status_code, headers = api_instance.update_with_http_info(python_python_repository_href, python_python_repository)
|
1189
|
+
data, status_code, headers = api_instance.update_with_http_info(python_python_repository_href, python_python_repository, opts)
|
1139
1190
|
p status_code # => 2xx
|
1140
1191
|
p headers # => { ... }
|
1141
1192
|
p data # => <AsyncOperationResponse>
|
@@ -1150,6 +1201,7 @@ end
|
|
1150
1201
|
| ---- | ---- | ----------- | ----- |
|
1151
1202
|
| **python_python_repository_href** | **String** | | |
|
1152
1203
|
| **python_python_repository** | [**PythonPythonRepository**](PythonPythonRepository.md) | | |
|
1204
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
1153
1205
|
|
1154
1206
|
### Return type
|
1155
1207
|
|