pulp_python_client 3.0.0b11 → 3.0.0b12
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 +10 -10
- data/docs/ContentPackagesApi.md +2 -2
- data/docs/DistributionsPypiApi.md +8 -56
- data/docs/{InlineResponse2005.md → PaginatedRepositoryVersionResponseList.md} +4 -4
- data/docs/{InlineResponse2001.md → PaginatedpythonPythonDistributionResponseList.md} +4 -4
- data/docs/{InlineResponse200.md → PaginatedpythonPythonPackageContentResponseList.md} +4 -4
- data/docs/{InlineResponse2002.md → PaginatedpythonPythonPublicationResponseList.md} +4 -4
- data/docs/{InlineResponse2003.md → PaginatedpythonPythonRemoteResponseList.md} +4 -4
- data/docs/{InlineResponse2004.md → PaginatedpythonPythonRepositoryResponseList.md} +4 -4
- data/docs/PublicationsPypiApi.md +2 -2
- data/docs/PythonBanderRemote.md +3 -1
- data/docs/RemotesPythonApi.md +14 -70
- data/docs/RepositoriesPythonApi.md +8 -32
- data/docs/RepositoriesPythonVersionsApi.md +4 -36
- data/lib/pulp_python_client/api/content_packages_api.rb +3 -3
- data/lib/pulp_python_client/api/distributions_pypi_api.rb +3 -66
- data/lib/pulp_python_client/api/publications_pypi_api.rb +3 -3
- data/lib/pulp_python_client/api/remotes_python_api.rb +6 -84
- data/lib/pulp_python_client/api/repositories_python_api.rb +3 -30
- data/lib/pulp_python_client/api/repositories_python_versions_api.rb +3 -48
- data/lib/pulp_python_client/models/{inline_response2005.rb → paginated_repository_version_response_list.rb} +3 -3
- data/lib/pulp_python_client/models/{inline_response2001.rb → paginatedpython_python_distribution_response_list.rb} +3 -3
- data/lib/pulp_python_client/models/{inline_response200.rb → paginatedpython_python_package_content_response_list.rb} +3 -3
- data/lib/pulp_python_client/models/{inline_response2002.rb → paginatedpython_python_publication_response_list.rb} +3 -3
- data/lib/pulp_python_client/models/{inline_response2003.rb → paginatedpython_python_remote_response_list.rb} +3 -3
- data/lib/pulp_python_client/models/{inline_response2004.rb → paginatedpython_python_repository_response_list.rb} +3 -3
- data/lib/pulp_python_client/models/python_bander_remote.rb +14 -4
- data/lib/pulp_python_client/models/repository_sync_url.rb +1 -0
- data/lib/pulp_python_client/version.rb +1 -1
- data/lib/pulp_python_client.rb +6 -6
- data/spec/api/content_packages_api_spec.rb +1 -1
- data/spec/api/distributions_pypi_api_spec.rb +1 -22
- data/spec/api/publications_pypi_api_spec.rb +1 -1
- data/spec/api/remotes_python_api_spec.rb +2 -28
- data/spec/api/repositories_python_api_spec.rb +1 -10
- data/spec/api/repositories_python_versions_api_spec.rb +1 -16
- data/spec/models/{inline_response2001_spec.rb → paginated_repository_version_response_list_spec.rb} +6 -6
- data/spec/models/paginatedpython_python_distribution_response_list_spec.rb +59 -0
- data/spec/models/paginatedpython_python_package_content_response_list_spec.rb +59 -0
- data/spec/models/{inline_response2004_spec.rb → paginatedpython_python_publication_response_list_spec.rb} +6 -6
- data/spec/models/{inline_response2002_spec.rb → paginatedpython_python_remote_response_list_spec.rb} +6 -6
- data/spec/models/{inline_response2003_spec.rb → paginatedpython_python_repository_response_list_spec.rb} +6 -6
- data/spec/models/python_bander_remote_spec.rb +6 -0
- metadata +26 -26
- data/spec/models/inline_response2005_spec.rb +0 -59
- data/spec/models/inline_response200_spec.rb +0 -59
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ce6a87650f609e17d26b9570bd03a9e418a0da60d5b85589f76ec5fd602b4469
|
4
|
+
data.tar.gz: a5051d52fe0592516bbaafb4af2a9142ffe341a02936b2123a9d6b2e166dec96
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 103d1e4a29b2009e4a2c4df1f00ac0e9f6f3aa09760d2fb6ae18084a9a109a608d20d8f2d349796fbcb5e3934087348fe74a7a9eccee415b3a0730def1cf4fb2
|
7
|
+
data.tar.gz: 1161c88f75713aff9389f23f62f34144c40ad8b2914ec9624aec66867b38e8aa76cccaa770a1dcd160d816bada1e9cca01e5ed79c3000715198a172618269351
|
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.0.
|
10
|
+
- Package version: 3.0.0b12
|
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.0.
|
27
|
+
gem install ./pulp_python_client-3.0.0b12.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_python_client-3.0.
|
30
|
+
(for development, run `gem install --dev ./pulp_python_client-3.0.0b12.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.0.
|
36
|
+
gem 'pulp_python_client', '~> 3.0.0b12'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -146,12 +146,12 @@ 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::
|
150
|
-
- [PulpPythonClient::
|
151
|
-
- [PulpPythonClient::
|
152
|
-
- [PulpPythonClient::
|
153
|
-
- [PulpPythonClient::
|
154
|
-
- [PulpPythonClient::
|
149
|
+
- [PulpPythonClient::PaginatedRepositoryVersionResponseList](docs/PaginatedRepositoryVersionResponseList.md)
|
150
|
+
- [PulpPythonClient::PaginatedpythonPythonDistributionResponseList](docs/PaginatedpythonPythonDistributionResponseList.md)
|
151
|
+
- [PulpPythonClient::PaginatedpythonPythonPackageContentResponseList](docs/PaginatedpythonPythonPackageContentResponseList.md)
|
152
|
+
- [PulpPythonClient::PaginatedpythonPythonPublicationResponseList](docs/PaginatedpythonPythonPublicationResponseList.md)
|
153
|
+
- [PulpPythonClient::PaginatedpythonPythonRemoteResponseList](docs/PaginatedpythonPythonRemoteResponseList.md)
|
154
|
+
- [PulpPythonClient::PaginatedpythonPythonRepositoryResponseList](docs/PaginatedpythonPythonRepositoryResponseList.md)
|
155
155
|
- [PulpPythonClient::PatchedpythonPythonDistribution](docs/PatchedpythonPythonDistribution.md)
|
156
156
|
- [PulpPythonClient::PatchedpythonPythonRemote](docs/PatchedpythonPythonRemote.md)
|
157
157
|
- [PulpPythonClient::PatchedpythonPythonRepository](docs/PatchedpythonPythonRepository.md)
|
data/docs/ContentPackagesApi.md
CHANGED
@@ -111,7 +111,7 @@ Name | Type | Description | Notes
|
|
111
111
|
|
112
112
|
## list
|
113
113
|
|
114
|
-
>
|
114
|
+
> PaginatedpythonPythonPackageContentResponseList list(opts)
|
115
115
|
|
116
116
|
List python package contents
|
117
117
|
|
@@ -188,7 +188,7 @@ Name | Type | Description | Notes
|
|
188
188
|
|
189
189
|
### Return type
|
190
190
|
|
191
|
-
[**
|
191
|
+
[**PaginatedpythonPythonPackageContentResponseList**](PaginatedpythonPythonPackageContentResponseList.md)
|
192
192
|
|
193
193
|
### Authorization
|
194
194
|
|
@@ -68,7 +68,7 @@ Name | Type | Description | Notes
|
|
68
68
|
|
69
69
|
## delete
|
70
70
|
|
71
|
-
> AsyncOperationResponse delete(python_python_distribution_href
|
71
|
+
> AsyncOperationResponse delete(python_python_distribution_href)
|
72
72
|
|
73
73
|
Delete a python distribution
|
74
74
|
|
@@ -88,19 +88,10 @@ end
|
|
88
88
|
|
89
89
|
api_instance = PulpPythonClient::DistributionsPypiApi.new
|
90
90
|
python_python_distribution_href = 'python_python_distribution_href_example' # String |
|
91
|
-
opts = {
|
92
|
-
base_path: 'base_path_example', # String | base_path
|
93
|
-
base_path__contains: 'base_path__contains_example', # String | base_path__contains
|
94
|
-
base_path__icontains: 'base_path__icontains_example', # String | base_path__icontains
|
95
|
-
base_path__in: 'base_path__in_example', # String | base_path__in
|
96
|
-
name: 'name_example', # String | name
|
97
|
-
name__in: 'name__in_example', # String | name__in
|
98
|
-
ordering: 'ordering_example' # String | Which field to use when ordering the results.
|
99
|
-
}
|
100
91
|
|
101
92
|
begin
|
102
93
|
#Delete a python distribution
|
103
|
-
result = api_instance.delete(python_python_distribution_href
|
94
|
+
result = api_instance.delete(python_python_distribution_href)
|
104
95
|
p result
|
105
96
|
rescue PulpPythonClient::ApiError => e
|
106
97
|
puts "Exception when calling DistributionsPypiApi->delete: #{e}"
|
@@ -113,13 +104,6 @@ end
|
|
113
104
|
Name | Type | Description | Notes
|
114
105
|
------------- | ------------- | ------------- | -------------
|
115
106
|
**python_python_distribution_href** | **String**| |
|
116
|
-
**base_path** | **String**| base_path | [optional]
|
117
|
-
**base_path__contains** | **String**| base_path__contains | [optional]
|
118
|
-
**base_path__icontains** | **String**| base_path__icontains | [optional]
|
119
|
-
**base_path__in** | **String**| base_path__in | [optional]
|
120
|
-
**name** | **String**| name | [optional]
|
121
|
-
**name__in** | **String**| name__in | [optional]
|
122
|
-
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
123
107
|
|
124
108
|
### Return type
|
125
109
|
|
@@ -137,7 +121,7 @@ Name | Type | Description | Notes
|
|
137
121
|
|
138
122
|
## list
|
139
123
|
|
140
|
-
>
|
124
|
+
> PaginatedpythonPythonDistributionResponseList list(opts)
|
141
125
|
|
142
126
|
List python distributions
|
143
127
|
|
@@ -198,7 +182,7 @@ Name | Type | Description | Notes
|
|
198
182
|
|
199
183
|
### Return type
|
200
184
|
|
201
|
-
[**
|
185
|
+
[**PaginatedpythonPythonDistributionResponseList**](PaginatedpythonPythonDistributionResponseList.md)
|
202
186
|
|
203
187
|
### Authorization
|
204
188
|
|
@@ -212,7 +196,7 @@ Name | Type | Description | Notes
|
|
212
196
|
|
213
197
|
## partial_update
|
214
198
|
|
215
|
-
> AsyncOperationResponse partial_update(python_python_distribution_href, patchedpython_python_distribution
|
199
|
+
> AsyncOperationResponse partial_update(python_python_distribution_href, patchedpython_python_distribution)
|
216
200
|
|
217
201
|
Update a python distribution
|
218
202
|
|
@@ -233,19 +217,10 @@ end
|
|
233
217
|
api_instance = PulpPythonClient::DistributionsPypiApi.new
|
234
218
|
python_python_distribution_href = 'python_python_distribution_href_example' # String |
|
235
219
|
patchedpython_python_distribution = PulpPythonClient::PatchedpythonPythonDistribution.new # PatchedpythonPythonDistribution |
|
236
|
-
opts = {
|
237
|
-
base_path: 'base_path_example', # String | base_path
|
238
|
-
base_path__contains: 'base_path__contains_example', # String | base_path__contains
|
239
|
-
base_path__icontains: 'base_path__icontains_example', # String | base_path__icontains
|
240
|
-
base_path__in: 'base_path__in_example', # String | base_path__in
|
241
|
-
name: 'name_example', # String | name
|
242
|
-
name__in: 'name__in_example', # String | name__in
|
243
|
-
ordering: 'ordering_example' # String | Which field to use when ordering the results.
|
244
|
-
}
|
245
220
|
|
246
221
|
begin
|
247
222
|
#Update a python distribution
|
248
|
-
result = api_instance.partial_update(python_python_distribution_href, patchedpython_python_distribution
|
223
|
+
result = api_instance.partial_update(python_python_distribution_href, patchedpython_python_distribution)
|
249
224
|
p result
|
250
225
|
rescue PulpPythonClient::ApiError => e
|
251
226
|
puts "Exception when calling DistributionsPypiApi->partial_update: #{e}"
|
@@ -259,13 +234,6 @@ Name | Type | Description | Notes
|
|
259
234
|
------------- | ------------- | ------------- | -------------
|
260
235
|
**python_python_distribution_href** | **String**| |
|
261
236
|
**patchedpython_python_distribution** | [**PatchedpythonPythonDistribution**](PatchedpythonPythonDistribution.md)| |
|
262
|
-
**base_path** | **String**| base_path | [optional]
|
263
|
-
**base_path__contains** | **String**| base_path__contains | [optional]
|
264
|
-
**base_path__icontains** | **String**| base_path__icontains | [optional]
|
265
|
-
**base_path__in** | **String**| base_path__in | [optional]
|
266
|
-
**name** | **String**| name | [optional]
|
267
|
-
**name__in** | **String**| name__in | [optional]
|
268
|
-
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
269
237
|
|
270
238
|
### Return type
|
271
239
|
|
@@ -342,7 +310,7 @@ Name | Type | Description | Notes
|
|
342
310
|
|
343
311
|
## update
|
344
312
|
|
345
|
-
> AsyncOperationResponse update(python_python_distribution_href, python_python_distribution
|
313
|
+
> AsyncOperationResponse update(python_python_distribution_href, python_python_distribution)
|
346
314
|
|
347
315
|
Update a python distribution
|
348
316
|
|
@@ -363,19 +331,10 @@ end
|
|
363
331
|
api_instance = PulpPythonClient::DistributionsPypiApi.new
|
364
332
|
python_python_distribution_href = 'python_python_distribution_href_example' # String |
|
365
333
|
python_python_distribution = PulpPythonClient::PythonPythonDistribution.new # PythonPythonDistribution |
|
366
|
-
opts = {
|
367
|
-
base_path: 'base_path_example', # String | base_path
|
368
|
-
base_path__contains: 'base_path__contains_example', # String | base_path__contains
|
369
|
-
base_path__icontains: 'base_path__icontains_example', # String | base_path__icontains
|
370
|
-
base_path__in: 'base_path__in_example', # String | base_path__in
|
371
|
-
name: 'name_example', # String | name
|
372
|
-
name__in: 'name__in_example', # String | name__in
|
373
|
-
ordering: 'ordering_example' # String | Which field to use when ordering the results.
|
374
|
-
}
|
375
334
|
|
376
335
|
begin
|
377
336
|
#Update a python distribution
|
378
|
-
result = api_instance.update(python_python_distribution_href, python_python_distribution
|
337
|
+
result = api_instance.update(python_python_distribution_href, python_python_distribution)
|
379
338
|
p result
|
380
339
|
rescue PulpPythonClient::ApiError => e
|
381
340
|
puts "Exception when calling DistributionsPypiApi->update: #{e}"
|
@@ -389,13 +348,6 @@ Name | Type | Description | Notes
|
|
389
348
|
------------- | ------------- | ------------- | -------------
|
390
349
|
**python_python_distribution_href** | **String**| |
|
391
350
|
**python_python_distribution** | [**PythonPythonDistribution**](PythonPythonDistribution.md)| |
|
392
|
-
**base_path** | **String**| base_path | [optional]
|
393
|
-
**base_path__contains** | **String**| base_path__contains | [optional]
|
394
|
-
**base_path__icontains** | **String**| base_path__icontains | [optional]
|
395
|
-
**base_path__in** | **String**| base_path__in | [optional]
|
396
|
-
**name** | **String**| name | [optional]
|
397
|
-
**name__in** | **String**| name__in | [optional]
|
398
|
-
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
399
351
|
|
400
352
|
### Return type
|
401
353
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# PulpPythonClient::
|
1
|
+
# PulpPythonClient::PaginatedRepositoryVersionResponseList
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -14,9 +14,9 @@ Name | Type | Description | Notes
|
|
14
14
|
```ruby
|
15
15
|
require 'PulpPythonClient'
|
16
16
|
|
17
|
-
instance = PulpPythonClient::
|
18
|
-
_next:
|
19
|
-
previous:
|
17
|
+
instance = PulpPythonClient::PaginatedRepositoryVersionResponseList.new(count: 123,
|
18
|
+
_next: http://api.example.org/accounts/?offset=400&limit=100,
|
19
|
+
previous: http://api.example.org/accounts/?offset=200&limit=100,
|
20
20
|
results: null)
|
21
21
|
```
|
22
22
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# PulpPythonClient::
|
1
|
+
# PulpPythonClient::PaginatedpythonPythonDistributionResponseList
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -14,9 +14,9 @@ Name | Type | Description | Notes
|
|
14
14
|
```ruby
|
15
15
|
require 'PulpPythonClient'
|
16
16
|
|
17
|
-
instance = PulpPythonClient::
|
18
|
-
_next:
|
19
|
-
previous:
|
17
|
+
instance = PulpPythonClient::PaginatedpythonPythonDistributionResponseList.new(count: 123,
|
18
|
+
_next: http://api.example.org/accounts/?offset=400&limit=100,
|
19
|
+
previous: http://api.example.org/accounts/?offset=200&limit=100,
|
20
20
|
results: null)
|
21
21
|
```
|
22
22
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# PulpPythonClient::
|
1
|
+
# PulpPythonClient::PaginatedpythonPythonPackageContentResponseList
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -14,9 +14,9 @@ Name | Type | Description | Notes
|
|
14
14
|
```ruby
|
15
15
|
require 'PulpPythonClient'
|
16
16
|
|
17
|
-
instance = PulpPythonClient::
|
18
|
-
_next:
|
19
|
-
previous:
|
17
|
+
instance = PulpPythonClient::PaginatedpythonPythonPackageContentResponseList.new(count: 123,
|
18
|
+
_next: http://api.example.org/accounts/?offset=400&limit=100,
|
19
|
+
previous: http://api.example.org/accounts/?offset=200&limit=100,
|
20
20
|
results: null)
|
21
21
|
```
|
22
22
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# PulpPythonClient::
|
1
|
+
# PulpPythonClient::PaginatedpythonPythonPublicationResponseList
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -14,9 +14,9 @@ Name | Type | Description | Notes
|
|
14
14
|
```ruby
|
15
15
|
require 'PulpPythonClient'
|
16
16
|
|
17
|
-
instance = PulpPythonClient::
|
18
|
-
_next:
|
19
|
-
previous:
|
17
|
+
instance = PulpPythonClient::PaginatedpythonPythonPublicationResponseList.new(count: 123,
|
18
|
+
_next: http://api.example.org/accounts/?offset=400&limit=100,
|
19
|
+
previous: http://api.example.org/accounts/?offset=200&limit=100,
|
20
20
|
results: null)
|
21
21
|
```
|
22
22
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# PulpPythonClient::
|
1
|
+
# PulpPythonClient::PaginatedpythonPythonRemoteResponseList
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -14,9 +14,9 @@ Name | Type | Description | Notes
|
|
14
14
|
```ruby
|
15
15
|
require 'PulpPythonClient'
|
16
16
|
|
17
|
-
instance = PulpPythonClient::
|
18
|
-
_next:
|
19
|
-
previous:
|
17
|
+
instance = PulpPythonClient::PaginatedpythonPythonRemoteResponseList.new(count: 123,
|
18
|
+
_next: http://api.example.org/accounts/?offset=400&limit=100,
|
19
|
+
previous: http://api.example.org/accounts/?offset=200&limit=100,
|
20
20
|
results: null)
|
21
21
|
```
|
22
22
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# PulpPythonClient::
|
1
|
+
# PulpPythonClient::PaginatedpythonPythonRepositoryResponseList
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -14,9 +14,9 @@ Name | Type | Description | Notes
|
|
14
14
|
```ruby
|
15
15
|
require 'PulpPythonClient'
|
16
16
|
|
17
|
-
instance = PulpPythonClient::
|
18
|
-
_next:
|
19
|
-
previous:
|
17
|
+
instance = PulpPythonClient::PaginatedpythonPythonRepositoryResponseList.new(count: 123,
|
18
|
+
_next: http://api.example.org/accounts/?offset=400&limit=100,
|
19
|
+
previous: http://api.example.org/accounts/?offset=200&limit=100,
|
20
20
|
results: null)
|
21
21
|
```
|
22
22
|
|
data/docs/PublicationsPypiApi.md
CHANGED
@@ -118,7 +118,7 @@ nil (empty response body)
|
|
118
118
|
|
119
119
|
## list
|
120
120
|
|
121
|
-
>
|
121
|
+
> PaginatedpythonPythonPublicationResponseList list(opts)
|
122
122
|
|
123
123
|
List python publications
|
124
124
|
|
@@ -181,7 +181,7 @@ Name | Type | Description | Notes
|
|
181
181
|
|
182
182
|
### Return type
|
183
183
|
|
184
|
-
[**
|
184
|
+
[**PaginatedpythonPythonPublicationResponseList**](PaginatedpythonPythonPublicationResponseList.md)
|
185
185
|
|
186
186
|
### Authorization
|
187
187
|
|
data/docs/PythonBanderRemote.md
CHANGED
@@ -6,6 +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 'cache_only'. 'immediate' is the default. | [optional]
|
9
10
|
|
10
11
|
## Code Sample
|
11
12
|
|
@@ -13,7 +14,8 @@ Name | Type | Description | Notes
|
|
13
14
|
require 'PulpPythonClient'
|
14
15
|
|
15
16
|
instance = PulpPythonClient::PythonBanderRemote.new(config: null,
|
16
|
-
name: null
|
17
|
+
name: null,
|
18
|
+
policy: null)
|
17
19
|
```
|
18
20
|
|
19
21
|
|
data/docs/RemotesPythonApi.md
CHANGED
@@ -69,7 +69,7 @@ Name | Type | Description | Notes
|
|
69
69
|
|
70
70
|
## delete
|
71
71
|
|
72
|
-
> AsyncOperationResponse delete(python_python_remote_href
|
72
|
+
> AsyncOperationResponse delete(python_python_remote_href)
|
73
73
|
|
74
74
|
Delete a python remote
|
75
75
|
|
@@ -89,21 +89,10 @@ end
|
|
89
89
|
|
90
90
|
api_instance = PulpPythonClient::RemotesPythonApi.new
|
91
91
|
python_python_remote_href = 'python_python_remote_href_example' # String |
|
92
|
-
opts = {
|
93
|
-
name: 'name_example', # String | name
|
94
|
-
name__in: 'name__in_example', # String | name__in
|
95
|
-
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
96
|
-
pulp_last_updated: 'pulp_last_updated_example', # String | pulp_last_updated
|
97
|
-
pulp_last_updated__gt: 'pulp_last_updated__gt_example', # String | pulp_last_updated__gt
|
98
|
-
pulp_last_updated__gte: 'pulp_last_updated__gte_example', # String | pulp_last_updated__gte
|
99
|
-
pulp_last_updated__lt: 'pulp_last_updated__lt_example', # String | pulp_last_updated__lt
|
100
|
-
pulp_last_updated__lte: 'pulp_last_updated__lte_example', # String | pulp_last_updated__lte
|
101
|
-
pulp_last_updated__range: 'pulp_last_updated__range_example' # String | pulp_last_updated__range
|
102
|
-
}
|
103
92
|
|
104
93
|
begin
|
105
94
|
#Delete a python remote
|
106
|
-
result = api_instance.delete(python_python_remote_href
|
95
|
+
result = api_instance.delete(python_python_remote_href)
|
107
96
|
p result
|
108
97
|
rescue PulpPythonClient::ApiError => e
|
109
98
|
puts "Exception when calling RemotesPythonApi->delete: #{e}"
|
@@ -116,15 +105,6 @@ end
|
|
116
105
|
Name | Type | Description | Notes
|
117
106
|
------------- | ------------- | ------------- | -------------
|
118
107
|
**python_python_remote_href** | **String**| |
|
119
|
-
**name** | **String**| name | [optional]
|
120
|
-
**name__in** | **String**| name__in | [optional]
|
121
|
-
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
122
|
-
**pulp_last_updated** | **String**| pulp_last_updated | [optional]
|
123
|
-
**pulp_last_updated__gt** | **String**| pulp_last_updated__gt | [optional]
|
124
|
-
**pulp_last_updated__gte** | **String**| pulp_last_updated__gte | [optional]
|
125
|
-
**pulp_last_updated__lt** | **String**| pulp_last_updated__lt | [optional]
|
126
|
-
**pulp_last_updated__lte** | **String**| pulp_last_updated__lte | [optional]
|
127
|
-
**pulp_last_updated__range** | **String**| pulp_last_updated__range | [optional]
|
128
108
|
|
129
109
|
### Return type
|
130
110
|
|
@@ -142,7 +122,7 @@ Name | Type | Description | Notes
|
|
142
122
|
|
143
123
|
## from_bandersnatch
|
144
124
|
|
145
|
-
> PythonPythonRemoteResponse from_bandersnatch(config, name)
|
125
|
+
> PythonPythonRemoteResponse from_bandersnatch(config, name, opts)
|
146
126
|
|
147
127
|
Create from Bandersnatch
|
148
128
|
|
@@ -163,10 +143,13 @@ end
|
|
163
143
|
api_instance = PulpPythonClient::RemotesPythonApi.new
|
164
144
|
config = File.new('/path/to/file') # File | A Bandersnatch config that may be used to construct a Python Remote.
|
165
145
|
name = 'name_example' # String | A unique name for this remote
|
146
|
+
opts = {
|
147
|
+
policy: PulpPythonClient::PolicyEnum.new # PolicyEnum | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'cache_only'. 'immediate' is the default.
|
148
|
+
}
|
166
149
|
|
167
150
|
begin
|
168
151
|
#Create from Bandersnatch
|
169
|
-
result = api_instance.from_bandersnatch(config, name)
|
152
|
+
result = api_instance.from_bandersnatch(config, name, opts)
|
170
153
|
p result
|
171
154
|
rescue PulpPythonClient::ApiError => e
|
172
155
|
puts "Exception when calling RemotesPythonApi->from_bandersnatch: #{e}"
|
@@ -180,6 +163,7 @@ Name | Type | Description | Notes
|
|
180
163
|
------------- | ------------- | ------------- | -------------
|
181
164
|
**config** | **File**| A Bandersnatch config that may be used to construct a Python Remote. |
|
182
165
|
**name** | **String**| A unique name for this remote |
|
166
|
+
**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]
|
183
167
|
|
184
168
|
### Return type
|
185
169
|
|
@@ -197,7 +181,7 @@ Name | Type | Description | Notes
|
|
197
181
|
|
198
182
|
## list
|
199
183
|
|
200
|
-
>
|
184
|
+
> PaginatedpythonPythonRemoteResponseList list(opts)
|
201
185
|
|
202
186
|
List python remotes
|
203
187
|
|
@@ -262,7 +246,7 @@ Name | Type | Description | Notes
|
|
262
246
|
|
263
247
|
### Return type
|
264
248
|
|
265
|
-
[**
|
249
|
+
[**PaginatedpythonPythonRemoteResponseList**](PaginatedpythonPythonRemoteResponseList.md)
|
266
250
|
|
267
251
|
### Authorization
|
268
252
|
|
@@ -276,7 +260,7 @@ Name | Type | Description | Notes
|
|
276
260
|
|
277
261
|
## partial_update
|
278
262
|
|
279
|
-
> AsyncOperationResponse partial_update(python_python_remote_href, patchedpython_python_remote
|
263
|
+
> AsyncOperationResponse partial_update(python_python_remote_href, patchedpython_python_remote)
|
280
264
|
|
281
265
|
Update a python remote
|
282
266
|
|
@@ -297,21 +281,10 @@ end
|
|
297
281
|
api_instance = PulpPythonClient::RemotesPythonApi.new
|
298
282
|
python_python_remote_href = 'python_python_remote_href_example' # String |
|
299
283
|
patchedpython_python_remote = PulpPythonClient::PatchedpythonPythonRemote.new # PatchedpythonPythonRemote |
|
300
|
-
opts = {
|
301
|
-
name: 'name_example', # String | name
|
302
|
-
name__in: 'name__in_example', # String | name__in
|
303
|
-
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
304
|
-
pulp_last_updated: 'pulp_last_updated_example', # String | pulp_last_updated
|
305
|
-
pulp_last_updated__gt: 'pulp_last_updated__gt_example', # String | pulp_last_updated__gt
|
306
|
-
pulp_last_updated__gte: 'pulp_last_updated__gte_example', # String | pulp_last_updated__gte
|
307
|
-
pulp_last_updated__lt: 'pulp_last_updated__lt_example', # String | pulp_last_updated__lt
|
308
|
-
pulp_last_updated__lte: 'pulp_last_updated__lte_example', # String | pulp_last_updated__lte
|
309
|
-
pulp_last_updated__range: 'pulp_last_updated__range_example' # String | pulp_last_updated__range
|
310
|
-
}
|
311
284
|
|
312
285
|
begin
|
313
286
|
#Update a python remote
|
314
|
-
result = api_instance.partial_update(python_python_remote_href, patchedpython_python_remote
|
287
|
+
result = api_instance.partial_update(python_python_remote_href, patchedpython_python_remote)
|
315
288
|
p result
|
316
289
|
rescue PulpPythonClient::ApiError => e
|
317
290
|
puts "Exception when calling RemotesPythonApi->partial_update: #{e}"
|
@@ -325,15 +298,6 @@ Name | Type | Description | Notes
|
|
325
298
|
------------- | ------------- | ------------- | -------------
|
326
299
|
**python_python_remote_href** | **String**| |
|
327
300
|
**patchedpython_python_remote** | [**PatchedpythonPythonRemote**](PatchedpythonPythonRemote.md)| |
|
328
|
-
**name** | **String**| name | [optional]
|
329
|
-
**name__in** | **String**| name__in | [optional]
|
330
|
-
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
331
|
-
**pulp_last_updated** | **String**| pulp_last_updated | [optional]
|
332
|
-
**pulp_last_updated__gt** | **String**| pulp_last_updated__gt | [optional]
|
333
|
-
**pulp_last_updated__gte** | **String**| pulp_last_updated__gte | [optional]
|
334
|
-
**pulp_last_updated__lt** | **String**| pulp_last_updated__lt | [optional]
|
335
|
-
**pulp_last_updated__lte** | **String**| pulp_last_updated__lte | [optional]
|
336
|
-
**pulp_last_updated__range** | **String**| pulp_last_updated__range | [optional]
|
337
301
|
|
338
302
|
### Return type
|
339
303
|
|
@@ -410,7 +374,7 @@ Name | Type | Description | Notes
|
|
410
374
|
|
411
375
|
## update
|
412
376
|
|
413
|
-
> AsyncOperationResponse update(python_python_remote_href, python_python_remote
|
377
|
+
> AsyncOperationResponse update(python_python_remote_href, python_python_remote)
|
414
378
|
|
415
379
|
Update a python remote
|
416
380
|
|
@@ -431,21 +395,10 @@ end
|
|
431
395
|
api_instance = PulpPythonClient::RemotesPythonApi.new
|
432
396
|
python_python_remote_href = 'python_python_remote_href_example' # String |
|
433
397
|
python_python_remote = PulpPythonClient::PythonPythonRemote.new # PythonPythonRemote |
|
434
|
-
opts = {
|
435
|
-
name: 'name_example', # String | name
|
436
|
-
name__in: 'name__in_example', # String | name__in
|
437
|
-
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
438
|
-
pulp_last_updated: 'pulp_last_updated_example', # String | pulp_last_updated
|
439
|
-
pulp_last_updated__gt: 'pulp_last_updated__gt_example', # String | pulp_last_updated__gt
|
440
|
-
pulp_last_updated__gte: 'pulp_last_updated__gte_example', # String | pulp_last_updated__gte
|
441
|
-
pulp_last_updated__lt: 'pulp_last_updated__lt_example', # String | pulp_last_updated__lt
|
442
|
-
pulp_last_updated__lte: 'pulp_last_updated__lte_example', # String | pulp_last_updated__lte
|
443
|
-
pulp_last_updated__range: 'pulp_last_updated__range_example' # String | pulp_last_updated__range
|
444
|
-
}
|
445
398
|
|
446
399
|
begin
|
447
400
|
#Update a python remote
|
448
|
-
result = api_instance.update(python_python_remote_href, python_python_remote
|
401
|
+
result = api_instance.update(python_python_remote_href, python_python_remote)
|
449
402
|
p result
|
450
403
|
rescue PulpPythonClient::ApiError => e
|
451
404
|
puts "Exception when calling RemotesPythonApi->update: #{e}"
|
@@ -459,15 +412,6 @@ Name | Type | Description | Notes
|
|
459
412
|
------------- | ------------- | ------------- | -------------
|
460
413
|
**python_python_remote_href** | **String**| |
|
461
414
|
**python_python_remote** | [**PythonPythonRemote**](PythonPythonRemote.md)| |
|
462
|
-
**name** | **String**| name | [optional]
|
463
|
-
**name__in** | **String**| name__in | [optional]
|
464
|
-
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
465
|
-
**pulp_last_updated** | **String**| pulp_last_updated | [optional]
|
466
|
-
**pulp_last_updated__gt** | **String**| pulp_last_updated__gt | [optional]
|
467
|
-
**pulp_last_updated__gte** | **String**| pulp_last_updated__gte | [optional]
|
468
|
-
**pulp_last_updated__lt** | **String**| pulp_last_updated__lt | [optional]
|
469
|
-
**pulp_last_updated__lte** | **String**| pulp_last_updated__lte | [optional]
|
470
|
-
**pulp_last_updated__range** | **String**| pulp_last_updated__range | [optional]
|
471
415
|
|
472
416
|
### Return type
|
473
417
|
|