pulp_python_client 3.0.0b9.dev01590959185 → 3.0.0b10
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 +7 -13
- data/docs/ContentPackagesApi.md +4 -6
- data/docs/DistributionsPypiApi.md +2 -2
- data/docs/InlineResponse200.md +1 -1
- data/docs/InlineResponse2001.md +1 -1
- data/docs/InlineResponse2002.md +1 -1
- data/docs/InlineResponse2003.md +1 -1
- data/docs/InlineResponse2004.md +1 -1
- data/docs/InlineResponse2005.md +1 -1
- data/docs/PublicationsPypiApi.md +2 -2
- data/docs/{PythonPythonPackageContentRead.md → PythonPythonPackageContent.md} +3 -3
- data/docs/PythonPythonRemote.md +2 -2
- data/docs/RemotesPythonApi.md +60 -4
- data/docs/RepositoriesPythonApi.md +4 -4
- data/docs/RepositoriesPythonVersionsApi.md +6 -4
- data/lib/pulp_python_client.rb +1 -7
- data/lib/pulp_python_client/api/content_packages_api.rb +6 -17
- data/lib/pulp_python_client/api/distributions_pypi_api.rb +3 -3
- data/lib/pulp_python_client/api/publications_pypi_api.rb +3 -3
- data/lib/pulp_python_client/api/remotes_python_api.rb +82 -6
- data/lib/pulp_python_client/api/repositories_python_api.rb +6 -6
- data/lib/pulp_python_client/api/repositories_python_versions_api.rb +9 -6
- data/lib/pulp_python_client/models/inline_response200.rb +1 -1
- data/lib/pulp_python_client/models/inline_response2001.rb +1 -1
- data/lib/pulp_python_client/models/inline_response2002.rb +1 -1
- data/lib/pulp_python_client/models/inline_response2003.rb +1 -1
- data/lib/pulp_python_client/models/inline_response2004.rb +1 -1
- data/lib/pulp_python_client/models/inline_response2005.rb +1 -1
- data/lib/pulp_python_client/models/{python_python_package_content_read.rb → python_python_package_content.rb} +6 -15
- data/lib/pulp_python_client/models/python_python_remote.rb +6 -10
- data/lib/pulp_python_client/version.rb +1 -1
- data/spec/api/content_packages_api_spec.rb +1 -2
- data/spec/api/distributions_pypi_api_spec.rb +1 -1
- data/spec/api/publications_pypi_api_spec.rb +1 -1
- data/spec/api/remotes_python_api_spec.rb +15 -2
- data/spec/api/repositories_python_api_spec.rb +2 -2
- data/spec/api/repositories_python_versions_api_spec.rb +3 -2
- data/spec/models/{python_python_package_content_read_spec.rb → python_python_package_content_spec.rb} +6 -6
- metadata +20 -44
- data/docs/ProjectSpecifier.md +0 -19
- data/docs/PythonPythonDistributionRead.md +0 -29
- data/docs/PythonPythonPublicationRead.md +0 -25
- data/docs/PythonPythonRemoteRead.md +0 -49
- data/docs/PythonPythonRepositoryRead.md +0 -27
- data/docs/RepositoryVersionRead.md +0 -25
- data/lib/pulp_python_client/models/project_specifier.rb +0 -242
- data/lib/pulp_python_client/models/python_python_distribution_read.rb +0 -331
- data/lib/pulp_python_client/models/python_python_publication_read.rb +0 -247
- data/lib/pulp_python_client/models/python_python_remote_read.rb +0 -565
- data/lib/pulp_python_client/models/python_python_repository_read.rb +0 -294
- data/lib/pulp_python_client/models/repository_version_read.rb +0 -244
- data/spec/models/project_specifier_spec.rb +0 -47
- data/spec/models/python_python_distribution_read_spec.rb +0 -77
- data/spec/models/python_python_publication_read_spec.rb +0 -65
- data/spec/models/python_python_remote_read_spec.rb +0 -141
- data/spec/models/python_python_repository_read_spec.rb +0 -71
- data/spec/models/repository_version_read_spec.rb +0 -65
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a82e82b06dffcd18263da590a12c3fb209b8617aacf18b21a4964fe95254ba3b
|
4
|
+
data.tar.gz: 404abfa42bfc05750bed88206a4d3a6b50f0237de7d6c76d6c0cd2eef4c55e6e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a76cc6a44929a33b1d29d2ba2819b52555cdde6e18414eca3669a98bfdc39eb0a39be2c8987c89a2ddd6dae6e63b362f4512462e4858e455882b7bc02b6f88a7
|
7
|
+
data.tar.gz: 8046c1f3c9a844aee03264d02825cdb2883317a670c549373746d7e65eabdaaeed31570b8ea2d771cdbf56ee5c72c6abc5c95b48070a999790af977720735eb7
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
|
|
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.0b10
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
|
13
13
|
## Installation
|
@@ -23,16 +23,16 @@ gem build pulp_python_client.gemspec
|
|
23
23
|
Then either install the gem locally:
|
24
24
|
|
25
25
|
```shell
|
26
|
-
gem install ./pulp_python_client-3.0.
|
26
|
+
gem install ./pulp_python_client-3.0.0b10.gem
|
27
27
|
```
|
28
28
|
|
29
|
-
(for development, run `gem install --dev ./pulp_python_client-3.0.
|
29
|
+
(for development, run `gem install --dev ./pulp_python_client-3.0.0b10.gem` to install the development dependencies)
|
30
30
|
|
31
31
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
32
32
|
|
33
33
|
Finally add this to the Gemfile:
|
34
34
|
|
35
|
-
gem 'pulp_python_client', '~> 3.0.
|
35
|
+
gem 'pulp_python_client', '~> 3.0.0b10'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -65,7 +65,6 @@ end
|
|
65
65
|
|
66
66
|
api_instance = PulpPythonClient::ContentPackagesApi.new
|
67
67
|
relative_path = 'relative_path_example' # String | Path where the artifact is located relative to distributions base_path
|
68
|
-
filename = 'filename_example' # String | The name of the distribution package, usually of the format: {distribution}-{version}(-{build tag})?-{python tag}-{abi tag}-{platform tag}.{packagetype}
|
69
68
|
opts = {
|
70
69
|
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
71
70
|
file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the artifact of the content unit.
|
@@ -93,7 +92,7 @@ opts = {
|
|
93
92
|
|
94
93
|
begin
|
95
94
|
#Create a python package content
|
96
|
-
result = api_instance.create(relative_path,
|
95
|
+
result = api_instance.create(relative_path, opts)
|
97
96
|
p result
|
98
97
|
rescue PulpPythonClient::ApiError => e
|
99
98
|
puts "Exception when calling ContentPackagesApi->create: #{e}"
|
@@ -122,6 +121,7 @@ Class | Method | HTTP request | Description
|
|
122
121
|
*PulpPythonClient::PublicationsPypiApi* | [**read**](docs/PublicationsPypiApi.md#read) | **GET** {python_publication_href} | Inspect a python publication
|
123
122
|
*PulpPythonClient::RemotesPythonApi* | [**create**](docs/RemotesPythonApi.md#create) | **POST** /pulp/api/v3/remotes/python/python/ | Create a python remote
|
124
123
|
*PulpPythonClient::RemotesPythonApi* | [**delete**](docs/RemotesPythonApi.md#delete) | **DELETE** {python_remote_href} | Delete a python remote
|
124
|
+
*PulpPythonClient::RemotesPythonApi* | [**from_bandersnatch**](docs/RemotesPythonApi.md#from_bandersnatch) | **POST** /pulp/api/v3/remotes/python/python/from_bandersnatch/ | Create from Bandersnatch
|
125
125
|
*PulpPythonClient::RemotesPythonApi* | [**list**](docs/RemotesPythonApi.md#list) | **GET** /pulp/api/v3/remotes/python/python/ | List python remotes
|
126
126
|
*PulpPythonClient::RemotesPythonApi* | [**partial_update**](docs/RemotesPythonApi.md#partial_update) | **PATCH** {python_remote_href} | Partially update a python remote
|
127
127
|
*PulpPythonClient::RemotesPythonApi* | [**read**](docs/RemotesPythonApi.md#read) | **GET** {python_remote_href} | Inspect a python remote
|
@@ -150,20 +150,14 @@ Class | Method | HTTP request | Description
|
|
150
150
|
- [PulpPythonClient::InlineResponse2003](docs/InlineResponse2003.md)
|
151
151
|
- [PulpPythonClient::InlineResponse2004](docs/InlineResponse2004.md)
|
152
152
|
- [PulpPythonClient::InlineResponse2005](docs/InlineResponse2005.md)
|
153
|
-
- [PulpPythonClient::ProjectSpecifier](docs/ProjectSpecifier.md)
|
154
153
|
- [PulpPythonClient::PythonPythonDistribution](docs/PythonPythonDistribution.md)
|
155
|
-
- [PulpPythonClient::
|
156
|
-
- [PulpPythonClient::PythonPythonPackageContentRead](docs/PythonPythonPackageContentRead.md)
|
154
|
+
- [PulpPythonClient::PythonPythonPackageContent](docs/PythonPythonPackageContent.md)
|
157
155
|
- [PulpPythonClient::PythonPythonPublication](docs/PythonPythonPublication.md)
|
158
|
-
- [PulpPythonClient::PythonPythonPublicationRead](docs/PythonPythonPublicationRead.md)
|
159
156
|
- [PulpPythonClient::PythonPythonRemote](docs/PythonPythonRemote.md)
|
160
|
-
- [PulpPythonClient::PythonPythonRemoteRead](docs/PythonPythonRemoteRead.md)
|
161
157
|
- [PulpPythonClient::PythonPythonRepository](docs/PythonPythonRepository.md)
|
162
|
-
- [PulpPythonClient::PythonPythonRepositoryRead](docs/PythonPythonRepositoryRead.md)
|
163
158
|
- [PulpPythonClient::RepositoryAddRemoveContent](docs/RepositoryAddRemoveContent.md)
|
164
159
|
- [PulpPythonClient::RepositorySyncURL](docs/RepositorySyncURL.md)
|
165
160
|
- [PulpPythonClient::RepositoryVersion](docs/RepositoryVersion.md)
|
166
|
-
- [PulpPythonClient::RepositoryVersionRead](docs/RepositoryVersionRead.md)
|
167
161
|
|
168
162
|
|
169
163
|
## Documentation for Authorization
|
data/docs/ContentPackagesApi.md
CHANGED
@@ -12,7 +12,7 @@ Method | HTTP request | Description
|
|
12
12
|
|
13
13
|
## create
|
14
14
|
|
15
|
-
> AsyncOperationResponse create(relative_path,
|
15
|
+
> AsyncOperationResponse create(relative_path, opts)
|
16
16
|
|
17
17
|
Create a python package content
|
18
18
|
|
@@ -32,7 +32,6 @@ end
|
|
32
32
|
|
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
|
-
filename = 'filename_example' # String | The name of the distribution package, usually of the format: {distribution}-{version}(-{build tag})?-{python tag}-{abi tag}-{platform tag}.{packagetype}
|
36
35
|
opts = {
|
37
36
|
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
38
37
|
file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the artifact of the content unit.
|
@@ -60,7 +59,7 @@ opts = {
|
|
60
59
|
|
61
60
|
begin
|
62
61
|
#Create a python package content
|
63
|
-
result = api_instance.create(relative_path,
|
62
|
+
result = api_instance.create(relative_path, opts)
|
64
63
|
p result
|
65
64
|
rescue PulpPythonClient::ApiError => e
|
66
65
|
puts "Exception when calling ContentPackagesApi->create: #{e}"
|
@@ -73,7 +72,6 @@ end
|
|
73
72
|
Name | Type | Description | Notes
|
74
73
|
------------- | ------------- | ------------- | -------------
|
75
74
|
**relative_path** | **String**| Path where the artifact is located relative to distributions base_path |
|
76
|
-
**filename** | **String**| The name of the distribution package, usually of the format: {distribution}-{version}(-{build tag})?-{python tag}-{abi tag}-{platform tag}.{packagetype} |
|
77
75
|
**artifact** | **String**| Artifact file representing the physical content | [optional]
|
78
76
|
**file** | **File**| An uploaded file that may be turned into the artifact of the content unit. | [optional]
|
79
77
|
**repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
|
@@ -204,7 +202,7 @@ Name | Type | Description | Notes
|
|
204
202
|
|
205
203
|
## read
|
206
204
|
|
207
|
-
>
|
205
|
+
> PythonPythonPackageContent read(python_package_content_href, opts)
|
208
206
|
|
209
207
|
Inspect a python package content
|
210
208
|
|
@@ -249,7 +247,7 @@ Name | Type | Description | Notes
|
|
249
247
|
|
250
248
|
### Return type
|
251
249
|
|
252
|
-
[**
|
250
|
+
[**PythonPythonPackageContent**](PythonPythonPackageContent.md)
|
253
251
|
|
254
252
|
### Authorization
|
255
253
|
|
@@ -251,7 +251,7 @@ Name | Type | Description | Notes
|
|
251
251
|
|
252
252
|
## read
|
253
253
|
|
254
|
-
>
|
254
|
+
> PythonPythonDistribution read(python_distribution_href, opts)
|
255
255
|
|
256
256
|
Inspect a python distribution
|
257
257
|
|
@@ -296,7 +296,7 @@ Name | Type | Description | Notes
|
|
296
296
|
|
297
297
|
### Return type
|
298
298
|
|
299
|
-
[**
|
299
|
+
[**PythonPythonDistribution**](PythonPythonDistribution.md)
|
300
300
|
|
301
301
|
### Authorization
|
302
302
|
|
data/docs/InlineResponse200.md
CHANGED
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**count** | **Integer** | |
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<
|
10
|
+
**results** | [**Array<PythonPythonPackageContent>**](PythonPythonPackageContent.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
data/docs/InlineResponse2001.md
CHANGED
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**count** | **Integer** | |
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<
|
10
|
+
**results** | [**Array<PythonPythonDistribution>**](PythonPythonDistribution.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
data/docs/InlineResponse2002.md
CHANGED
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**count** | **Integer** | |
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<
|
10
|
+
**results** | [**Array<PythonPythonPublication>**](PythonPythonPublication.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
data/docs/InlineResponse2003.md
CHANGED
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**count** | **Integer** | |
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<
|
10
|
+
**results** | [**Array<PythonPythonRemote>**](PythonPythonRemote.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
data/docs/InlineResponse2004.md
CHANGED
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**count** | **Integer** | |
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<
|
10
|
+
**results** | [**Array<PythonPythonRepository>**](PythonPythonRepository.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
data/docs/InlineResponse2005.md
CHANGED
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**count** | **Integer** | |
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<
|
10
|
+
**results** | [**Array<RepositoryVersion>**](RepositoryVersion.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
data/docs/PublicationsPypiApi.md
CHANGED
@@ -195,7 +195,7 @@ Name | Type | Description | Notes
|
|
195
195
|
|
196
196
|
## read
|
197
197
|
|
198
|
-
>
|
198
|
+
> PythonPythonPublication read(python_publication_href, opts)
|
199
199
|
|
200
200
|
Inspect a python publication
|
201
201
|
|
@@ -240,7 +240,7 @@ Name | Type | Description | Notes
|
|
240
240
|
|
241
241
|
### Return type
|
242
242
|
|
243
|
-
[**
|
243
|
+
[**PythonPythonPublication**](PythonPythonPublication.md)
|
244
244
|
|
245
245
|
### Authorization
|
246
246
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# PulpPythonClient::
|
1
|
+
# PulpPythonClient::PythonPythonPackageContent
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -7,7 +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
|
**artifact** | **String** | Artifact file representing the physical content | [optional]
|
10
|
-
**filename** | **String** | The name of the distribution package, usually of the format: {distribution}-{version}(-{build tag})?-{python tag}-{abi tag}-{platform tag}.{packagetype} |
|
10
|
+
**filename** | **String** | The name of the distribution package, usually of the format: {distribution}-{version}(-{build tag})?-{python tag}-{abi tag}-{platform tag}.{packagetype} | [optional] [readonly]
|
11
11
|
**packagetype** | **String** | The type of the distribution package (e.g. sdist, bdist_wheel, bdist_egg, etc) | [optional] [readonly]
|
12
12
|
**name** | **String** | The name of the python project. | [optional] [readonly]
|
13
13
|
**version** | **String** | The packages version number. | [optional] [readonly]
|
@@ -37,7 +37,7 @@ Name | Type | Description | Notes
|
|
37
37
|
```ruby
|
38
38
|
require 'PulpPythonClient'
|
39
39
|
|
40
|
-
instance = PulpPythonClient::
|
40
|
+
instance = PulpPythonClient::PythonPythonPackageContent.new(pulp_href: null,
|
41
41
|
pulp_created: null,
|
42
42
|
artifact: null,
|
43
43
|
filename: null,
|
data/docs/PythonPythonRemote.md
CHANGED
@@ -18,8 +18,8 @@ Name | Type | Description | Notes
|
|
18
18
|
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
19
19
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
20
20
|
**policy** | **String** | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'cache_only'. 'immediate' is the default. | [optional] [default to 'immediate']
|
21
|
-
**includes** | [**
|
22
|
-
**excludes** | [**
|
21
|
+
**includes** | [**Object**](.md) | A JSON list containing project specifiers for Python packages to include. | [optional]
|
22
|
+
**excludes** | [**Object**](.md) | A JSON list containing project specifiers for Python packages to exclude. | [optional]
|
23
23
|
**prereleases** | **Boolean** | Whether or not to include pre-release packages in the sync. | [optional]
|
24
24
|
|
25
25
|
## Code Sample
|
data/docs/RemotesPythonApi.md
CHANGED
@@ -6,6 +6,7 @@ Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
7
7
|
[**create**](RemotesPythonApi.md#create) | **POST** /pulp/api/v3/remotes/python/python/ | Create a python remote
|
8
8
|
[**delete**](RemotesPythonApi.md#delete) | **DELETE** {python_remote_href} | Delete a python remote
|
9
|
+
[**from_bandersnatch**](RemotesPythonApi.md#from_bandersnatch) | **POST** /pulp/api/v3/remotes/python/python/from_bandersnatch/ | Create from Bandersnatch
|
9
10
|
[**list**](RemotesPythonApi.md#list) | **GET** /pulp/api/v3/remotes/python/python/ | List python remotes
|
10
11
|
[**partial_update**](RemotesPythonApi.md#partial_update) | **PATCH** {python_remote_href} | Partially update a python remote
|
11
12
|
[**read**](RemotesPythonApi.md#read) | **GET** {python_remote_href} | Inspect a python remote
|
@@ -15,7 +16,7 @@ Method | HTTP request | Description
|
|
15
16
|
|
16
17
|
## create
|
17
18
|
|
18
|
-
>
|
19
|
+
> PythonPythonRemote create(data)
|
19
20
|
|
20
21
|
Create a python remote
|
21
22
|
|
@@ -54,7 +55,7 @@ Name | Type | Description | Notes
|
|
54
55
|
|
55
56
|
### Return type
|
56
57
|
|
57
|
-
[**
|
58
|
+
[**PythonPythonRemote**](PythonPythonRemote.md)
|
58
59
|
|
59
60
|
### Authorization
|
60
61
|
|
@@ -119,6 +120,61 @@ Name | Type | Description | Notes
|
|
119
120
|
- **Accept**: application/json
|
120
121
|
|
121
122
|
|
123
|
+
## from_bandersnatch
|
124
|
+
|
125
|
+
> PythonPythonRemote from_bandersnatch(config, name)
|
126
|
+
|
127
|
+
Create from Bandersnatch
|
128
|
+
|
129
|
+
Create a remote from a Bandersnatch config
|
130
|
+
|
131
|
+
### Example
|
132
|
+
|
133
|
+
```ruby
|
134
|
+
# load the gem
|
135
|
+
require 'pulp_python_client'
|
136
|
+
# setup authorization
|
137
|
+
PulpPythonClient.configure do |config|
|
138
|
+
# Configure HTTP basic authorization: Basic
|
139
|
+
config.username = 'YOUR USERNAME'
|
140
|
+
config.password = 'YOUR PASSWORD'
|
141
|
+
end
|
142
|
+
|
143
|
+
api_instance = PulpPythonClient::RemotesPythonApi.new
|
144
|
+
config = File.new('/path/to/file') # File | A Bandersnatch config that may be used to construct a Python Remote.
|
145
|
+
name = 'name_example' # String | A unique name for this remote
|
146
|
+
|
147
|
+
begin
|
148
|
+
#Create from Bandersnatch
|
149
|
+
result = api_instance.from_bandersnatch(config, name)
|
150
|
+
p result
|
151
|
+
rescue PulpPythonClient::ApiError => e
|
152
|
+
puts "Exception when calling RemotesPythonApi->from_bandersnatch: #{e}"
|
153
|
+
end
|
154
|
+
```
|
155
|
+
|
156
|
+
### Parameters
|
157
|
+
|
158
|
+
|
159
|
+
Name | Type | Description | Notes
|
160
|
+
------------- | ------------- | ------------- | -------------
|
161
|
+
**config** | **File**| A Bandersnatch config that may be used to construct a Python Remote. |
|
162
|
+
**name** | **String**| A unique name for this remote |
|
163
|
+
|
164
|
+
### Return type
|
165
|
+
|
166
|
+
[**PythonPythonRemote**](PythonPythonRemote.md)
|
167
|
+
|
168
|
+
### Authorization
|
169
|
+
|
170
|
+
[Basic](../README.md#Basic)
|
171
|
+
|
172
|
+
### HTTP request headers
|
173
|
+
|
174
|
+
- **Content-Type**: multipart/form-data, application/x-www-form-urlencoded
|
175
|
+
- **Accept**: application/json
|
176
|
+
|
177
|
+
|
122
178
|
## list
|
123
179
|
|
124
180
|
> InlineResponse2003 list(opts)
|
@@ -255,7 +311,7 @@ Name | Type | Description | Notes
|
|
255
311
|
|
256
312
|
## read
|
257
313
|
|
258
|
-
>
|
314
|
+
> PythonPythonRemote read(python_remote_href, opts)
|
259
315
|
|
260
316
|
Inspect a python remote
|
261
317
|
|
@@ -300,7 +356,7 @@ Name | Type | Description | Notes
|
|
300
356
|
|
301
357
|
### Return type
|
302
358
|
|
303
|
-
[**
|
359
|
+
[**PythonPythonRemote**](PythonPythonRemote.md)
|
304
360
|
|
305
361
|
### Authorization
|
306
362
|
|
@@ -17,7 +17,7 @@ Method | HTTP request | Description
|
|
17
17
|
|
18
18
|
## create
|
19
19
|
|
20
|
-
>
|
20
|
+
> PythonPythonRepository create(data)
|
21
21
|
|
22
22
|
Create a python repository
|
23
23
|
|
@@ -56,7 +56,7 @@ Name | Type | Description | Notes
|
|
56
56
|
|
57
57
|
### Return type
|
58
58
|
|
59
|
-
[**
|
59
|
+
[**PythonPythonRepository**](PythonPythonRepository.md)
|
60
60
|
|
61
61
|
### Authorization
|
62
62
|
|
@@ -300,7 +300,7 @@ Name | Type | Description | Notes
|
|
300
300
|
|
301
301
|
## read
|
302
302
|
|
303
|
-
>
|
303
|
+
> PythonPythonRepository read(python_repository_href, opts)
|
304
304
|
|
305
305
|
Inspect a python repository
|
306
306
|
|
@@ -345,7 +345,7 @@ Name | Type | Description | Notes
|
|
345
345
|
|
346
346
|
### Return type
|
347
347
|
|
348
|
-
[**
|
348
|
+
[**PythonPythonRepository**](PythonPythonRepository.md)
|
349
349
|
|
350
350
|
### Authorization
|
351
351
|
|
@@ -99,8 +99,9 @@ opts = {
|
|
99
99
|
pulp_created__gt: 'pulp_created__gt_example', # String | Filter results where pulp_created is greater than value
|
100
100
|
pulp_created__gte: 'pulp_created__gte_example', # String | Filter results where pulp_created is greater than or equal to value
|
101
101
|
pulp_created__range: 'pulp_created__range_example', # String | Filter results where pulp_created is between two comma separated values
|
102
|
-
content: 'content_example', # String | Content Unit referenced by HREF
|
103
102
|
pulp_created: 'pulp_created_example', # String | ISO 8601 formatted dates are supported
|
103
|
+
content: 'content_example', # String | Content Unit referenced by HREF
|
104
|
+
content__in: 'content__in_example', # String | Content Unit referenced by HREF
|
104
105
|
limit: 56, # Integer | Number of results to return per page.
|
105
106
|
offset: 56, # Integer | The initial index from which to return the results.
|
106
107
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
@@ -134,8 +135,9 @@ Name | Type | Description | Notes
|
|
134
135
|
**pulp_created__gt** | **String**| Filter results where pulp_created is greater than value | [optional]
|
135
136
|
**pulp_created__gte** | **String**| Filter results where pulp_created is greater than or equal to value | [optional]
|
136
137
|
**pulp_created__range** | **String**| Filter results where pulp_created is between two comma separated values | [optional]
|
137
|
-
**content** | **String**| Content Unit referenced by HREF | [optional]
|
138
138
|
**pulp_created** | **String**| ISO 8601 formatted dates are supported | [optional]
|
139
|
+
**content** | **String**| Content Unit referenced by HREF | [optional]
|
140
|
+
**content__in** | **String**| Content Unit referenced by HREF | [optional]
|
139
141
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
140
142
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
141
143
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
@@ -157,7 +159,7 @@ Name | Type | Description | Notes
|
|
157
159
|
|
158
160
|
## read
|
159
161
|
|
160
|
-
>
|
162
|
+
> RepositoryVersion read(python_repository_version_href, opts)
|
161
163
|
|
162
164
|
Inspect a repository version
|
163
165
|
|
@@ -202,7 +204,7 @@ Name | Type | Description | Notes
|
|
202
204
|
|
203
205
|
### Return type
|
204
206
|
|
205
|
-
[**
|
207
|
+
[**RepositoryVersion**](RepositoryVersion.md)
|
206
208
|
|
207
209
|
### Authorization
|
208
210
|
|
data/lib/pulp_python_client.rb
CHANGED
@@ -25,20 +25,14 @@ require 'pulp_python_client/models/inline_response2002'
|
|
25
25
|
require 'pulp_python_client/models/inline_response2003'
|
26
26
|
require 'pulp_python_client/models/inline_response2004'
|
27
27
|
require 'pulp_python_client/models/inline_response2005'
|
28
|
-
require 'pulp_python_client/models/project_specifier'
|
29
28
|
require 'pulp_python_client/models/python_python_distribution'
|
30
|
-
require 'pulp_python_client/models/
|
31
|
-
require 'pulp_python_client/models/python_python_package_content_read'
|
29
|
+
require 'pulp_python_client/models/python_python_package_content'
|
32
30
|
require 'pulp_python_client/models/python_python_publication'
|
33
|
-
require 'pulp_python_client/models/python_python_publication_read'
|
34
31
|
require 'pulp_python_client/models/python_python_remote'
|
35
|
-
require 'pulp_python_client/models/python_python_remote_read'
|
36
32
|
require 'pulp_python_client/models/python_python_repository'
|
37
|
-
require 'pulp_python_client/models/python_python_repository_read'
|
38
33
|
require 'pulp_python_client/models/repository_add_remove_content'
|
39
34
|
require 'pulp_python_client/models/repository_sync_url'
|
40
35
|
require 'pulp_python_client/models/repository_version'
|
41
|
-
require 'pulp_python_client/models/repository_version_read'
|
42
36
|
|
43
37
|
# APIs
|
44
38
|
require 'pulp_python_client/api/content_packages_api'
|