pulp_python_client 3.0.0b9 → 3.0.0b11.dev01596663644
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.
Potentially problematic release.
This version of pulp_python_client might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +49 -42
- data/docs/ContentPackagesApi.md +56 -58
- data/docs/ContentSummary.md +3 -3
- data/docs/ContentSummaryResponse.md +21 -0
- data/docs/DistributionsPypiApi.md +110 -62
- data/docs/InlineResponse200.md +3 -3
- data/docs/InlineResponse2001.md +3 -3
- data/docs/InlineResponse2002.md +3 -3
- data/docs/InlineResponse2003.md +3 -3
- data/docs/InlineResponse2004.md +3 -3
- data/docs/InlineResponse2005.md +3 -3
- data/docs/PatchedpythonPythonDistribution.md +23 -0
- data/docs/PatchedpythonPythonRemote.md +43 -0
- data/docs/PatchedpythonPythonRepository.md +21 -0
- data/docs/PolicyEnum.md +16 -0
- data/docs/PublicationsPypiApi.md +43 -43
- data/docs/PythonBanderRemote.md +19 -0
- data/docs/PythonPythonDistribution.md +1 -7
- data/docs/{PythonPythonDistributionRead.md → PythonPythonDistributionResponse.md} +2 -2
- data/docs/PythonPythonPackageContent.md +61 -0
- data/docs/{PythonPythonPackageContentRead.md → PythonPythonPackageContentResponse.md} +3 -3
- data/docs/PythonPythonPublication.md +2 -8
- data/docs/{PythonPythonPublicationRead.md → PythonPythonPublicationResponse.md} +2 -2
- data/docs/PythonPythonRemote.md +6 -12
- data/docs/{PythonPythonRemoteRead.md → PythonPythonRemoteResponse.md} +7 -7
- data/docs/PythonPythonRepository.md +4 -10
- data/docs/{PythonPythonRepositoryRead.md → PythonPythonRepositoryResponse.md} +5 -3
- data/docs/RemotesPythonApi.md +184 -68
- data/docs/RepositoriesPythonApi.md +97 -73
- data/docs/RepositoriesPythonVersionsApi.md +94 -60
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/docs/RepositorySyncURL.md +1 -1
- data/docs/RepositoryVersion.md +1 -9
- data/docs/{RepositoryVersionRead.md → RepositoryVersionResponse.md} +3 -3
- data/lib/pulp_python_client.rb +15 -9
- data/lib/pulp_python_client/api/content_packages_api.rb +77 -88
- data/lib/pulp_python_client/api/distributions_pypi_api.rb +157 -94
- data/lib/pulp_python_client/api/publications_pypi_api.rb +65 -65
- data/lib/pulp_python_client/api/remotes_python_api.rb +259 -106
- data/lib/pulp_python_client/api/repositories_python_api.rb +145 -118
- data/lib/pulp_python_client/api/repositories_python_versions_api.rb +137 -89
- data/lib/pulp_python_client/api_client.rb +2 -2
- data/lib/pulp_python_client/api_error.rb +2 -2
- data/lib/pulp_python_client/configuration.rb +3 -3
- data/lib/pulp_python_client/models/async_operation_response.rb +3 -2
- data/lib/pulp_python_client/models/content_summary.rb +9 -15
- data/lib/pulp_python_client/models/content_summary_response.rb +240 -0
- data/lib/pulp_python_client/models/inline_response200.rb +3 -13
- data/lib/pulp_python_client/models/inline_response2001.rb +3 -13
- data/lib/pulp_python_client/models/inline_response2002.rb +3 -13
- data/lib/pulp_python_client/models/inline_response2003.rb +3 -13
- data/lib/pulp_python_client/models/inline_response2004.rb +3 -13
- data/lib/pulp_python_client/models/inline_response2005.rb +3 -13
- data/lib/pulp_python_client/models/patchedpython_python_distribution.rb +240 -0
- data/lib/pulp_python_client/models/patchedpython_python_remote.rb +359 -0
- data/lib/pulp_python_client/models/patchedpython_python_repository.rb +229 -0
- data/lib/pulp_python_client/models/policy_enum.rb +37 -0
- data/lib/pulp_python_client/models/{project_specifier.rb → python_bander_remote.rb} +26 -40
- data/lib/pulp_python_client/models/python_python_distribution.rb +4 -85
- data/lib/pulp_python_client/models/{python_python_distribution_read.rb → python_python_distribution_response.rb} +6 -58
- data/lib/pulp_python_client/models/python_python_package_content.rb +433 -0
- data/lib/pulp_python_client/models/{python_python_package_content_read.rb → python_python_package_content_response.rb} +6 -89
- data/lib/pulp_python_client/models/python_python_publication.rb +7 -37
- data/lib/pulp_python_client/models/{python_python_publication_read.rb → python_python_publication_response.rb} +6 -5
- data/lib/pulp_python_client/models/python_python_remote.rb +13 -209
- data/lib/pulp_python_client/models/{python_python_remote_read.rb → python_python_remote_response.rb} +15 -182
- data/lib/pulp_python_client/models/python_python_repository.rb +18 -78
- data/lib/pulp_python_client/models/{python_python_repository_read.rb → python_python_repository_response.rb} +21 -44
- data/lib/pulp_python_client/models/repository_add_remove_content.rb +5 -4
- data/lib/pulp_python_client/models/repository_sync_url.rb +3 -8
- data/lib/pulp_python_client/models/repository_version.rb +7 -43
- data/lib/pulp_python_client/models/{repository_version_read.rb → repository_version_response.rb} +8 -6
- data/lib/pulp_python_client/version.rb +3 -3
- data/pulp_python_client.gemspec +4 -4
- data/spec/api/content_packages_api_spec.rb +26 -27
- data/spec/api/distributions_pypi_api_spec.rb +41 -20
- data/spec/api/publications_pypi_api_spec.rb +17 -17
- data/spec/api/remotes_python_api_spec.rb +64 -24
- data/spec/api/repositories_python_api_spec.rb +28 -19
- data/spec/api/repositories_python_versions_api_spec.rb +38 -22
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +2 -2
- data/spec/models/async_operation_response_spec.rb +2 -2
- data/spec/models/content_summary_response_spec.rb +53 -0
- data/spec/models/content_summary_spec.rb +2 -2
- data/spec/models/inline_response2001_spec.rb +2 -2
- data/spec/models/inline_response2002_spec.rb +2 -2
- data/spec/models/inline_response2003_spec.rb +2 -2
- data/spec/models/inline_response2004_spec.rb +2 -2
- data/spec/models/inline_response2005_spec.rb +2 -2
- data/spec/models/inline_response200_spec.rb +2 -2
- data/spec/models/patchedpython_python_distribution_spec.rb +59 -0
- data/spec/models/patchedpython_python_remote_spec.rb +119 -0
- data/spec/models/patchedpython_python_repository_spec.rb +53 -0
- data/spec/models/policy_enum_spec.rb +35 -0
- data/spec/models/{project_specifier_spec.rb → python_bander_remote_spec.rb} +10 -10
- data/spec/models/{python_python_distribution_read_spec.rb → python_python_distribution_response_spec.rb} +8 -8
- data/spec/models/python_python_distribution_spec.rb +2 -20
- data/spec/models/{python_python_package_content_read_spec.rb → python_python_package_content_response_spec.rb} +8 -8
- data/spec/models/python_python_package_content_spec.rb +173 -0
- data/spec/models/{python_python_publication_read_spec.rb → python_python_publication_response_spec.rb} +8 -8
- data/spec/models/python_python_publication_spec.rb +2 -20
- data/spec/models/{python_python_remote_read_spec.rb → python_python_remote_response_spec.rb} +8 -12
- data/spec/models/python_python_remote_spec.rb +2 -24
- data/spec/models/{python_python_repository_read_spec.rb → python_python_repository_response_spec.rb} +14 -8
- data/spec/models/python_python_repository_spec.rb +5 -23
- data/spec/models/repository_add_remove_content_spec.rb +2 -2
- data/spec/models/repository_sync_url_spec.rb +2 -2
- data/spec/models/{repository_version_read_spec.rb → repository_version_response_spec.rb} +8 -8
- data/spec/models/repository_version_spec.rb +2 -26
- data/spec/spec_helper.rb +2 -2
- metadata +70 -46
- data/docs/ProjectSpecifier.md +0 -19
|
@@ -4,10 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
|
8
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
9
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\") |
|
|
10
|
-
**base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
|
|
11
8
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
|
12
9
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
13
10
|
**publication** | **String** | Publication to be served | [optional]
|
|
@@ -17,10 +14,7 @@ Name | Type | Description | Notes
|
|
|
17
14
|
```ruby
|
|
18
15
|
require 'PulpPythonClient'
|
|
19
16
|
|
|
20
|
-
instance = PulpPythonClient::PythonPythonDistribution.new(
|
|
21
|
-
pulp_created: null,
|
|
22
|
-
base_path: null,
|
|
23
|
-
base_url: null,
|
|
17
|
+
instance = PulpPythonClient::PythonPythonDistribution.new(base_path: null,
|
|
24
18
|
content_guard: null,
|
|
25
19
|
name: null,
|
|
26
20
|
publication: null)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# PulpPythonClient::
|
|
1
|
+
# PulpPythonClient::PythonPythonDistributionResponse
|
|
2
2
|
|
|
3
3
|
## Properties
|
|
4
4
|
|
|
@@ -17,7 +17,7 @@ Name | Type | Description | Notes
|
|
|
17
17
|
```ruby
|
|
18
18
|
require 'PulpPythonClient'
|
|
19
19
|
|
|
20
|
-
instance = PulpPythonClient::
|
|
20
|
+
instance = PulpPythonClient::PythonPythonDistributionResponse.new(pulp_href: null,
|
|
21
21
|
pulp_created: null,
|
|
22
22
|
base_path: null,
|
|
23
23
|
base_url: null,
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# PulpPythonClient::PythonPythonPackageContent
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**artifact** | **String** | Artifact file representing the physical content | [optional]
|
|
8
|
+
**relative_path** | **String** | Path where the artifact is located relative to distributions base_path |
|
|
9
|
+
**file** | **File** | An uploaded file that may be turned into the artifact of the content unit. | [optional]
|
|
10
|
+
**repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
|
|
11
|
+
**summary** | **String** | A one-line summary of what the package does. | [optional]
|
|
12
|
+
**description** | **String** | A longer description of the package that can run to several paragraphs. | [optional]
|
|
13
|
+
**keywords** | **String** | Additional keywords to be used to assist searching for the package in a larger catalog. | [optional]
|
|
14
|
+
**home_page** | **String** | The URL for the package's home page. | [optional]
|
|
15
|
+
**download_url** | **String** | Legacy field denoting the URL from which this package can be downloaded. | [optional]
|
|
16
|
+
**author** | **String** | Text containing the author's name. Contact information can also be added, separated with newlines. | [optional]
|
|
17
|
+
**author_email** | **String** | The author's e-mail address. | [optional]
|
|
18
|
+
**maintainer** | **String** | The maintainer's name at a minimum; additional contact information may be provided. | [optional]
|
|
19
|
+
**maintainer_email** | **String** | The maintainer's e-mail address. | [optional]
|
|
20
|
+
**license** | **String** | Text indicating the license covering the distribution | [optional]
|
|
21
|
+
**requires_python** | **String** | The Python version(s) that the distribution is guaranteed to be compatible with. | [optional]
|
|
22
|
+
**project_url** | **String** | A browsable URL for the project and a label for it, separated by a comma. | [optional]
|
|
23
|
+
**platform** | **String** | A comma-separated list of platform specifications, summarizing the operating systems supported by the package. | [optional]
|
|
24
|
+
**supported_platform** | **String** | Field to specify the OS and CPU for which the binary package was compiled. | [optional]
|
|
25
|
+
**requires_dist** | [**Object**](.md) | A JSON list containing names of some other distutils project required by this distribution. | [optional]
|
|
26
|
+
**provides_dist** | [**Object**](.md) | A JSON list containing names of a Distutils project which is contained within this distribution. | [optional]
|
|
27
|
+
**obsoletes_dist** | [**Object**](.md) | A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time. | [optional]
|
|
28
|
+
**requires_external** | [**Object**](.md) | A JSON list containing some dependency in the system that the distribution is to be used. | [optional]
|
|
29
|
+
**classifiers** | [**Object**](.md) | A JSON list containing classification values for a Python package. | [optional]
|
|
30
|
+
|
|
31
|
+
## Code Sample
|
|
32
|
+
|
|
33
|
+
```ruby
|
|
34
|
+
require 'PulpPythonClient'
|
|
35
|
+
|
|
36
|
+
instance = PulpPythonClient::PythonPythonPackageContent.new(artifact: null,
|
|
37
|
+
relative_path: null,
|
|
38
|
+
file: null,
|
|
39
|
+
repository: null,
|
|
40
|
+
summary: null,
|
|
41
|
+
description: null,
|
|
42
|
+
keywords: null,
|
|
43
|
+
home_page: null,
|
|
44
|
+
download_url: null,
|
|
45
|
+
author: null,
|
|
46
|
+
author_email: null,
|
|
47
|
+
maintainer: null,
|
|
48
|
+
maintainer_email: null,
|
|
49
|
+
license: null,
|
|
50
|
+
requires_python: null,
|
|
51
|
+
project_url: null,
|
|
52
|
+
platform: null,
|
|
53
|
+
supported_platform: null,
|
|
54
|
+
requires_dist: null,
|
|
55
|
+
provides_dist: null,
|
|
56
|
+
obsoletes_dist: null,
|
|
57
|
+
requires_external: null,
|
|
58
|
+
classifiers: null)
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# PulpPythonClient::
|
|
1
|
+
# PulpPythonClient::PythonPythonPackageContentResponse
|
|
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::PythonPythonPackageContentResponse.new(pulp_href: null,
|
|
41
41
|
pulp_created: null,
|
|
42
42
|
artifact: null,
|
|
43
43
|
filename: null,
|
|
@@ -4,22 +4,16 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
|
8
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
9
7
|
**repository_version** | **String** | | [optional]
|
|
10
8
|
**repository** | **String** | A URI of the repository to be published. | [optional]
|
|
11
|
-
**distributions** | **Array<String>** | This publication is currently being hosted as configured by these distributions. | [optional] [readonly]
|
|
12
9
|
|
|
13
10
|
## Code Sample
|
|
14
11
|
|
|
15
12
|
```ruby
|
|
16
13
|
require 'PulpPythonClient'
|
|
17
14
|
|
|
18
|
-
instance = PulpPythonClient::PythonPythonPublication.new(
|
|
19
|
-
|
|
20
|
-
repository_version: null,
|
|
21
|
-
repository: null,
|
|
22
|
-
distributions: null)
|
|
15
|
+
instance = PulpPythonClient::PythonPythonPublication.new(repository_version: null,
|
|
16
|
+
repository: null)
|
|
23
17
|
```
|
|
24
18
|
|
|
25
19
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# PulpPythonClient::
|
|
1
|
+
# PulpPythonClient::PythonPythonPublicationResponse
|
|
2
2
|
|
|
3
3
|
## Properties
|
|
4
4
|
|
|
@@ -15,7 +15,7 @@ Name | Type | Description | Notes
|
|
|
15
15
|
```ruby
|
|
16
16
|
require 'PulpPythonClient'
|
|
17
17
|
|
|
18
|
-
instance = PulpPythonClient::
|
|
18
|
+
instance = PulpPythonClient::PythonPythonPublicationResponse.new(pulp_href: null,
|
|
19
19
|
pulp_created: null,
|
|
20
20
|
repository_version: null,
|
|
21
21
|
repository: null,
|
data/docs/PythonPythonRemote.md
CHANGED
|
@@ -4,22 +4,19 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
|
8
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
9
7
|
**name** | **String** | A unique name for this remote. |
|
|
10
8
|
**url** | **String** | The URL of an external content source. |
|
|
11
|
-
**ca_cert** | **String** | A
|
|
12
|
-
**client_cert** | **String** | A
|
|
9
|
+
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
|
10
|
+
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
|
13
11
|
**client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
|
|
14
12
|
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
|
15
13
|
**proxy_url** | **String** | The proxy URL. Format: scheme://user:password@host:port | [optional]
|
|
16
14
|
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
|
17
15
|
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
|
18
|
-
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
|
19
16
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
|
20
|
-
**policy** | **
|
|
21
|
-
**includes** | [**
|
|
22
|
-
**excludes** | [**
|
|
17
|
+
**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
|
+
**includes** | [**Object**](.md) | A JSON list containing project specifiers for Python packages to include. | [optional]
|
|
19
|
+
**excludes** | [**Object**](.md) | A JSON list containing project specifiers for Python packages to exclude. | [optional]
|
|
23
20
|
**prereleases** | **Boolean** | Whether or not to include pre-release packages in the sync. | [optional]
|
|
24
21
|
|
|
25
22
|
## Code Sample
|
|
@@ -27,9 +24,7 @@ Name | Type | Description | Notes
|
|
|
27
24
|
```ruby
|
|
28
25
|
require 'PulpPythonClient'
|
|
29
26
|
|
|
30
|
-
instance = PulpPythonClient::PythonPythonRemote.new(
|
|
31
|
-
pulp_created: null,
|
|
32
|
-
name: null,
|
|
27
|
+
instance = PulpPythonClient::PythonPythonRemote.new(name: null,
|
|
33
28
|
url: null,
|
|
34
29
|
ca_cert: null,
|
|
35
30
|
client_cert: null,
|
|
@@ -38,7 +33,6 @@ instance = PulpPythonClient::PythonPythonRemote.new(pulp_href: null,
|
|
|
38
33
|
proxy_url: null,
|
|
39
34
|
username: null,
|
|
40
35
|
password: null,
|
|
41
|
-
pulp_last_updated: null,
|
|
42
36
|
download_concurrency: null,
|
|
43
37
|
policy: null,
|
|
44
38
|
includes: null,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# PulpPythonClient::
|
|
1
|
+
# PulpPythonClient::PythonPythonRemoteResponse
|
|
2
2
|
|
|
3
3
|
## Properties
|
|
4
4
|
|
|
@@ -8,8 +8,8 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
9
9
|
**name** | **String** | A unique name for this remote. |
|
|
10
10
|
**url** | **String** | The URL of an external content source. |
|
|
11
|
-
**ca_cert** | **String** | A
|
|
12
|
-
**client_cert** | **String** | A
|
|
11
|
+
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
|
12
|
+
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
|
13
13
|
**client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
|
|
14
14
|
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
|
15
15
|
**proxy_url** | **String** | The proxy URL. Format: scheme://user:password@host:port | [optional]
|
|
@@ -17,9 +17,9 @@ Name | Type | Description | Notes
|
|
|
17
17
|
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
|
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
|
-
**policy** | **
|
|
21
|
-
**includes** | [**
|
|
22
|
-
**excludes** | [**
|
|
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]
|
|
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
|
|
@@ -27,7 +27,7 @@ Name | Type | Description | Notes
|
|
|
27
27
|
```ruby
|
|
28
28
|
require 'PulpPythonClient'
|
|
29
29
|
|
|
30
|
-
instance = PulpPythonClient::
|
|
30
|
+
instance = PulpPythonClient::PythonPythonRemoteResponse.new(pulp_href: null,
|
|
31
31
|
pulp_created: null,
|
|
32
32
|
name: null,
|
|
33
33
|
url: null,
|
|
@@ -4,24 +4,18 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
|
8
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
9
|
-
**versions_href** | **String** | | [optional] [readonly]
|
|
10
|
-
**latest_version_href** | **String** | | [optional] [readonly]
|
|
11
7
|
**name** | **String** | A unique name for this repository. |
|
|
12
8
|
**description** | **String** | An optional description. | [optional]
|
|
9
|
+
**remote** | **String** | | [optional]
|
|
13
10
|
|
|
14
11
|
## Code Sample
|
|
15
12
|
|
|
16
13
|
```ruby
|
|
17
14
|
require 'PulpPythonClient'
|
|
18
15
|
|
|
19
|
-
instance = PulpPythonClient::PythonPythonRepository.new(
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
latest_version_href: null,
|
|
23
|
-
name: null,
|
|
24
|
-
description: null)
|
|
16
|
+
instance = PulpPythonClient::PythonPythonRepository.new(name: null,
|
|
17
|
+
description: null,
|
|
18
|
+
remote: null)
|
|
25
19
|
```
|
|
26
20
|
|
|
27
21
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# PulpPythonClient::
|
|
1
|
+
# PulpPythonClient::PythonPythonRepositoryResponse
|
|
2
2
|
|
|
3
3
|
## Properties
|
|
4
4
|
|
|
@@ -10,18 +10,20 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**latest_version_href** | **String** | | [optional] [readonly]
|
|
11
11
|
**name** | **String** | A unique name for this repository. |
|
|
12
12
|
**description** | **String** | An optional description. | [optional]
|
|
13
|
+
**remote** | **String** | | [optional]
|
|
13
14
|
|
|
14
15
|
## Code Sample
|
|
15
16
|
|
|
16
17
|
```ruby
|
|
17
18
|
require 'PulpPythonClient'
|
|
18
19
|
|
|
19
|
-
instance = PulpPythonClient::
|
|
20
|
+
instance = PulpPythonClient::PythonPythonRepositoryResponse.new(pulp_href: null,
|
|
20
21
|
pulp_created: null,
|
|
21
22
|
versions_href: null,
|
|
22
23
|
latest_version_href: null,
|
|
23
24
|
name: null,
|
|
24
|
-
description: null
|
|
25
|
+
description: null,
|
|
26
|
+
remote: null)
|
|
25
27
|
```
|
|
26
28
|
|
|
27
29
|
|
data/docs/RemotesPythonApi.md
CHANGED
|
@@ -5,21 +5,22 @@ All URIs are relative to *http://pulp*
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
7
|
[**create**](RemotesPythonApi.md#create) | **POST** /pulp/api/v3/remotes/python/python/ | Create a python remote
|
|
8
|
-
[**delete**](RemotesPythonApi.md#delete) | **DELETE** {
|
|
8
|
+
[**delete**](RemotesPythonApi.md#delete) | **DELETE** {python_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
|
-
[**partial_update**](RemotesPythonApi.md#partial_update) | **PATCH** {
|
|
11
|
-
[**read**](RemotesPythonApi.md#read) | **GET** {
|
|
12
|
-
[**update**](RemotesPythonApi.md#update) | **PUT** {
|
|
11
|
+
[**partial_update**](RemotesPythonApi.md#partial_update) | **PATCH** {python_python_remote_href} | Update a python remote
|
|
12
|
+
[**read**](RemotesPythonApi.md#read) | **GET** {python_python_remote_href} | Inspect a python remote
|
|
13
|
+
[**update**](RemotesPythonApi.md#update) | **PUT** {python_python_remote_href} | Update a python remote
|
|
13
14
|
|
|
14
15
|
|
|
15
16
|
|
|
16
17
|
## create
|
|
17
18
|
|
|
18
|
-
>
|
|
19
|
+
> PythonPythonRemoteResponse create(python_python_remote)
|
|
19
20
|
|
|
20
21
|
Create a python remote
|
|
21
22
|
|
|
22
|
-
Python Remotes are representations of an external repository of Python content, eg. PyPI. Fields include upstream repository config. Python Remotes are also used to `sync` from upstream repositories, and contains sync settings.
|
|
23
|
+
<!-- User-facing documentation, rendered as html--> Python Remotes are representations of an <b>external repository</b> of Python content, eg. PyPI. Fields include upstream repository config. Python Remotes are also used to `sync` from upstream repositories, and contains sync settings.
|
|
23
24
|
|
|
24
25
|
### Example
|
|
25
26
|
|
|
@@ -28,17 +29,17 @@ Create a python remote
|
|
|
28
29
|
require 'pulp_python_client'
|
|
29
30
|
# setup authorization
|
|
30
31
|
PulpPythonClient.configure do |config|
|
|
31
|
-
# Configure HTTP basic authorization:
|
|
32
|
+
# Configure HTTP basic authorization: basicAuth
|
|
32
33
|
config.username = 'YOUR USERNAME'
|
|
33
34
|
config.password = 'YOUR PASSWORD'
|
|
34
35
|
end
|
|
35
36
|
|
|
36
37
|
api_instance = PulpPythonClient::RemotesPythonApi.new
|
|
37
|
-
|
|
38
|
+
python_python_remote = PulpPythonClient::PythonPythonRemote.new # PythonPythonRemote |
|
|
38
39
|
|
|
39
40
|
begin
|
|
40
41
|
#Create a python remote
|
|
41
|
-
result = api_instance.create(
|
|
42
|
+
result = api_instance.create(python_python_remote)
|
|
42
43
|
p result
|
|
43
44
|
rescue PulpPythonClient::ApiError => e
|
|
44
45
|
puts "Exception when calling RemotesPythonApi->create: #{e}"
|
|
@@ -50,25 +51,25 @@ end
|
|
|
50
51
|
|
|
51
52
|
Name | Type | Description | Notes
|
|
52
53
|
------------- | ------------- | ------------- | -------------
|
|
53
|
-
**
|
|
54
|
+
**python_python_remote** | [**PythonPythonRemote**](PythonPythonRemote.md)| |
|
|
54
55
|
|
|
55
56
|
### Return type
|
|
56
57
|
|
|
57
|
-
[**
|
|
58
|
+
[**PythonPythonRemoteResponse**](PythonPythonRemoteResponse.md)
|
|
58
59
|
|
|
59
60
|
### Authorization
|
|
60
61
|
|
|
61
|
-
[
|
|
62
|
+
[basicAuth](../README.md#basicAuth)
|
|
62
63
|
|
|
63
64
|
### HTTP request headers
|
|
64
65
|
|
|
65
|
-
- **Content-Type**: application/json
|
|
66
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
66
67
|
- **Accept**: application/json
|
|
67
68
|
|
|
68
69
|
|
|
69
70
|
## delete
|
|
70
71
|
|
|
71
|
-
> AsyncOperationResponse delete(
|
|
72
|
+
> AsyncOperationResponse delete(python_python_remote_href, opts)
|
|
72
73
|
|
|
73
74
|
Delete a python remote
|
|
74
75
|
|
|
@@ -81,17 +82,28 @@ Trigger an asynchronous delete task
|
|
|
81
82
|
require 'pulp_python_client'
|
|
82
83
|
# setup authorization
|
|
83
84
|
PulpPythonClient.configure do |config|
|
|
84
|
-
# Configure HTTP basic authorization:
|
|
85
|
+
# Configure HTTP basic authorization: basicAuth
|
|
85
86
|
config.username = 'YOUR USERNAME'
|
|
86
87
|
config.password = 'YOUR PASSWORD'
|
|
87
88
|
end
|
|
88
89
|
|
|
89
90
|
api_instance = PulpPythonClient::RemotesPythonApi.new
|
|
90
|
-
|
|
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
|
+
}
|
|
91
103
|
|
|
92
104
|
begin
|
|
93
105
|
#Delete a python remote
|
|
94
|
-
result = api_instance.delete(
|
|
106
|
+
result = api_instance.delete(python_python_remote_href, opts)
|
|
95
107
|
p result
|
|
96
108
|
rescue PulpPythonClient::ApiError => e
|
|
97
109
|
puts "Exception when calling RemotesPythonApi->delete: #{e}"
|
|
@@ -103,7 +115,16 @@ end
|
|
|
103
115
|
|
|
104
116
|
Name | Type | Description | Notes
|
|
105
117
|
------------- | ------------- | ------------- | -------------
|
|
106
|
-
**
|
|
118
|
+
**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]
|
|
107
128
|
|
|
108
129
|
### Return type
|
|
109
130
|
|
|
@@ -111,7 +132,7 @@ Name | Type | Description | Notes
|
|
|
111
132
|
|
|
112
133
|
### Authorization
|
|
113
134
|
|
|
114
|
-
[
|
|
135
|
+
[basicAuth](../README.md#basicAuth)
|
|
115
136
|
|
|
116
137
|
### HTTP request headers
|
|
117
138
|
|
|
@@ -119,13 +140,68 @@ Name | Type | Description | Notes
|
|
|
119
140
|
- **Accept**: application/json
|
|
120
141
|
|
|
121
142
|
|
|
143
|
+
## from_bandersnatch
|
|
144
|
+
|
|
145
|
+
> PythonPythonRemoteResponse from_bandersnatch(config, name)
|
|
146
|
+
|
|
147
|
+
Create from Bandersnatch
|
|
148
|
+
|
|
149
|
+
Create a remote from a Bandersnatch config
|
|
150
|
+
|
|
151
|
+
### Example
|
|
152
|
+
|
|
153
|
+
```ruby
|
|
154
|
+
# load the gem
|
|
155
|
+
require 'pulp_python_client'
|
|
156
|
+
# setup authorization
|
|
157
|
+
PulpPythonClient.configure do |config|
|
|
158
|
+
# Configure HTTP basic authorization: basicAuth
|
|
159
|
+
config.username = 'YOUR USERNAME'
|
|
160
|
+
config.password = 'YOUR PASSWORD'
|
|
161
|
+
end
|
|
162
|
+
|
|
163
|
+
api_instance = PulpPythonClient::RemotesPythonApi.new
|
|
164
|
+
config = File.new('/path/to/file') # File | A Bandersnatch config that may be used to construct a Python Remote.
|
|
165
|
+
name = 'name_example' # String | A unique name for this remote
|
|
166
|
+
|
|
167
|
+
begin
|
|
168
|
+
#Create from Bandersnatch
|
|
169
|
+
result = api_instance.from_bandersnatch(config, name)
|
|
170
|
+
p result
|
|
171
|
+
rescue PulpPythonClient::ApiError => e
|
|
172
|
+
puts "Exception when calling RemotesPythonApi->from_bandersnatch: #{e}"
|
|
173
|
+
end
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
### Parameters
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
Name | Type | Description | Notes
|
|
180
|
+
------------- | ------------- | ------------- | -------------
|
|
181
|
+
**config** | **File**| A Bandersnatch config that may be used to construct a Python Remote. |
|
|
182
|
+
**name** | **String**| A unique name for this remote |
|
|
183
|
+
|
|
184
|
+
### Return type
|
|
185
|
+
|
|
186
|
+
[**PythonPythonRemoteResponse**](PythonPythonRemoteResponse.md)
|
|
187
|
+
|
|
188
|
+
### Authorization
|
|
189
|
+
|
|
190
|
+
[basicAuth](../README.md#basicAuth)
|
|
191
|
+
|
|
192
|
+
### HTTP request headers
|
|
193
|
+
|
|
194
|
+
- **Content-Type**: multipart/form-data, application/x-www-form-urlencoded
|
|
195
|
+
- **Accept**: application/json
|
|
196
|
+
|
|
197
|
+
|
|
122
198
|
## list
|
|
123
199
|
|
|
124
200
|
> InlineResponse2003 list(opts)
|
|
125
201
|
|
|
126
202
|
List python remotes
|
|
127
203
|
|
|
128
|
-
Python Remotes are representations of an external repository of Python content, eg. PyPI. Fields include upstream repository config. Python Remotes are also used to `sync` from upstream repositories, and contains sync settings.
|
|
204
|
+
<!-- User-facing documentation, rendered as html--> Python Remotes are representations of an <b>external repository</b> of Python content, eg. PyPI. Fields include upstream repository config. Python Remotes are also used to `sync` from upstream repositories, and contains sync settings.
|
|
129
205
|
|
|
130
206
|
### Example
|
|
131
207
|
|
|
@@ -134,24 +210,24 @@ List python remotes
|
|
|
134
210
|
require 'pulp_python_client'
|
|
135
211
|
# setup authorization
|
|
136
212
|
PulpPythonClient.configure do |config|
|
|
137
|
-
# Configure HTTP basic authorization:
|
|
213
|
+
# Configure HTTP basic authorization: basicAuth
|
|
138
214
|
config.username = 'YOUR USERNAME'
|
|
139
215
|
config.password = 'YOUR PASSWORD'
|
|
140
216
|
end
|
|
141
217
|
|
|
142
218
|
api_instance = PulpPythonClient::RemotesPythonApi.new
|
|
143
219
|
opts = {
|
|
144
|
-
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
|
145
|
-
name: 'name_example', # String |
|
|
146
|
-
name__in: 'name__in_example', # String | Filter results where name is in a comma-separated list of values
|
|
147
|
-
pulp_last_updated__lt: 'pulp_last_updated__lt_example', # String | Filter results where pulp_last_updated is less than value
|
|
148
|
-
pulp_last_updated__lte: 'pulp_last_updated__lte_example', # String | Filter results where pulp_last_updated is less than or equal to value
|
|
149
|
-
pulp_last_updated__gt: 'pulp_last_updated__gt_example', # String | Filter results where pulp_last_updated is greater than value
|
|
150
|
-
pulp_last_updated__gte: 'pulp_last_updated__gte_example', # String | Filter results where pulp_last_updated is greater than or equal to value
|
|
151
|
-
pulp_last_updated__range: 'pulp_last_updated__range_example', # String | Filter results where pulp_last_updated is between two comma separated values
|
|
152
|
-
pulp_last_updated: 'pulp_last_updated_example', # String | ISO 8601 formatted dates are supported
|
|
153
220
|
limit: 56, # Integer | Number of results to return per page.
|
|
221
|
+
name: 'name_example', # String | name
|
|
222
|
+
name__in: 'name__in_example', # String | name__in
|
|
154
223
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
224
|
+
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
|
225
|
+
pulp_last_updated: 'pulp_last_updated_example', # String | pulp_last_updated
|
|
226
|
+
pulp_last_updated__gt: 'pulp_last_updated__gt_example', # String | pulp_last_updated__gt
|
|
227
|
+
pulp_last_updated__gte: 'pulp_last_updated__gte_example', # String | pulp_last_updated__gte
|
|
228
|
+
pulp_last_updated__lt: 'pulp_last_updated__lt_example', # String | pulp_last_updated__lt
|
|
229
|
+
pulp_last_updated__lte: 'pulp_last_updated__lte_example', # String | pulp_last_updated__lte
|
|
230
|
+
pulp_last_updated__range: 'pulp_last_updated__range_example', # String | pulp_last_updated__range
|
|
155
231
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
156
232
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
157
233
|
}
|
|
@@ -170,17 +246,17 @@ end
|
|
|
170
246
|
|
|
171
247
|
Name | Type | Description | Notes
|
|
172
248
|
------------- | ------------- | ------------- | -------------
|
|
173
|
-
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
|
174
|
-
**name** | **String**| | [optional]
|
|
175
|
-
**name__in** | **String**| Filter results where name is in a comma-separated list of values | [optional]
|
|
176
|
-
**pulp_last_updated__lt** | **String**| Filter results where pulp_last_updated is less than value | [optional]
|
|
177
|
-
**pulp_last_updated__lte** | **String**| Filter results where pulp_last_updated is less than or equal to value | [optional]
|
|
178
|
-
**pulp_last_updated__gt** | **String**| Filter results where pulp_last_updated is greater than value | [optional]
|
|
179
|
-
**pulp_last_updated__gte** | **String**| Filter results where pulp_last_updated is greater than or equal to value | [optional]
|
|
180
|
-
**pulp_last_updated__range** | **String**| Filter results where pulp_last_updated is between two comma separated values | [optional]
|
|
181
|
-
**pulp_last_updated** | **String**| ISO 8601 formatted dates are supported | [optional]
|
|
182
249
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
250
|
+
**name** | **String**| name | [optional]
|
|
251
|
+
**name__in** | **String**| name__in | [optional]
|
|
183
252
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
253
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
|
254
|
+
**pulp_last_updated** | **String**| pulp_last_updated | [optional]
|
|
255
|
+
**pulp_last_updated__gt** | **String**| pulp_last_updated__gt | [optional]
|
|
256
|
+
**pulp_last_updated__gte** | **String**| pulp_last_updated__gte | [optional]
|
|
257
|
+
**pulp_last_updated__lt** | **String**| pulp_last_updated__lt | [optional]
|
|
258
|
+
**pulp_last_updated__lte** | **String**| pulp_last_updated__lte | [optional]
|
|
259
|
+
**pulp_last_updated__range** | **String**| pulp_last_updated__range | [optional]
|
|
184
260
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
185
261
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
186
262
|
|
|
@@ -190,7 +266,7 @@ Name | Type | Description | Notes
|
|
|
190
266
|
|
|
191
267
|
### Authorization
|
|
192
268
|
|
|
193
|
-
[
|
|
269
|
+
[basicAuth](../README.md#basicAuth)
|
|
194
270
|
|
|
195
271
|
### HTTP request headers
|
|
196
272
|
|
|
@@ -200,9 +276,9 @@ Name | Type | Description | Notes
|
|
|
200
276
|
|
|
201
277
|
## partial_update
|
|
202
278
|
|
|
203
|
-
> AsyncOperationResponse partial_update(
|
|
279
|
+
> AsyncOperationResponse partial_update(python_python_remote_href, patchedpython_python_remote, opts)
|
|
204
280
|
|
|
205
|
-
|
|
281
|
+
Update a python remote
|
|
206
282
|
|
|
207
283
|
Trigger an asynchronous partial update task
|
|
208
284
|
|
|
@@ -213,18 +289,29 @@ Trigger an asynchronous partial update task
|
|
|
213
289
|
require 'pulp_python_client'
|
|
214
290
|
# setup authorization
|
|
215
291
|
PulpPythonClient.configure do |config|
|
|
216
|
-
# Configure HTTP basic authorization:
|
|
292
|
+
# Configure HTTP basic authorization: basicAuth
|
|
217
293
|
config.username = 'YOUR USERNAME'
|
|
218
294
|
config.password = 'YOUR PASSWORD'
|
|
219
295
|
end
|
|
220
296
|
|
|
221
297
|
api_instance = PulpPythonClient::RemotesPythonApi.new
|
|
222
|
-
|
|
223
|
-
|
|
298
|
+
python_python_remote_href = 'python_python_remote_href_example' # String |
|
|
299
|
+
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
|
+
}
|
|
224
311
|
|
|
225
312
|
begin
|
|
226
|
-
#
|
|
227
|
-
result = api_instance.partial_update(
|
|
313
|
+
#Update a python remote
|
|
314
|
+
result = api_instance.partial_update(python_python_remote_href, patchedpython_python_remote, opts)
|
|
228
315
|
p result
|
|
229
316
|
rescue PulpPythonClient::ApiError => e
|
|
230
317
|
puts "Exception when calling RemotesPythonApi->partial_update: #{e}"
|
|
@@ -236,8 +323,17 @@ end
|
|
|
236
323
|
|
|
237
324
|
Name | Type | Description | Notes
|
|
238
325
|
------------- | ------------- | ------------- | -------------
|
|
239
|
-
**
|
|
240
|
-
**
|
|
326
|
+
**python_python_remote_href** | **String**| |
|
|
327
|
+
**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]
|
|
241
337
|
|
|
242
338
|
### Return type
|
|
243
339
|
|
|
@@ -245,21 +341,21 @@ Name | Type | Description | Notes
|
|
|
245
341
|
|
|
246
342
|
### Authorization
|
|
247
343
|
|
|
248
|
-
[
|
|
344
|
+
[basicAuth](../README.md#basicAuth)
|
|
249
345
|
|
|
250
346
|
### HTTP request headers
|
|
251
347
|
|
|
252
|
-
- **Content-Type**: application/json
|
|
348
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
253
349
|
- **Accept**: application/json
|
|
254
350
|
|
|
255
351
|
|
|
256
352
|
## read
|
|
257
353
|
|
|
258
|
-
>
|
|
354
|
+
> PythonPythonRemoteResponse read(python_python_remote_href, opts)
|
|
259
355
|
|
|
260
356
|
Inspect a python remote
|
|
261
357
|
|
|
262
|
-
Python Remotes are representations of an external repository of Python content, eg. PyPI. Fields include upstream repository config. Python Remotes are also used to `sync` from upstream repositories, and contains sync settings.
|
|
358
|
+
<!-- User-facing documentation, rendered as html--> Python Remotes are representations of an <b>external repository</b> of Python content, eg. PyPI. Fields include upstream repository config. Python Remotes are also used to `sync` from upstream repositories, and contains sync settings.
|
|
263
359
|
|
|
264
360
|
### Example
|
|
265
361
|
|
|
@@ -268,13 +364,13 @@ Inspect a python remote
|
|
|
268
364
|
require 'pulp_python_client'
|
|
269
365
|
# setup authorization
|
|
270
366
|
PulpPythonClient.configure do |config|
|
|
271
|
-
# Configure HTTP basic authorization:
|
|
367
|
+
# Configure HTTP basic authorization: basicAuth
|
|
272
368
|
config.username = 'YOUR USERNAME'
|
|
273
369
|
config.password = 'YOUR PASSWORD'
|
|
274
370
|
end
|
|
275
371
|
|
|
276
372
|
api_instance = PulpPythonClient::RemotesPythonApi.new
|
|
277
|
-
|
|
373
|
+
python_python_remote_href = 'python_python_remote_href_example' # String |
|
|
278
374
|
opts = {
|
|
279
375
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
280
376
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
@@ -282,7 +378,7 @@ opts = {
|
|
|
282
378
|
|
|
283
379
|
begin
|
|
284
380
|
#Inspect a python remote
|
|
285
|
-
result = api_instance.read(
|
|
381
|
+
result = api_instance.read(python_python_remote_href, opts)
|
|
286
382
|
p result
|
|
287
383
|
rescue PulpPythonClient::ApiError => e
|
|
288
384
|
puts "Exception when calling RemotesPythonApi->read: #{e}"
|
|
@@ -294,17 +390,17 @@ end
|
|
|
294
390
|
|
|
295
391
|
Name | Type | Description | Notes
|
|
296
392
|
------------- | ------------- | ------------- | -------------
|
|
297
|
-
**
|
|
393
|
+
**python_python_remote_href** | **String**| |
|
|
298
394
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
299
395
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
300
396
|
|
|
301
397
|
### Return type
|
|
302
398
|
|
|
303
|
-
[**
|
|
399
|
+
[**PythonPythonRemoteResponse**](PythonPythonRemoteResponse.md)
|
|
304
400
|
|
|
305
401
|
### Authorization
|
|
306
402
|
|
|
307
|
-
[
|
|
403
|
+
[basicAuth](../README.md#basicAuth)
|
|
308
404
|
|
|
309
405
|
### HTTP request headers
|
|
310
406
|
|
|
@@ -314,7 +410,7 @@ Name | Type | Description | Notes
|
|
|
314
410
|
|
|
315
411
|
## update
|
|
316
412
|
|
|
317
|
-
> AsyncOperationResponse update(
|
|
413
|
+
> AsyncOperationResponse update(python_python_remote_href, python_python_remote, opts)
|
|
318
414
|
|
|
319
415
|
Update a python remote
|
|
320
416
|
|
|
@@ -327,18 +423,29 @@ Trigger an asynchronous update task
|
|
|
327
423
|
require 'pulp_python_client'
|
|
328
424
|
# setup authorization
|
|
329
425
|
PulpPythonClient.configure do |config|
|
|
330
|
-
# Configure HTTP basic authorization:
|
|
426
|
+
# Configure HTTP basic authorization: basicAuth
|
|
331
427
|
config.username = 'YOUR USERNAME'
|
|
332
428
|
config.password = 'YOUR PASSWORD'
|
|
333
429
|
end
|
|
334
430
|
|
|
335
431
|
api_instance = PulpPythonClient::RemotesPythonApi.new
|
|
336
|
-
|
|
337
|
-
|
|
432
|
+
python_python_remote_href = 'python_python_remote_href_example' # String |
|
|
433
|
+
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
|
+
}
|
|
338
445
|
|
|
339
446
|
begin
|
|
340
447
|
#Update a python remote
|
|
341
|
-
result = api_instance.update(
|
|
448
|
+
result = api_instance.update(python_python_remote_href, python_python_remote, opts)
|
|
342
449
|
p result
|
|
343
450
|
rescue PulpPythonClient::ApiError => e
|
|
344
451
|
puts "Exception when calling RemotesPythonApi->update: #{e}"
|
|
@@ -350,8 +457,17 @@ end
|
|
|
350
457
|
|
|
351
458
|
Name | Type | Description | Notes
|
|
352
459
|
------------- | ------------- | ------------- | -------------
|
|
353
|
-
**
|
|
354
|
-
**
|
|
460
|
+
**python_python_remote_href** | **String**| |
|
|
461
|
+
**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]
|
|
355
471
|
|
|
356
472
|
### Return type
|
|
357
473
|
|
|
@@ -359,10 +475,10 @@ Name | Type | Description | Notes
|
|
|
359
475
|
|
|
360
476
|
### Authorization
|
|
361
477
|
|
|
362
|
-
[
|
|
478
|
+
[basicAuth](../README.md#basicAuth)
|
|
363
479
|
|
|
364
480
|
### HTTP request headers
|
|
365
481
|
|
|
366
|
-
- **Content-Type**: application/json
|
|
482
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
367
483
|
- **Accept**: application/json
|
|
368
484
|
|