pulp_python_client 3.11.6 → 3.11.8
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/ContentPackagesApi.md +6 -0
- data/docs/DistributionsPypiApi.md +40 -12
- data/docs/PublicationsPypiApi.md +16 -4
- 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/RemotesPythonApi.md +42 -12
- data/docs/RepositoriesPythonApi.md +52 -16
- data/docs/RepositoriesPythonVersionsApi.md +16 -4
- data/lib/pulp_python_client/api/content_packages_api.rb +9 -0
- data/lib/pulp_python_client/api/distributions_pypi_api.rb +24 -0
- data/lib/pulp_python_client/api/publications_pypi_api.rb +12 -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 +27 -0
- data/lib/pulp_python_client/api/repositories_python_api.rb +30 -0
- data/lib/pulp_python_client/api/repositories_python_versions_api.rb +12 -0
- data/lib/pulp_python_client/version.rb +1 -1
- data/spec/api/content_packages_api_spec.rb +3 -0
- data/spec/api/distributions_pypi_api_spec.rb +8 -0
- data/spec/api/publications_pypi_api_spec.rb +4 -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 +9 -0
- data/spec/api/repositories_python_api_spec.rb +10 -0
- data/spec/api/repositories_python_versions_api_spec.rb +4 -0
- metadata +32 -32
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dea29f7679baaa7a1bdb5997a5a5713d21523ce8befe40f2e132764d19a83fb8
|
|
4
|
+
data.tar.gz: 58129ee8ec68b0b432ce98b9afa49a81e4abd76104aae35967c1cc8f37529de7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 47abcd58548833697e383907975a6246ee709c171aabd76cbe5654dded42ea0e5e60c9d568b6fb5cf7a668003954727fe6b1412976e9dfe0b5bf938d4d001e1c
|
|
7
|
+
data.tar.gz: 4ac2d9460c1585bbd1587915992fd04834e8ecda813ef7200481c73e0a0e02c7a756dda528e908348d10cac7a35864ae669e8b3b30b1336b86e2cace160f8552
|
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
|
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
8
8
|
|
|
9
9
|
- API version: v3
|
|
10
|
-
- Package version: 3.11.
|
|
10
|
+
- Package version: 3.11.8
|
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
12
12
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
|
13
13
|
|
|
@@ -24,16 +24,16 @@ gem build pulp_python_client.gemspec
|
|
|
24
24
|
Then either install the gem locally:
|
|
25
25
|
|
|
26
26
|
```shell
|
|
27
|
-
gem install ./pulp_python_client-3.11.
|
|
27
|
+
gem install ./pulp_python_client-3.11.8.gem
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
(for development, run `gem install --dev ./pulp_python_client-3.11.
|
|
30
|
+
(for development, run `gem install --dev ./pulp_python_client-3.11.8.gem` to install the development dependencies)
|
|
31
31
|
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
33
33
|
|
|
34
34
|
Finally add this to the Gemfile:
|
|
35
35
|
|
|
36
|
-
gem 'pulp_python_client', '~> 3.11.
|
|
36
|
+
gem 'pulp_python_client', '~> 3.11.8'
|
|
37
37
|
|
|
38
38
|
### Install from Git
|
|
39
39
|
|
|
@@ -67,6 +67,7 @@ end
|
|
|
67
67
|
api_instance = PulpPythonClient::ContentPackagesApi.new
|
|
68
68
|
relative_path = 'relative_path_example' # String | Path where the artifact is located relative to distributions base_path
|
|
69
69
|
opts = {
|
|
70
|
+
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
70
71
|
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
|
71
72
|
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
|
72
73
|
file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the content unit.
|
data/docs/ContentPackagesApi.md
CHANGED
|
@@ -33,6 +33,7 @@ end
|
|
|
33
33
|
api_instance = PulpPythonClient::ContentPackagesApi.new
|
|
34
34
|
relative_path = 'relative_path_example' # String | Path where the artifact is located relative to distributions base_path
|
|
35
35
|
opts = {
|
|
36
|
+
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
36
37
|
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
|
37
38
|
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
|
38
39
|
file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the content unit.
|
|
@@ -76,6 +77,7 @@ end
|
|
|
76
77
|
Name | Type | Description | Notes
|
|
77
78
|
------------- | ------------- | ------------- | -------------
|
|
78
79
|
**relative_path** | **String**| Path where the artifact is located relative to distributions base_path |
|
|
80
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
79
81
|
**repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
|
|
80
82
|
**artifact** | **String**| Artifact file representing the physical content | [optional]
|
|
81
83
|
**file** | **File**| An uploaded file that may be turned into the content unit. | [optional]
|
|
@@ -139,6 +141,7 @@ end
|
|
|
139
141
|
|
|
140
142
|
api_instance = PulpPythonClient::ContentPackagesApi.new
|
|
141
143
|
opts = {
|
|
144
|
+
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
142
145
|
author: 'author_example', # String | Filter results where author matches value
|
|
143
146
|
author__in: ['author__in_example'], # Array<String> | Filter results where author is in a comma-separated list of values
|
|
144
147
|
filename: 'filename_example', # String | Filter results where filename matches value
|
|
@@ -188,6 +191,7 @@ end
|
|
|
188
191
|
|
|
189
192
|
Name | Type | Description | Notes
|
|
190
193
|
------------- | ------------- | ------------- | -------------
|
|
194
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
191
195
|
**author** | **String**| Filter results where author matches value | [optional]
|
|
192
196
|
**author__in** | [**Array<String>**](String.md)| Filter results where author is in a comma-separated list of values | [optional]
|
|
193
197
|
**filename** | **String**| Filter results where filename matches value | [optional]
|
|
@@ -259,6 +263,7 @@ end
|
|
|
259
263
|
api_instance = PulpPythonClient::ContentPackagesApi.new
|
|
260
264
|
python_python_package_content_href = 'python_python_package_content_href_example' # String |
|
|
261
265
|
opts = {
|
|
266
|
+
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
262
267
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
263
268
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
264
269
|
}
|
|
@@ -278,6 +283,7 @@ end
|
|
|
278
283
|
Name | Type | Description | Notes
|
|
279
284
|
------------- | ------------- | ------------- | -------------
|
|
280
285
|
**python_python_package_content_href** | **String**| |
|
|
286
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
281
287
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
282
288
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
283
289
|
|
|
@@ -17,7 +17,7 @@ Method | HTTP request | Description
|
|
|
17
17
|
|
|
18
18
|
## create
|
|
19
19
|
|
|
20
|
-
> AsyncOperationResponse create(python_python_distribution)
|
|
20
|
+
> AsyncOperationResponse create(python_python_distribution, opts)
|
|
21
21
|
|
|
22
22
|
Create a python distribution
|
|
23
23
|
|
|
@@ -37,10 +37,13 @@ end
|
|
|
37
37
|
|
|
38
38
|
api_instance = PulpPythonClient::DistributionsPypiApi.new
|
|
39
39
|
python_python_distribution = PulpPythonClient::PythonPythonDistribution.new # PythonPythonDistribution |
|
|
40
|
+
opts = {
|
|
41
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
42
|
+
}
|
|
40
43
|
|
|
41
44
|
begin
|
|
42
45
|
#Create a python distribution
|
|
43
|
-
result = api_instance.create(python_python_distribution)
|
|
46
|
+
result = api_instance.create(python_python_distribution, opts)
|
|
44
47
|
p result
|
|
45
48
|
rescue PulpPythonClient::ApiError => e
|
|
46
49
|
puts "Exception when calling DistributionsPypiApi->create: #{e}"
|
|
@@ -53,6 +56,7 @@ end
|
|
|
53
56
|
Name | Type | Description | Notes
|
|
54
57
|
------------- | ------------- | ------------- | -------------
|
|
55
58
|
**python_python_distribution** | [**PythonPythonDistribution**](PythonPythonDistribution.md)| |
|
|
59
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
56
60
|
|
|
57
61
|
### Return type
|
|
58
62
|
|
|
@@ -70,7 +74,7 @@ Name | Type | Description | Notes
|
|
|
70
74
|
|
|
71
75
|
## delete
|
|
72
76
|
|
|
73
|
-
> AsyncOperationResponse delete(python_python_distribution_href)
|
|
77
|
+
> AsyncOperationResponse delete(python_python_distribution_href, opts)
|
|
74
78
|
|
|
75
79
|
Delete a python distribution
|
|
76
80
|
|
|
@@ -90,10 +94,13 @@ end
|
|
|
90
94
|
|
|
91
95
|
api_instance = PulpPythonClient::DistributionsPypiApi.new
|
|
92
96
|
python_python_distribution_href = 'python_python_distribution_href_example' # String |
|
|
97
|
+
opts = {
|
|
98
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
99
|
+
}
|
|
93
100
|
|
|
94
101
|
begin
|
|
95
102
|
#Delete a python distribution
|
|
96
|
-
result = api_instance.delete(python_python_distribution_href)
|
|
103
|
+
result = api_instance.delete(python_python_distribution_href, opts)
|
|
97
104
|
p result
|
|
98
105
|
rescue PulpPythonClient::ApiError => e
|
|
99
106
|
puts "Exception when calling DistributionsPypiApi->delete: #{e}"
|
|
@@ -106,6 +113,7 @@ end
|
|
|
106
113
|
Name | Type | Description | Notes
|
|
107
114
|
------------- | ------------- | ------------- | -------------
|
|
108
115
|
**python_python_distribution_href** | **String**| |
|
|
116
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
109
117
|
|
|
110
118
|
### Return type
|
|
111
119
|
|
|
@@ -143,6 +151,7 @@ end
|
|
|
143
151
|
|
|
144
152
|
api_instance = PulpPythonClient::DistributionsPypiApi.new
|
|
145
153
|
opts = {
|
|
154
|
+
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
146
155
|
base_path: 'base_path_example', # String | Filter results where base_path matches value
|
|
147
156
|
base_path__contains: 'base_path__contains_example', # String | Filter results where base_path contains value
|
|
148
157
|
base_path__icontains: 'base_path__icontains_example', # String | Filter results where base_path contains value
|
|
@@ -184,6 +193,7 @@ end
|
|
|
184
193
|
|
|
185
194
|
Name | Type | Description | Notes
|
|
186
195
|
------------- | ------------- | ------------- | -------------
|
|
196
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
187
197
|
**base_path** | **String**| Filter results where base_path matches value | [optional]
|
|
188
198
|
**base_path__contains** | **String**| Filter results where base_path contains value | [optional]
|
|
189
199
|
**base_path__icontains** | **String**| Filter results where base_path contains value | [optional]
|
|
@@ -226,7 +236,7 @@ Name | Type | Description | Notes
|
|
|
226
236
|
|
|
227
237
|
## partial_update
|
|
228
238
|
|
|
229
|
-
> AsyncOperationResponse partial_update(python_python_distribution_href, patchedpython_python_distribution)
|
|
239
|
+
> AsyncOperationResponse partial_update(python_python_distribution_href, patchedpython_python_distribution, opts)
|
|
230
240
|
|
|
231
241
|
Update a python distribution
|
|
232
242
|
|
|
@@ -247,10 +257,13 @@ end
|
|
|
247
257
|
api_instance = PulpPythonClient::DistributionsPypiApi.new
|
|
248
258
|
python_python_distribution_href = 'python_python_distribution_href_example' # String |
|
|
249
259
|
patchedpython_python_distribution = PulpPythonClient::PatchedpythonPythonDistribution.new # PatchedpythonPythonDistribution |
|
|
260
|
+
opts = {
|
|
261
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
262
|
+
}
|
|
250
263
|
|
|
251
264
|
begin
|
|
252
265
|
#Update a python distribution
|
|
253
|
-
result = api_instance.partial_update(python_python_distribution_href, patchedpython_python_distribution)
|
|
266
|
+
result = api_instance.partial_update(python_python_distribution_href, patchedpython_python_distribution, opts)
|
|
254
267
|
p result
|
|
255
268
|
rescue PulpPythonClient::ApiError => e
|
|
256
269
|
puts "Exception when calling DistributionsPypiApi->partial_update: #{e}"
|
|
@@ -264,6 +277,7 @@ Name | Type | Description | Notes
|
|
|
264
277
|
------------- | ------------- | ------------- | -------------
|
|
265
278
|
**python_python_distribution_href** | **String**| |
|
|
266
279
|
**patchedpython_python_distribution** | [**PatchedpythonPythonDistribution**](PatchedpythonPythonDistribution.md)| |
|
|
280
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
267
281
|
|
|
268
282
|
### Return type
|
|
269
283
|
|
|
@@ -302,6 +316,7 @@ end
|
|
|
302
316
|
api_instance = PulpPythonClient::DistributionsPypiApi.new
|
|
303
317
|
python_python_distribution_href = 'python_python_distribution_href_example' # String |
|
|
304
318
|
opts = {
|
|
319
|
+
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
305
320
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
306
321
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
307
322
|
}
|
|
@@ -321,6 +336,7 @@ end
|
|
|
321
336
|
Name | Type | Description | Notes
|
|
322
337
|
------------- | ------------- | ------------- | -------------
|
|
323
338
|
**python_python_distribution_href** | **String**| |
|
|
339
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
324
340
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
325
341
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
326
342
|
|
|
@@ -340,7 +356,7 @@ Name | Type | Description | Notes
|
|
|
340
356
|
|
|
341
357
|
## set_label
|
|
342
358
|
|
|
343
|
-
> SetLabelResponse set_label(python_python_distribution_href, set_label)
|
|
359
|
+
> SetLabelResponse set_label(python_python_distribution_href, set_label, opts)
|
|
344
360
|
|
|
345
361
|
Set a label
|
|
346
362
|
|
|
@@ -361,10 +377,13 @@ end
|
|
|
361
377
|
api_instance = PulpPythonClient::DistributionsPypiApi.new
|
|
362
378
|
python_python_distribution_href = 'python_python_distribution_href_example' # String |
|
|
363
379
|
set_label = PulpPythonClient::SetLabel.new # SetLabel |
|
|
380
|
+
opts = {
|
|
381
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
382
|
+
}
|
|
364
383
|
|
|
365
384
|
begin
|
|
366
385
|
#Set a label
|
|
367
|
-
result = api_instance.set_label(python_python_distribution_href, set_label)
|
|
386
|
+
result = api_instance.set_label(python_python_distribution_href, set_label, opts)
|
|
368
387
|
p result
|
|
369
388
|
rescue PulpPythonClient::ApiError => e
|
|
370
389
|
puts "Exception when calling DistributionsPypiApi->set_label: #{e}"
|
|
@@ -378,6 +397,7 @@ Name | Type | Description | Notes
|
|
|
378
397
|
------------- | ------------- | ------------- | -------------
|
|
379
398
|
**python_python_distribution_href** | **String**| |
|
|
380
399
|
**set_label** | [**SetLabel**](SetLabel.md)| |
|
|
400
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
381
401
|
|
|
382
402
|
### Return type
|
|
383
403
|
|
|
@@ -395,7 +415,7 @@ Name | Type | Description | Notes
|
|
|
395
415
|
|
|
396
416
|
## unset_label
|
|
397
417
|
|
|
398
|
-
> UnsetLabelResponse unset_label(python_python_distribution_href, unset_label)
|
|
418
|
+
> UnsetLabelResponse unset_label(python_python_distribution_href, unset_label, opts)
|
|
399
419
|
|
|
400
420
|
Unset a label
|
|
401
421
|
|
|
@@ -416,10 +436,13 @@ end
|
|
|
416
436
|
api_instance = PulpPythonClient::DistributionsPypiApi.new
|
|
417
437
|
python_python_distribution_href = 'python_python_distribution_href_example' # String |
|
|
418
438
|
unset_label = PulpPythonClient::UnsetLabel.new # UnsetLabel |
|
|
439
|
+
opts = {
|
|
440
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
441
|
+
}
|
|
419
442
|
|
|
420
443
|
begin
|
|
421
444
|
#Unset a label
|
|
422
|
-
result = api_instance.unset_label(python_python_distribution_href, unset_label)
|
|
445
|
+
result = api_instance.unset_label(python_python_distribution_href, unset_label, opts)
|
|
423
446
|
p result
|
|
424
447
|
rescue PulpPythonClient::ApiError => e
|
|
425
448
|
puts "Exception when calling DistributionsPypiApi->unset_label: #{e}"
|
|
@@ -433,6 +456,7 @@ Name | Type | Description | Notes
|
|
|
433
456
|
------------- | ------------- | ------------- | -------------
|
|
434
457
|
**python_python_distribution_href** | **String**| |
|
|
435
458
|
**unset_label** | [**UnsetLabel**](UnsetLabel.md)| |
|
|
459
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
436
460
|
|
|
437
461
|
### Return type
|
|
438
462
|
|
|
@@ -450,7 +474,7 @@ Name | Type | Description | Notes
|
|
|
450
474
|
|
|
451
475
|
## update
|
|
452
476
|
|
|
453
|
-
> AsyncOperationResponse update(python_python_distribution_href, python_python_distribution)
|
|
477
|
+
> AsyncOperationResponse update(python_python_distribution_href, python_python_distribution, opts)
|
|
454
478
|
|
|
455
479
|
Update a python distribution
|
|
456
480
|
|
|
@@ -471,10 +495,13 @@ end
|
|
|
471
495
|
api_instance = PulpPythonClient::DistributionsPypiApi.new
|
|
472
496
|
python_python_distribution_href = 'python_python_distribution_href_example' # String |
|
|
473
497
|
python_python_distribution = PulpPythonClient::PythonPythonDistribution.new # PythonPythonDistribution |
|
|
498
|
+
opts = {
|
|
499
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
500
|
+
}
|
|
474
501
|
|
|
475
502
|
begin
|
|
476
503
|
#Update a python distribution
|
|
477
|
-
result = api_instance.update(python_python_distribution_href, python_python_distribution)
|
|
504
|
+
result = api_instance.update(python_python_distribution_href, python_python_distribution, opts)
|
|
478
505
|
p result
|
|
479
506
|
rescue PulpPythonClient::ApiError => e
|
|
480
507
|
puts "Exception when calling DistributionsPypiApi->update: #{e}"
|
|
@@ -488,6 +515,7 @@ Name | Type | Description | Notes
|
|
|
488
515
|
------------- | ------------- | ------------- | -------------
|
|
489
516
|
**python_python_distribution_href** | **String**| |
|
|
490
517
|
**python_python_distribution** | [**PythonPythonDistribution**](PythonPythonDistribution.md)| |
|
|
518
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
491
519
|
|
|
492
520
|
### Return type
|
|
493
521
|
|
data/docs/PublicationsPypiApi.md
CHANGED
|
@@ -13,7 +13,7 @@ Method | HTTP request | Description
|
|
|
13
13
|
|
|
14
14
|
## create
|
|
15
15
|
|
|
16
|
-
> AsyncOperationResponse create(python_python_publication)
|
|
16
|
+
> AsyncOperationResponse create(python_python_publication, opts)
|
|
17
17
|
|
|
18
18
|
Create a python publication
|
|
19
19
|
|
|
@@ -33,10 +33,13 @@ end
|
|
|
33
33
|
|
|
34
34
|
api_instance = PulpPythonClient::PublicationsPypiApi.new
|
|
35
35
|
python_python_publication = PulpPythonClient::PythonPythonPublication.new # PythonPythonPublication |
|
|
36
|
+
opts = {
|
|
37
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
38
|
+
}
|
|
36
39
|
|
|
37
40
|
begin
|
|
38
41
|
#Create a python publication
|
|
39
|
-
result = api_instance.create(python_python_publication)
|
|
42
|
+
result = api_instance.create(python_python_publication, opts)
|
|
40
43
|
p result
|
|
41
44
|
rescue PulpPythonClient::ApiError => e
|
|
42
45
|
puts "Exception when calling PublicationsPypiApi->create: #{e}"
|
|
@@ -49,6 +52,7 @@ end
|
|
|
49
52
|
Name | Type | Description | Notes
|
|
50
53
|
------------- | ------------- | ------------- | -------------
|
|
51
54
|
**python_python_publication** | [**PythonPythonPublication**](PythonPythonPublication.md)| |
|
|
55
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
52
56
|
|
|
53
57
|
### Return type
|
|
54
58
|
|
|
@@ -66,7 +70,7 @@ Name | Type | Description | Notes
|
|
|
66
70
|
|
|
67
71
|
## delete
|
|
68
72
|
|
|
69
|
-
> delete(python_python_publication_href)
|
|
73
|
+
> delete(python_python_publication_href, opts)
|
|
70
74
|
|
|
71
75
|
Delete a python publication
|
|
72
76
|
|
|
@@ -86,10 +90,13 @@ end
|
|
|
86
90
|
|
|
87
91
|
api_instance = PulpPythonClient::PublicationsPypiApi.new
|
|
88
92
|
python_python_publication_href = 'python_python_publication_href_example' # String |
|
|
93
|
+
opts = {
|
|
94
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
95
|
+
}
|
|
89
96
|
|
|
90
97
|
begin
|
|
91
98
|
#Delete a python publication
|
|
92
|
-
api_instance.delete(python_python_publication_href)
|
|
99
|
+
api_instance.delete(python_python_publication_href, opts)
|
|
93
100
|
rescue PulpPythonClient::ApiError => e
|
|
94
101
|
puts "Exception when calling PublicationsPypiApi->delete: #{e}"
|
|
95
102
|
end
|
|
@@ -101,6 +108,7 @@ end
|
|
|
101
108
|
Name | Type | Description | Notes
|
|
102
109
|
------------- | ------------- | ------------- | -------------
|
|
103
110
|
**python_python_publication_href** | **String**| |
|
|
111
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
104
112
|
|
|
105
113
|
### Return type
|
|
106
114
|
|
|
@@ -138,6 +146,7 @@ end
|
|
|
138
146
|
|
|
139
147
|
api_instance = PulpPythonClient::PublicationsPypiApi.new
|
|
140
148
|
opts = {
|
|
149
|
+
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
141
150
|
content: 'content_example', # String | Content Unit referenced by HREF
|
|
142
151
|
content__in: 'content__in_example', # String | Content Unit referenced by HREF
|
|
143
152
|
limit: 56, # Integer | Number of results to return per page.
|
|
@@ -172,6 +181,7 @@ end
|
|
|
172
181
|
|
|
173
182
|
Name | Type | Description | Notes
|
|
174
183
|
------------- | ------------- | ------------- | -------------
|
|
184
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
175
185
|
**content** | **String**| Content Unit referenced by HREF | [optional]
|
|
176
186
|
**content__in** | **String**| Content Unit referenced by HREF | [optional]
|
|
177
187
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
@@ -228,6 +238,7 @@ end
|
|
|
228
238
|
api_instance = PulpPythonClient::PublicationsPypiApi.new
|
|
229
239
|
python_python_publication_href = 'python_python_publication_href_example' # String |
|
|
230
240
|
opts = {
|
|
241
|
+
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
231
242
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
232
243
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
233
244
|
}
|
|
@@ -247,6 +258,7 @@ end
|
|
|
247
258
|
Name | Type | Description | Notes
|
|
248
259
|
------------- | ------------- | ------------- | -------------
|
|
249
260
|
**python_python_publication_href** | **String**| |
|
|
261
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
250
262
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
251
263
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
252
264
|
|
data/docs/PypiApi.md
CHANGED
|
@@ -25,6 +25,7 @@ require 'pulp_python_client'
|
|
|
25
25
|
api_instance = PulpPythonClient::PypiApi.new
|
|
26
26
|
path = 'path_example' # String |
|
|
27
27
|
opts = {
|
|
28
|
+
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
28
29
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
29
30
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
30
31
|
}
|
|
@@ -44,6 +45,7 @@ end
|
|
|
44
45
|
Name | Type | Description | Notes
|
|
45
46
|
------------- | ------------- | ------------- | -------------
|
|
46
47
|
**path** | **String**| |
|
|
48
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
47
49
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
48
50
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
49
51
|
|
data/docs/PypiLegacyApi.md
CHANGED
|
@@ -33,6 +33,7 @@ path = 'path_example' # String |
|
|
|
33
33
|
content = File.new('/path/to/file') # File | A Python package release file to upload to the index.
|
|
34
34
|
sha256_digest = 'sha256_digest_example' # String | SHA256 of package to validate upload integrity.
|
|
35
35
|
opts = {
|
|
36
|
+
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
36
37
|
action: 'file_upload' # String | Defaults to `file_upload`, don't change it or request will fail!
|
|
37
38
|
}
|
|
38
39
|
|
|
@@ -53,6 +54,7 @@ Name | Type | Description | Notes
|
|
|
53
54
|
**path** | **String**| |
|
|
54
55
|
**content** | **File**| A Python package release file to upload to the index. |
|
|
55
56
|
**sha256_digest** | **String**| SHA256 of package to validate upload integrity. |
|
|
57
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
56
58
|
**action** | **String**| Defaults to `file_upload`, don't change it or request will fail! | [optional] [default to 'file_upload']
|
|
57
59
|
|
|
58
60
|
### Return type
|
data/docs/PypiMetadataApi.md
CHANGED
|
@@ -26,6 +26,7 @@ api_instance = PulpPythonClient::PypiMetadataApi.new
|
|
|
26
26
|
meta = 'meta_example' # String |
|
|
27
27
|
path = 'path_example' # String |
|
|
28
28
|
opts = {
|
|
29
|
+
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
29
30
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
30
31
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
31
32
|
}
|
|
@@ -46,6 +47,7 @@ Name | Type | Description | Notes
|
|
|
46
47
|
------------- | ------------- | ------------- | -------------
|
|
47
48
|
**meta** | **String**| |
|
|
48
49
|
**path** | **String**| |
|
|
50
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
49
51
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
50
52
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
51
53
|
|
data/docs/PypiSimpleApi.md
CHANGED
|
@@ -35,6 +35,7 @@ path = 'path_example' # String |
|
|
|
35
35
|
content = File.new('/path/to/file') # File | A Python package release file to upload to the index.
|
|
36
36
|
sha256_digest = 'sha256_digest_example' # String | SHA256 of package to validate upload integrity.
|
|
37
37
|
opts = {
|
|
38
|
+
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
38
39
|
action: 'file_upload' # String | Defaults to `file_upload`, don't change it or request will fail!
|
|
39
40
|
}
|
|
40
41
|
|
|
@@ -55,6 +56,7 @@ Name | Type | Description | Notes
|
|
|
55
56
|
**path** | **String**| |
|
|
56
57
|
**content** | **File**| A Python package release file to upload to the index. |
|
|
57
58
|
**sha256_digest** | **String**| SHA256 of package to validate upload integrity. |
|
|
59
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
58
60
|
**action** | **String**| Defaults to `file_upload`, don't change it or request will fail! | [optional] [default to 'file_upload']
|
|
59
61
|
|
|
60
62
|
### Return type
|
|
@@ -95,6 +97,7 @@ api_instance = PulpPythonClient::PypiSimpleApi.new
|
|
|
95
97
|
package = 'package_example' # String |
|
|
96
98
|
path = 'path_example' # String |
|
|
97
99
|
opts = {
|
|
100
|
+
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
98
101
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
99
102
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
100
103
|
}
|
|
@@ -114,6 +117,7 @@ Name | Type | Description | Notes
|
|
|
114
117
|
------------- | ------------- | ------------- | -------------
|
|
115
118
|
**package** | **String**| |
|
|
116
119
|
**path** | **String**| |
|
|
120
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
117
121
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
118
122
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
119
123
|
|
|
@@ -154,6 +158,7 @@ end
|
|
|
154
158
|
api_instance = PulpPythonClient::PypiSimpleApi.new
|
|
155
159
|
path = 'path_example' # String |
|
|
156
160
|
opts = {
|
|
161
|
+
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
157
162
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
158
163
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
159
164
|
}
|
|
@@ -172,6 +177,7 @@ end
|
|
|
172
177
|
Name | Type | Description | Notes
|
|
173
178
|
------------- | ------------- | ------------- | -------------
|
|
174
179
|
**path** | **String**| |
|
|
180
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
175
181
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
176
182
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
177
183
|
|