pulp_python_client 3.20.1 → 3.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +5 -4
- data/docs/ContentPackagesApi.md +2 -2
- data/docs/PatchedpythonPythonDistribution.md +2 -0
- data/docs/PythonPythonDistribution.md +2 -0
- data/docs/PythonPythonDistributionResponse.md +2 -0
- data/docs/PythonPythonPackageContentResponse.md +2 -0
- data/docs/RepositoriesPythonVersionsApi.md +75 -0
- data/lib/pulp_python_client/api/content_packages_api.rb +3 -3
- data/lib/pulp_python_client/api/repositories_python_versions_api.rb +66 -0
- data/lib/pulp_python_client/models/patchedpython_python_distribution.rb +12 -1
- data/lib/pulp_python_client/models/python_python_distribution.rb +12 -1
- data/lib/pulp_python_client/models/python_python_distribution_response.rb +12 -1
- data/lib/pulp_python_client/models/python_python_package_content_response.rb +11 -1
- data/lib/pulp_python_client/version.rb +1 -1
- data/spec/api/content_packages_api_spec.rb +1 -1
- data/spec/api/repositories_python_versions_api_spec.rb +13 -0
- data/spec/models/patchedpython_python_distribution_spec.rb +6 -0
- data/spec/models/python_python_distribution_response_spec.rb +6 -0
- data/spec/models/python_python_distribution_spec.rb +6 -0
- data/spec/models/python_python_package_content_response_spec.rb +6 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bd2faff8fd16ad8cbdd6a3024965f9c9899a1af927f249696b1b090eb3d8680f
|
|
4
|
+
data.tar.gz: ccf5460223c52ef36351a401086acea06b8d953ee93b50f60146c7eb11b4ba0f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8918ba5a0d977d1a4bf03738a3fa6ff8c8f013bd3cf00935fda0de899f190bd56b9c9a42f49c0f0db02b9d08e178f4aed70f92c8f990755891aa5cc354aa302a
|
|
7
|
+
data.tar.gz: 1e11c2f9a9a301f5b07e53877c4093c46385a0ae9766a212753770d52e9b7b4693defcee986f593c3a8f39e6032d21c6ae147c302a00b8cd8d0a2bf3d2b80344
|
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
|
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
8
8
|
|
|
9
9
|
- API version: v3
|
|
10
|
-
- Package version: 3.
|
|
10
|
+
- Package version: 3.21.0
|
|
11
11
|
- Generator version: 7.10.0
|
|
12
12
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
13
13
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
|
@@ -25,16 +25,16 @@ gem build pulp_python_client.gemspec
|
|
|
25
25
|
Then either install the gem locally:
|
|
26
26
|
|
|
27
27
|
```shell
|
|
28
|
-
gem install ./pulp_python_client-3.
|
|
28
|
+
gem install ./pulp_python_client-3.21.0.gem
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
(for development, run `gem install --dev ./pulp_python_client-3.
|
|
31
|
+
(for development, run `gem install --dev ./pulp_python_client-3.21.0.gem` to install the development dependencies)
|
|
32
32
|
|
|
33
33
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
34
34
|
|
|
35
35
|
Finally add this to the Gemfile:
|
|
36
36
|
|
|
37
|
-
gem 'pulp_python_client', '~> 3.
|
|
37
|
+
gem 'pulp_python_client', '~> 3.21.0'
|
|
38
38
|
|
|
39
39
|
### Install from Git
|
|
40
40
|
|
|
@@ -186,6 +186,7 @@ Class | Method | HTTP request | Description
|
|
|
186
186
|
*PulpPythonClient::RepositoriesPythonVersionsApi* | [**list**](docs/RepositoriesPythonVersionsApi.md#list) | **GET** {python_python_repository_href}versions/ | List repository versions
|
|
187
187
|
*PulpPythonClient::RepositoriesPythonVersionsApi* | [**read**](docs/RepositoriesPythonVersionsApi.md#read) | **GET** {python_python_repository_version_href} | Inspect a repository version
|
|
188
188
|
*PulpPythonClient::RepositoriesPythonVersionsApi* | [**repair**](docs/RepositoriesPythonVersionsApi.md#repair) | **POST** {python_python_repository_version_href}repair/ |
|
|
189
|
+
*PulpPythonClient::RepositoriesPythonVersionsApi* | [**scan**](docs/RepositoriesPythonVersionsApi.md#scan) | **POST** {python_python_repository_version_href}scan/ | Generate vulnerability report
|
|
189
190
|
|
|
190
191
|
|
|
191
192
|
## Documentation for Models
|
data/docs/ContentPackagesApi.md
CHANGED
|
@@ -186,7 +186,7 @@ opts = {
|
|
|
186
186
|
name: 'name_example', # String | Filter results where name matches value
|
|
187
187
|
name__in: ['inner_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
|
188
188
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
189
|
-
ordering: ['-author'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `author` - Author * `-author` - Author (descending) * `author_email` - Author email * `-author_email` - Author email (descending) * `description` - Description * `-description` - Description (descending) * `home_page` - Home page * `-home_page` - Home page (descending) * `keywords` - Keywords * `-keywords` - Keywords (descending) * `license` - License * `-license` - License (descending) * `metadata_version` - Metadata version * `-metadata_version` - Metadata version (descending) * `name` - Name * `-name` - Name (descending) * `platform` - Platform * `-platform` - Platform (descending) * `summary` - Summary * `-summary` - Summary (descending) * `version` - Version * `-version` - Version (descending) * `classifiers` - Classifiers * `-classifiers` - Classifiers (descending) * `download_url` - Download url * `-download_url` - Download url (descending) * `supported_platform` - Supported platform * `-supported_platform` - Supported platform (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `maintainer_email` - Maintainer email * `-maintainer_email` - Maintainer email (descending) * `obsoletes_dist` - Obsoletes dist * `-obsoletes_dist` - Obsoletes dist (descending) * `project_url` - Project url * `-project_url` - Project url (descending) * `project_urls` - Project urls * `-project_urls` - Project urls (descending) * `provides_dist` - Provides dist * `-provides_dist` - Provides dist (descending) * `requires_external` - Requires external * `-requires_external` - Requires external (descending) * `requires_dist` - Requires dist * `-requires_dist` - Requires dist (descending) * `requires_python` - Requires python * `-requires_python` - Requires python (descending) * `description_content_type` - Description content type * `-description_content_type` - Description content type (descending) * `provides_extras` - Provides extras * `-provides_extras` - Provides extras (descending) * `dynamic` - Dynamic * `-dynamic` - Dynamic (descending) * `license_expression` - License expression * `-license_expression` - License expression (descending) * `license_file` - License file * `-license_file` - License file (descending) * `filename` - Filename * `-filename` - Filename (descending) * `packagetype` - Packagetype * `-packagetype` - Packagetype (descending) * `python_version` - Python version * `-python_version` - Python version (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
189
|
+
ordering: ['-author'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `author` - Author * `-author` - Author (descending) * `author_email` - Author email * `-author_email` - Author email (descending) * `description` - Description * `-description` - Description (descending) * `home_page` - Home page * `-home_page` - Home page (descending) * `keywords` - Keywords * `-keywords` - Keywords (descending) * `license` - License * `-license` - License (descending) * `metadata_version` - Metadata version * `-metadata_version` - Metadata version (descending) * `name` - Name * `-name` - Name (descending) * `platform` - Platform * `-platform` - Platform (descending) * `summary` - Summary * `-summary` - Summary (descending) * `version` - Version * `-version` - Version (descending) * `classifiers` - Classifiers * `-classifiers` - Classifiers (descending) * `download_url` - Download url * `-download_url` - Download url (descending) * `supported_platform` - Supported platform * `-supported_platform` - Supported platform (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `maintainer_email` - Maintainer email * `-maintainer_email` - Maintainer email (descending) * `obsoletes_dist` - Obsoletes dist * `-obsoletes_dist` - Obsoletes dist (descending) * `project_url` - Project url * `-project_url` - Project url (descending) * `project_urls` - Project urls * `-project_urls` - Project urls (descending) * `provides_dist` - Provides dist * `-provides_dist` - Provides dist (descending) * `requires_external` - Requires external * `-requires_external` - Requires external (descending) * `requires_dist` - Requires dist * `-requires_dist` - Requires dist (descending) * `requires_python` - Requires python * `-requires_python` - Requires python (descending) * `description_content_type` - Description content type * `-description_content_type` - Description content type (descending) * `provides_extras` - Provides extras * `-provides_extras` - Provides extras (descending) * `dynamic` - Dynamic * `-dynamic` - Dynamic (descending) * `license_expression` - License expression * `-license_expression` - License expression (descending) * `license_file` - License file * `-license_file` - License file (descending) * `filename` - Filename * `-filename` - Filename (descending) * `packagetype` - Packagetype * `-packagetype` - Packagetype (descending) * `python_version` - Python version * `-python_version` - Python version (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `size` - Size * `-size` - Size (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
190
190
|
orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
191
191
|
packagetype: 'bdist_dmg', # String | Filter results where packagetype matches value * `bdist_dmg` - bdist_dmg * `bdist_dumb` - bdist_dumb * `bdist_egg` - bdist_egg * `bdist_msi` - bdist_msi * `bdist_rpm` - bdist_rpm * `bdist_wheel` - bdist_wheel * `bdist_wininst` - bdist_wininst * `sdist` - sdist
|
|
192
192
|
packagetype__in: ['inner_example'], # Array<String> | Filter results where packagetype is in a comma-separated list of values
|
|
@@ -255,7 +255,7 @@ end
|
|
|
255
255
|
| **name** | **String** | Filter results where name matches value | [optional] |
|
|
256
256
|
| **name__in** | [**Array<String>**](String.md) | Filter results where name is in a comma-separated list of values | [optional] |
|
|
257
257
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
|
258
|
-
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `author` - Author * `-author` - Author (descending) * `author_email` - Author email * `-author_email` - Author email (descending) * `description` - Description * `-description` - Description (descending) * `home_page` - Home page * `-home_page` - Home page (descending) * `keywords` - Keywords * `-keywords` - Keywords (descending) * `license` - License * `-license` - License (descending) * `metadata_version` - Metadata version * `-metadata_version` - Metadata version (descending) * `name` - Name * `-name` - Name (descending) * `platform` - Platform * `-platform` - Platform (descending) * `summary` - Summary * `-summary` - Summary (descending) * `version` - Version * `-version` - Version (descending) * `classifiers` - Classifiers * `-classifiers` - Classifiers (descending) * `download_url` - Download url * `-download_url` - Download url (descending) * `supported_platform` - Supported platform * `-supported_platform` - Supported platform (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `maintainer_email` - Maintainer email * `-maintainer_email` - Maintainer email (descending) * `obsoletes_dist` - Obsoletes dist * `-obsoletes_dist` - Obsoletes dist (descending) * `project_url` - Project url * `-project_url` - Project url (descending) * `project_urls` - Project urls * `-project_urls` - Project urls (descending) * `provides_dist` - Provides dist * `-provides_dist` - Provides dist (descending) * `requires_external` - Requires external * `-requires_external` - Requires external (descending) * `requires_dist` - Requires dist * `-requires_dist` - Requires dist (descending) * `requires_python` - Requires python * `-requires_python` - Requires python (descending) * `description_content_type` - Description content type * `-description_content_type` - Description content type (descending) * `provides_extras` - Provides extras * `-provides_extras` - Provides extras (descending) * `dynamic` - Dynamic * `-dynamic` - Dynamic (descending) * `license_expression` - License expression * `-license_expression` - License expression (descending) * `license_file` - License file * `-license_file` - License file (descending) * `filename` - Filename * `-filename` - Filename (descending) * `packagetype` - Packagetype * `-packagetype` - Packagetype (descending) * `python_version` - Python version * `-python_version` - Python version (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
|
258
|
+
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `author` - Author * `-author` - Author (descending) * `author_email` - Author email * `-author_email` - Author email (descending) * `description` - Description * `-description` - Description (descending) * `home_page` - Home page * `-home_page` - Home page (descending) * `keywords` - Keywords * `-keywords` - Keywords (descending) * `license` - License * `-license` - License (descending) * `metadata_version` - Metadata version * `-metadata_version` - Metadata version (descending) * `name` - Name * `-name` - Name (descending) * `platform` - Platform * `-platform` - Platform (descending) * `summary` - Summary * `-summary` - Summary (descending) * `version` - Version * `-version` - Version (descending) * `classifiers` - Classifiers * `-classifiers` - Classifiers (descending) * `download_url` - Download url * `-download_url` - Download url (descending) * `supported_platform` - Supported platform * `-supported_platform` - Supported platform (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `maintainer_email` - Maintainer email * `-maintainer_email` - Maintainer email (descending) * `obsoletes_dist` - Obsoletes dist * `-obsoletes_dist` - Obsoletes dist (descending) * `project_url` - Project url * `-project_url` - Project url (descending) * `project_urls` - Project urls * `-project_urls` - Project urls (descending) * `provides_dist` - Provides dist * `-provides_dist` - Provides dist (descending) * `requires_external` - Requires external * `-requires_external` - Requires external (descending) * `requires_dist` - Requires dist * `-requires_dist` - Requires dist (descending) * `requires_python` - Requires python * `-requires_python` - Requires python (descending) * `description_content_type` - Description content type * `-description_content_type` - Description content type (descending) * `provides_extras` - Provides extras * `-provides_extras` - Provides extras (descending) * `dynamic` - Dynamic * `-dynamic` - Dynamic (descending) * `license_expression` - License expression * `-license_expression` - License expression (descending) * `license_file` - License file * `-license_file` - License file (descending) * `filename` - Filename * `-filename` - Filename (descending) * `packagetype` - Packagetype * `-packagetype` - Packagetype (descending) * `python_version` - Python version * `-python_version` - Python version (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `size` - Size * `-size` - Size (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
|
259
259
|
| **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
|
|
260
260
|
| **packagetype** | **String** | Filter results where packagetype matches value * `bdist_dmg` - bdist_dmg * `bdist_dumb` - bdist_dumb * `bdist_egg` - bdist_egg * `bdist_msi` - bdist_msi * `bdist_rpm` - bdist_rpm * `bdist_wheel` - bdist_wheel * `bdist_wininst` - bdist_wininst * `sdist` - sdist | [optional] |
|
|
261
261
|
| **packagetype__in** | [**Array<String>**](String.md) | Filter results where packagetype is in a comma-separated list of values | [optional] |
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional] |
|
|
12
12
|
| **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
|
|
13
13
|
| **publication** | **String** | Publication to be served | [optional] |
|
|
14
|
+
| **repository_version** | **String** | RepositoryVersion to be served. | [optional] |
|
|
14
15
|
| **allow_uploads** | **Boolean** | Allow packages to be uploaded to this index. | [optional][default to true] |
|
|
15
16
|
| **remote** | **String** | Remote that can be used to fetch content when using pull-through caching. | [optional] |
|
|
16
17
|
|
|
@@ -27,6 +28,7 @@ instance = PulpPythonClient::PatchedpythonPythonDistribution.new(
|
|
|
27
28
|
name: null,
|
|
28
29
|
repository: null,
|
|
29
30
|
publication: null,
|
|
31
|
+
repository_version: null,
|
|
30
32
|
allow_uploads: null,
|
|
31
33
|
remote: null
|
|
32
34
|
)
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
|
|
12
12
|
| **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
|
|
13
13
|
| **publication** | **String** | Publication to be served | [optional] |
|
|
14
|
+
| **repository_version** | **String** | RepositoryVersion to be served. | [optional] |
|
|
14
15
|
| **allow_uploads** | **Boolean** | Allow packages to be uploaded to this index. | [optional][default to true] |
|
|
15
16
|
| **remote** | **String** | Remote that can be used to fetch content when using pull-through caching. | [optional] |
|
|
16
17
|
|
|
@@ -27,6 +28,7 @@ instance = PulpPythonClient::PythonPythonDistribution.new(
|
|
|
27
28
|
name: null,
|
|
28
29
|
repository: null,
|
|
29
30
|
publication: null,
|
|
31
|
+
repository_version: null,
|
|
30
32
|
allow_uploads: null,
|
|
31
33
|
remote: null
|
|
32
34
|
)
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
|
|
18
18
|
| **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
|
|
19
19
|
| **publication** | **String** | Publication to be served | [optional] |
|
|
20
|
+
| **repository_version** | **String** | RepositoryVersion to be served. | [optional] |
|
|
20
21
|
| **allow_uploads** | **Boolean** | Allow packages to be uploaded to this index. | [optional][default to true] |
|
|
21
22
|
| **remote** | **String** | Remote that can be used to fetch content when using pull-through caching. | [optional] |
|
|
22
23
|
|
|
@@ -39,6 +40,7 @@ instance = PulpPythonClient::PythonPythonDistributionResponse.new(
|
|
|
39
40
|
name: null,
|
|
40
41
|
repository: null,
|
|
41
42
|
publication: null,
|
|
43
|
+
repository_version: null,
|
|
42
44
|
allow_uploads: null,
|
|
43
45
|
remote: null
|
|
44
46
|
)
|
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
| **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] |
|
|
43
43
|
| **packagetype** | **String** | The type of the distribution package (e.g. sdist, bdist_wheel, bdist_egg, etc) | [optional][readonly] |
|
|
44
44
|
| **python_version** | **String** | The tag that indicates which Python implementation or version the package requires. | [optional][readonly] |
|
|
45
|
+
| **size** | **Integer** | The size of the package in bytes. | [optional][readonly] |
|
|
45
46
|
| **sha256** | **String** | The SHA256 digest of this package. | [optional][default to ''] |
|
|
46
47
|
| **metadata_sha256** | **String** | The SHA256 digest of the package's METADATA file. | [optional] |
|
|
47
48
|
|
|
@@ -89,6 +90,7 @@ instance = PulpPythonClient::PythonPythonPackageContentResponse.new(
|
|
|
89
90
|
filename: null,
|
|
90
91
|
packagetype: null,
|
|
91
92
|
python_version: null,
|
|
93
|
+
size: null,
|
|
92
94
|
sha256: null,
|
|
93
95
|
metadata_sha256: null
|
|
94
96
|
)
|
|
@@ -8,6 +8,7 @@ All URIs are relative to *http://localhost:24817*
|
|
|
8
8
|
| [**list**](RepositoriesPythonVersionsApi.md#list) | **GET** {python_python_repository_href}versions/ | List repository versions |
|
|
9
9
|
| [**read**](RepositoriesPythonVersionsApi.md#read) | **GET** {python_python_repository_version_href} | Inspect a repository version |
|
|
10
10
|
| [**repair**](RepositoriesPythonVersionsApi.md#repair) | **POST** {python_python_repository_version_href}repair/ | |
|
|
11
|
+
| [**scan**](RepositoriesPythonVersionsApi.md#scan) | **POST** {python_python_repository_version_href}scan/ | Generate vulnerability report |
|
|
11
12
|
|
|
12
13
|
|
|
13
14
|
## delete
|
|
@@ -357,3 +358,77 @@ end
|
|
|
357
358
|
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
358
359
|
- **Accept**: application/json
|
|
359
360
|
|
|
361
|
+
|
|
362
|
+
## scan
|
|
363
|
+
|
|
364
|
+
> <AsyncOperationResponse> scan(python_python_repository_version_href, opts)
|
|
365
|
+
|
|
366
|
+
Generate vulnerability report
|
|
367
|
+
|
|
368
|
+
Scan a repository version for vulnerabilities.
|
|
369
|
+
|
|
370
|
+
### Examples
|
|
371
|
+
|
|
372
|
+
```ruby
|
|
373
|
+
require 'time'
|
|
374
|
+
require 'pulp_python_client'
|
|
375
|
+
# setup authorization
|
|
376
|
+
PulpPythonClient.configure do |config|
|
|
377
|
+
# Configure HTTP basic authorization: basicAuth
|
|
378
|
+
config.username = 'YOUR USERNAME'
|
|
379
|
+
config.password = 'YOUR PASSWORD'
|
|
380
|
+
end
|
|
381
|
+
|
|
382
|
+
api_instance = PulpPythonClient::RepositoriesPythonVersionsApi.new
|
|
383
|
+
python_python_repository_version_href = 'python_python_repository_version_href_example' # String |
|
|
384
|
+
opts = {
|
|
385
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
begin
|
|
389
|
+
# Generate vulnerability report
|
|
390
|
+
result = api_instance.scan(python_python_repository_version_href, opts)
|
|
391
|
+
p result
|
|
392
|
+
rescue PulpPythonClient::ApiError => e
|
|
393
|
+
puts "Error when calling RepositoriesPythonVersionsApi->scan: #{e}"
|
|
394
|
+
end
|
|
395
|
+
```
|
|
396
|
+
|
|
397
|
+
#### Using the scan_with_http_info variant
|
|
398
|
+
|
|
399
|
+
This returns an Array which contains the response data, status code and headers.
|
|
400
|
+
|
|
401
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> scan_with_http_info(python_python_repository_version_href, opts)
|
|
402
|
+
|
|
403
|
+
```ruby
|
|
404
|
+
begin
|
|
405
|
+
# Generate vulnerability report
|
|
406
|
+
data, status_code, headers = api_instance.scan_with_http_info(python_python_repository_version_href, opts)
|
|
407
|
+
p status_code # => 2xx
|
|
408
|
+
p headers # => { ... }
|
|
409
|
+
p data # => <AsyncOperationResponse>
|
|
410
|
+
rescue PulpPythonClient::ApiError => e
|
|
411
|
+
puts "Error when calling RepositoriesPythonVersionsApi->scan_with_http_info: #{e}"
|
|
412
|
+
end
|
|
413
|
+
```
|
|
414
|
+
|
|
415
|
+
### Parameters
|
|
416
|
+
|
|
417
|
+
| Name | Type | Description | Notes |
|
|
418
|
+
| ---- | ---- | ----------- | ----- |
|
|
419
|
+
| **python_python_repository_version_href** | **String** | | |
|
|
420
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
421
|
+
|
|
422
|
+
### Return type
|
|
423
|
+
|
|
424
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
|
425
|
+
|
|
426
|
+
### Authorization
|
|
427
|
+
|
|
428
|
+
[basicAuth](../README.md#basicAuth)
|
|
429
|
+
|
|
430
|
+
### HTTP request headers
|
|
431
|
+
|
|
432
|
+
- **Content-Type**: Not defined
|
|
433
|
+
- **Accept**: application/json
|
|
434
|
+
|
|
@@ -221,7 +221,7 @@ module PulpPythonClient
|
|
|
221
221
|
# @option opts [String] :name Filter results where name matches value
|
|
222
222
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
223
223
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
224
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `author` - Author * `-author` - Author (descending) * `author_email` - Author email * `-author_email` - Author email (descending) * `description` - Description * `-description` - Description (descending) * `home_page` - Home page * `-home_page` - Home page (descending) * `keywords` - Keywords * `-keywords` - Keywords (descending) * `license` - License * `-license` - License (descending) * `metadata_version` - Metadata version * `-metadata_version` - Metadata version (descending) * `name` - Name * `-name` - Name (descending) * `platform` - Platform * `-platform` - Platform (descending) * `summary` - Summary * `-summary` - Summary (descending) * `version` - Version * `-version` - Version (descending) * `classifiers` - Classifiers * `-classifiers` - Classifiers (descending) * `download_url` - Download url * `-download_url` - Download url (descending) * `supported_platform` - Supported platform * `-supported_platform` - Supported platform (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `maintainer_email` - Maintainer email * `-maintainer_email` - Maintainer email (descending) * `obsoletes_dist` - Obsoletes dist * `-obsoletes_dist` - Obsoletes dist (descending) * `project_url` - Project url * `-project_url` - Project url (descending) * `project_urls` - Project urls * `-project_urls` - Project urls (descending) * `provides_dist` - Provides dist * `-provides_dist` - Provides dist (descending) * `requires_external` - Requires external * `-requires_external` - Requires external (descending) * `requires_dist` - Requires dist * `-requires_dist` - Requires dist (descending) * `requires_python` - Requires python * `-requires_python` - Requires python (descending) * `description_content_type` - Description content type * `-description_content_type` - Description content type (descending) * `provides_extras` - Provides extras * `-provides_extras` - Provides extras (descending) * `dynamic` - Dynamic * `-dynamic` - Dynamic (descending) * `license_expression` - License expression * `-license_expression` - License expression (descending) * `license_file` - License file * `-license_file` - License file (descending) * `filename` - Filename * `-filename` - Filename (descending) * `packagetype` - Packagetype * `-packagetype` - Packagetype (descending) * `python_version` - Python version * `-python_version` - Python version (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
224
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `author` - Author * `-author` - Author (descending) * `author_email` - Author email * `-author_email` - Author email (descending) * `description` - Description * `-description` - Description (descending) * `home_page` - Home page * `-home_page` - Home page (descending) * `keywords` - Keywords * `-keywords` - Keywords (descending) * `license` - License * `-license` - License (descending) * `metadata_version` - Metadata version * `-metadata_version` - Metadata version (descending) * `name` - Name * `-name` - Name (descending) * `platform` - Platform * `-platform` - Platform (descending) * `summary` - Summary * `-summary` - Summary (descending) * `version` - Version * `-version` - Version (descending) * `classifiers` - Classifiers * `-classifiers` - Classifiers (descending) * `download_url` - Download url * `-download_url` - Download url (descending) * `supported_platform` - Supported platform * `-supported_platform` - Supported platform (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `maintainer_email` - Maintainer email * `-maintainer_email` - Maintainer email (descending) * `obsoletes_dist` - Obsoletes dist * `-obsoletes_dist` - Obsoletes dist (descending) * `project_url` - Project url * `-project_url` - Project url (descending) * `project_urls` - Project urls * `-project_urls` - Project urls (descending) * `provides_dist` - Provides dist * `-provides_dist` - Provides dist (descending) * `requires_external` - Requires external * `-requires_external` - Requires external (descending) * `requires_dist` - Requires dist * `-requires_dist` - Requires dist (descending) * `requires_python` - Requires python * `-requires_python` - Requires python (descending) * `description_content_type` - Description content type * `-description_content_type` - Description content type (descending) * `provides_extras` - Provides extras * `-provides_extras` - Provides extras (descending) * `dynamic` - Dynamic * `-dynamic` - Dynamic (descending) * `license_expression` - License expression * `-license_expression` - License expression (descending) * `license_file` - License file * `-license_file` - License file (descending) * `filename` - Filename * `-filename` - Filename (descending) * `packagetype` - Packagetype * `-packagetype` - Packagetype (descending) * `python_version` - Python version * `-python_version` - Python version (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `size` - Size * `-size` - Size (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
225
225
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
226
226
|
# @option opts [String] :packagetype Filter results where packagetype matches value * `bdist_dmg` - bdist_dmg * `bdist_dumb` - bdist_dumb * `bdist_egg` - bdist_egg * `bdist_msi` - bdist_msi * `bdist_rpm` - bdist_rpm * `bdist_wheel` - bdist_wheel * `bdist_wininst` - bdist_wininst * `sdist` - sdist
|
|
227
227
|
# @option opts [Array<String>] :packagetype__in Filter results where packagetype is in a comma-separated list of values
|
|
@@ -266,7 +266,7 @@ module PulpPythonClient
|
|
|
266
266
|
# @option opts [String] :name Filter results where name matches value
|
|
267
267
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
268
268
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
269
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `author` - Author * `-author` - Author (descending) * `author_email` - Author email * `-author_email` - Author email (descending) * `description` - Description * `-description` - Description (descending) * `home_page` - Home page * `-home_page` - Home page (descending) * `keywords` - Keywords * `-keywords` - Keywords (descending) * `license` - License * `-license` - License (descending) * `metadata_version` - Metadata version * `-metadata_version` - Metadata version (descending) * `name` - Name * `-name` - Name (descending) * `platform` - Platform * `-platform` - Platform (descending) * `summary` - Summary * `-summary` - Summary (descending) * `version` - Version * `-version` - Version (descending) * `classifiers` - Classifiers * `-classifiers` - Classifiers (descending) * `download_url` - Download url * `-download_url` - Download url (descending) * `supported_platform` - Supported platform * `-supported_platform` - Supported platform (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `maintainer_email` - Maintainer email * `-maintainer_email` - Maintainer email (descending) * `obsoletes_dist` - Obsoletes dist * `-obsoletes_dist` - Obsoletes dist (descending) * `project_url` - Project url * `-project_url` - Project url (descending) * `project_urls` - Project urls * `-project_urls` - Project urls (descending) * `provides_dist` - Provides dist * `-provides_dist` - Provides dist (descending) * `requires_external` - Requires external * `-requires_external` - Requires external (descending) * `requires_dist` - Requires dist * `-requires_dist` - Requires dist (descending) * `requires_python` - Requires python * `-requires_python` - Requires python (descending) * `description_content_type` - Description content type * `-description_content_type` - Description content type (descending) * `provides_extras` - Provides extras * `-provides_extras` - Provides extras (descending) * `dynamic` - Dynamic * `-dynamic` - Dynamic (descending) * `license_expression` - License expression * `-license_expression` - License expression (descending) * `license_file` - License file * `-license_file` - License file (descending) * `filename` - Filename * `-filename` - Filename (descending) * `packagetype` - Packagetype * `-packagetype` - Packagetype (descending) * `python_version` - Python version * `-python_version` - Python version (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
269
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `author` - Author * `-author` - Author (descending) * `author_email` - Author email * `-author_email` - Author email (descending) * `description` - Description * `-description` - Description (descending) * `home_page` - Home page * `-home_page` - Home page (descending) * `keywords` - Keywords * `-keywords` - Keywords (descending) * `license` - License * `-license` - License (descending) * `metadata_version` - Metadata version * `-metadata_version` - Metadata version (descending) * `name` - Name * `-name` - Name (descending) * `platform` - Platform * `-platform` - Platform (descending) * `summary` - Summary * `-summary` - Summary (descending) * `version` - Version * `-version` - Version (descending) * `classifiers` - Classifiers * `-classifiers` - Classifiers (descending) * `download_url` - Download url * `-download_url` - Download url (descending) * `supported_platform` - Supported platform * `-supported_platform` - Supported platform (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `maintainer_email` - Maintainer email * `-maintainer_email` - Maintainer email (descending) * `obsoletes_dist` - Obsoletes dist * `-obsoletes_dist` - Obsoletes dist (descending) * `project_url` - Project url * `-project_url` - Project url (descending) * `project_urls` - Project urls * `-project_urls` - Project urls (descending) * `provides_dist` - Provides dist * `-provides_dist` - Provides dist (descending) * `requires_external` - Requires external * `-requires_external` - Requires external (descending) * `requires_dist` - Requires dist * `-requires_dist` - Requires dist (descending) * `requires_python` - Requires python * `-requires_python` - Requires python (descending) * `description_content_type` - Description content type * `-description_content_type` - Description content type (descending) * `provides_extras` - Provides extras * `-provides_extras` - Provides extras (descending) * `dynamic` - Dynamic * `-dynamic` - Dynamic (descending) * `license_expression` - License expression * `-license_expression` - License expression (descending) * `license_file` - License file * `-license_file` - License file (descending) * `filename` - Filename * `-filename` - Filename (descending) * `packagetype` - Packagetype * `-packagetype` - Packagetype (descending) * `python_version` - Python version * `-python_version` - Python version (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `size` - Size * `-size` - Size (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
270
270
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
271
271
|
# @option opts [String] :packagetype Filter results where packagetype matches value * `bdist_dmg` - bdist_dmg * `bdist_dumb` - bdist_dumb * `bdist_egg` - bdist_egg * `bdist_msi` - bdist_msi * `bdist_rpm` - bdist_rpm * `bdist_wheel` - bdist_wheel * `bdist_wininst` - bdist_wininst * `sdist` - sdist
|
|
272
272
|
# @option opts [Array<String>] :packagetype__in Filter results where packagetype is in a comma-separated list of values
|
|
@@ -295,7 +295,7 @@ module PulpPythonClient
|
|
|
295
295
|
if @api_client.config.debugging
|
|
296
296
|
@api_client.config.logger.debug 'Calling API: ContentPackagesApi.list ...'
|
|
297
297
|
end
|
|
298
|
-
allowable_values = ["-author", "-author_email", "-classifiers", "-description", "-description_content_type", "-download_url", "-dynamic", "-filename", "-home_page", "-keywords", "-license", "-license_expression", "-license_file", "-maintainer", "-maintainer_email", "-metadata_sha256", "-metadata_version", "-name", "-obsoletes_dist", "-packagetype", "-pk", "-platform", "-project_url", "-project_urls", "-provides_dist", "-provides_extras", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-python_version", "-requires_dist", "-requires_external", "-requires_python", "-sha256", "-summary", "-supported_platform", "-timestamp_of_interest", "-upstream_id", "-version", "author", "author_email", "classifiers", "description", "description_content_type", "download_url", "dynamic", "filename", "home_page", "keywords", "license", "license_expression", "license_file", "maintainer", "maintainer_email", "metadata_sha256", "metadata_version", "name", "obsoletes_dist", "packagetype", "pk", "platform", "project_url", "project_urls", "provides_dist", "provides_extras", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "python_version", "requires_dist", "requires_external", "requires_python", "sha256", "summary", "supported_platform", "timestamp_of_interest", "upstream_id", "version"]
|
|
298
|
+
allowable_values = ["-author", "-author_email", "-classifiers", "-description", "-description_content_type", "-download_url", "-dynamic", "-filename", "-home_page", "-keywords", "-license", "-license_expression", "-license_file", "-maintainer", "-maintainer_email", "-metadata_sha256", "-metadata_version", "-name", "-obsoletes_dist", "-packagetype", "-pk", "-platform", "-project_url", "-project_urls", "-provides_dist", "-provides_extras", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-python_version", "-requires_dist", "-requires_external", "-requires_python", "-sha256", "-size", "-summary", "-supported_platform", "-timestamp_of_interest", "-upstream_id", "-version", "author", "author_email", "classifiers", "description", "description_content_type", "download_url", "dynamic", "filename", "home_page", "keywords", "license", "license_expression", "license_file", "maintainer", "maintainer_email", "metadata_sha256", "metadata_version", "name", "obsoletes_dist", "packagetype", "pk", "platform", "project_url", "project_urls", "provides_dist", "provides_extras", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "python_version", "requires_dist", "requires_external", "requires_python", "sha256", "size", "summary", "supported_platform", "timestamp_of_interest", "upstream_id", "version"]
|
|
299
299
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
300
300
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
|
301
301
|
end
|
|
@@ -370,5 +370,71 @@ module PulpPythonClient
|
|
|
370
370
|
end
|
|
371
371
|
return data, status_code, headers
|
|
372
372
|
end
|
|
373
|
+
|
|
374
|
+
# Generate vulnerability report
|
|
375
|
+
# Scan a repository version for vulnerabilities.
|
|
376
|
+
# @param python_python_repository_version_href [String]
|
|
377
|
+
# @param [Hash] opts the optional parameters
|
|
378
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
379
|
+
# @return [AsyncOperationResponse]
|
|
380
|
+
def scan(python_python_repository_version_href, opts = {})
|
|
381
|
+
data, _status_code, _headers = scan_with_http_info(python_python_repository_version_href, opts)
|
|
382
|
+
data
|
|
383
|
+
end
|
|
384
|
+
|
|
385
|
+
# Generate vulnerability report
|
|
386
|
+
# Scan a repository version for vulnerabilities.
|
|
387
|
+
# @param python_python_repository_version_href [String]
|
|
388
|
+
# @param [Hash] opts the optional parameters
|
|
389
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
390
|
+
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
391
|
+
def scan_with_http_info(python_python_repository_version_href, opts = {})
|
|
392
|
+
if @api_client.config.debugging
|
|
393
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesPythonVersionsApi.scan ...'
|
|
394
|
+
end
|
|
395
|
+
# verify the required parameter 'python_python_repository_version_href' is set
|
|
396
|
+
if @api_client.config.client_side_validation && python_python_repository_version_href.nil?
|
|
397
|
+
fail ArgumentError, "Missing the required parameter 'python_python_repository_version_href' when calling RepositoriesPythonVersionsApi.scan"
|
|
398
|
+
end
|
|
399
|
+
# resource path
|
|
400
|
+
local_var_path = '{python_python_repository_version_href}scan/'.sub('{' + 'python_python_repository_version_href' + '}', CGI.escape(python_python_repository_version_href.to_s).gsub('%2F', '/'))
|
|
401
|
+
|
|
402
|
+
# query parameters
|
|
403
|
+
query_params = opts[:query_params] || {}
|
|
404
|
+
|
|
405
|
+
# header parameters
|
|
406
|
+
header_params = opts[:header_params] || {}
|
|
407
|
+
# HTTP header 'Accept' (if needed)
|
|
408
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
409
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
410
|
+
|
|
411
|
+
# form parameters
|
|
412
|
+
form_params = opts[:form_params] || {}
|
|
413
|
+
|
|
414
|
+
# http body (model)
|
|
415
|
+
post_body = opts[:debug_body]
|
|
416
|
+
|
|
417
|
+
# return_type
|
|
418
|
+
return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
|
|
419
|
+
|
|
420
|
+
# auth_names
|
|
421
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
|
422
|
+
|
|
423
|
+
new_options = opts.merge(
|
|
424
|
+
:operation => :"RepositoriesPythonVersionsApi.scan",
|
|
425
|
+
:header_params => header_params,
|
|
426
|
+
:query_params => query_params,
|
|
427
|
+
:form_params => form_params,
|
|
428
|
+
:body => post_body,
|
|
429
|
+
:auth_names => auth_names,
|
|
430
|
+
:return_type => return_type
|
|
431
|
+
)
|
|
432
|
+
|
|
433
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
434
|
+
if @api_client.config.debugging
|
|
435
|
+
@api_client.config.logger.debug "API called: RepositoriesPythonVersionsApi#scan\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
436
|
+
end
|
|
437
|
+
return data, status_code, headers
|
|
438
|
+
end
|
|
373
439
|
end
|
|
374
440
|
end
|
|
@@ -36,6 +36,9 @@ module PulpPythonClient
|
|
|
36
36
|
# Publication to be served
|
|
37
37
|
attr_accessor :publication
|
|
38
38
|
|
|
39
|
+
# RepositoryVersion to be served.
|
|
40
|
+
attr_accessor :repository_version
|
|
41
|
+
|
|
39
42
|
# Allow packages to be uploaded to this index.
|
|
40
43
|
attr_accessor :allow_uploads
|
|
41
44
|
|
|
@@ -52,6 +55,7 @@ module PulpPythonClient
|
|
|
52
55
|
:'name' => :'name',
|
|
53
56
|
:'repository' => :'repository',
|
|
54
57
|
:'publication' => :'publication',
|
|
58
|
+
:'repository_version' => :'repository_version',
|
|
55
59
|
:'allow_uploads' => :'allow_uploads',
|
|
56
60
|
:'remote' => :'remote'
|
|
57
61
|
}
|
|
@@ -72,6 +76,7 @@ module PulpPythonClient
|
|
|
72
76
|
:'name' => :'String',
|
|
73
77
|
:'repository' => :'String',
|
|
74
78
|
:'publication' => :'String',
|
|
79
|
+
:'repository_version' => :'String',
|
|
75
80
|
:'allow_uploads' => :'Boolean',
|
|
76
81
|
:'remote' => :'String'
|
|
77
82
|
}
|
|
@@ -83,6 +88,7 @@ module PulpPythonClient
|
|
|
83
88
|
:'content_guard',
|
|
84
89
|
:'repository',
|
|
85
90
|
:'publication',
|
|
91
|
+
:'repository_version',
|
|
86
92
|
:'remote'
|
|
87
93
|
])
|
|
88
94
|
end
|
|
@@ -134,6 +140,10 @@ module PulpPythonClient
|
|
|
134
140
|
self.publication = attributes[:'publication']
|
|
135
141
|
end
|
|
136
142
|
|
|
143
|
+
if attributes.key?(:'repository_version')
|
|
144
|
+
self.repository_version = attributes[:'repository_version']
|
|
145
|
+
end
|
|
146
|
+
|
|
137
147
|
if attributes.key?(:'allow_uploads')
|
|
138
148
|
self.allow_uploads = attributes[:'allow_uploads']
|
|
139
149
|
else
|
|
@@ -210,6 +220,7 @@ module PulpPythonClient
|
|
|
210
220
|
name == o.name &&
|
|
211
221
|
repository == o.repository &&
|
|
212
222
|
publication == o.publication &&
|
|
223
|
+
repository_version == o.repository_version &&
|
|
213
224
|
allow_uploads == o.allow_uploads &&
|
|
214
225
|
remote == o.remote
|
|
215
226
|
end
|
|
@@ -223,7 +234,7 @@ module PulpPythonClient
|
|
|
223
234
|
# Calculates hash code according to all attributes.
|
|
224
235
|
# @return [Integer] Hash code
|
|
225
236
|
def hash
|
|
226
|
-
[base_path, content_guard, hidden, pulp_labels, name, repository, publication, allow_uploads, remote].hash
|
|
237
|
+
[base_path, content_guard, hidden, pulp_labels, name, repository, publication, repository_version, allow_uploads, remote].hash
|
|
227
238
|
end
|
|
228
239
|
|
|
229
240
|
# Builds the object from hash
|
|
@@ -36,6 +36,9 @@ module PulpPythonClient
|
|
|
36
36
|
# Publication to be served
|
|
37
37
|
attr_accessor :publication
|
|
38
38
|
|
|
39
|
+
# RepositoryVersion to be served.
|
|
40
|
+
attr_accessor :repository_version
|
|
41
|
+
|
|
39
42
|
# Allow packages to be uploaded to this index.
|
|
40
43
|
attr_accessor :allow_uploads
|
|
41
44
|
|
|
@@ -52,6 +55,7 @@ module PulpPythonClient
|
|
|
52
55
|
:'name' => :'name',
|
|
53
56
|
:'repository' => :'repository',
|
|
54
57
|
:'publication' => :'publication',
|
|
58
|
+
:'repository_version' => :'repository_version',
|
|
55
59
|
:'allow_uploads' => :'allow_uploads',
|
|
56
60
|
:'remote' => :'remote'
|
|
57
61
|
}
|
|
@@ -72,6 +76,7 @@ module PulpPythonClient
|
|
|
72
76
|
:'name' => :'String',
|
|
73
77
|
:'repository' => :'String',
|
|
74
78
|
:'publication' => :'String',
|
|
79
|
+
:'repository_version' => :'String',
|
|
75
80
|
:'allow_uploads' => :'Boolean',
|
|
76
81
|
:'remote' => :'String'
|
|
77
82
|
}
|
|
@@ -83,6 +88,7 @@ module PulpPythonClient
|
|
|
83
88
|
:'content_guard',
|
|
84
89
|
:'repository',
|
|
85
90
|
:'publication',
|
|
91
|
+
:'repository_version',
|
|
86
92
|
:'remote'
|
|
87
93
|
])
|
|
88
94
|
end
|
|
@@ -138,6 +144,10 @@ module PulpPythonClient
|
|
|
138
144
|
self.publication = attributes[:'publication']
|
|
139
145
|
end
|
|
140
146
|
|
|
147
|
+
if attributes.key?(:'repository_version')
|
|
148
|
+
self.repository_version = attributes[:'repository_version']
|
|
149
|
+
end
|
|
150
|
+
|
|
141
151
|
if attributes.key?(:'allow_uploads')
|
|
142
152
|
self.allow_uploads = attributes[:'allow_uploads']
|
|
143
153
|
else
|
|
@@ -224,6 +234,7 @@ module PulpPythonClient
|
|
|
224
234
|
name == o.name &&
|
|
225
235
|
repository == o.repository &&
|
|
226
236
|
publication == o.publication &&
|
|
237
|
+
repository_version == o.repository_version &&
|
|
227
238
|
allow_uploads == o.allow_uploads &&
|
|
228
239
|
remote == o.remote
|
|
229
240
|
end
|
|
@@ -237,7 +248,7 @@ module PulpPythonClient
|
|
|
237
248
|
# Calculates hash code according to all attributes.
|
|
238
249
|
# @return [Integer] Hash code
|
|
239
250
|
def hash
|
|
240
|
-
[base_path, content_guard, hidden, pulp_labels, name, repository, publication, allow_uploads, remote].hash
|
|
251
|
+
[base_path, content_guard, hidden, pulp_labels, name, repository, publication, repository_version, allow_uploads, remote].hash
|
|
241
252
|
end
|
|
242
253
|
|
|
243
254
|
# Builds the object from hash
|
|
@@ -52,6 +52,9 @@ module PulpPythonClient
|
|
|
52
52
|
# Publication to be served
|
|
53
53
|
attr_accessor :publication
|
|
54
54
|
|
|
55
|
+
# RepositoryVersion to be served.
|
|
56
|
+
attr_accessor :repository_version
|
|
57
|
+
|
|
55
58
|
# Allow packages to be uploaded to this index.
|
|
56
59
|
attr_accessor :allow_uploads
|
|
57
60
|
|
|
@@ -74,6 +77,7 @@ module PulpPythonClient
|
|
|
74
77
|
:'name' => :'name',
|
|
75
78
|
:'repository' => :'repository',
|
|
76
79
|
:'publication' => :'publication',
|
|
80
|
+
:'repository_version' => :'repository_version',
|
|
77
81
|
:'allow_uploads' => :'allow_uploads',
|
|
78
82
|
:'remote' => :'remote'
|
|
79
83
|
}
|
|
@@ -100,6 +104,7 @@ module PulpPythonClient
|
|
|
100
104
|
:'name' => :'String',
|
|
101
105
|
:'repository' => :'String',
|
|
102
106
|
:'publication' => :'String',
|
|
107
|
+
:'repository_version' => :'String',
|
|
103
108
|
:'allow_uploads' => :'Boolean',
|
|
104
109
|
:'remote' => :'String'
|
|
105
110
|
}
|
|
@@ -111,6 +116,7 @@ module PulpPythonClient
|
|
|
111
116
|
:'content_guard',
|
|
112
117
|
:'repository',
|
|
113
118
|
:'publication',
|
|
119
|
+
:'repository_version',
|
|
114
120
|
:'remote'
|
|
115
121
|
])
|
|
116
122
|
end
|
|
@@ -190,6 +196,10 @@ module PulpPythonClient
|
|
|
190
196
|
self.publication = attributes[:'publication']
|
|
191
197
|
end
|
|
192
198
|
|
|
199
|
+
if attributes.key?(:'repository_version')
|
|
200
|
+
self.repository_version = attributes[:'repository_version']
|
|
201
|
+
end
|
|
202
|
+
|
|
193
203
|
if attributes.key?(:'allow_uploads')
|
|
194
204
|
self.allow_uploads = attributes[:'allow_uploads']
|
|
195
205
|
else
|
|
@@ -244,6 +254,7 @@ module PulpPythonClient
|
|
|
244
254
|
name == o.name &&
|
|
245
255
|
repository == o.repository &&
|
|
246
256
|
publication == o.publication &&
|
|
257
|
+
repository_version == o.repository_version &&
|
|
247
258
|
allow_uploads == o.allow_uploads &&
|
|
248
259
|
remote == o.remote
|
|
249
260
|
end
|
|
@@ -257,7 +268,7 @@ module PulpPythonClient
|
|
|
257
268
|
# Calculates hash code according to all attributes.
|
|
258
269
|
# @return [Integer] Hash code
|
|
259
270
|
def hash
|
|
260
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, base_path, base_url, content_guard, no_content_change_since, hidden, pulp_labels, name, repository, publication, allow_uploads, remote].hash
|
|
271
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, base_path, base_url, content_guard, no_content_change_since, hidden, pulp_labels, name, repository, publication, repository_version, allow_uploads, remote].hash
|
|
261
272
|
end
|
|
262
273
|
|
|
263
274
|
# Builds the object from hash
|
|
@@ -119,6 +119,9 @@ module PulpPythonClient
|
|
|
119
119
|
# The tag that indicates which Python implementation or version the package requires.
|
|
120
120
|
attr_accessor :python_version
|
|
121
121
|
|
|
122
|
+
# The size of the package in bytes.
|
|
123
|
+
attr_accessor :size
|
|
124
|
+
|
|
122
125
|
# The SHA256 digest of this package.
|
|
123
126
|
attr_accessor :sha256
|
|
124
127
|
|
|
@@ -166,6 +169,7 @@ module PulpPythonClient
|
|
|
166
169
|
:'filename' => :'filename',
|
|
167
170
|
:'packagetype' => :'packagetype',
|
|
168
171
|
:'python_version' => :'python_version',
|
|
172
|
+
:'size' => :'size',
|
|
169
173
|
:'sha256' => :'sha256',
|
|
170
174
|
:'metadata_sha256' => :'metadata_sha256'
|
|
171
175
|
}
|
|
@@ -217,6 +221,7 @@ module PulpPythonClient
|
|
|
217
221
|
:'filename' => :'String',
|
|
218
222
|
:'packagetype' => :'String',
|
|
219
223
|
:'python_version' => :'String',
|
|
224
|
+
:'size' => :'Integer',
|
|
220
225
|
:'sha256' => :'String',
|
|
221
226
|
:'metadata_sha256' => :'String'
|
|
222
227
|
}
|
|
@@ -407,6 +412,10 @@ module PulpPythonClient
|
|
|
407
412
|
self.python_version = attributes[:'python_version']
|
|
408
413
|
end
|
|
409
414
|
|
|
415
|
+
if attributes.key?(:'size')
|
|
416
|
+
self.size = attributes[:'size']
|
|
417
|
+
end
|
|
418
|
+
|
|
410
419
|
if attributes.key?(:'sha256')
|
|
411
420
|
self.sha256 = attributes[:'sha256']
|
|
412
421
|
else
|
|
@@ -476,6 +485,7 @@ module PulpPythonClient
|
|
|
476
485
|
filename == o.filename &&
|
|
477
486
|
packagetype == o.packagetype &&
|
|
478
487
|
python_version == o.python_version &&
|
|
488
|
+
size == o.size &&
|
|
479
489
|
sha256 == o.sha256 &&
|
|
480
490
|
metadata_sha256 == o.metadata_sha256
|
|
481
491
|
end
|
|
@@ -489,7 +499,7 @@ module PulpPythonClient
|
|
|
489
499
|
# Calculates hash code according to all attributes.
|
|
490
500
|
# @return [Integer] Hash code
|
|
491
501
|
def hash
|
|
492
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, vuln_report, artifact, author, author_email, description, home_page, keywords, license, metadata_version, name, platform, summary, version, classifiers, download_url, supported_platform, maintainer, maintainer_email, obsoletes_dist, project_url, project_urls, provides_dist, requires_external, requires_dist, requires_python, description_content_type, provides_extras, dynamic, license_expression, license_file, filename, packagetype, python_version, sha256, metadata_sha256].hash
|
|
502
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, vuln_report, artifact, author, author_email, description, home_page, keywords, license, metadata_version, name, platform, summary, version, classifiers, download_url, supported_platform, maintainer, maintainer_email, obsoletes_dist, project_url, project_urls, provides_dist, requires_external, requires_dist, requires_python, description_content_type, provides_extras, dynamic, license_expression, license_file, filename, packagetype, python_version, size, sha256, metadata_sha256].hash
|
|
493
503
|
end
|
|
494
504
|
|
|
495
505
|
# Builds the object from hash
|
|
@@ -94,7 +94,7 @@ describe 'ContentPackagesApi' do
|
|
|
94
94
|
# @option opts [String] :name Filter results where name matches value
|
|
95
95
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
96
96
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
97
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `author` - Author * `-author` - Author (descending) * `author_email` - Author email * `-author_email` - Author email (descending) * `description` - Description * `-description` - Description (descending) * `home_page` - Home page * `-home_page` - Home page (descending) * `keywords` - Keywords * `-keywords` - Keywords (descending) * `license` - License * `-license` - License (descending) * `metadata_version` - Metadata version * `-metadata_version` - Metadata version (descending) * `name` - Name * `-name` - Name (descending) * `platform` - Platform * `-platform` - Platform (descending) * `summary` - Summary * `-summary` - Summary (descending) * `version` - Version * `-version` - Version (descending) * `classifiers` - Classifiers * `-classifiers` - Classifiers (descending) * `download_url` - Download url * `-download_url` - Download url (descending) * `supported_platform` - Supported platform * `-supported_platform` - Supported platform (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `maintainer_email` - Maintainer email * `-maintainer_email` - Maintainer email (descending) * `obsoletes_dist` - Obsoletes dist * `-obsoletes_dist` - Obsoletes dist (descending) * `project_url` - Project url * `-project_url` - Project url (descending) * `project_urls` - Project urls * `-project_urls` - Project urls (descending) * `provides_dist` - Provides dist * `-provides_dist` - Provides dist (descending) * `requires_external` - Requires external * `-requires_external` - Requires external (descending) * `requires_dist` - Requires dist * `-requires_dist` - Requires dist (descending) * `requires_python` - Requires python * `-requires_python` - Requires python (descending) * `description_content_type` - Description content type * `-description_content_type` - Description content type (descending) * `provides_extras` - Provides extras * `-provides_extras` - Provides extras (descending) * `dynamic` - Dynamic * `-dynamic` - Dynamic (descending) * `license_expression` - License expression * `-license_expression` - License expression (descending) * `license_file` - License file * `-license_file` - License file (descending) * `filename` - Filename * `-filename` - Filename (descending) * `packagetype` - Packagetype * `-packagetype` - Packagetype (descending) * `python_version` - Python version * `-python_version` - Python version (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
97
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `author` - Author * `-author` - Author (descending) * `author_email` - Author email * `-author_email` - Author email (descending) * `description` - Description * `-description` - Description (descending) * `home_page` - Home page * `-home_page` - Home page (descending) * `keywords` - Keywords * `-keywords` - Keywords (descending) * `license` - License * `-license` - License (descending) * `metadata_version` - Metadata version * `-metadata_version` - Metadata version (descending) * `name` - Name * `-name` - Name (descending) * `platform` - Platform * `-platform` - Platform (descending) * `summary` - Summary * `-summary` - Summary (descending) * `version` - Version * `-version` - Version (descending) * `classifiers` - Classifiers * `-classifiers` - Classifiers (descending) * `download_url` - Download url * `-download_url` - Download url (descending) * `supported_platform` - Supported platform * `-supported_platform` - Supported platform (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `maintainer_email` - Maintainer email * `-maintainer_email` - Maintainer email (descending) * `obsoletes_dist` - Obsoletes dist * `-obsoletes_dist` - Obsoletes dist (descending) * `project_url` - Project url * `-project_url` - Project url (descending) * `project_urls` - Project urls * `-project_urls` - Project urls (descending) * `provides_dist` - Provides dist * `-provides_dist` - Provides dist (descending) * `requires_external` - Requires external * `-requires_external` - Requires external (descending) * `requires_dist` - Requires dist * `-requires_dist` - Requires dist (descending) * `requires_python` - Requires python * `-requires_python` - Requires python (descending) * `description_content_type` - Description content type * `-description_content_type` - Description content type (descending) * `provides_extras` - Provides extras * `-provides_extras` - Provides extras (descending) * `dynamic` - Dynamic * `-dynamic` - Dynamic (descending) * `license_expression` - License expression * `-license_expression` - License expression (descending) * `license_file` - License file * `-license_file` - License file (descending) * `filename` - Filename * `-filename` - Filename (descending) * `packagetype` - Packagetype * `-packagetype` - Packagetype (descending) * `python_version` - Python version * `-python_version` - Python version (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `size` - Size * `-size` - Size (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
98
98
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
99
99
|
# @option opts [String] :packagetype Filter results where packagetype matches value * `bdist_dmg` - bdist_dmg * `bdist_dumb` - bdist_dumb * `bdist_egg` - bdist_egg * `bdist_msi` - bdist_msi * `bdist_rpm` - bdist_rpm * `bdist_wheel` - bdist_wheel * `bdist_wininst` - bdist_wininst * `sdist` - sdist
|
|
100
100
|
# @option opts [Array<String>] :packagetype__in Filter results where packagetype is in a comma-separated list of values
|
|
@@ -109,4 +109,17 @@ describe 'RepositoriesPythonVersionsApi' do
|
|
|
109
109
|
end
|
|
110
110
|
end
|
|
111
111
|
|
|
112
|
+
# unit tests for scan
|
|
113
|
+
# Generate vulnerability report
|
|
114
|
+
# Scan a repository version for vulnerabilities.
|
|
115
|
+
# @param python_python_repository_version_href
|
|
116
|
+
# @param [Hash] opts the optional parameters
|
|
117
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
118
|
+
# @return [AsyncOperationResponse]
|
|
119
|
+
describe 'scan test' do
|
|
120
|
+
it 'should work' do
|
|
121
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
122
|
+
end
|
|
123
|
+
end
|
|
124
|
+
|
|
112
125
|
end
|
|
@@ -69,6 +69,12 @@ describe PulpPythonClient::PatchedpythonPythonDistribution do
|
|
|
69
69
|
end
|
|
70
70
|
end
|
|
71
71
|
|
|
72
|
+
describe 'test attribute "repository_version"' do
|
|
73
|
+
it 'should work' do
|
|
74
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
|
|
72
78
|
describe 'test attribute "allow_uploads"' do
|
|
73
79
|
it 'should work' do
|
|
74
80
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -105,6 +105,12 @@ describe PulpPythonClient::PythonPythonDistributionResponse do
|
|
|
105
105
|
end
|
|
106
106
|
end
|
|
107
107
|
|
|
108
|
+
describe 'test attribute "repository_version"' do
|
|
109
|
+
it 'should work' do
|
|
110
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
111
|
+
end
|
|
112
|
+
end
|
|
113
|
+
|
|
108
114
|
describe 'test attribute "allow_uploads"' do
|
|
109
115
|
it 'should work' do
|
|
110
116
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -69,6 +69,12 @@ describe PulpPythonClient::PythonPythonDistribution do
|
|
|
69
69
|
end
|
|
70
70
|
end
|
|
71
71
|
|
|
72
|
+
describe 'test attribute "repository_version"' do
|
|
73
|
+
it 'should work' do
|
|
74
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
|
|
72
78
|
describe 'test attribute "allow_uploads"' do
|
|
73
79
|
it 'should work' do
|
|
74
80
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -255,6 +255,12 @@ describe PulpPythonClient::PythonPythonPackageContentResponse do
|
|
|
255
255
|
end
|
|
256
256
|
end
|
|
257
257
|
|
|
258
|
+
describe 'test attribute "size"' do
|
|
259
|
+
it 'should work' do
|
|
260
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
261
|
+
end
|
|
262
|
+
end
|
|
263
|
+
|
|
258
264
|
describe 'test attribute "sha256"' do
|
|
259
265
|
it 'should work' do
|
|
260
266
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|