pulp_python_client 3.0.0 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +6 -4
- data/docs/ContentPackagesApi.md +34 -28
- data/docs/ContentSummary.md +3 -3
- data/docs/ContentSummaryResponse.md +3 -3
- data/docs/DistributionsPypiApi.md +20 -12
- data/docs/ExcludePlatformsEnum.md +16 -0
- data/docs/PackageTypesEnum.md +16 -0
- data/docs/PatchedpythonPythonDistribution.md +2 -0
- data/docs/PatchedpythonPythonRemote.md +18 -2
- data/docs/PatchedpythonPythonRepository.md +3 -1
- data/docs/PublicationsPypiApi.md +14 -14
- data/docs/PythonPythonDistribution.md +2 -0
- data/docs/PythonPythonDistributionResponse.md +2 -0
- data/docs/PythonPythonRemote.md +18 -2
- data/docs/PythonPythonRemoteResponse.md +14 -8
- data/docs/PythonPythonRepository.md +3 -1
- data/docs/PythonPythonRepositoryResponse.md +2 -0
- data/docs/RemotesPythonApi.md +24 -16
- data/docs/RepositoriesPythonApi.md +12 -4
- data/docs/RepositoriesPythonVersionsApi.md +28 -28
- data/lib/pulp_python_client/api/content_packages_api.rb +42 -33
- data/lib/pulp_python_client/api/distributions_pypi_api.rb +26 -14
- data/lib/pulp_python_client/api/publications_pypi_api.rb +15 -15
- data/lib/pulp_python_client/api/remotes_python_api.rb +30 -18
- data/lib/pulp_python_client/api/repositories_python_api.rb +17 -5
- data/lib/pulp_python_client/api/repositories_python_versions_api.rb +30 -30
- data/lib/pulp_python_client/models/content_summary.rb +12 -6
- data/lib/pulp_python_client/models/content_summary_response.rb +12 -6
- data/lib/pulp_python_client/models/exclude_platforms_enum.rb +38 -0
- data/lib/pulp_python_client/models/package_types_enum.rb +42 -0
- data/lib/pulp_python_client/models/patchedpython_python_distribution.rb +10 -1
- data/lib/pulp_python_client/models/patchedpython_python_remote.rb +95 -5
- data/lib/pulp_python_client/models/patchedpython_python_repository.rb +10 -1
- data/lib/pulp_python_client/models/python_python_distribution.rb +10 -1
- data/lib/pulp_python_client/models/python_python_distribution_response.rb +10 -1
- data/lib/pulp_python_client/models/python_python_remote.rb +95 -5
- data/lib/pulp_python_client/models/python_python_remote_response.rb +70 -35
- data/lib/pulp_python_client/models/python_python_repository.rb +10 -1
- data/lib/pulp_python_client/models/python_python_repository_response.rb +10 -1
- data/lib/pulp_python_client/version.rb +1 -1
- data/lib/pulp_python_client.rb +2 -0
- data/spec/api/content_packages_api_spec.rb +17 -14
- data/spec/api/distributions_pypi_api_spec.rb +10 -6
- data/spec/api/publications_pypi_api_spec.rb +7 -7
- data/spec/api/remotes_python_api_spec.rb +12 -8
- data/spec/api/repositories_python_api_spec.rb +6 -2
- data/spec/api/repositories_python_versions_api_spec.rb +14 -14
- data/spec/models/exclude_platforms_enum_spec.rb +35 -0
- data/spec/models/package_types_enum_spec.rb +35 -0
- data/spec/models/patchedpython_python_distribution_spec.rb +6 -0
- data/spec/models/patchedpython_python_remote_spec.rb +48 -0
- data/spec/models/patchedpython_python_repository_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_remote_response_spec.rb +30 -12
- data/spec/models/python_python_remote_spec.rb +48 -0
- data/spec/models/python_python_repository_response_spec.rb +6 -0
- data/spec/models/python_python_repository_spec.rb +6 -0
- metadata +30 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 11862163133f63431602dc7443ba0a9fb7a5a8fe8b1e522a2a51767dbe0f0c09
|
4
|
+
data.tar.gz: e037617a3dda0997b999676dc3ef6cef4c928ce81aadb7a74e9bfbc84fdabd83
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ede5e5a32590243b34fafa89a2b46d489d37a8a61cf2b357506916bb7254fb7c01ae4f80c5fac644e0022aa3564f982cb318d93d1f8cd32e4097e1697cda5f86
|
7
|
+
data.tar.gz: 96ce183b38fcd15d8558cc326457c1bc2f820b38dc24bda57a8771f92c404dc804d65e4e20ec988d1369b16a3a066f96eade6062e803a5351afc8c6f722e374d
|
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.2.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.2.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.2.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.2.0'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -146,6 +146,8 @@ Class | Method | HTTP request | Description
|
|
146
146
|
- [PulpPythonClient::AsyncOperationResponse](docs/AsyncOperationResponse.md)
|
147
147
|
- [PulpPythonClient::ContentSummary](docs/ContentSummary.md)
|
148
148
|
- [PulpPythonClient::ContentSummaryResponse](docs/ContentSummaryResponse.md)
|
149
|
+
- [PulpPythonClient::ExcludePlatformsEnum](docs/ExcludePlatformsEnum.md)
|
150
|
+
- [PulpPythonClient::PackageTypesEnum](docs/PackageTypesEnum.md)
|
149
151
|
- [PulpPythonClient::PaginatedRepositoryVersionResponseList](docs/PaginatedRepositoryVersionResponseList.md)
|
150
152
|
- [PulpPythonClient::PaginatedpythonPythonDistributionResponseList](docs/PaginatedpythonPythonDistributionResponseList.md)
|
151
153
|
- [PulpPythonClient::PaginatedpythonPythonPackageContentResponseList](docs/PaginatedpythonPythonPackageContentResponseList.md)
|
data/docs/ContentPackagesApi.md
CHANGED
@@ -131,23 +131,26 @@ end
|
|
131
131
|
|
132
132
|
api_instance = PulpPythonClient::ContentPackagesApi.new
|
133
133
|
opts = {
|
134
|
-
author: 'author_example', # String | author
|
135
|
-
author__in: 'author__in_example', # String |
|
136
|
-
filename: 'filename_example', # String | filename
|
137
|
-
filename__contains: 'filename__contains_example', # String |
|
138
|
-
filename__in: 'filename__in_example', # String |
|
139
|
-
keywords__contains: 'keywords__contains_example', # String |
|
140
|
-
keywords__in: 'keywords__in_example', # String |
|
134
|
+
author: 'author_example', # String | Filter results where author matches value
|
135
|
+
author__in: ['author__in_example'], # Array<String> | Filter results where author is in a comma-separated list of values
|
136
|
+
filename: 'filename_example', # String | Filter results where filename matches value
|
137
|
+
filename__contains: 'filename__contains_example', # String | Filter results where filename contains value
|
138
|
+
filename__in: ['filename__in_example'], # Array<String> | Filter results where filename is in a comma-separated list of values
|
139
|
+
keywords__contains: 'keywords__contains_example', # String | Filter results where keywords contains value
|
140
|
+
keywords__in: ['keywords__in_example'], # Array<String> | Filter results where keywords is in a comma-separated list of values
|
141
141
|
limit: 56, # Integer | Number of results to return per page.
|
142
|
-
name: 'name_example', # String | name
|
143
|
-
name__in: 'name__in_example', # String |
|
142
|
+
name: 'name_example', # String | Filter results where name matches value
|
143
|
+
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
144
144
|
offset: 56, # Integer | The initial index from which to return the results.
|
145
145
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
146
|
-
packagetype: 'packagetype_example', # String | packagetype
|
147
|
-
packagetype__in: 'packagetype__in_example', # String |
|
148
|
-
repository_version: 'repository_version_example', # String |
|
149
|
-
repository_version_added: 'repository_version_added_example', # String |
|
150
|
-
repository_version_removed: 'repository_version_removed_example', # String |
|
146
|
+
packagetype: 'packagetype_example', # String | Filter results where packagetype matches value
|
147
|
+
packagetype__in: ['packagetype__in_example'], # Array<String> | Filter results where packagetype is in a comma-separated list of values
|
148
|
+
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
149
|
+
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
150
|
+
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
|
151
|
+
requires_python: 'requires_python_example', # String | Filter results where requires_python matches value
|
152
|
+
requires_python__contains: 'requires_python__contains_example', # String | Filter results where requires_python contains value
|
153
|
+
requires_python__in: ['requires_python__in_example'], # Array<String> | Filter results where requires_python is in a comma-separated list of values
|
151
154
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
152
155
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
153
156
|
}
|
@@ -166,23 +169,26 @@ end
|
|
166
169
|
|
167
170
|
Name | Type | Description | Notes
|
168
171
|
------------- | ------------- | ------------- | -------------
|
169
|
-
**author** | **String**| author | [optional]
|
170
|
-
**author__in** | **String
|
171
|
-
**filename** | **String**| filename | [optional]
|
172
|
-
**filename__contains** | **String**|
|
173
|
-
**filename__in** | **String
|
174
|
-
**keywords__contains** | **String**|
|
175
|
-
**keywords__in** | **String
|
172
|
+
**author** | **String**| Filter results where author matches value | [optional]
|
173
|
+
**author__in** | [**Array<String>**](String.md)| Filter results where author is in a comma-separated list of values | [optional]
|
174
|
+
**filename** | **String**| Filter results where filename matches value | [optional]
|
175
|
+
**filename__contains** | **String**| Filter results where filename contains value | [optional]
|
176
|
+
**filename__in** | [**Array<String>**](String.md)| Filter results where filename is in a comma-separated list of values | [optional]
|
177
|
+
**keywords__contains** | **String**| Filter results where keywords contains value | [optional]
|
178
|
+
**keywords__in** | [**Array<String>**](String.md)| Filter results where keywords is in a comma-separated list of values | [optional]
|
176
179
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
177
|
-
**name** | **String**| name | [optional]
|
178
|
-
**name__in** | **String
|
180
|
+
**name** | **String**| Filter results where name matches value | [optional]
|
181
|
+
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
179
182
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
180
183
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
181
|
-
**packagetype** | **String**| packagetype | [optional]
|
182
|
-
**packagetype__in** | **String
|
183
|
-
**repository_version** | **String**|
|
184
|
-
**repository_version_added** | **String**|
|
185
|
-
**repository_version_removed** | **String**|
|
184
|
+
**packagetype** | **String**| Filter results where packagetype matches value | [optional]
|
185
|
+
**packagetype__in** | [**Array<String>**](String.md)| Filter results where packagetype is in a comma-separated list of values | [optional]
|
186
|
+
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
187
|
+
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
188
|
+
**repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
|
189
|
+
**requires_python** | **String**| Filter results where requires_python matches value | [optional]
|
190
|
+
**requires_python__contains** | **String**| Filter results where requires_python contains value | [optional]
|
191
|
+
**requires_python__in** | [**Array<String>**](String.md)| Filter results where requires_python is in a comma-separated list of values | [optional]
|
186
192
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
187
193
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
188
194
|
|
data/docs/ContentSummary.md
CHANGED
@@ -4,9 +4,9 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**added** |
|
8
|
-
**removed** |
|
9
|
-
**present** |
|
7
|
+
**added** | **Hash<String, Object>** | |
|
8
|
+
**removed** | **Hash<String, Object>** | |
|
9
|
+
**present** | **Hash<String, Object>** | |
|
10
10
|
|
11
11
|
## Code Sample
|
12
12
|
|
@@ -4,9 +4,9 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**added** |
|
8
|
-
**removed** |
|
9
|
-
**present** |
|
7
|
+
**added** | **Hash<String, Object>** | |
|
8
|
+
**removed** | **Hash<String, Object>** | |
|
9
|
+
**present** | **Hash<String, Object>** | |
|
10
10
|
|
11
11
|
## Code Sample
|
12
12
|
|
@@ -141,15 +141,19 @@ end
|
|
141
141
|
|
142
142
|
api_instance = PulpPythonClient::DistributionsPypiApi.new
|
143
143
|
opts = {
|
144
|
-
base_path: 'base_path_example', # String |
|
145
|
-
base_path__contains: 'base_path__contains_example', # String |
|
146
|
-
base_path__icontains: 'base_path__icontains_example', # String |
|
147
|
-
base_path__in: 'base_path__in_example', # String |
|
144
|
+
base_path: 'base_path_example', # String |
|
145
|
+
base_path__contains: 'base_path__contains_example', # String | Filter results where base_path contains value
|
146
|
+
base_path__icontains: 'base_path__icontains_example', # String | Filter results where base_path contains value
|
147
|
+
base_path__in: ['base_path__in_example'], # Array<String> | Filter results where base_path is in a comma-separated list of values
|
148
148
|
limit: 56, # Integer | Number of results to return per page.
|
149
|
-
name: 'name_example', # String |
|
150
|
-
|
149
|
+
name: 'name_example', # String |
|
150
|
+
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
151
|
+
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
152
|
+
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
153
|
+
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
151
154
|
offset: 56, # Integer | The initial index from which to return the results.
|
152
155
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
156
|
+
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
153
157
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
154
158
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
155
159
|
}
|
@@ -168,15 +172,19 @@ end
|
|
168
172
|
|
169
173
|
Name | Type | Description | Notes
|
170
174
|
------------- | ------------- | ------------- | -------------
|
171
|
-
**base_path** | **String**|
|
172
|
-
**base_path__contains** | **String**|
|
173
|
-
**base_path__icontains** | **String**|
|
174
|
-
**base_path__in** | **String
|
175
|
+
**base_path** | **String**| | [optional]
|
176
|
+
**base_path__contains** | **String**| Filter results where base_path contains value | [optional]
|
177
|
+
**base_path__icontains** | **String**| Filter results where base_path contains value | [optional]
|
178
|
+
**base_path__in** | [**Array<String>**](String.md)| Filter results where base_path is in a comma-separated list of values | [optional]
|
175
179
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
176
|
-
**name** | **String**|
|
177
|
-
**
|
180
|
+
**name** | **String**| | [optional]
|
181
|
+
**name__contains** | **String**| Filter results where name contains value | [optional]
|
182
|
+
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
183
|
+
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
184
|
+
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
178
185
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
179
186
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
187
|
+
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
180
188
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
181
189
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
182
190
|
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# PulpPythonClient::ExcludePlatformsEnum
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
|
8
|
+
## Code Sample
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
require 'PulpPythonClient'
|
12
|
+
|
13
|
+
instance = PulpPythonClient::ExcludePlatformsEnum.new()
|
14
|
+
```
|
15
|
+
|
16
|
+
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# PulpPythonClient::PackageTypesEnum
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
|
8
|
+
## Code Sample
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
require 'PulpPythonClient'
|
12
|
+
|
13
|
+
instance = PulpPythonClient::PackageTypesEnum.new()
|
14
|
+
```
|
15
|
+
|
16
|
+
|
@@ -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
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
9
10
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
10
11
|
**publication** | **String** | Publication to be served | [optional]
|
11
12
|
|
@@ -16,6 +17,7 @@ require 'PulpPythonClient'
|
|
16
17
|
|
17
18
|
instance = PulpPythonClient::PatchedpythonPythonDistribution.new(base_path: null,
|
18
19
|
content_guard: null,
|
20
|
+
pulp_labels: null,
|
19
21
|
name: null,
|
20
22
|
publication: null)
|
21
23
|
```
|
@@ -10,18 +10,26 @@ Name | Type | Description | Notes
|
|
10
10
|
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
11
11
|
**client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
|
12
12
|
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
13
|
-
**proxy_url** | **String** | The proxy URL. Format: scheme://
|
13
|
+
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
14
|
+
**proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
|
15
|
+
**proxy_password** | **String** | The password to authenticte to the proxy. | [optional]
|
14
16
|
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
15
17
|
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
18
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
16
19
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
17
20
|
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'cache_only'. 'immediate' is the default. | [optional]
|
18
21
|
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
|
19
22
|
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
20
23
|
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
21
24
|
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
25
|
+
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
26
|
+
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
22
27
|
**includes** | [**Object**](.md) | A JSON list containing project specifiers for Python packages to include. | [optional]
|
23
28
|
**excludes** | [**Object**](.md) | A JSON list containing project specifiers for Python packages to exclude. | [optional]
|
24
29
|
**prereleases** | **Boolean** | Whether or not to include pre-release packages in the sync. | [optional]
|
30
|
+
**package_types** | [**Array<PackageTypesEnum>**](PackageTypesEnum.md) | The package types to sync for Python content. Leave blank to get everypackage type. | [optional]
|
31
|
+
**keep_latest_packages** | **Integer** | The amount of latest versions of a package to keep on sync, includespre-releases if synced. Default 0 keeps all versions. | [optional] [default to 0]
|
32
|
+
**exclude_platforms** | [**Array<ExcludePlatformsEnum>**](ExcludePlatformsEnum.md) | List of platforms to exclude syncing Python packages for. Possible valuesinclude: windows, macos, freebsd, and linux. | [optional]
|
25
33
|
|
26
34
|
## Code Sample
|
27
35
|
|
@@ -35,17 +43,25 @@ instance = PulpPythonClient::PatchedpythonPythonRemote.new(name: null,
|
|
35
43
|
client_key: null,
|
36
44
|
tls_validation: null,
|
37
45
|
proxy_url: null,
|
46
|
+
proxy_username: null,
|
47
|
+
proxy_password: null,
|
38
48
|
username: null,
|
39
49
|
password: null,
|
50
|
+
pulp_labels: null,
|
40
51
|
download_concurrency: null,
|
41
52
|
policy: null,
|
42
53
|
total_timeout: null,
|
43
54
|
connect_timeout: null,
|
44
55
|
sock_connect_timeout: null,
|
45
56
|
sock_read_timeout: null,
|
57
|
+
headers: null,
|
58
|
+
rate_limit: null,
|
46
59
|
includes: null,
|
47
60
|
excludes: null,
|
48
|
-
prereleases: null
|
61
|
+
prereleases: null,
|
62
|
+
package_types: null,
|
63
|
+
keep_latest_packages: null,
|
64
|
+
exclude_platforms: null)
|
49
65
|
```
|
50
66
|
|
51
67
|
|
@@ -4,6 +4,7 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
7
8
|
**name** | **String** | A unique name for this repository. | [optional]
|
8
9
|
**description** | **String** | An optional description. | [optional]
|
9
10
|
**remote** | **String** | | [optional]
|
@@ -13,7 +14,8 @@ Name | Type | Description | Notes
|
|
13
14
|
```ruby
|
14
15
|
require 'PulpPythonClient'
|
15
16
|
|
16
|
-
instance = PulpPythonClient::PatchedpythonPythonRepository.new(
|
17
|
+
instance = PulpPythonClient::PatchedpythonPythonRepository.new(pulp_labels: null,
|
18
|
+
name: null,
|
17
19
|
description: null,
|
18
20
|
remote: null)
|
19
21
|
```
|
data/docs/PublicationsPypiApi.md
CHANGED
@@ -141,13 +141,13 @@ opts = {
|
|
141
141
|
limit: 56, # Integer | Number of results to return per page.
|
142
142
|
offset: 56, # Integer | The initial index from which to return the results.
|
143
143
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
144
|
-
pulp_created: '
|
145
|
-
pulp_created__gt: '
|
146
|
-
pulp_created__gte: '
|
147
|
-
pulp_created__lt: '
|
148
|
-
pulp_created__lte: '
|
149
|
-
pulp_created__range: '
|
150
|
-
repository_version: 'repository_version_example', # String |
|
144
|
+
pulp_created: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | ISO 8601 formatted dates are supported
|
145
|
+
pulp_created__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than value
|
146
|
+
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
|
147
|
+
pulp_created__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is less than value
|
148
|
+
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
|
149
|
+
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
|
150
|
+
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
151
151
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
152
152
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
153
153
|
}
|
@@ -169,13 +169,13 @@ Name | Type | Description | Notes
|
|
169
169
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
170
170
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
171
171
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
172
|
-
**pulp_created** | **
|
173
|
-
**pulp_created__gt** | **
|
174
|
-
**pulp_created__gte** | **
|
175
|
-
**pulp_created__lt** | **
|
176
|
-
**pulp_created__lte** | **
|
177
|
-
**pulp_created__range** | **
|
178
|
-
**repository_version** | **String
|
172
|
+
**pulp_created** | **DateTime**| ISO 8601 formatted dates are supported | [optional]
|
173
|
+
**pulp_created__gt** | **DateTime**| Filter results where pulp_created is greater than value | [optional]
|
174
|
+
**pulp_created__gte** | **DateTime**| Filter results where pulp_created is greater than or equal to value | [optional]
|
175
|
+
**pulp_created__lt** | **DateTime**| Filter results where pulp_created is less than value | [optional]
|
176
|
+
**pulp_created__lte** | **DateTime**| Filter results where pulp_created is less than or equal to value | [optional]
|
177
|
+
**pulp_created__range** | [**Array<DateTime>**](DateTime.md)| Filter results where pulp_created is between two comma separated values | [optional]
|
178
|
+
**repository_version** | [**String**](.md)| Repository Version referenced by HREF | [optional]
|
179
179
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
180
180
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
181
181
|
|
@@ -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
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
9
10
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
10
11
|
**publication** | **String** | Publication to be served | [optional]
|
11
12
|
|
@@ -16,6 +17,7 @@ require 'PulpPythonClient'
|
|
16
17
|
|
17
18
|
instance = PulpPythonClient::PythonPythonDistribution.new(base_path: null,
|
18
19
|
content_guard: null,
|
20
|
+
pulp_labels: null,
|
19
21
|
name: null,
|
20
22
|
publication: null)
|
21
23
|
```
|
@@ -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** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
|
11
11
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
12
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
12
13
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
13
14
|
**publication** | **String** | Publication to be served | [optional]
|
14
15
|
|
@@ -22,6 +23,7 @@ instance = PulpPythonClient::PythonPythonDistributionResponse.new(pulp_href: nul
|
|
22
23
|
base_path: null,
|
23
24
|
base_url: null,
|
24
25
|
content_guard: null,
|
26
|
+
pulp_labels: null,
|
25
27
|
name: null,
|
26
28
|
publication: null)
|
27
29
|
```
|
data/docs/PythonPythonRemote.md
CHANGED
@@ -10,18 +10,26 @@ Name | Type | Description | Notes
|
|
10
10
|
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
11
11
|
**client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
|
12
12
|
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
13
|
-
**proxy_url** | **String** | The proxy URL. Format: scheme://
|
13
|
+
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
14
|
+
**proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
|
15
|
+
**proxy_password** | **String** | The password to authenticte to the proxy. | [optional]
|
14
16
|
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
15
17
|
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
18
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
16
19
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
17
20
|
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'cache_only'. 'immediate' is the default. | [optional]
|
18
21
|
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
|
19
22
|
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
20
23
|
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
21
24
|
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
25
|
+
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
26
|
+
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
22
27
|
**includes** | [**Object**](.md) | A JSON list containing project specifiers for Python packages to include. | [optional]
|
23
28
|
**excludes** | [**Object**](.md) | A JSON list containing project specifiers for Python packages to exclude. | [optional]
|
24
29
|
**prereleases** | **Boolean** | Whether or not to include pre-release packages in the sync. | [optional]
|
30
|
+
**package_types** | [**Array<PackageTypesEnum>**](PackageTypesEnum.md) | The package types to sync for Python content. Leave blank to get everypackage type. | [optional]
|
31
|
+
**keep_latest_packages** | **Integer** | The amount of latest versions of a package to keep on sync, includespre-releases if synced. Default 0 keeps all versions. | [optional] [default to 0]
|
32
|
+
**exclude_platforms** | [**Array<ExcludePlatformsEnum>**](ExcludePlatformsEnum.md) | List of platforms to exclude syncing Python packages for. Possible valuesinclude: windows, macos, freebsd, and linux. | [optional]
|
25
33
|
|
26
34
|
## Code Sample
|
27
35
|
|
@@ -35,17 +43,25 @@ instance = PulpPythonClient::PythonPythonRemote.new(name: null,
|
|
35
43
|
client_key: null,
|
36
44
|
tls_validation: null,
|
37
45
|
proxy_url: null,
|
46
|
+
proxy_username: null,
|
47
|
+
proxy_password: null,
|
38
48
|
username: null,
|
39
49
|
password: null,
|
50
|
+
pulp_labels: null,
|
40
51
|
download_concurrency: null,
|
41
52
|
policy: null,
|
42
53
|
total_timeout: null,
|
43
54
|
connect_timeout: null,
|
44
55
|
sock_connect_timeout: null,
|
45
56
|
sock_read_timeout: null,
|
57
|
+
headers: null,
|
58
|
+
rate_limit: null,
|
46
59
|
includes: null,
|
47
60
|
excludes: null,
|
48
|
-
prereleases: null
|
61
|
+
prereleases: null,
|
62
|
+
package_types: null,
|
63
|
+
keep_latest_packages: null,
|
64
|
+
exclude_platforms: null)
|
49
65
|
```
|
50
66
|
|
51
67
|
|
@@ -10,11 +10,9 @@ Name | Type | Description | Notes
|
|
10
10
|
**url** | **String** | The URL of an external content source. |
|
11
11
|
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
12
12
|
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
13
|
-
**client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
|
14
13
|
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
15
|
-
**proxy_url** | **String** | The proxy URL. Format: scheme://
|
16
|
-
**
|
17
|
-
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
14
|
+
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
15
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
18
16
|
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
19
17
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
20
18
|
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'cache_only'. 'immediate' is the default. | [optional]
|
@@ -22,9 +20,14 @@ Name | Type | Description | Notes
|
|
22
20
|
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
23
21
|
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
24
22
|
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
23
|
+
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
24
|
+
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
25
25
|
**includes** | [**Object**](.md) | A JSON list containing project specifiers for Python packages to include. | [optional]
|
26
26
|
**excludes** | [**Object**](.md) | A JSON list containing project specifiers for Python packages to exclude. | [optional]
|
27
27
|
**prereleases** | **Boolean** | Whether or not to include pre-release packages in the sync. | [optional]
|
28
|
+
**package_types** | [**Array<PackageTypesEnum>**](PackageTypesEnum.md) | The package types to sync for Python content. Leave blank to get everypackage type. | [optional]
|
29
|
+
**keep_latest_packages** | **Integer** | The amount of latest versions of a package to keep on sync, includespre-releases if synced. Default 0 keeps all versions. | [optional] [default to 0]
|
30
|
+
**exclude_platforms** | [**Array<ExcludePlatformsEnum>**](ExcludePlatformsEnum.md) | List of platforms to exclude syncing Python packages for. Possible valuesinclude: windows, macos, freebsd, and linux. | [optional]
|
28
31
|
|
29
32
|
## Code Sample
|
30
33
|
|
@@ -37,11 +40,9 @@ instance = PulpPythonClient::PythonPythonRemoteResponse.new(pulp_href: null,
|
|
37
40
|
url: null,
|
38
41
|
ca_cert: null,
|
39
42
|
client_cert: null,
|
40
|
-
client_key: null,
|
41
43
|
tls_validation: null,
|
42
44
|
proxy_url: null,
|
43
|
-
|
44
|
-
password: null,
|
45
|
+
pulp_labels: null,
|
45
46
|
pulp_last_updated: null,
|
46
47
|
download_concurrency: null,
|
47
48
|
policy: null,
|
@@ -49,9 +50,14 @@ instance = PulpPythonClient::PythonPythonRemoteResponse.new(pulp_href: null,
|
|
49
50
|
connect_timeout: null,
|
50
51
|
sock_connect_timeout: null,
|
51
52
|
sock_read_timeout: null,
|
53
|
+
headers: null,
|
54
|
+
rate_limit: null,
|
52
55
|
includes: null,
|
53
56
|
excludes: null,
|
54
|
-
prereleases: null
|
57
|
+
prereleases: null,
|
58
|
+
package_types: null,
|
59
|
+
keep_latest_packages: null,
|
60
|
+
exclude_platforms: null)
|
55
61
|
```
|
56
62
|
|
57
63
|
|
@@ -4,6 +4,7 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
7
8
|
**name** | **String** | A unique name for this repository. |
|
8
9
|
**description** | **String** | An optional description. | [optional]
|
9
10
|
**remote** | **String** | | [optional]
|
@@ -13,7 +14,8 @@ Name | Type | Description | Notes
|
|
13
14
|
```ruby
|
14
15
|
require 'PulpPythonClient'
|
15
16
|
|
16
|
-
instance = PulpPythonClient::PythonPythonRepository.new(
|
17
|
+
instance = PulpPythonClient::PythonPythonRepository.new(pulp_labels: null,
|
18
|
+
name: null,
|
17
19
|
description: null,
|
18
20
|
remote: null)
|
19
21
|
```
|
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
8
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
9
|
**versions_href** | **String** | | [optional] [readonly]
|
10
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
10
11
|
**latest_version_href** | **String** | | [optional] [readonly]
|
11
12
|
**name** | **String** | A unique name for this repository. |
|
12
13
|
**description** | **String** | An optional description. | [optional]
|
@@ -20,6 +21,7 @@ require 'PulpPythonClient'
|
|
20
21
|
instance = PulpPythonClient::PythonPythonRepositoryResponse.new(pulp_href: null,
|
21
22
|
pulp_created: null,
|
22
23
|
versions_href: null,
|
24
|
+
pulp_labels: null,
|
23
25
|
latest_version_href: null,
|
24
26
|
name: null,
|
25
27
|
description: null,
|