pulp_python_client 3.9.0 → 3.11.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 +18 -8
- data/docs/ContentPackagesApi.md +17 -11
- data/docs/DistributionsPypiApi.md +130 -4
- data/docs/PatchedpythonPythonDistribution.md +2 -0
- data/docs/PatchedpythonPythonRemote.md +1 -1
- data/docs/PublicationsPypiApi.md +9 -3
- data/docs/PypiApi.md +1 -1
- data/docs/PypiLegacyApi.md +1 -1
- data/docs/PypiMetadataApi.md +1 -1
- data/docs/PypiSimpleApi.md +1 -1
- data/docs/PythonBanderRemote.md +1 -1
- data/docs/PythonPythonDistribution.md +2 -0
- data/docs/PythonPythonDistributionResponse.md +2 -0
- data/docs/PythonPythonPackageContent.md +5 -5
- data/docs/PythonPythonRemote.md +1 -1
- data/docs/PythonPythonRemoteResponse.md +1 -1
- data/docs/RemotesPythonApi.md +131 -5
- data/docs/RepositoriesPythonApi.md +134 -4
- data/docs/RepositoriesPythonVersionsApi.md +7 -3
- data/docs/SetLabel.md +19 -0
- data/docs/SetLabelResponse.md +19 -0
- data/docs/UnsetLabel.md +17 -0
- data/docs/UnsetLabelResponse.md +19 -0
- data/lib/pulp_python_client/api/content_packages_api.rb +20 -11
- data/lib/pulp_python_client/api/distributions_pypi_api.rb +164 -3
- data/lib/pulp_python_client/api/publications_pypi_api.rb +11 -2
- data/lib/pulp_python_client/api/remotes_python_api.rb +165 -4
- data/lib/pulp_python_client/api/repositories_python_api.rb +169 -2
- data/lib/pulp_python_client/api/repositories_python_versions_api.rb +8 -2
- data/lib/pulp_python_client/configuration.rb +2 -2
- data/lib/pulp_python_client/models/patchedpython_python_distribution.rb +13 -1
- data/lib/pulp_python_client/models/patchedpython_python_remote.rb +1 -1
- data/lib/pulp_python_client/models/python_bander_remote.rb +1 -1
- data/lib/pulp_python_client/models/python_python_distribution.rb +13 -1
- data/lib/pulp_python_client/models/python_python_distribution_response.rb +13 -1
- data/lib/pulp_python_client/models/python_python_package_content.rb +13 -13
- data/lib/pulp_python_client/models/python_python_remote.rb +1 -1
- data/lib/pulp_python_client/models/python_python_remote_response.rb +1 -1
- data/lib/pulp_python_client/models/set_label.rb +252 -0
- data/lib/pulp_python_client/models/set_label_response.rb +243 -0
- data/lib/pulp_python_client/models/unset_label.rb +242 -0
- data/lib/pulp_python_client/models/unset_label_response.rb +242 -0
- 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 +8 -5
- data/spec/api/distributions_pypi_api_spec.rb +34 -1
- data/spec/api/publications_pypi_api_spec.rb +4 -1
- data/spec/api/remotes_python_api_spec.rb +35 -2
- data/spec/api/repositories_python_api_spec.rb +36 -1
- data/spec/api/repositories_python_versions_api_spec.rb +3 -1
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/patchedpython_python_distribution_spec.rb +6 -0
- data/spec/models/python_python_distribution_response_spec.rb +6 -0
- data/spec/models/python_python_distribution_spec.rb +6 -0
- data/spec/models/python_python_package_content_spec.rb +4 -4
- data/spec/models/set_label_response_spec.rb +47 -0
- data/spec/models/set_label_spec.rb +47 -0
- data/spec/models/unset_label_response_spec.rb +47 -0
- data/spec/models/unset_label_spec.rb +41 -0
- metadata +50 -34
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ac15138007e3c1e6a71126eefe3dcc59aba28172aa189ead2d046eb202fbdf3e
|
4
|
+
data.tar.gz: f246263cae4a945069c87fd0f0ff101d8971fb0d8f0b7400b593c52b36e03084
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 485432cb562c800b1a2c47df7f1507f321d8b9dd4e2e74f2f0a519d0d7e6404da2ea9a969b036e6226e3bb3a5b782cd77a017653839dee34b4a8812cb3a43d10
|
7
|
+
data.tar.gz: 716318072790d742e2752b3e3515a2c11c2d5b702e7f6680c9850050b55e1e84be9e1464c98a2e2084400ab381ca70d6a3b26ea77faf9da3448c41bcc0f4f35e
|
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.
|
10
|
+
- Package version: 3.11.0
|
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.
|
27
|
+
gem install ./pulp_python_client-3.11.0.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_python_client-3.
|
30
|
+
(for development, run `gem install --dev ./pulp_python_client-3.11.0.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.
|
36
|
+
gem 'pulp_python_client', '~> 3.11.0'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -67,10 +67,10 @@ 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
|
-
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
71
|
-
file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the artifact of the content unit.
|
72
70
|
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
73
|
-
|
71
|
+
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
72
|
+
file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the content unit.
|
73
|
+
upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
|
74
74
|
sha256: '', # String | The SHA256 digest of this package.
|
75
75
|
summary: 'summary_example', # String | A one-line summary of what the package does.
|
76
76
|
description: 'description_example', # String | A longer description of the package that can run to several paragraphs.
|
@@ -107,7 +107,7 @@ end
|
|
107
107
|
|
108
108
|
## Documentation for API Endpoints
|
109
109
|
|
110
|
-
All URIs are relative to *
|
110
|
+
All URIs are relative to *http://pulp*
|
111
111
|
|
112
112
|
Class | Method | HTTP request | Description
|
113
113
|
------------ | ------------- | ------------- | -------------
|
@@ -119,6 +119,8 @@ Class | Method | HTTP request | Description
|
|
119
119
|
*PulpPythonClient::DistributionsPypiApi* | [**list**](docs/DistributionsPypiApi.md#list) | **GET** /pulp/api/v3/distributions/python/pypi/ | List python distributions
|
120
120
|
*PulpPythonClient::DistributionsPypiApi* | [**partial_update**](docs/DistributionsPypiApi.md#partial_update) | **PATCH** {python_python_distribution_href} | Update a python distribution
|
121
121
|
*PulpPythonClient::DistributionsPypiApi* | [**read**](docs/DistributionsPypiApi.md#read) | **GET** {python_python_distribution_href} | Inspect a python distribution
|
122
|
+
*PulpPythonClient::DistributionsPypiApi* | [**set_label**](docs/DistributionsPypiApi.md#set_label) | **POST** {python_python_distribution_href}set_label/ | Set a label
|
123
|
+
*PulpPythonClient::DistributionsPypiApi* | [**unset_label**](docs/DistributionsPypiApi.md#unset_label) | **POST** {python_python_distribution_href}unset_label/ | Unset a label
|
122
124
|
*PulpPythonClient::DistributionsPypiApi* | [**update**](docs/DistributionsPypiApi.md#update) | **PUT** {python_python_distribution_href} | Update a python distribution
|
123
125
|
*PulpPythonClient::PublicationsPypiApi* | [**create**](docs/PublicationsPypiApi.md#create) | **POST** /pulp/api/v3/publications/python/pypi/ | Create a python publication
|
124
126
|
*PulpPythonClient::PublicationsPypiApi* | [**delete**](docs/PublicationsPypiApi.md#delete) | **DELETE** {python_python_publication_href} | Delete a python publication
|
@@ -136,6 +138,8 @@ Class | Method | HTTP request | Description
|
|
136
138
|
*PulpPythonClient::RemotesPythonApi* | [**list**](docs/RemotesPythonApi.md#list) | **GET** /pulp/api/v3/remotes/python/python/ | List python remotes
|
137
139
|
*PulpPythonClient::RemotesPythonApi* | [**partial_update**](docs/RemotesPythonApi.md#partial_update) | **PATCH** {python_python_remote_href} | Update a python remote
|
138
140
|
*PulpPythonClient::RemotesPythonApi* | [**read**](docs/RemotesPythonApi.md#read) | **GET** {python_python_remote_href} | Inspect a python remote
|
141
|
+
*PulpPythonClient::RemotesPythonApi* | [**set_label**](docs/RemotesPythonApi.md#set_label) | **POST** {python_python_remote_href}set_label/ | Set a label
|
142
|
+
*PulpPythonClient::RemotesPythonApi* | [**unset_label**](docs/RemotesPythonApi.md#unset_label) | **POST** {python_python_remote_href}unset_label/ | Unset a label
|
139
143
|
*PulpPythonClient::RemotesPythonApi* | [**update**](docs/RemotesPythonApi.md#update) | **PUT** {python_python_remote_href} | Update a python remote
|
140
144
|
*PulpPythonClient::RepositoriesPythonApi* | [**create**](docs/RepositoriesPythonApi.md#create) | **POST** /pulp/api/v3/repositories/python/python/ | Create a python repository
|
141
145
|
*PulpPythonClient::RepositoriesPythonApi* | [**delete**](docs/RepositoriesPythonApi.md#delete) | **DELETE** {python_python_repository_href} | Delete a python repository
|
@@ -143,7 +147,9 @@ Class | Method | HTTP request | Description
|
|
143
147
|
*PulpPythonClient::RepositoriesPythonApi* | [**modify**](docs/RepositoriesPythonApi.md#modify) | **POST** {python_python_repository_href}modify/ | Modify Repository Content
|
144
148
|
*PulpPythonClient::RepositoriesPythonApi* | [**partial_update**](docs/RepositoriesPythonApi.md#partial_update) | **PATCH** {python_python_repository_href} | Update a python repository
|
145
149
|
*PulpPythonClient::RepositoriesPythonApi* | [**read**](docs/RepositoriesPythonApi.md#read) | **GET** {python_python_repository_href} | Inspect a python repository
|
150
|
+
*PulpPythonClient::RepositoriesPythonApi* | [**set_label**](docs/RepositoriesPythonApi.md#set_label) | **POST** {python_python_repository_href}set_label/ | Set a label
|
146
151
|
*PulpPythonClient::RepositoriesPythonApi* | [**sync**](docs/RepositoriesPythonApi.md#sync) | **POST** {python_python_repository_href}sync/ | Sync from remote
|
152
|
+
*PulpPythonClient::RepositoriesPythonApi* | [**unset_label**](docs/RepositoriesPythonApi.md#unset_label) | **POST** {python_python_repository_href}unset_label/ | Unset a label
|
147
153
|
*PulpPythonClient::RepositoriesPythonApi* | [**update**](docs/RepositoriesPythonApi.md#update) | **PUT** {python_python_repository_href} | Update a python repository
|
148
154
|
*PulpPythonClient::RepositoriesPythonVersionsApi* | [**delete**](docs/RepositoriesPythonVersionsApi.md#delete) | **DELETE** {python_python_repository_version_href} | Delete a repository version
|
149
155
|
*PulpPythonClient::RepositoriesPythonVersionsApi* | [**list**](docs/RepositoriesPythonVersionsApi.md#list) | **GET** {python_python_repository_href}versions/ | List repository versions
|
@@ -186,7 +192,11 @@ Class | Method | HTTP request | Description
|
|
186
192
|
- [PulpPythonClient::RepositoryAddRemoveContent](docs/RepositoryAddRemoveContent.md)
|
187
193
|
- [PulpPythonClient::RepositorySyncURL](docs/RepositorySyncURL.md)
|
188
194
|
- [PulpPythonClient::RepositoryVersionResponse](docs/RepositoryVersionResponse.md)
|
195
|
+
- [PulpPythonClient::SetLabel](docs/SetLabel.md)
|
196
|
+
- [PulpPythonClient::SetLabelResponse](docs/SetLabelResponse.md)
|
189
197
|
- [PulpPythonClient::SummaryResponse](docs/SummaryResponse.md)
|
198
|
+
- [PulpPythonClient::UnsetLabel](docs/UnsetLabel.md)
|
199
|
+
- [PulpPythonClient::UnsetLabelResponse](docs/UnsetLabelResponse.md)
|
190
200
|
|
191
201
|
|
192
202
|
## Documentation for Authorization
|
data/docs/ContentPackagesApi.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpPythonClient::ContentPackagesApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *http://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
@@ -33,10 +33,10 @@ 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
|
-
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
37
|
-
file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the artifact of the content unit.
|
38
36
|
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
39
|
-
|
37
|
+
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
38
|
+
file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the content unit.
|
39
|
+
upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
|
40
40
|
sha256: '', # String | The SHA256 digest of this package.
|
41
41
|
summary: 'summary_example', # String | A one-line summary of what the package does.
|
42
42
|
description: 'description_example', # String | A longer description of the package that can run to several paragraphs.
|
@@ -76,10 +76,10 @@ end
|
|
76
76
|
Name | Type | Description | Notes
|
77
77
|
------------- | ------------- | ------------- | -------------
|
78
78
|
**relative_path** | **String**| Path where the artifact is located relative to distributions base_path |
|
79
|
-
**artifact** | **String**| Artifact file representing the physical content | [optional]
|
80
|
-
**file** | **File**| An uploaded file that may be turned into the artifact of the content unit. | [optional]
|
81
79
|
**repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
|
82
|
-
**
|
80
|
+
**artifact** | **String**| Artifact file representing the physical content | [optional]
|
81
|
+
**file** | **File**| An uploaded file that may be turned into the content unit. | [optional]
|
82
|
+
**upload** | **String**| An uncommitted upload that may be turned into the content unit. | [optional]
|
83
83
|
**sha256** | **String**| The SHA256 digest of this package. | [optional] [default to '']
|
84
84
|
**summary** | **String**| A one-line summary of what the package does. | [optional]
|
85
85
|
**description** | **String**| A longer description of the package that can run to several paragraphs. | [optional]
|
@@ -150,9 +150,12 @@ opts = {
|
|
150
150
|
name: 'name_example', # String | Filter results where name matches value
|
151
151
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
152
152
|
offset: 56, # Integer | The initial index from which to return the results.
|
153
|
-
ordering: ['ordering_example'], # Array<String> | Ordering
|
154
|
-
packagetype: 'packagetype_example', # String | Filter results where packagetype matches value
|
153
|
+
ordering: ['ordering_example'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `filename` - Filename * `-filename` - Filename (descending) * `packagetype` - Packagetype * `-packagetype` - Packagetype (descending) * `name` - Name * `-name` - Name (descending) * `version` - Version * `-version` - Version (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `python_version` - Python version * `-python_version` - Python version (descending) * `metadata_version` - Metadata version * `-metadata_version` - Metadata version (descending) * `summary` - Summary * `-summary` - Summary (descending) * `description` - Description * `-description` - Description (descending) * `keywords` - Keywords * `-keywords` - Keywords (descending) * `home_page` - Home page * `-home_page` - Home page (descending) * `download_url` - Download url * `-download_url` - Download url (descending) * `author` - Author * `-author` - Author (descending) * `author_email` - Author email * `-author_email` - Author email (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `maintainer_email` - Maintainer email * `-maintainer_email` - Maintainer email (descending) * `license` - License * `-license` - License (descending) * `requires_python` - Requires python * `-requires_python` - Requires python (descending) * `project_url` - Project url * `-project_url` - Project url (descending) * `platform` - Platform * `-platform` - Platform (descending) * `supported_platform` - Supported platform * `-supported_platform` - Supported platform (descending) * `requires_dist` - Requires dist * `-requires_dist` - Requires dist (descending) * `provides_dist` - Provides dist * `-provides_dist` - Provides dist (descending) * `obsoletes_dist` - Obsoletes dist * `-obsoletes_dist` - Obsoletes dist (descending) * `requires_external` - Requires external * `-requires_external` - Requires external (descending) * `classifiers` - Classifiers * `-classifiers` - Classifiers (descending) * `project_urls` - Project urls * `-project_urls` - Project urls (descending) * `description_content_type` - Description content type * `-description_content_type` - Description content type (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
154
|
+
packagetype: 'packagetype_example', # String | Filter results where packagetype matches value * `bdist_dmg` - bdist_dmg * `bdist_dumb` - bdist_dumb * `bdist_egg` - bdist_egg * `bdist_msi` - bdist_msi * `bdist_rpm` - bdist_rpm * `bdist_wheel` - bdist_wheel * `bdist_wininst` - bdist_wininst * `sdist` - sdist
|
155
155
|
packagetype__in: ['packagetype__in_example'], # Array<String> | Filter results where packagetype is in a comma-separated list of values
|
156
|
+
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
157
|
+
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
158
|
+
q: 'q_example', # String |
|
156
159
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
157
160
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
158
161
|
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
|
@@ -195,9 +198,12 @@ Name | Type | Description | Notes
|
|
195
198
|
**name** | **String**| Filter results where name matches value | [optional]
|
196
199
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
197
200
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
198
|
-
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
199
|
-
**packagetype** | **String**| Filter results where packagetype matches value | [optional]
|
201
|
+
**ordering** | [**Array<String>**](String.md)| Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `filename` - Filename * `-filename` - Filename (descending) * `packagetype` - Packagetype * `-packagetype` - Packagetype (descending) * `name` - Name * `-name` - Name (descending) * `version` - Version * `-version` - Version (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `python_version` - Python version * `-python_version` - Python version (descending) * `metadata_version` - Metadata version * `-metadata_version` - Metadata version (descending) * `summary` - Summary * `-summary` - Summary (descending) * `description` - Description * `-description` - Description (descending) * `keywords` - Keywords * `-keywords` - Keywords (descending) * `home_page` - Home page * `-home_page` - Home page (descending) * `download_url` - Download url * `-download_url` - Download url (descending) * `author` - Author * `-author` - Author (descending) * `author_email` - Author email * `-author_email` - Author email (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `maintainer_email` - Maintainer email * `-maintainer_email` - Maintainer email (descending) * `license` - License * `-license` - License (descending) * `requires_python` - Requires python * `-requires_python` - Requires python (descending) * `project_url` - Project url * `-project_url` - Project url (descending) * `platform` - Platform * `-platform` - Platform (descending) * `supported_platform` - Supported platform * `-supported_platform` - Supported platform (descending) * `requires_dist` - Requires dist * `-requires_dist` - Requires dist (descending) * `provides_dist` - Provides dist * `-provides_dist` - Provides dist (descending) * `obsoletes_dist` - Obsoletes dist * `-obsoletes_dist` - Obsoletes dist (descending) * `requires_external` - Requires external * `-requires_external` - Requires external (descending) * `classifiers` - Classifiers * `-classifiers` - Classifiers (descending) * `project_urls` - Project urls * `-project_urls` - Project urls (descending) * `description_content_type` - Description content type * `-description_content_type` - Description content type (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
202
|
+
**packagetype** | **String**| Filter results where packagetype matches value * `bdist_dmg` - bdist_dmg * `bdist_dumb` - bdist_dumb * `bdist_egg` - bdist_egg * `bdist_msi` - bdist_msi * `bdist_rpm` - bdist_rpm * `bdist_wheel` - bdist_wheel * `bdist_wininst` - bdist_wininst * `sdist` - sdist | [optional]
|
200
203
|
**packagetype__in** | [**Array<String>**](String.md)| Filter results where packagetype is in a comma-separated list of values | [optional]
|
204
|
+
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
205
|
+
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
206
|
+
**q** | **String**| | [optional]
|
201
207
|
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
202
208
|
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
203
209
|
**repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpPythonClient::DistributionsPypiApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *http://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
@@ -9,6 +9,8 @@ Method | HTTP request | Description
|
|
9
9
|
[**list**](DistributionsPypiApi.md#list) | **GET** /pulp/api/v3/distributions/python/pypi/ | List python distributions
|
10
10
|
[**partial_update**](DistributionsPypiApi.md#partial_update) | **PATCH** {python_python_distribution_href} | Update a python distribution
|
11
11
|
[**read**](DistributionsPypiApi.md#read) | **GET** {python_python_distribution_href} | Inspect a python distribution
|
12
|
+
[**set_label**](DistributionsPypiApi.md#set_label) | **POST** {python_python_distribution_href}set_label/ | Set a label
|
13
|
+
[**unset_label**](DistributionsPypiApi.md#unset_label) | **POST** {python_python_distribution_href}unset_label/ | Unset a label
|
12
14
|
[**update**](DistributionsPypiApi.md#update) | **PUT** {python_python_distribution_href} | Update a python distribution
|
13
15
|
|
14
16
|
|
@@ -149,11 +151,18 @@ opts = {
|
|
149
151
|
name: 'name_example', # String | Filter results where name matches value
|
150
152
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
151
153
|
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
154
|
+
name__iexact: 'name__iexact_example', # String | Filter results where name matches value
|
152
155
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
156
|
+
name__iregex: 'name__iregex_example', # String | Filter results where name matches regex value
|
157
|
+
name__istartswith: 'name__istartswith_example', # String | Filter results where name starts with value
|
158
|
+
name__regex: 'name__regex_example', # String | Filter results where name matches regex value
|
153
159
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
154
160
|
offset: 56, # Integer | The initial index from which to return the results.
|
155
|
-
ordering: ['ordering_example'], # Array<String> | Ordering
|
161
|
+
ordering: ['ordering_example'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
162
|
+
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
163
|
+
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
156
164
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
165
|
+
q: 'q_example', # String |
|
157
166
|
repository: 'repository_example', # String | Filter results where repository matches value
|
158
167
|
repository__in: ['repository__in_example'], # Array<String> | Filter results where repository is in a comma-separated list of values
|
159
168
|
with_content: 'with_content_example', # String | Filter distributions based on the content served by them
|
@@ -183,12 +192,19 @@ Name | Type | Description | Notes
|
|
183
192
|
**name** | **String**| Filter results where name matches value | [optional]
|
184
193
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
185
194
|
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
195
|
+
**name__iexact** | **String**| Filter results where name matches value | [optional]
|
186
196
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
197
|
+
**name__iregex** | **String**| Filter results where name matches regex value | [optional]
|
198
|
+
**name__istartswith** | **String**| Filter results where name starts with value | [optional]
|
199
|
+
**name__regex** | **String**| Filter results where name matches regex value | [optional]
|
187
200
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
188
201
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
189
|
-
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
202
|
+
**ordering** | [**Array<String>**](String.md)| Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
203
|
+
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
204
|
+
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
190
205
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
191
|
-
**
|
206
|
+
**q** | **String**| | [optional]
|
207
|
+
**repository** | [**String**](.md)| Filter results where repository matches value | [optional]
|
192
208
|
**repository__in** | [**Array<String>**](String.md)| Filter results where repository is in a comma-separated list of values | [optional]
|
193
209
|
**with_content** | **String**| Filter distributions based on the content served by them | [optional]
|
194
210
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
@@ -322,6 +338,116 @@ Name | Type | Description | Notes
|
|
322
338
|
- **Accept**: application/json
|
323
339
|
|
324
340
|
|
341
|
+
## set_label
|
342
|
+
|
343
|
+
> SetLabelResponse set_label(python_python_distribution_href, set_label)
|
344
|
+
|
345
|
+
Set a label
|
346
|
+
|
347
|
+
Set a single pulp_label on the object to a specific value or null.
|
348
|
+
|
349
|
+
### Example
|
350
|
+
|
351
|
+
```ruby
|
352
|
+
# load the gem
|
353
|
+
require 'pulp_python_client'
|
354
|
+
# setup authorization
|
355
|
+
PulpPythonClient.configure do |config|
|
356
|
+
# Configure HTTP basic authorization: basicAuth
|
357
|
+
config.username = 'YOUR USERNAME'
|
358
|
+
config.password = 'YOUR PASSWORD'
|
359
|
+
end
|
360
|
+
|
361
|
+
api_instance = PulpPythonClient::DistributionsPypiApi.new
|
362
|
+
python_python_distribution_href = 'python_python_distribution_href_example' # String |
|
363
|
+
set_label = PulpPythonClient::SetLabel.new # SetLabel |
|
364
|
+
|
365
|
+
begin
|
366
|
+
#Set a label
|
367
|
+
result = api_instance.set_label(python_python_distribution_href, set_label)
|
368
|
+
p result
|
369
|
+
rescue PulpPythonClient::ApiError => e
|
370
|
+
puts "Exception when calling DistributionsPypiApi->set_label: #{e}"
|
371
|
+
end
|
372
|
+
```
|
373
|
+
|
374
|
+
### Parameters
|
375
|
+
|
376
|
+
|
377
|
+
Name | Type | Description | Notes
|
378
|
+
------------- | ------------- | ------------- | -------------
|
379
|
+
**python_python_distribution_href** | **String**| |
|
380
|
+
**set_label** | [**SetLabel**](SetLabel.md)| |
|
381
|
+
|
382
|
+
### Return type
|
383
|
+
|
384
|
+
[**SetLabelResponse**](SetLabelResponse.md)
|
385
|
+
|
386
|
+
### Authorization
|
387
|
+
|
388
|
+
[basicAuth](../README.md#basicAuth)
|
389
|
+
|
390
|
+
### HTTP request headers
|
391
|
+
|
392
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
393
|
+
- **Accept**: application/json
|
394
|
+
|
395
|
+
|
396
|
+
## unset_label
|
397
|
+
|
398
|
+
> UnsetLabelResponse unset_label(python_python_distribution_href, unset_label)
|
399
|
+
|
400
|
+
Unset a label
|
401
|
+
|
402
|
+
Unset a single pulp_label on the object.
|
403
|
+
|
404
|
+
### Example
|
405
|
+
|
406
|
+
```ruby
|
407
|
+
# load the gem
|
408
|
+
require 'pulp_python_client'
|
409
|
+
# setup authorization
|
410
|
+
PulpPythonClient.configure do |config|
|
411
|
+
# Configure HTTP basic authorization: basicAuth
|
412
|
+
config.username = 'YOUR USERNAME'
|
413
|
+
config.password = 'YOUR PASSWORD'
|
414
|
+
end
|
415
|
+
|
416
|
+
api_instance = PulpPythonClient::DistributionsPypiApi.new
|
417
|
+
python_python_distribution_href = 'python_python_distribution_href_example' # String |
|
418
|
+
unset_label = PulpPythonClient::UnsetLabel.new # UnsetLabel |
|
419
|
+
|
420
|
+
begin
|
421
|
+
#Unset a label
|
422
|
+
result = api_instance.unset_label(python_python_distribution_href, unset_label)
|
423
|
+
p result
|
424
|
+
rescue PulpPythonClient::ApiError => e
|
425
|
+
puts "Exception when calling DistributionsPypiApi->unset_label: #{e}"
|
426
|
+
end
|
427
|
+
```
|
428
|
+
|
429
|
+
### Parameters
|
430
|
+
|
431
|
+
|
432
|
+
Name | Type | Description | Notes
|
433
|
+
------------- | ------------- | ------------- | -------------
|
434
|
+
**python_python_distribution_href** | **String**| |
|
435
|
+
**unset_label** | [**UnsetLabel**](UnsetLabel.md)| |
|
436
|
+
|
437
|
+
### Return type
|
438
|
+
|
439
|
+
[**UnsetLabelResponse**](UnsetLabelResponse.md)
|
440
|
+
|
441
|
+
### Authorization
|
442
|
+
|
443
|
+
[basicAuth](../README.md#basicAuth)
|
444
|
+
|
445
|
+
### HTTP request headers
|
446
|
+
|
447
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
448
|
+
- **Accept**: application/json
|
449
|
+
|
450
|
+
|
325
451
|
## update
|
326
452
|
|
327
453
|
> AsyncOperationResponse update(python_python_distribution_href, python_python_distribution)
|
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**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\") | [optional]
|
8
8
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
9
|
+
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
9
10
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
10
11
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
11
12
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
@@ -20,6 +21,7 @@ require 'PulpPythonClient'
|
|
20
21
|
|
21
22
|
instance = PulpPythonClient::PatchedpythonPythonDistribution.new(base_path: null,
|
22
23
|
content_guard: null,
|
24
|
+
hidden: null,
|
23
25
|
pulp_labels: null,
|
24
26
|
name: null,
|
25
27
|
repository: null,
|
@@ -18,7 +18,7 @@ Name | Type | Description | Notes
|
|
18
18
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
19
19
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
20
20
|
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
21
|
-
**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. | [optional]
|
21
|
+
**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]
|
22
22
|
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
23
23
|
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
24
24
|
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
data/docs/PublicationsPypiApi.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpPythonClient::PublicationsPypiApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *http://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
@@ -142,13 +142,16 @@ opts = {
|
|
142
142
|
content__in: 'content__in_example', # String | Content Unit referenced by HREF
|
143
143
|
limit: 56, # Integer | Number of results to return per page.
|
144
144
|
offset: 56, # Integer | The initial index from which to return the results.
|
145
|
-
ordering: ['ordering_example'], # Array<String> | Ordering
|
145
|
+
ordering: ['ordering_example'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `complete` - Complete * `-complete` - Complete (descending) * `pass_through` - Pass through * `-pass_through` - Pass through (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
146
146
|
pulp_created: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created matches value
|
147
147
|
pulp_created__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than value
|
148
148
|
pulp_created__gte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than or equal to value
|
149
149
|
pulp_created__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is less than value
|
150
150
|
pulp_created__lte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is less than or equal to value
|
151
151
|
pulp_created__range: [DateTime.parse('2013-10-20T19:20:30+01:00')], # Array<DateTime> | Filter results where pulp_created is between two comma separated values
|
152
|
+
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
153
|
+
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
154
|
+
q: 'q_example', # String |
|
152
155
|
repository: 'repository_example', # String | Repository referenced by HREF
|
153
156
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
154
157
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
@@ -173,13 +176,16 @@ Name | Type | Description | Notes
|
|
173
176
|
**content__in** | **String**| Content Unit referenced by HREF | [optional]
|
174
177
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
175
178
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
176
|
-
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
179
|
+
**ordering** | [**Array<String>**](String.md)| Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `complete` - Complete * `-complete` - Complete (descending) * `pass_through` - Pass through * `-pass_through` - Pass through (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
177
180
|
**pulp_created** | **DateTime**| Filter results where pulp_created matches value | [optional]
|
178
181
|
**pulp_created__gt** | **DateTime**| Filter results where pulp_created is greater than value | [optional]
|
179
182
|
**pulp_created__gte** | **DateTime**| Filter results where pulp_created is greater than or equal to value | [optional]
|
180
183
|
**pulp_created__lt** | **DateTime**| Filter results where pulp_created is less than value | [optional]
|
181
184
|
**pulp_created__lte** | **DateTime**| Filter results where pulp_created is less than or equal to value | [optional]
|
182
185
|
**pulp_created__range** | [**Array<DateTime>**](DateTime.md)| Filter results where pulp_created is between two comma separated values | [optional]
|
186
|
+
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
187
|
+
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
188
|
+
**q** | **String**| | [optional]
|
183
189
|
**repository** | **String**| Repository referenced by HREF | [optional]
|
184
190
|
**repository_version** | [**String**](.md)| Repository Version referenced by HREF | [optional]
|
185
191
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
data/docs/PypiApi.md
CHANGED
data/docs/PypiLegacyApi.md
CHANGED
data/docs/PypiMetadataApi.md
CHANGED
data/docs/PypiSimpleApi.md
CHANGED
data/docs/PythonBanderRemote.md
CHANGED
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**config** | **File** | A Bandersnatch config that may be used to construct a Python Remote. |
|
8
8
|
**name** | **String** | A unique name for this remote |
|
9
|
-
**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. | [optional]
|
9
|
+
**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]
|
10
10
|
|
11
11
|
## Code Sample
|
12
12
|
|
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**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\") |
|
8
8
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
9
|
+
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
9
10
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
10
11
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
11
12
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
@@ -20,6 +21,7 @@ require 'PulpPythonClient'
|
|
20
21
|
|
21
22
|
instance = PulpPythonClient::PythonPythonDistribution.new(base_path: null,
|
22
23
|
content_guard: null,
|
24
|
+
hidden: null,
|
23
25
|
pulp_labels: null,
|
24
26
|
name: null,
|
25
27
|
repository: null,
|
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|
9
9
|
**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
10
|
**base_url** | **String** | | [optional] [readonly]
|
11
11
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
12
|
+
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
12
13
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
13
14
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
14
15
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
@@ -26,6 +27,7 @@ instance = PulpPythonClient::PythonPythonDistributionResponse.new(pulp_href: nul
|
|
26
27
|
base_path: null,
|
27
28
|
base_url: null,
|
28
29
|
content_guard: null,
|
30
|
+
hidden: null,
|
29
31
|
pulp_labels: null,
|
30
32
|
name: null,
|
31
33
|
repository: null,
|
@@ -4,11 +4,11 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
|
7
8
|
**artifact** | **String** | Artifact file representing the physical content | [optional]
|
8
9
|
**relative_path** | **String** | Path where the artifact is located relative to distributions base_path |
|
9
|
-
**file** | **File** | An uploaded file that may be turned into the
|
10
|
-
**
|
11
|
-
**upload** | **String** | An uncommitted upload that may be turned into the artifact of the content unit. | [optional]
|
10
|
+
**file** | **File** | An uploaded file that may be turned into the content unit. | [optional]
|
11
|
+
**upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional]
|
12
12
|
**sha256** | **String** | The SHA256 digest of this package. | [optional] [default to '']
|
13
13
|
**summary** | **String** | A one-line summary of what the package does. | [optional]
|
14
14
|
**description** | **String** | A longer description of the package that can run to several paragraphs. | [optional]
|
@@ -37,10 +37,10 @@ Name | Type | Description | Notes
|
|
37
37
|
```ruby
|
38
38
|
require 'PulpPythonClient'
|
39
39
|
|
40
|
-
instance = PulpPythonClient::PythonPythonPackageContent.new(
|
40
|
+
instance = PulpPythonClient::PythonPythonPackageContent.new(repository: null,
|
41
|
+
artifact: null,
|
41
42
|
relative_path: null,
|
42
43
|
file: null,
|
43
|
-
repository: null,
|
44
44
|
upload: null,
|
45
45
|
sha256: null,
|
46
46
|
summary: null,
|
data/docs/PythonPythonRemote.md
CHANGED
@@ -18,7 +18,7 @@ Name | Type | Description | Notes
|
|
18
18
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
19
19
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
20
20
|
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
21
|
-
**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. | [optional]
|
21
|
+
**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]
|
22
22
|
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
23
23
|
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
24
24
|
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
@@ -16,7 +16,7 @@ Name | Type | Description | Notes
|
|
16
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
|
-
**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. | [optional]
|
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]
|
20
20
|
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
21
21
|
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
22
22
|
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|