pulp_deb_client 3.6.0 → 3.7.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 +4 -4
- data/docs/ContentInstallerPackagesApi.md +2 -2
- data/docs/ContentPackagesApi.md +2 -2
- data/docs/Copy.md +1 -1
- data/docs/DebAptRemoteResponse.md +1 -1
- data/docs/DebGenericContentResponse.md +2 -0
- data/docs/DebInstallerFileIndexResponse.md +2 -0
- data/docs/DebInstallerPackageResponse.md +2 -0
- data/docs/DebPackageIndexResponse.md +2 -0
- data/docs/DebPackageReleaseComponentResponse.md +2 -0
- data/docs/DebPackageResponse.md +2 -0
- data/docs/DebReleaseArchitectureResponse.md +2 -0
- data/docs/DebReleaseComponentResponse.md +2 -0
- data/docs/DebReleaseFileResponse.md +2 -0
- data/docs/DebReleaseResponse.md +2 -0
- data/docs/DebSourceIndexResponse.md +2 -0
- data/docs/DebSourcePackageReleaseComponentResponse.md +2 -0
- data/docs/DebSourcePackageResponse.md +2 -0
- data/docs/RepositoryVersionResponse.md +3 -1
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +8 -0
- data/lib/pulp_deb_client/api/content_packages_api.rb +8 -0
- data/lib/pulp_deb_client/models/copy.rb +0 -1
- data/lib/pulp_deb_client/models/deb_apt_remote.rb +0 -15
- data/lib/pulp_deb_client/models/deb_apt_remote_response.rb +0 -15
- data/lib/pulp_deb_client/models/deb_apt_repository.rb +0 -15
- data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +0 -15
- data/lib/pulp_deb_client/models/deb_generic_content_response.rb +10 -1
- data/lib/pulp_deb_client/models/deb_installer_file_index_response.rb +10 -1
- data/lib/pulp_deb_client/models/deb_installer_package_response.rb +10 -1
- data/lib/pulp_deb_client/models/deb_package_index_response.rb +10 -1
- data/lib/pulp_deb_client/models/deb_package_release_component_response.rb +10 -1
- data/lib/pulp_deb_client/models/deb_package_response.rb +10 -1
- data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +10 -1
- data/lib/pulp_deb_client/models/deb_release_component_response.rb +10 -1
- data/lib/pulp_deb_client/models/deb_release_file_response.rb +10 -1
- data/lib/pulp_deb_client/models/deb_release_response.rb +10 -1
- data/lib/pulp_deb_client/models/deb_source_index_response.rb +10 -1
- data/lib/pulp_deb_client/models/deb_source_package_release_component_response.rb +10 -1
- data/lib/pulp_deb_client/models/deb_source_package_response.rb +10 -1
- data/lib/pulp_deb_client/models/paginated_repository_version_response_list.rb +0 -2
- data/lib/pulp_deb_client/models/paginateddeb_apt_distribution_response_list.rb +0 -2
- data/lib/pulp_deb_client/models/paginateddeb_apt_publication_response_list.rb +0 -2
- data/lib/pulp_deb_client/models/paginateddeb_apt_remote_response_list.rb +0 -2
- data/lib/pulp_deb_client/models/paginateddeb_apt_repository_response_list.rb +0 -2
- data/lib/pulp_deb_client/models/paginateddeb_generic_content_response_list.rb +0 -2
- data/lib/pulp_deb_client/models/paginateddeb_installer_file_index_response_list.rb +0 -2
- data/lib/pulp_deb_client/models/paginateddeb_installer_package_response_list.rb +0 -2
- data/lib/pulp_deb_client/models/paginateddeb_package_index_response_list.rb +0 -2
- data/lib/pulp_deb_client/models/paginateddeb_package_release_component_response_list.rb +0 -2
- data/lib/pulp_deb_client/models/paginateddeb_package_response_list.rb +0 -2
- data/lib/pulp_deb_client/models/paginateddeb_release_architecture_response_list.rb +0 -2
- data/lib/pulp_deb_client/models/paginateddeb_release_component_response_list.rb +0 -2
- data/lib/pulp_deb_client/models/paginateddeb_release_file_response_list.rb +0 -2
- data/lib/pulp_deb_client/models/paginateddeb_release_response_list.rb +0 -2
- data/lib/pulp_deb_client/models/paginateddeb_source_index_response_list.rb +0 -2
- data/lib/pulp_deb_client/models/paginateddeb_source_package_release_component_response_list.rb +0 -2
- data/lib/pulp_deb_client/models/paginateddeb_source_package_response_list.rb +0 -2
- data/lib/pulp_deb_client/models/paginateddeb_verbatim_publication_response_list.rb +0 -2
- data/lib/pulp_deb_client/models/patcheddeb_apt_remote.rb +0 -15
- data/lib/pulp_deb_client/models/patcheddeb_apt_repository.rb +0 -15
- data/lib/pulp_deb_client/models/repository_version_response.rb +13 -4
- data/lib/pulp_deb_client/version.rb +1 -1
- data/spec/models/deb_generic_content_response_spec.rb +6 -0
- data/spec/models/deb_installer_file_index_response_spec.rb +6 -0
- data/spec/models/deb_installer_package_response_spec.rb +6 -0
- data/spec/models/deb_package_index_response_spec.rb +6 -0
- data/spec/models/deb_package_release_component_response_spec.rb +6 -0
- data/spec/models/deb_package_response_spec.rb +6 -0
- data/spec/models/deb_release_architecture_response_spec.rb +6 -0
- data/spec/models/deb_release_component_response_spec.rb +6 -0
- data/spec/models/deb_release_file_response_spec.rb +6 -0
- data/spec/models/deb_release_response_spec.rb +6 -0
- data/spec/models/deb_source_index_response_spec.rb +6 -0
- data/spec/models/deb_source_package_release_component_response_spec.rb +6 -0
- data/spec/models/deb_source_package_response_spec.rb +6 -0
- data/spec/models/repository_version_response_spec.rb +6 -0
- metadata +75 -75
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 241e0c0e964b9503686a88a2df49f2791703beaeb8c8797873a9631f29d66972
|
4
|
+
data.tar.gz: 6d17d895e56a9c4b40a746e08bb6bbdbe51af29aa7343ddb3545ce576c9fd028
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: addac09b0cad93be5777ea4768d0f1651f02dec68097de98d48890e5f55a68ddbe160b22c4e2938283202e0ccf31645352fa59d1922da24e105ca1d23026d570
|
7
|
+
data.tar.gz: d63a966fefd52692ba6ff9442514111fbe3f0a6fd9a32d07d95e31a3a7c0b22ee8424f90589602297f639531af89cda0755d3c2e54dfa64b5c45c329c7c81e36
|
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.7.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_deb_client.gemspec
|
|
25
25
|
Then either install the gem locally:
|
26
26
|
|
27
27
|
```shell
|
28
|
-
gem install ./pulp_deb_client-3.
|
28
|
+
gem install ./pulp_deb_client-3.7.0.gem
|
29
29
|
```
|
30
30
|
|
31
|
-
(for development, run `gem install --dev ./pulp_deb_client-3.
|
31
|
+
(for development, run `gem install --dev ./pulp_deb_client-3.7.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_deb_client', '~> 3.
|
37
|
+
gem 'pulp_deb_client', '~> 3.7.0'
|
38
38
|
|
39
39
|
### Install from Git
|
40
40
|
|
@@ -122,9 +122,9 @@ opts = {
|
|
122
122
|
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
123
123
|
architecture: 'architecture_example', # String | Filter results where architecture matches value
|
124
124
|
auto_built_package: 'auto_built_package_example', # String | Filter results where auto_built_package matches value
|
125
|
-
build_essential:
|
125
|
+
build_essential: false, # Boolean | Filter results where build_essential matches value * `True` - yes * `False` - no
|
126
126
|
built_using: 'built_using_example', # String | Filter results where built_using matches value
|
127
|
-
essential:
|
127
|
+
essential: false, # Boolean | Filter results where essential matches value * `True` - yes * `False` - no
|
128
128
|
installed_size: 56, # Integer | Filter results where installed_size matches value
|
129
129
|
limit: 56, # Integer | Number of results to return per page.
|
130
130
|
maintainer: 'maintainer_example', # String | Filter results where maintainer matches value
|
data/docs/ContentPackagesApi.md
CHANGED
@@ -126,9 +126,9 @@ opts = {
|
|
126
126
|
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
127
127
|
architecture: 'architecture_example', # String | Filter results where architecture matches value
|
128
128
|
auto_built_package: 'auto_built_package_example', # String | Filter results where auto_built_package matches value
|
129
|
-
build_essential:
|
129
|
+
build_essential: false, # Boolean | Filter results where build_essential matches value * `True` - yes * `False` - no
|
130
130
|
built_using: 'built_using_example', # String | Filter results where built_using matches value
|
131
|
-
essential:
|
131
|
+
essential: false, # Boolean | Filter results where essential matches value * `True` - yes * `False` - no
|
132
132
|
installed_size: 56, # Integer | Filter results where installed_size matches value
|
133
133
|
limit: 56, # Integer | Number of results to return per page.
|
134
134
|
maintainer: 'maintainer_example', # String | Filter results where maintainer matches value
|
data/docs/Copy.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **config** | **Object** |
|
7
|
+
| **config** | **Object** | | |
|
8
8
|
| **structured** | **Boolean** | Also copy any distributions, components, and releases as needed for any packages being copied. This will allow for structured publications of the target repository.Default is set to True | [optional][default to true] |
|
9
9
|
| **dependency_solving** | **Boolean** | Also copy dependencies of any packages being copied. NOT YETIMPLEMENTED! You must keep this at \"False\"! | [optional][default to false] |
|
10
10
|
|
@@ -24,7 +24,7 @@
|
|
24
24
|
| **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
25
25
|
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
26
26
|
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
27
|
-
| **hidden_fields** | [**Array<DebAptRemoteResponseHiddenFieldsInner>**](DebAptRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional]
|
27
|
+
| **hidden_fields** | [**Array<DebAptRemoteResponseHiddenFieldsInner>**](DebAptRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional] |
|
28
28
|
| **distributions** | **String** | Whitespace separated list of distributions to sync. The distribution is the path from the repository root to the \"Release\" file you want to access. This is often, but not always, equal to either the codename or the suite of the release you want to sync. If the repository you are trying to sync uses \"flat repository format\", the distribution must end with a \"/\". Based on \"/etc/apt/sources.list\" syntax. | |
|
29
29
|
| **components** | **String** | Whitespace separatet list of components to sync. If none are supplied, all that are available will be synchronized. Leave blank for repositores using \"flat repository format\". | [optional] |
|
30
30
|
| **architectures** | **String** | Whitespace separated list of architectures to sync If none are supplied, all that are available will be synchronized. A list of valid architecture specification strings can be found by running \"dpkg-architecture -L\". A sync will download the intersection of the list of architectures provided via this field and those provided by the relevant \"Release\" file. Architecture=\"all\" is always synchronized and does not need to be provided here. | [optional] |
|
@@ -9,6 +9,7 @@
|
|
9
9
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
10
10
|
| **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
|
11
11
|
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
12
|
+
| **vuln_report** | **String** | | [optional][readonly] |
|
12
13
|
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
13
14
|
| **relative_path** | **String** | Path where the artifact is located relative to distributions base_path | |
|
14
15
|
| **md5** | **String** | The MD5 checksum if available. | [optional][readonly] |
|
@@ -29,6 +30,7 @@ instance = PulpDebClient::DebGenericContentResponse.new(
|
|
29
30
|
pulp_created: null,
|
30
31
|
pulp_last_updated: null,
|
31
32
|
pulp_labels: null,
|
33
|
+
vuln_report: null,
|
32
34
|
artifact: null,
|
33
35
|
relative_path: null,
|
34
36
|
md5: null,
|
@@ -9,6 +9,7 @@
|
|
9
9
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
10
10
|
| **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
|
11
11
|
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
12
|
+
| **vuln_report** | **String** | | [optional][readonly] |
|
12
13
|
| **artifacts** | **Object** | A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/' | |
|
13
14
|
| **component** | **String** | Component of the component - architecture combination. | |
|
14
15
|
| **architecture** | **String** | Architecture of the component - architecture combination. | |
|
@@ -25,6 +26,7 @@ instance = PulpDebClient::DebInstallerFileIndexResponse.new(
|
|
25
26
|
pulp_created: null,
|
26
27
|
pulp_last_updated: null,
|
27
28
|
pulp_labels: null,
|
29
|
+
vuln_report: null,
|
28
30
|
artifacts: null,
|
29
31
|
component: null,
|
30
32
|
architecture: null,
|
@@ -9,6 +9,7 @@
|
|
9
9
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
10
10
|
| **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
|
11
11
|
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
12
|
+
| **vuln_report** | **String** | | [optional][readonly] |
|
12
13
|
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
13
14
|
| **relative_path** | **String** | Path where the artifact is located relative to distributions base_path | [optional] |
|
14
15
|
| **md5** | **String** | The MD5 checksum if available. | [optional][readonly] |
|
@@ -58,6 +59,7 @@ instance = PulpDebClient::DebInstallerPackageResponse.new(
|
|
58
59
|
pulp_created: null,
|
59
60
|
pulp_last_updated: null,
|
60
61
|
pulp_labels: null,
|
62
|
+
vuln_report: null,
|
61
63
|
artifact: null,
|
62
64
|
relative_path: null,
|
63
65
|
md5: null,
|
@@ -9,6 +9,7 @@
|
|
9
9
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
10
10
|
| **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
|
11
11
|
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
12
|
+
| **vuln_report** | **String** | | [optional][readonly] |
|
12
13
|
| **artifacts** | **Object** | A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/' | |
|
13
14
|
| **component** | **String** | Component of the component - architecture combination. | [optional] |
|
14
15
|
| **architecture** | **String** | Architecture of the component - architecture combination. | [optional] |
|
@@ -25,6 +26,7 @@ instance = PulpDebClient::DebPackageIndexResponse.new(
|
|
25
26
|
pulp_created: null,
|
26
27
|
pulp_last_updated: null,
|
27
28
|
pulp_labels: null,
|
29
|
+
vuln_report: null,
|
28
30
|
artifacts: null,
|
29
31
|
component: null,
|
30
32
|
architecture: null,
|
@@ -9,6 +9,7 @@
|
|
9
9
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
10
10
|
| **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
|
11
11
|
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
12
|
+
| **vuln_report** | **String** | | [optional][readonly] |
|
12
13
|
| **package** | **String** | Package that is contained in release_comonent. | |
|
13
14
|
| **release_component** | **String** | ReleaseComponent this package is contained in. | |
|
14
15
|
|
@@ -23,6 +24,7 @@ instance = PulpDebClient::DebPackageReleaseComponentResponse.new(
|
|
23
24
|
pulp_created: null,
|
24
25
|
pulp_last_updated: null,
|
25
26
|
pulp_labels: null,
|
27
|
+
vuln_report: null,
|
26
28
|
package: null,
|
27
29
|
release_component: null
|
28
30
|
)
|
data/docs/DebPackageResponse.md
CHANGED
@@ -9,6 +9,7 @@
|
|
9
9
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
10
10
|
| **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
|
11
11
|
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
12
|
+
| **vuln_report** | **String** | | [optional][readonly] |
|
12
13
|
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
13
14
|
| **relative_path** | **String** | Path where the artifact is located relative to distributions base_path | [optional] |
|
14
15
|
| **distribution** | **String** | Name of the distribution. | [optional] |
|
@@ -60,6 +61,7 @@ instance = PulpDebClient::DebPackageResponse.new(
|
|
60
61
|
pulp_created: null,
|
61
62
|
pulp_last_updated: null,
|
62
63
|
pulp_labels: null,
|
64
|
+
vuln_report: null,
|
63
65
|
artifact: null,
|
64
66
|
relative_path: null,
|
65
67
|
distribution: null,
|
@@ -9,6 +9,7 @@
|
|
9
9
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
10
10
|
| **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
|
11
11
|
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
12
|
+
| **vuln_report** | **String** | | [optional][readonly] |
|
12
13
|
| **architecture** | **String** | Name of the architecture. | |
|
13
14
|
| **distribution** | **String** | Name of the distribution. | |
|
14
15
|
|
@@ -23,6 +24,7 @@ instance = PulpDebClient::DebReleaseArchitectureResponse.new(
|
|
23
24
|
pulp_created: null,
|
24
25
|
pulp_last_updated: null,
|
25
26
|
pulp_labels: null,
|
27
|
+
vuln_report: null,
|
26
28
|
architecture: null,
|
27
29
|
distribution: null
|
28
30
|
)
|
@@ -9,6 +9,7 @@
|
|
9
9
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
10
10
|
| **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
|
11
11
|
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
12
|
+
| **vuln_report** | **String** | | [optional][readonly] |
|
12
13
|
| **component** | **String** | Name of the component. | |
|
13
14
|
| **distribution** | **String** | Name of the distribution. | |
|
14
15
|
| **plain_component** | **String** | Name of the component without any path prefixes. | [optional][readonly] |
|
@@ -24,6 +25,7 @@ instance = PulpDebClient::DebReleaseComponentResponse.new(
|
|
24
25
|
pulp_created: null,
|
25
26
|
pulp_last_updated: null,
|
26
27
|
pulp_labels: null,
|
28
|
+
vuln_report: null,
|
27
29
|
component: null,
|
28
30
|
distribution: null,
|
29
31
|
plain_component: null
|
@@ -9,6 +9,7 @@
|
|
9
9
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
10
10
|
| **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
|
11
11
|
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
12
|
+
| **vuln_report** | **String** | | [optional][readonly] |
|
12
13
|
| **artifacts** | **Object** | A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/' | |
|
13
14
|
| **codename** | **String** | Codename of the release, e.g. \"buster\". | [optional] |
|
14
15
|
| **suite** | **String** | Suite of the release, e.g. \"stable\". | [optional] |
|
@@ -26,6 +27,7 @@ instance = PulpDebClient::DebReleaseFileResponse.new(
|
|
26
27
|
pulp_created: null,
|
27
28
|
pulp_last_updated: null,
|
28
29
|
pulp_labels: null,
|
30
|
+
vuln_report: null,
|
29
31
|
artifacts: null,
|
30
32
|
codename: null,
|
31
33
|
suite: null,
|
data/docs/DebReleaseResponse.md
CHANGED
@@ -9,6 +9,7 @@
|
|
9
9
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
10
10
|
| **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
|
11
11
|
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
12
|
+
| **vuln_report** | **String** | | [optional][readonly] |
|
12
13
|
| **codename** | **String** | | |
|
13
14
|
| **suite** | **String** | | |
|
14
15
|
| **distribution** | **String** | | |
|
@@ -30,6 +31,7 @@ instance = PulpDebClient::DebReleaseResponse.new(
|
|
30
31
|
pulp_created: null,
|
31
32
|
pulp_last_updated: null,
|
32
33
|
pulp_labels: null,
|
34
|
+
vuln_report: null,
|
33
35
|
codename: null,
|
34
36
|
suite: null,
|
35
37
|
distribution: null,
|
@@ -9,6 +9,7 @@
|
|
9
9
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
10
10
|
| **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
|
11
11
|
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
12
|
+
| **vuln_report** | **String** | | [optional][readonly] |
|
12
13
|
| **artifacts** | **Object** | A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/' | |
|
13
14
|
| **release** | **String** | Release this index file belongs to. | |
|
14
15
|
| **component** | **String** | Component this index file belongs to. | |
|
@@ -25,6 +26,7 @@ instance = PulpDebClient::DebSourceIndexResponse.new(
|
|
25
26
|
pulp_created: null,
|
26
27
|
pulp_last_updated: null,
|
27
28
|
pulp_labels: null,
|
29
|
+
vuln_report: null,
|
28
30
|
artifacts: null,
|
29
31
|
release: null,
|
30
32
|
component: null,
|
@@ -9,6 +9,7 @@
|
|
9
9
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
10
10
|
| **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
|
11
11
|
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
12
|
+
| **vuln_report** | **String** | | [optional][readonly] |
|
12
13
|
| **source_package** | **String** | Source package that is contained in release_component. | |
|
13
14
|
| **release_component** | **String** | ReleaseComponent this source package is contained in. | |
|
14
15
|
|
@@ -23,6 +24,7 @@ instance = PulpDebClient::DebSourcePackageReleaseComponentResponse.new(
|
|
23
24
|
pulp_created: null,
|
24
25
|
pulp_last_updated: null,
|
25
26
|
pulp_labels: null,
|
27
|
+
vuln_report: null,
|
26
28
|
source_package: null,
|
27
29
|
release_component: null
|
28
30
|
)
|
@@ -9,6 +9,7 @@
|
|
9
9
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
10
10
|
| **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
|
11
11
|
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
12
|
+
| **vuln_report** | **String** | | [optional][readonly] |
|
12
13
|
| **artifacts** | **Object** | A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/' | [readonly] |
|
13
14
|
| **relative_path** | **String** | Relative path of the Debian Source Control (dsc) file.It is normally advised to let Pulp generate this. | [optional] |
|
14
15
|
| **sha256** | **String** | sha256 digest of the dsc file. | [optional][readonly] |
|
@@ -51,6 +52,7 @@ instance = PulpDebClient::DebSourcePackageResponse.new(
|
|
51
52
|
pulp_created: null,
|
52
53
|
pulp_last_updated: null,
|
53
54
|
pulp_labels: null,
|
55
|
+
vuln_report: null,
|
54
56
|
artifacts: null,
|
55
57
|
relative_path: null,
|
56
58
|
sha256: null,
|
@@ -12,6 +12,7 @@
|
|
12
12
|
| **repository** | **String** | | [optional][readonly] |
|
13
13
|
| **base_version** | **String** | A repository version whose content was used as the initial set of content for this repository version | [optional] |
|
14
14
|
| **content_summary** | [**ContentSummaryResponse**](ContentSummaryResponse.md) | Various count summaries of the content in the version and the HREF to view them. | [optional][readonly] |
|
15
|
+
| **vuln_report** | **String** | | [optional][readonly] |
|
15
16
|
|
16
17
|
## Example
|
17
18
|
|
@@ -26,7 +27,8 @@ instance = PulpDebClient::RepositoryVersionResponse.new(
|
|
26
27
|
number: null,
|
27
28
|
repository: null,
|
28
29
|
base_version: null,
|
29
|
-
content_summary: null
|
30
|
+
content_summary: null,
|
31
|
+
vuln_report: null
|
30
32
|
)
|
31
33
|
```
|
32
34
|
|
@@ -194,6 +194,14 @@ module PulpDebClient
|
|
194
194
|
if @api_client.config.debugging
|
195
195
|
@api_client.config.logger.debug 'Calling API: ContentInstallerPackagesApi.list ...'
|
196
196
|
end
|
197
|
+
allowable_values = ["false", "true"]
|
198
|
+
if @api_client.config.client_side_validation && opts[:'build_essential'] && !allowable_values.include?(opts[:'build_essential'])
|
199
|
+
fail ArgumentError, "invalid value for \"build_essential\", must be one of #{allowable_values}"
|
200
|
+
end
|
201
|
+
allowable_values = ["false", "true"]
|
202
|
+
if @api_client.config.client_side_validation && opts[:'essential'] && !allowable_values.include?(opts[:'essential'])
|
203
|
+
fail ArgumentError, "invalid value for \"essential\", must be one of #{allowable_values}"
|
204
|
+
end
|
197
205
|
allowable_values = ["allowed", "foreign", "no", "same"]
|
198
206
|
if @api_client.config.client_side_validation && opts[:'multi_arch'] && !allowable_values.include?(opts[:'multi_arch'])
|
199
207
|
fail ArgumentError, "invalid value for \"multi_arch\", must be one of #{allowable_values}"
|
@@ -230,6 +230,14 @@ module PulpDebClient
|
|
230
230
|
if @api_client.config.debugging
|
231
231
|
@api_client.config.logger.debug 'Calling API: ContentPackagesApi.list ...'
|
232
232
|
end
|
233
|
+
allowable_values = ["false", "true"]
|
234
|
+
if @api_client.config.client_side_validation && opts[:'build_essential'] && !allowable_values.include?(opts[:'build_essential'])
|
235
|
+
fail ArgumentError, "invalid value for \"build_essential\", must be one of #{allowable_values}"
|
236
|
+
end
|
237
|
+
allowable_values = ["false", "true"]
|
238
|
+
if @api_client.config.client_side_validation && opts[:'essential'] && !allowable_values.include?(opts[:'essential'])
|
239
|
+
fail ArgumentError, "invalid value for \"essential\", must be one of #{allowable_values}"
|
240
|
+
end
|
233
241
|
allowable_values = ["allowed", "foreign", "no", "same"]
|
234
242
|
if @api_client.config.client_side_validation && opts[:'multi_arch'] && !allowable_values.include?(opts[:'multi_arch'])
|
235
243
|
fail ArgumentError, "invalid value for \"multi_arch\", must be one of #{allowable_values}"
|
@@ -16,7 +16,6 @@ require 'time'
|
|
16
16
|
module PulpDebClient
|
17
17
|
# A serializer for Content Copy API.
|
18
18
|
class Copy
|
19
|
-
# A JSON document describing sources, destinations, and content to be copied
|
20
19
|
attr_accessor :config
|
21
20
|
|
22
21
|
# Also copy any distributions, components, and releases as needed for any packages being copied. This will allow for structured publications of the target repository.Default is set to True
|
@@ -418,10 +418,6 @@ module PulpDebClient
|
|
418
418
|
invalid_properties.push('invalid value for "password", the character length must be great than or equal to 1.')
|
419
419
|
end
|
420
420
|
|
421
|
-
if !@download_concurrency.nil? && @download_concurrency < 1
|
422
|
-
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
423
|
-
end
|
424
|
-
|
425
421
|
if !@total_timeout.nil? && @total_timeout < 0.0
|
426
422
|
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
427
423
|
end
|
@@ -477,7 +473,6 @@ module PulpDebClient
|
|
477
473
|
return false if !@proxy_password.nil? && @proxy_password.to_s.length < 1
|
478
474
|
return false if !@username.nil? && @username.to_s.length < 1
|
479
475
|
return false if !@password.nil? && @password.to_s.length < 1
|
480
|
-
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
481
476
|
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
482
477
|
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
483
478
|
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
@@ -598,16 +593,6 @@ module PulpDebClient
|
|
598
593
|
@password = password
|
599
594
|
end
|
600
595
|
|
601
|
-
# Custom attribute writer method with validation
|
602
|
-
# @param [Object] download_concurrency Value to be assigned
|
603
|
-
def download_concurrency=(download_concurrency)
|
604
|
-
if !download_concurrency.nil? && download_concurrency < 1
|
605
|
-
fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
|
606
|
-
end
|
607
|
-
|
608
|
-
@download_concurrency = download_concurrency
|
609
|
-
end
|
610
|
-
|
611
596
|
# Custom attribute writer method with validation
|
612
597
|
# @param [Object] total_timeout Value to be assigned
|
613
598
|
def total_timeout=(total_timeout)
|
@@ -374,10 +374,6 @@ module PulpDebClient
|
|
374
374
|
invalid_properties.push('invalid value for "url", url cannot be nil.')
|
375
375
|
end
|
376
376
|
|
377
|
-
if !@download_concurrency.nil? && @download_concurrency < 1
|
378
|
-
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
379
|
-
end
|
380
|
-
|
381
377
|
if !@total_timeout.nil? && @total_timeout < 0.0
|
382
378
|
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
383
379
|
end
|
@@ -407,7 +403,6 @@ module PulpDebClient
|
|
407
403
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
408
404
|
return false if @name.nil?
|
409
405
|
return false if @url.nil?
|
410
|
-
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
411
406
|
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
412
407
|
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
413
408
|
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
@@ -416,16 +411,6 @@ module PulpDebClient
|
|
416
411
|
true
|
417
412
|
end
|
418
413
|
|
419
|
-
# Custom attribute writer method with validation
|
420
|
-
# @param [Object] download_concurrency Value to be assigned
|
421
|
-
def download_concurrency=(download_concurrency)
|
422
|
-
if !download_concurrency.nil? && download_concurrency < 1
|
423
|
-
fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
|
424
|
-
end
|
425
|
-
|
426
|
-
@download_concurrency = download_concurrency
|
427
|
-
end
|
428
|
-
|
429
414
|
# Custom attribute writer method with validation
|
430
415
|
# @param [Object] total_timeout Value to be assigned
|
431
416
|
def total_timeout=(total_timeout)
|
@@ -153,10 +153,6 @@ module PulpDebClient
|
|
153
153
|
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
154
154
|
end
|
155
155
|
|
156
|
-
if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
157
|
-
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
158
|
-
end
|
159
|
-
|
160
156
|
invalid_properties
|
161
157
|
end
|
162
158
|
|
@@ -167,7 +163,6 @@ module PulpDebClient
|
|
167
163
|
return false if @name.nil?
|
168
164
|
return false if @name.to_s.length < 1
|
169
165
|
return false if !@description.nil? && @description.to_s.length < 1
|
170
|
-
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
171
166
|
true
|
172
167
|
end
|
173
168
|
|
@@ -195,16 +190,6 @@ module PulpDebClient
|
|
195
190
|
@description = description
|
196
191
|
end
|
197
192
|
|
198
|
-
# Custom attribute writer method with validation
|
199
|
-
# @param [Object] retain_repo_versions Value to be assigned
|
200
|
-
def retain_repo_versions=(retain_repo_versions)
|
201
|
-
if !retain_repo_versions.nil? && retain_repo_versions < 1
|
202
|
-
fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
|
203
|
-
end
|
204
|
-
|
205
|
-
@retain_repo_versions = retain_repo_versions
|
206
|
-
end
|
207
|
-
|
208
193
|
# Checks equality by comparing each attribute.
|
209
194
|
# @param [Object] Object to be compared
|
210
195
|
def ==(o)
|
@@ -196,10 +196,6 @@ module PulpDebClient
|
|
196
196
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
197
197
|
end
|
198
198
|
|
199
|
-
if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
200
|
-
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
201
|
-
end
|
202
|
-
|
203
199
|
invalid_properties
|
204
200
|
end
|
205
201
|
|
@@ -208,20 +204,9 @@ module PulpDebClient
|
|
208
204
|
def valid?
|
209
205
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
210
206
|
return false if @name.nil?
|
211
|
-
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
212
207
|
true
|
213
208
|
end
|
214
209
|
|
215
|
-
# Custom attribute writer method with validation
|
216
|
-
# @param [Object] retain_repo_versions Value to be assigned
|
217
|
-
def retain_repo_versions=(retain_repo_versions)
|
218
|
-
if !retain_repo_versions.nil? && retain_repo_versions < 1
|
219
|
-
fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
|
220
|
-
end
|
221
|
-
|
222
|
-
@retain_repo_versions = retain_repo_versions
|
223
|
-
end
|
224
|
-
|
225
210
|
# Checks equality by comparing each attribute.
|
226
211
|
# @param [Object] Object to be compared
|
227
212
|
def ==(o)
|
@@ -30,6 +30,8 @@ module PulpDebClient
|
|
30
30
|
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
31
31
|
attr_accessor :pulp_labels
|
32
32
|
|
33
|
+
attr_accessor :vuln_report
|
34
|
+
|
33
35
|
# Artifact file representing the physical content
|
34
36
|
attr_accessor :artifact
|
35
37
|
|
@@ -62,6 +64,7 @@ module PulpDebClient
|
|
62
64
|
:'pulp_created' => :'pulp_created',
|
63
65
|
:'pulp_last_updated' => :'pulp_last_updated',
|
64
66
|
:'pulp_labels' => :'pulp_labels',
|
67
|
+
:'vuln_report' => :'vuln_report',
|
65
68
|
:'artifact' => :'artifact',
|
66
69
|
:'relative_path' => :'relative_path',
|
67
70
|
:'md5' => :'md5',
|
@@ -86,6 +89,7 @@ module PulpDebClient
|
|
86
89
|
:'pulp_created' => :'Time',
|
87
90
|
:'pulp_last_updated' => :'Time',
|
88
91
|
:'pulp_labels' => :'Hash<String, String>',
|
92
|
+
:'vuln_report' => :'String',
|
89
93
|
:'artifact' => :'String',
|
90
94
|
:'relative_path' => :'String',
|
91
95
|
:'md5' => :'String',
|
@@ -140,6 +144,10 @@ module PulpDebClient
|
|
140
144
|
end
|
141
145
|
end
|
142
146
|
|
147
|
+
if attributes.key?(:'vuln_report')
|
148
|
+
self.vuln_report = attributes[:'vuln_report']
|
149
|
+
end
|
150
|
+
|
143
151
|
if attributes.key?(:'artifact')
|
144
152
|
self.artifact = attributes[:'artifact']
|
145
153
|
end
|
@@ -205,6 +213,7 @@ module PulpDebClient
|
|
205
213
|
pulp_created == o.pulp_created &&
|
206
214
|
pulp_last_updated == o.pulp_last_updated &&
|
207
215
|
pulp_labels == o.pulp_labels &&
|
216
|
+
vuln_report == o.vuln_report &&
|
208
217
|
artifact == o.artifact &&
|
209
218
|
relative_path == o.relative_path &&
|
210
219
|
md5 == o.md5 &&
|
@@ -224,7 +233,7 @@ module PulpDebClient
|
|
224
233
|
# Calculates hash code according to all attributes.
|
225
234
|
# @return [Integer] Hash code
|
226
235
|
def hash
|
227
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, artifact, relative_path, md5, sha1, sha224, sha256, sha384, sha512].hash
|
236
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, vuln_report, artifact, relative_path, md5, sha1, sha224, sha256, sha384, sha512].hash
|
228
237
|
end
|
229
238
|
|
230
239
|
# Builds the object from hash
|
@@ -30,6 +30,8 @@ module PulpDebClient
|
|
30
30
|
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
31
31
|
attr_accessor :pulp_labels
|
32
32
|
|
33
|
+
attr_accessor :vuln_report
|
34
|
+
|
33
35
|
# A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/'
|
34
36
|
attr_accessor :artifacts
|
35
37
|
|
@@ -50,6 +52,7 @@ module PulpDebClient
|
|
50
52
|
:'pulp_created' => :'pulp_created',
|
51
53
|
:'pulp_last_updated' => :'pulp_last_updated',
|
52
54
|
:'pulp_labels' => :'pulp_labels',
|
55
|
+
:'vuln_report' => :'vuln_report',
|
53
56
|
:'artifacts' => :'artifacts',
|
54
57
|
:'component' => :'component',
|
55
58
|
:'architecture' => :'architecture',
|
@@ -70,6 +73,7 @@ module PulpDebClient
|
|
70
73
|
:'pulp_created' => :'Time',
|
71
74
|
:'pulp_last_updated' => :'Time',
|
72
75
|
:'pulp_labels' => :'Hash<String, String>',
|
76
|
+
:'vuln_report' => :'String',
|
73
77
|
:'artifacts' => :'Object',
|
74
78
|
:'component' => :'String',
|
75
79
|
:'architecture' => :'String',
|
@@ -120,6 +124,10 @@ module PulpDebClient
|
|
120
124
|
end
|
121
125
|
end
|
122
126
|
|
127
|
+
if attributes.key?(:'vuln_report')
|
128
|
+
self.vuln_report = attributes[:'vuln_report']
|
129
|
+
end
|
130
|
+
|
123
131
|
if attributes.key?(:'artifacts')
|
124
132
|
self.artifacts = attributes[:'artifacts']
|
125
133
|
else
|
@@ -183,6 +191,7 @@ module PulpDebClient
|
|
183
191
|
pulp_created == o.pulp_created &&
|
184
192
|
pulp_last_updated == o.pulp_last_updated &&
|
185
193
|
pulp_labels == o.pulp_labels &&
|
194
|
+
vuln_report == o.vuln_report &&
|
186
195
|
artifacts == o.artifacts &&
|
187
196
|
component == o.component &&
|
188
197
|
architecture == o.architecture &&
|
@@ -198,7 +207,7 @@ module PulpDebClient
|
|
198
207
|
# Calculates hash code according to all attributes.
|
199
208
|
# @return [Integer] Hash code
|
200
209
|
def hash
|
201
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, artifacts, component, architecture, relative_path].hash
|
210
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, vuln_report, artifacts, component, architecture, relative_path].hash
|
202
211
|
end
|
203
212
|
|
204
213
|
# Builds the object from hash
|