pulp_python_client 3.11.0 → 3.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +30 -10
- data/docs/ContentPackagesApi.md +14 -12
- data/docs/DistributionsPypiApi.md +232 -0
- data/docs/MyPermissionsResponse.md +17 -0
- data/docs/NestedRole.md +21 -0
- data/docs/NestedRoleResponse.md +21 -0
- data/docs/ObjectRolesResponse.md +17 -0
- data/docs/PackageMetadataResponse.md +3 -3
- data/docs/PaginatedRepositoryVersionResponseList.md +2 -2
- data/docs/PaginatedpythonPythonDistributionResponseList.md +2 -2
- data/docs/PaginatedpythonPythonPackageContentResponseList.md +2 -2
- data/docs/PaginatedpythonPythonPublicationResponseList.md +2 -2
- data/docs/PaginatedpythonPythonRemoteResponseList.md +2 -2
- data/docs/PaginatedpythonPythonRepositoryResponseList.md +2 -2
- data/docs/PublicationsPypiApi.md +232 -0
- data/docs/PypiApi.md +7 -1
- data/docs/PypiMetadataApi.md +7 -1
- data/docs/PythonPythonDistributionResponse.md +2 -0
- data/docs/PythonPythonPackageContent.md +6 -6
- data/docs/PythonPythonPackageContentResponse.md +8 -6
- data/docs/PythonPythonPublicationResponse.md +2 -0
- data/docs/PythonPythonRemoteResponse.md +2 -2
- data/docs/PythonPythonRemoteResponseHiddenFields.md +2 -2
- data/docs/PythonPythonRepositoryResponse.md +2 -0
- data/docs/RemotesPythonApi.md +232 -0
- data/docs/RepositoriesPythonApi.md +232 -0
- data/docs/RepositoryVersionResponse.md +2 -0
- data/lib/pulp_python_client/api/content_packages_api.rb +15 -12
- data/lib/pulp_python_client/api/distributions_pypi_api.rb +276 -0
- data/lib/pulp_python_client/api/publications_pypi_api.rb +276 -0
- data/lib/pulp_python_client/api/pypi_api.rb +1 -1
- data/lib/pulp_python_client/api/pypi_metadata_api.rb +1 -1
- data/lib/pulp_python_client/api/remotes_python_api.rb +276 -0
- data/lib/pulp_python_client/api/repositories_python_api.rb +276 -0
- data/lib/pulp_python_client/models/my_permissions_response.rb +213 -0
- data/lib/pulp_python_client/models/nested_role.rb +253 -0
- data/lib/pulp_python_client/models/nested_role_response.rb +234 -0
- data/lib/pulp_python_client/models/object_roles_response.rb +213 -0
- data/lib/pulp_python_client/models/package_metadata_response.rb +3 -3
- data/lib/pulp_python_client/models/package_upload_task_response.rb +2 -10
- data/lib/pulp_python_client/models/paginated_repository_version_response_list.rb +10 -0
- data/lib/pulp_python_client/models/paginatedpython_python_distribution_response_list.rb +10 -0
- data/lib/pulp_python_client/models/paginatedpython_python_package_content_response_list.rb +10 -0
- data/lib/pulp_python_client/models/paginatedpython_python_publication_response_list.rb +10 -0
- data/lib/pulp_python_client/models/paginatedpython_python_remote_response_list.rb +10 -0
- data/lib/pulp_python_client/models/paginatedpython_python_repository_response_list.rb +10 -0
- data/lib/pulp_python_client/models/python_python_distribution_response.rb +11 -1
- data/lib/pulp_python_client/models/python_python_package_content.rb +6 -6
- data/lib/pulp_python_client/models/python_python_package_content_response.rb +17 -7
- data/lib/pulp_python_client/models/python_python_publication_response.rb +11 -1
- data/lib/pulp_python_client/models/python_python_remote_response.rb +11 -11
- data/lib/pulp_python_client/models/python_python_remote_response_hidden_fields.rb +10 -0
- data/lib/pulp_python_client/models/python_python_repository_response.rb +11 -1
- data/lib/pulp_python_client/models/repository_version_response.rb +11 -1
- data/lib/pulp_python_client/version.rb +1 -1
- data/lib/pulp_python_client.rb +4 -0
- data/spec/api/content_packages_api_spec.rb +7 -6
- data/spec/api/distributions_pypi_api_spec.rb +54 -0
- data/spec/api/publications_pypi_api_spec.rb +54 -0
- data/spec/api/remotes_python_api_spec.rb +54 -0
- data/spec/api/repositories_python_api_spec.rb +54 -0
- data/spec/models/my_permissions_response_spec.rb +41 -0
- data/spec/models/nested_role_response_spec.rb +53 -0
- data/spec/models/nested_role_spec.rb +53 -0
- data/spec/models/object_roles_response_spec.rb +41 -0
- data/spec/models/python_python_distribution_response_spec.rb +6 -0
- data/spec/models/python_python_package_content_response_spec.rb +6 -0
- data/spec/models/python_python_publication_response_spec.rb +6 -0
- data/spec/models/python_python_remote_response_spec.rb +6 -6
- data/spec/models/python_python_repository_response_spec.rb +6 -0
- data/spec/models/repository_version_response_spec.rb +6 -0
- metadata +52 -36
@@ -4,10 +4,10 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**count** | **Integer** | |
|
7
|
+
**count** | **Integer** | |
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<PythonPythonRepositoryResponse>**](PythonPythonRepositoryResponse.md) | |
|
10
|
+
**results** | [**Array<PythonPythonRepositoryResponse>**](PythonPythonRepositoryResponse.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
data/docs/PublicationsPypiApi.md
CHANGED
@@ -4,13 +4,72 @@ All URIs are relative to *http://pulp*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
+
[**add_role**](PublicationsPypiApi.md#add_role) | **POST** {python_python_publication_href}add_role/ | Add a role
|
7
8
|
[**create**](PublicationsPypiApi.md#create) | **POST** /pulp/api/v3/publications/python/pypi/ | Create a python publication
|
8
9
|
[**delete**](PublicationsPypiApi.md#delete) | **DELETE** {python_python_publication_href} | Delete a python publication
|
9
10
|
[**list**](PublicationsPypiApi.md#list) | **GET** /pulp/api/v3/publications/python/pypi/ | List python publications
|
11
|
+
[**list_roles**](PublicationsPypiApi.md#list_roles) | **GET** {python_python_publication_href}list_roles/ | List roles
|
12
|
+
[**my_permissions**](PublicationsPypiApi.md#my_permissions) | **GET** {python_python_publication_href}my_permissions/ | List user permissions
|
10
13
|
[**read**](PublicationsPypiApi.md#read) | **GET** {python_python_publication_href} | Inspect a python publication
|
14
|
+
[**remove_role**](PublicationsPypiApi.md#remove_role) | **POST** {python_python_publication_href}remove_role/ | Remove a role
|
11
15
|
|
12
16
|
|
13
17
|
|
18
|
+
## add_role
|
19
|
+
|
20
|
+
> NestedRoleResponse add_role(python_python_publication_href, nested_role)
|
21
|
+
|
22
|
+
Add a role
|
23
|
+
|
24
|
+
Add a role for this object to users/groups.
|
25
|
+
|
26
|
+
### Example
|
27
|
+
|
28
|
+
```ruby
|
29
|
+
# load the gem
|
30
|
+
require 'pulp_python_client'
|
31
|
+
# setup authorization
|
32
|
+
PulpPythonClient.configure do |config|
|
33
|
+
# Configure HTTP basic authorization: basicAuth
|
34
|
+
config.username = 'YOUR USERNAME'
|
35
|
+
config.password = 'YOUR PASSWORD'
|
36
|
+
end
|
37
|
+
|
38
|
+
api_instance = PulpPythonClient::PublicationsPypiApi.new
|
39
|
+
python_python_publication_href = 'python_python_publication_href_example' # String |
|
40
|
+
nested_role = PulpPythonClient::NestedRole.new # NestedRole |
|
41
|
+
|
42
|
+
begin
|
43
|
+
#Add a role
|
44
|
+
result = api_instance.add_role(python_python_publication_href, nested_role)
|
45
|
+
p result
|
46
|
+
rescue PulpPythonClient::ApiError => e
|
47
|
+
puts "Exception when calling PublicationsPypiApi->add_role: #{e}"
|
48
|
+
end
|
49
|
+
```
|
50
|
+
|
51
|
+
### Parameters
|
52
|
+
|
53
|
+
|
54
|
+
Name | Type | Description | Notes
|
55
|
+
------------- | ------------- | ------------- | -------------
|
56
|
+
**python_python_publication_href** | **String**| |
|
57
|
+
**nested_role** | [**NestedRole**](NestedRole.md)| |
|
58
|
+
|
59
|
+
### Return type
|
60
|
+
|
61
|
+
[**NestedRoleResponse**](NestedRoleResponse.md)
|
62
|
+
|
63
|
+
### Authorization
|
64
|
+
|
65
|
+
[basicAuth](../README.md#basicAuth)
|
66
|
+
|
67
|
+
### HTTP request headers
|
68
|
+
|
69
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
70
|
+
- **Accept**: application/json
|
71
|
+
|
72
|
+
|
14
73
|
## create
|
15
74
|
|
16
75
|
> AsyncOperationResponse create(python_python_publication)
|
@@ -205,6 +264,124 @@ Name | Type | Description | Notes
|
|
205
264
|
- **Accept**: application/json
|
206
265
|
|
207
266
|
|
267
|
+
## list_roles
|
268
|
+
|
269
|
+
> ObjectRolesResponse list_roles(python_python_publication_href, opts)
|
270
|
+
|
271
|
+
List roles
|
272
|
+
|
273
|
+
List roles assigned to this object.
|
274
|
+
|
275
|
+
### Example
|
276
|
+
|
277
|
+
```ruby
|
278
|
+
# load the gem
|
279
|
+
require 'pulp_python_client'
|
280
|
+
# setup authorization
|
281
|
+
PulpPythonClient.configure do |config|
|
282
|
+
# Configure HTTP basic authorization: basicAuth
|
283
|
+
config.username = 'YOUR USERNAME'
|
284
|
+
config.password = 'YOUR PASSWORD'
|
285
|
+
end
|
286
|
+
|
287
|
+
api_instance = PulpPythonClient::PublicationsPypiApi.new
|
288
|
+
python_python_publication_href = 'python_python_publication_href_example' # String |
|
289
|
+
opts = {
|
290
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
291
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
292
|
+
}
|
293
|
+
|
294
|
+
begin
|
295
|
+
#List roles
|
296
|
+
result = api_instance.list_roles(python_python_publication_href, opts)
|
297
|
+
p result
|
298
|
+
rescue PulpPythonClient::ApiError => e
|
299
|
+
puts "Exception when calling PublicationsPypiApi->list_roles: #{e}"
|
300
|
+
end
|
301
|
+
```
|
302
|
+
|
303
|
+
### Parameters
|
304
|
+
|
305
|
+
|
306
|
+
Name | Type | Description | Notes
|
307
|
+
------------- | ------------- | ------------- | -------------
|
308
|
+
**python_python_publication_href** | **String**| |
|
309
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
310
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
311
|
+
|
312
|
+
### Return type
|
313
|
+
|
314
|
+
[**ObjectRolesResponse**](ObjectRolesResponse.md)
|
315
|
+
|
316
|
+
### Authorization
|
317
|
+
|
318
|
+
[basicAuth](../README.md#basicAuth)
|
319
|
+
|
320
|
+
### HTTP request headers
|
321
|
+
|
322
|
+
- **Content-Type**: Not defined
|
323
|
+
- **Accept**: application/json
|
324
|
+
|
325
|
+
|
326
|
+
## my_permissions
|
327
|
+
|
328
|
+
> MyPermissionsResponse my_permissions(python_python_publication_href, opts)
|
329
|
+
|
330
|
+
List user permissions
|
331
|
+
|
332
|
+
List permissions available to the current user on this object.
|
333
|
+
|
334
|
+
### Example
|
335
|
+
|
336
|
+
```ruby
|
337
|
+
# load the gem
|
338
|
+
require 'pulp_python_client'
|
339
|
+
# setup authorization
|
340
|
+
PulpPythonClient.configure do |config|
|
341
|
+
# Configure HTTP basic authorization: basicAuth
|
342
|
+
config.username = 'YOUR USERNAME'
|
343
|
+
config.password = 'YOUR PASSWORD'
|
344
|
+
end
|
345
|
+
|
346
|
+
api_instance = PulpPythonClient::PublicationsPypiApi.new
|
347
|
+
python_python_publication_href = 'python_python_publication_href_example' # String |
|
348
|
+
opts = {
|
349
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
350
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
351
|
+
}
|
352
|
+
|
353
|
+
begin
|
354
|
+
#List user permissions
|
355
|
+
result = api_instance.my_permissions(python_python_publication_href, opts)
|
356
|
+
p result
|
357
|
+
rescue PulpPythonClient::ApiError => e
|
358
|
+
puts "Exception when calling PublicationsPypiApi->my_permissions: #{e}"
|
359
|
+
end
|
360
|
+
```
|
361
|
+
|
362
|
+
### Parameters
|
363
|
+
|
364
|
+
|
365
|
+
Name | Type | Description | Notes
|
366
|
+
------------- | ------------- | ------------- | -------------
|
367
|
+
**python_python_publication_href** | **String**| |
|
368
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
369
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
370
|
+
|
371
|
+
### Return type
|
372
|
+
|
373
|
+
[**MyPermissionsResponse**](MyPermissionsResponse.md)
|
374
|
+
|
375
|
+
### Authorization
|
376
|
+
|
377
|
+
[basicAuth](../README.md#basicAuth)
|
378
|
+
|
379
|
+
### HTTP request headers
|
380
|
+
|
381
|
+
- **Content-Type**: Not defined
|
382
|
+
- **Accept**: application/json
|
383
|
+
|
384
|
+
|
208
385
|
## read
|
209
386
|
|
210
387
|
> PythonPythonPublicationResponse read(python_python_publication_href, opts)
|
@@ -263,3 +440,58 @@ Name | Type | Description | Notes
|
|
263
440
|
- **Content-Type**: Not defined
|
264
441
|
- **Accept**: application/json
|
265
442
|
|
443
|
+
|
444
|
+
## remove_role
|
445
|
+
|
446
|
+
> NestedRoleResponse remove_role(python_python_publication_href, nested_role)
|
447
|
+
|
448
|
+
Remove a role
|
449
|
+
|
450
|
+
Remove a role for this object from users/groups.
|
451
|
+
|
452
|
+
### Example
|
453
|
+
|
454
|
+
```ruby
|
455
|
+
# load the gem
|
456
|
+
require 'pulp_python_client'
|
457
|
+
# setup authorization
|
458
|
+
PulpPythonClient.configure do |config|
|
459
|
+
# Configure HTTP basic authorization: basicAuth
|
460
|
+
config.username = 'YOUR USERNAME'
|
461
|
+
config.password = 'YOUR PASSWORD'
|
462
|
+
end
|
463
|
+
|
464
|
+
api_instance = PulpPythonClient::PublicationsPypiApi.new
|
465
|
+
python_python_publication_href = 'python_python_publication_href_example' # String |
|
466
|
+
nested_role = PulpPythonClient::NestedRole.new # NestedRole |
|
467
|
+
|
468
|
+
begin
|
469
|
+
#Remove a role
|
470
|
+
result = api_instance.remove_role(python_python_publication_href, nested_role)
|
471
|
+
p result
|
472
|
+
rescue PulpPythonClient::ApiError => e
|
473
|
+
puts "Exception when calling PublicationsPypiApi->remove_role: #{e}"
|
474
|
+
end
|
475
|
+
```
|
476
|
+
|
477
|
+
### Parameters
|
478
|
+
|
479
|
+
|
480
|
+
Name | Type | Description | Notes
|
481
|
+
------------- | ------------- | ------------- | -------------
|
482
|
+
**python_python_publication_href** | **String**| |
|
483
|
+
**nested_role** | [**NestedRole**](NestedRole.md)| |
|
484
|
+
|
485
|
+
### Return type
|
486
|
+
|
487
|
+
[**NestedRoleResponse**](NestedRoleResponse.md)
|
488
|
+
|
489
|
+
### Authorization
|
490
|
+
|
491
|
+
[basicAuth](../README.md#basicAuth)
|
492
|
+
|
493
|
+
### HTTP request headers
|
494
|
+
|
495
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
496
|
+
- **Accept**: application/json
|
497
|
+
|
data/docs/PypiApi.md
CHANGED
@@ -21,6 +21,12 @@ Gets package summary stats of index.
|
|
21
21
|
```ruby
|
22
22
|
# load the gem
|
23
23
|
require 'pulp_python_client'
|
24
|
+
# setup authorization
|
25
|
+
PulpPythonClient.configure do |config|
|
26
|
+
# Configure HTTP basic authorization: basicAuth
|
27
|
+
config.username = 'YOUR USERNAME'
|
28
|
+
config.password = 'YOUR PASSWORD'
|
29
|
+
end
|
24
30
|
|
25
31
|
api_instance = PulpPythonClient::PypiApi.new
|
26
32
|
path = 'path_example' # String |
|
@@ -53,7 +59,7 @@ Name | Type | Description | Notes
|
|
53
59
|
|
54
60
|
### Authorization
|
55
61
|
|
56
|
-
|
62
|
+
[basicAuth](../README.md#basicAuth)
|
57
63
|
|
58
64
|
### HTTP request headers
|
59
65
|
|
data/docs/PypiMetadataApi.md
CHANGED
@@ -21,6 +21,12 @@ Retrieves the package's core-metadata specified by https://packaging.python.org/
|
|
21
21
|
```ruby
|
22
22
|
# load the gem
|
23
23
|
require 'pulp_python_client'
|
24
|
+
# setup authorization
|
25
|
+
PulpPythonClient.configure do |config|
|
26
|
+
# Configure HTTP basic authorization: basicAuth
|
27
|
+
config.username = 'YOUR USERNAME'
|
28
|
+
config.password = 'YOUR PASSWORD'
|
29
|
+
end
|
24
30
|
|
25
31
|
api_instance = PulpPythonClient::PypiMetadataApi.new
|
26
32
|
meta = 'meta_example' # String |
|
@@ -55,7 +61,7 @@ Name | Type | Description | Notes
|
|
55
61
|
|
56
62
|
### Authorization
|
57
63
|
|
58
|
-
|
64
|
+
[basicAuth](../README.md#basicAuth)
|
59
65
|
|
60
66
|
### HTTP request headers
|
61
67
|
|
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
8
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
+
**pulp_last_updated** | **DateTime** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional] [readonly]
|
9
10
|
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
10
11
|
**base_url** | **String** | | [optional] [readonly]
|
11
12
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
@@ -24,6 +25,7 @@ require 'PulpPythonClient'
|
|
24
25
|
|
25
26
|
instance = PulpPythonClient::PythonPythonDistributionResponse.new(pulp_href: null,
|
26
27
|
pulp_created: null,
|
28
|
+
pulp_last_updated: null,
|
27
29
|
base_path: null,
|
28
30
|
base_url: null,
|
29
31
|
content_guard: null,
|
@@ -23,14 +23,14 @@ Name | Type | Description | Notes
|
|
23
23
|
**license** | **String** | Text indicating the license covering the distribution | [optional]
|
24
24
|
**requires_python** | **String** | The Python version(s) that the distribution is guaranteed to be compatible with. | [optional]
|
25
25
|
**project_url** | **String** | A browsable URL for the project and a label for it, separated by a comma. | [optional]
|
26
|
-
**project_urls** | [**
|
26
|
+
**project_urls** | [**AnyType**](.md) | A dictionary of labels and URLs for the project. | [optional]
|
27
27
|
**platform** | **String** | A comma-separated list of platform specifications, summarizing the operating systems supported by the package. | [optional]
|
28
28
|
**supported_platform** | **String** | Field to specify the OS and CPU for which the binary package was compiled. | [optional]
|
29
|
-
**requires_dist** | [**
|
30
|
-
**provides_dist** | [**
|
31
|
-
**obsoletes_dist** | [**
|
32
|
-
**requires_external** | [**
|
33
|
-
**classifiers** | [**
|
29
|
+
**requires_dist** | [**AnyType**](.md) | A JSON list containing names of some other distutils project required by this distribution. | [optional]
|
30
|
+
**provides_dist** | [**AnyType**](.md) | A JSON list containing names of a Distutils project which is contained within this distribution. | [optional]
|
31
|
+
**obsoletes_dist** | [**AnyType**](.md) | A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time. | [optional]
|
32
|
+
**requires_external** | [**AnyType**](.md) | A JSON list containing some dependency in the system that the distribution is to be used. | [optional]
|
33
|
+
**classifiers** | [**AnyType**](.md) | A JSON list containing classification values for a Python package. | [optional]
|
34
34
|
|
35
35
|
## Code Sample
|
36
36
|
|
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
8
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
+
**pulp_last_updated** | **DateTime** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional] [readonly]
|
9
10
|
**artifact** | **String** | Artifact file representing the physical content | [optional]
|
10
11
|
**filename** | **String** | The name of the distribution package, usually of the format: {distribution}-{version}(-{build tag})?-{python tag}-{abi tag}-{platform tag}.{packagetype} | [optional] [readonly]
|
11
12
|
**packagetype** | **String** | The type of the distribution package (e.g. sdist, bdist_wheel, bdist_egg, etc) | [optional] [readonly]
|
@@ -26,14 +27,14 @@ Name | Type | Description | Notes
|
|
26
27
|
**license** | **String** | Text indicating the license covering the distribution | [optional]
|
27
28
|
**requires_python** | **String** | The Python version(s) that the distribution is guaranteed to be compatible with. | [optional]
|
28
29
|
**project_url** | **String** | A browsable URL for the project and a label for it, separated by a comma. | [optional]
|
29
|
-
**project_urls** | [**
|
30
|
+
**project_urls** | [**AnyType**](.md) | A dictionary of labels and URLs for the project. | [optional]
|
30
31
|
**platform** | **String** | A comma-separated list of platform specifications, summarizing the operating systems supported by the package. | [optional]
|
31
32
|
**supported_platform** | **String** | Field to specify the OS and CPU for which the binary package was compiled. | [optional]
|
32
|
-
**requires_dist** | [**
|
33
|
-
**provides_dist** | [**
|
34
|
-
**obsoletes_dist** | [**
|
35
|
-
**requires_external** | [**
|
36
|
-
**classifiers** | [**
|
33
|
+
**requires_dist** | [**AnyType**](.md) | A JSON list containing names of some other distutils project required by this distribution. | [optional]
|
34
|
+
**provides_dist** | [**AnyType**](.md) | A JSON list containing names of a Distutils project which is contained within this distribution. | [optional]
|
35
|
+
**obsoletes_dist** | [**AnyType**](.md) | A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time. | [optional]
|
36
|
+
**requires_external** | [**AnyType**](.md) | A JSON list containing some dependency in the system that the distribution is to be used. | [optional]
|
37
|
+
**classifiers** | [**AnyType**](.md) | A JSON list containing classification values for a Python package. | [optional]
|
37
38
|
|
38
39
|
## Code Sample
|
39
40
|
|
@@ -42,6 +43,7 @@ require 'PulpPythonClient'
|
|
42
43
|
|
43
44
|
instance = PulpPythonClient::PythonPythonPackageContentResponse.new(pulp_href: null,
|
44
45
|
pulp_created: null,
|
46
|
+
pulp_last_updated: null,
|
45
47
|
artifact: null,
|
46
48
|
filename: null,
|
47
49
|
packagetype: null,
|
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
8
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
+
**pulp_last_updated** | **DateTime** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional] [readonly]
|
9
10
|
**repository_version** | **String** | | [optional]
|
10
11
|
**repository** | **String** | A URI of the repository to be published. | [optional]
|
11
12
|
**distributions** | **Array<String>** | This publication is currently being hosted as configured by these distributions. | [optional] [readonly]
|
@@ -17,6 +18,7 @@ require 'PulpPythonClient'
|
|
17
18
|
|
18
19
|
instance = PulpPythonClient::PythonPythonPublicationResponse.new(pulp_href: null,
|
19
20
|
pulp_created: null,
|
21
|
+
pulp_last_updated: null,
|
20
22
|
repository_version: null,
|
21
23
|
repository: null,
|
22
24
|
distributions: null)
|
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
8
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
+
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
9
10
|
**name** | **String** | A unique name for this remote. |
|
10
11
|
**url** | **String** | The URL of an external content source. |
|
11
12
|
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
@@ -13,7 +14,6 @@ Name | Type | Description | Notes
|
|
13
14
|
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
14
15
|
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
15
16
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
16
|
-
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
17
17
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
18
18
|
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
19
19
|
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'on_demand' is the default. * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again. | [optional]
|
@@ -38,6 +38,7 @@ require 'PulpPythonClient'
|
|
38
38
|
|
39
39
|
instance = PulpPythonClient::PythonPythonRemoteResponse.new(pulp_href: null,
|
40
40
|
pulp_created: null,
|
41
|
+
pulp_last_updated: null,
|
41
42
|
name: null,
|
42
43
|
url: null,
|
43
44
|
ca_cert: null,
|
@@ -45,7 +46,6 @@ instance = PulpPythonClient::PythonPythonRemoteResponse.new(pulp_href: null,
|
|
45
46
|
tls_validation: null,
|
46
47
|
proxy_url: null,
|
47
48
|
pulp_labels: null,
|
48
|
-
pulp_last_updated: null,
|
49
49
|
download_concurrency: null,
|
50
50
|
max_retries: null,
|
51
51
|
policy: null,
|
@@ -4,8 +4,8 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**name** | **String** | |
|
8
|
-
**is_set** | **Boolean** | |
|
7
|
+
**name** | **String** | |
|
8
|
+
**is_set** | **Boolean** | |
|
9
9
|
|
10
10
|
## Code Sample
|
11
11
|
|
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
8
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
+
**pulp_last_updated** | **DateTime** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional] [readonly]
|
9
10
|
**versions_href** | **String** | | [optional] [readonly]
|
10
11
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
11
12
|
**latest_version_href** | **String** | | [optional] [readonly]
|
@@ -22,6 +23,7 @@ require 'PulpPythonClient'
|
|
22
23
|
|
23
24
|
instance = PulpPythonClient::PythonPythonRepositoryResponse.new(pulp_href: null,
|
24
25
|
pulp_created: null,
|
26
|
+
pulp_last_updated: null,
|
25
27
|
versions_href: null,
|
26
28
|
pulp_labels: null,
|
27
29
|
latest_version_href: null,
|