pulp_deb_client 2.11.2 → 2.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/README.md +8 -8
- data/docs/ContentSummary.md +3 -3
- data/docs/ContentSummaryResponse.md +3 -3
- data/docs/DebAptDistribution.md +2 -0
- data/docs/DebAptDistributionResponse.md +2 -0
- data/docs/DebAptRemote.md +7 -5
- data/docs/DebAptRemoteResponse.md +7 -5
- data/docs/DebAptRepository.md +2 -0
- data/docs/DebAptRepositoryResponse.md +2 -0
- data/docs/PatcheddebAptDistribution.md +2 -0
- data/docs/PatcheddebAptRemote.md +7 -5
- data/docs/PatcheddebAptRepository.md +2 -0
- data/docs/PublicationsAptApi.md +4 -0
- data/docs/PublicationsVerbatimApi.md +4 -0
- data/docs/{RepositoriesDebVersionsApi.md → RepositoriesAptVersionsApi.md} +13 -13
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/docs/RepositoryVersionResponse.md +2 -0
- data/lib/pulp_deb_client.rb +2 -2
- data/lib/pulp_deb_client/api/content_generic_contents_api.rb +1 -1
- data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +1 -1
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +1 -9
- data/lib/pulp_deb_client/api/content_package_indices_api.rb +1 -1
- data/lib/pulp_deb_client/api/content_package_release_components_api.rb +1 -1
- data/lib/pulp_deb_client/api/content_packages_api.rb +1 -9
- data/lib/pulp_deb_client/api/content_release_architectures_api.rb +1 -1
- data/lib/pulp_deb_client/api/content_release_components_api.rb +1 -1
- data/lib/pulp_deb_client/api/content_release_files_api.rb +1 -1
- data/lib/pulp_deb_client/api/content_releases_api.rb +1 -1
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +1 -1
- data/lib/pulp_deb_client/api/publications_apt_api.rb +7 -1
- data/lib/pulp_deb_client/api/publications_verbatim_api.rb +7 -1
- data/lib/pulp_deb_client/api/remotes_apt_api.rb +1 -1
- data/lib/pulp_deb_client/api/repositories_apt_api.rb +1 -1
- data/lib/pulp_deb_client/api/{repositories_deb_versions_api.rb → repositories_apt_versions_api.rb} +15 -35
- data/lib/pulp_deb_client/api_client.rb +12 -8
- data/lib/pulp_deb_client/api_error.rb +1 -1
- data/lib/pulp_deb_client/configuration.rb +8 -1
- data/lib/pulp_deb_client/models/async_operation_response.rb +1 -1
- data/lib/pulp_deb_client/models/content_summary.rb +13 -7
- data/lib/pulp_deb_client/models/content_summary_response.rb +13 -7
- data/lib/pulp_deb_client/models/deb_apt_distribution.rb +13 -2
- data/lib/pulp_deb_client/models/deb_apt_distribution_response.rb +13 -2
- data/lib/pulp_deb_client/models/deb_apt_publication.rb +1 -1
- data/lib/pulp_deb_client/models/deb_apt_publication_response.rb +1 -1
- data/lib/pulp_deb_client/models/deb_apt_remote.rb +19 -7
- data/lib/pulp_deb_client/models/deb_apt_remote_response.rb +19 -7
- data/lib/pulp_deb_client/models/deb_apt_repository.rb +28 -2
- data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +28 -2
- data/lib/pulp_deb_client/models/deb_base_package.rb +1 -1
- data/lib/pulp_deb_client/models/deb_base_package_response.rb +1 -1
- data/lib/pulp_deb_client/models/deb_generic_content.rb +1 -1
- data/lib/pulp_deb_client/models/deb_generic_content_response.rb +1 -1
- data/lib/pulp_deb_client/models/deb_installer_file_index.rb +1 -1
- data/lib/pulp_deb_client/models/deb_installer_file_index_response.rb +1 -1
- data/lib/pulp_deb_client/models/deb_package_index.rb +1 -1
- data/lib/pulp_deb_client/models/deb_package_index_response.rb +1 -1
- data/lib/pulp_deb_client/models/deb_package_release_component.rb +1 -1
- data/lib/pulp_deb_client/models/deb_package_release_component_response.rb +1 -1
- data/lib/pulp_deb_client/models/deb_release.rb +1 -1
- data/lib/pulp_deb_client/models/deb_release_architecture.rb +1 -1
- data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +1 -1
- data/lib/pulp_deb_client/models/deb_release_component.rb +1 -1
- data/lib/pulp_deb_client/models/deb_release_component_response.rb +1 -1
- data/lib/pulp_deb_client/models/deb_release_file.rb +1 -1
- data/lib/pulp_deb_client/models/deb_release_file_response.rb +1 -1
- data/lib/pulp_deb_client/models/deb_release_response.rb +1 -1
- data/lib/pulp_deb_client/models/deb_verbatim_publication.rb +1 -1
- data/lib/pulp_deb_client/models/deb_verbatim_publication_response.rb +1 -1
- data/lib/pulp_deb_client/models/paginated_repository_version_response_list.rb +1 -1
- data/lib/pulp_deb_client/models/paginateddeb_apt_distribution_response_list.rb +1 -1
- data/lib/pulp_deb_client/models/paginateddeb_apt_publication_response_list.rb +1 -1
- data/lib/pulp_deb_client/models/paginateddeb_apt_remote_response_list.rb +1 -1
- data/lib/pulp_deb_client/models/paginateddeb_apt_repository_response_list.rb +1 -1
- data/lib/pulp_deb_client/models/paginateddeb_base_package_response_list.rb +1 -1
- data/lib/pulp_deb_client/models/paginateddeb_generic_content_response_list.rb +1 -1
- data/lib/pulp_deb_client/models/paginateddeb_installer_file_index_response_list.rb +1 -1
- data/lib/pulp_deb_client/models/paginateddeb_package_index_response_list.rb +1 -1
- data/lib/pulp_deb_client/models/paginateddeb_package_release_component_response_list.rb +1 -1
- data/lib/pulp_deb_client/models/paginateddeb_release_architecture_response_list.rb +1 -1
- data/lib/pulp_deb_client/models/paginateddeb_release_component_response_list.rb +1 -1
- data/lib/pulp_deb_client/models/paginateddeb_release_file_response_list.rb +1 -1
- data/lib/pulp_deb_client/models/paginateddeb_release_response_list.rb +1 -1
- data/lib/pulp_deb_client/models/paginateddeb_verbatim_publication_response_list.rb +1 -1
- data/lib/pulp_deb_client/models/patcheddeb_apt_distribution.rb +13 -2
- data/lib/pulp_deb_client/models/patcheddeb_apt_remote.rb +19 -7
- data/lib/pulp_deb_client/models/patcheddeb_apt_repository.rb +28 -2
- data/lib/pulp_deb_client/models/policy_enum.rb +1 -1
- data/lib/pulp_deb_client/models/repository_add_remove_content.rb +3 -3
- data/lib/pulp_deb_client/models/repository_sync_url.rb +1 -1
- data/lib/pulp_deb_client/models/repository_version.rb +1 -1
- data/lib/pulp_deb_client/models/repository_version_response.rb +11 -2
- data/lib/pulp_deb_client/version.rb +2 -2
- data/pulp_deb_client.gemspec +1 -1
- data/spec/api/content_generic_contents_api_spec.rb +1 -1
- data/spec/api/content_installer_file_indices_api_spec.rb +1 -1
- data/spec/api/content_installer_packages_api_spec.rb +1 -1
- data/spec/api/content_package_indices_api_spec.rb +1 -1
- data/spec/api/content_package_release_components_api_spec.rb +1 -1
- data/spec/api/content_packages_api_spec.rb +1 -1
- data/spec/api/content_release_architectures_api_spec.rb +1 -1
- data/spec/api/content_release_components_api_spec.rb +1 -1
- data/spec/api/content_release_files_api_spec.rb +1 -1
- data/spec/api/content_releases_api_spec.rb +1 -1
- data/spec/api/distributions_apt_api_spec.rb +1 -1
- data/spec/api/publications_apt_api_spec.rb +3 -1
- data/spec/api/publications_verbatim_api_spec.rb +3 -1
- data/spec/api/remotes_apt_api_spec.rb +1 -1
- data/spec/api/repositories_apt_api_spec.rb +1 -1
- data/spec/api/{repositories_deb_versions_api_spec.rb → repositories_apt_versions_api_spec.rb} +7 -7
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/async_operation_response_spec.rb +1 -1
- data/spec/models/content_summary_response_spec.rb +1 -1
- data/spec/models/content_summary_spec.rb +1 -1
- data/spec/models/deb_apt_distribution_response_spec.rb +7 -1
- data/spec/models/deb_apt_distribution_spec.rb +7 -1
- data/spec/models/deb_apt_publication_response_spec.rb +1 -1
- data/spec/models/deb_apt_publication_spec.rb +1 -1
- data/spec/models/deb_apt_remote_response_spec.rb +7 -1
- data/spec/models/deb_apt_remote_spec.rb +7 -1
- data/spec/models/deb_apt_repository_response_spec.rb +7 -1
- data/spec/models/deb_apt_repository_spec.rb +7 -1
- data/spec/models/deb_base_package_response_spec.rb +1 -1
- data/spec/models/deb_base_package_spec.rb +1 -1
- data/spec/models/deb_generic_content_response_spec.rb +1 -1
- data/spec/models/deb_generic_content_spec.rb +1 -1
- data/spec/models/deb_installer_file_index_response_spec.rb +1 -1
- data/spec/models/deb_installer_file_index_spec.rb +1 -1
- data/spec/models/deb_package_index_response_spec.rb +1 -1
- data/spec/models/deb_package_index_spec.rb +1 -1
- data/spec/models/deb_package_release_component_response_spec.rb +1 -1
- data/spec/models/deb_package_release_component_spec.rb +1 -1
- data/spec/models/deb_release_architecture_response_spec.rb +1 -1
- data/spec/models/deb_release_architecture_spec.rb +1 -1
- data/spec/models/deb_release_component_response_spec.rb +1 -1
- data/spec/models/deb_release_component_spec.rb +1 -1
- data/spec/models/deb_release_file_response_spec.rb +1 -1
- data/spec/models/deb_release_file_spec.rb +1 -1
- data/spec/models/deb_release_response_spec.rb +1 -1
- data/spec/models/deb_release_spec.rb +1 -1
- data/spec/models/deb_verbatim_publication_response_spec.rb +1 -1
- data/spec/models/deb_verbatim_publication_spec.rb +1 -1
- data/spec/models/paginated_repository_version_response_list_spec.rb +1 -1
- data/spec/models/paginateddeb_apt_distribution_response_list_spec.rb +1 -1
- data/spec/models/paginateddeb_apt_publication_response_list_spec.rb +1 -1
- data/spec/models/paginateddeb_apt_remote_response_list_spec.rb +1 -1
- data/spec/models/paginateddeb_apt_repository_response_list_spec.rb +1 -1
- data/spec/models/paginateddeb_base_package_response_list_spec.rb +1 -1
- data/spec/models/paginateddeb_generic_content_response_list_spec.rb +1 -1
- data/spec/models/paginateddeb_installer_file_index_response_list_spec.rb +1 -1
- data/spec/models/paginateddeb_package_index_response_list_spec.rb +1 -1
- data/spec/models/paginateddeb_package_release_component_response_list_spec.rb +1 -1
- data/spec/models/paginateddeb_release_architecture_response_list_spec.rb +1 -1
- data/spec/models/paginateddeb_release_component_response_list_spec.rb +1 -1
- data/spec/models/paginateddeb_release_file_response_list_spec.rb +1 -1
- data/spec/models/paginateddeb_release_response_list_spec.rb +1 -1
- data/spec/models/paginateddeb_verbatim_publication_response_list_spec.rb +1 -1
- data/spec/models/patcheddeb_apt_distribution_spec.rb +7 -1
- data/spec/models/patcheddeb_apt_remote_spec.rb +7 -1
- data/spec/models/patcheddeb_apt_repository_spec.rb +7 -1
- data/spec/models/policy_enum_spec.rb +1 -1
- data/spec/models/repository_add_remove_content_spec.rb +1 -1
- data/spec/models/repository_sync_url_spec.rb +1 -1
- data/spec/models/repository_version_response_spec.rb +7 -1
- data/spec/models/repository_version_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +57 -57
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eb7f8b456ee217eda6978002e70c7d9078eef516904bc5f561e5982f7026b4df
|
4
|
+
data.tar.gz: 0ec13d08664572c4d1fb50c0432657245ab85c892a59ecd9f8b2d3715eff5644
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb70ca71d0a8e8ed53b5bd8f1902b81d7ce1f756de382018f9770419b193df66ca02b078b7bc9b7dad5b1903adf60544cc8a20042eaf6d86136b0ecf0d0fa297
|
7
|
+
data.tar.gz: 449f0e03aebb9b4b13776a8194dd6488d31a9e0f5362126058eb0584444d2cd8e417b219503a49c27983e12cab7bbcff164fc8369371c79435124257cfdf275b
|
data/Gemfile
CHANGED
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: 2.
|
10
|
+
- Package version: 2.14.0
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
13
13
|
|
@@ -24,16 +24,16 @@ gem build pulp_deb_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulp_deb_client-2.
|
27
|
+
gem install ./pulp_deb_client-2.14.0.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_deb_client-2.
|
30
|
+
(for development, run `gem install --dev ./pulp_deb_client-2.14.0.gem` to install the development dependencies)
|
31
31
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
33
|
|
34
34
|
Finally add this to the Gemfile:
|
35
35
|
|
36
|
-
gem 'pulp_deb_client', '~> 2.
|
36
|
+
gem 'pulp_deb_client', '~> 2.14.0'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -146,10 +146,10 @@ Class | Method | HTTP request | Description
|
|
146
146
|
*PulpDebClient::RepositoriesAptApi* | [**read**](docs/RepositoriesAptApi.md#read) | **GET** {deb_apt_repository_href} | Inspect an apt repository
|
147
147
|
*PulpDebClient::RepositoriesAptApi* | [**sync**](docs/RepositoriesAptApi.md#sync) | **POST** {deb_apt_repository_href}sync/ | Sync from remote
|
148
148
|
*PulpDebClient::RepositoriesAptApi* | [**update**](docs/RepositoriesAptApi.md#update) | **PUT** {deb_apt_repository_href} | Update an apt repository
|
149
|
-
*PulpDebClient::
|
150
|
-
*PulpDebClient::
|
151
|
-
*PulpDebClient::
|
152
|
-
*PulpDebClient::
|
149
|
+
*PulpDebClient::RepositoriesAptVersionsApi* | [**delete**](docs/RepositoriesAptVersionsApi.md#delete) | **DELETE** {deb_apt_repository_version_href} | Delete a repository version
|
150
|
+
*PulpDebClient::RepositoriesAptVersionsApi* | [**list**](docs/RepositoriesAptVersionsApi.md#list) | **GET** {deb_apt_repository_href}versions/ | List repository versions
|
151
|
+
*PulpDebClient::RepositoriesAptVersionsApi* | [**read**](docs/RepositoriesAptVersionsApi.md#read) | **GET** {deb_apt_repository_version_href} | Inspect a repository version
|
152
|
+
*PulpDebClient::RepositoriesAptVersionsApi* | [**repair**](docs/RepositoriesAptVersionsApi.md#repair) | **POST** {deb_apt_repository_version_href}repair/ |
|
153
153
|
|
154
154
|
|
155
155
|
## Documentation for Models
|
data/docs/ContentSummary.md
CHANGED
@@ -4,9 +4,9 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**added** |
|
8
|
-
**removed** |
|
9
|
-
**present** |
|
7
|
+
**added** | **Hash<String, Object>** | |
|
8
|
+
**removed** | **Hash<String, Object>** | |
|
9
|
+
**present** | **Hash<String, Object>** | |
|
10
10
|
|
11
11
|
## Code Sample
|
12
12
|
|
@@ -4,9 +4,9 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**added** |
|
8
|
-
**removed** |
|
9
|
-
**present** |
|
7
|
+
**added** | **Hash<String, Object>** | |
|
8
|
+
**removed** | **Hash<String, Object>** | |
|
9
|
+
**present** | **Hash<String, Object>** | |
|
10
10
|
|
11
11
|
## Code Sample
|
12
12
|
|
data/docs/DebAptDistribution.md
CHANGED
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
|
|
8
8
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
9
9
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
10
10
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
11
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
11
12
|
**publication** | **String** | Publication to be served | [optional]
|
12
13
|
|
13
14
|
## Code Sample
|
@@ -19,6 +20,7 @@ instance = PulpDebClient::DebAptDistribution.new(base_path: null,
|
|
19
20
|
content_guard: null,
|
20
21
|
pulp_labels: null,
|
21
22
|
name: null,
|
23
|
+
repository: null,
|
22
24
|
publication: null)
|
23
25
|
```
|
24
26
|
|
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
|
|
11
11
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
12
12
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
13
13
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
14
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
14
15
|
**publication** | **String** | Publication to be served | [optional]
|
15
16
|
|
16
17
|
## Code Sample
|
@@ -25,6 +26,7 @@ instance = PulpDebClient::DebAptDistributionResponse.new(pulp_href: null,
|
|
25
26
|
content_guard: null,
|
26
27
|
pulp_labels: null,
|
27
28
|
name: null,
|
29
|
+
repository: null,
|
28
30
|
publication: null)
|
29
31
|
```
|
30
32
|
|
data/docs/DebAptRemote.md
CHANGED
@@ -16,12 +16,13 @@ Name | Type | Description | Notes
|
|
16
16
|
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
17
17
|
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
18
18
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
19
|
-
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
19
|
+
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
20
|
+
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
20
21
|
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default. | [optional]
|
21
|
-
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
|
22
|
-
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
23
|
-
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
24
|
-
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
22
|
+
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
23
|
+
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
24
|
+
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
25
|
+
**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
26
|
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
26
27
|
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
27
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. |
|
@@ -51,6 +52,7 @@ instance = PulpDebClient::DebAptRemote.new(name: null,
|
|
51
52
|
password: null,
|
52
53
|
pulp_labels: null,
|
53
54
|
download_concurrency: null,
|
55
|
+
max_retries: null,
|
54
56
|
policy: null,
|
55
57
|
total_timeout: null,
|
56
58
|
connect_timeout: null,
|
@@ -14,12 +14,13 @@ Name | Type | Description | Notes
|
|
14
14
|
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
15
15
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
16
16
|
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
17
|
-
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
17
|
+
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
18
|
+
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
18
19
|
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default. | [optional]
|
19
|
-
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
|
20
|
-
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
21
|
-
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
22
|
-
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
20
|
+
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
21
|
+
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
22
|
+
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
23
|
+
**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]
|
23
24
|
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
24
25
|
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
25
26
|
**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. |
|
@@ -47,6 +48,7 @@ instance = PulpDebClient::DebAptRemoteResponse.new(pulp_href: null,
|
|
47
48
|
pulp_labels: null,
|
48
49
|
pulp_last_updated: null,
|
49
50
|
download_concurrency: null,
|
51
|
+
max_retries: null,
|
50
52
|
policy: null,
|
51
53
|
total_timeout: null,
|
52
54
|
connect_timeout: null,
|
data/docs/DebAptRepository.md
CHANGED
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
8
8
|
**name** | **String** | A unique name for this repository. |
|
9
9
|
**description** | **String** | An optional description. | [optional]
|
10
|
+
**retained_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
|
10
11
|
**remote** | **String** | | [optional]
|
11
12
|
|
12
13
|
## Code Sample
|
@@ -17,6 +18,7 @@ require 'PulpDebClient'
|
|
17
18
|
instance = PulpDebClient::DebAptRepository.new(pulp_labels: null,
|
18
19
|
name: null,
|
19
20
|
description: null,
|
21
|
+
retained_versions: null,
|
20
22
|
remote: null)
|
21
23
|
```
|
22
24
|
|
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
|
|
11
11
|
**latest_version_href** | **String** | | [optional] [readonly]
|
12
12
|
**name** | **String** | A unique name for this repository. |
|
13
13
|
**description** | **String** | An optional description. | [optional]
|
14
|
+
**retained_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
|
14
15
|
**remote** | **String** | | [optional]
|
15
16
|
|
16
17
|
## Code Sample
|
@@ -25,6 +26,7 @@ instance = PulpDebClient::DebAptRepositoryResponse.new(pulp_href: null,
|
|
25
26
|
latest_version_href: null,
|
26
27
|
name: null,
|
27
28
|
description: null,
|
29
|
+
retained_versions: null,
|
28
30
|
remote: null)
|
29
31
|
```
|
30
32
|
|
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
|
|
8
8
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
9
9
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
10
10
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
11
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
11
12
|
**publication** | **String** | Publication to be served | [optional]
|
12
13
|
|
13
14
|
## Code Sample
|
@@ -19,6 +20,7 @@ instance = PulpDebClient::PatcheddebAptDistribution.new(base_path: null,
|
|
19
20
|
content_guard: null,
|
20
21
|
pulp_labels: null,
|
21
22
|
name: null,
|
23
|
+
repository: null,
|
22
24
|
publication: null)
|
23
25
|
```
|
24
26
|
|
data/docs/PatcheddebAptRemote.md
CHANGED
@@ -16,12 +16,13 @@ Name | Type | Description | Notes
|
|
16
16
|
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
17
17
|
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
18
18
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
19
|
-
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
19
|
+
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
20
|
+
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
20
21
|
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default. | [optional]
|
21
|
-
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
|
22
|
-
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
23
|
-
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
24
|
-
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
22
|
+
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
23
|
+
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
24
|
+
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
25
|
+
**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
26
|
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
26
27
|
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
27
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. | [optional]
|
@@ -51,6 +52,7 @@ instance = PulpDebClient::PatcheddebAptRemote.new(name: null,
|
|
51
52
|
password: null,
|
52
53
|
pulp_labels: null,
|
53
54
|
download_concurrency: null,
|
55
|
+
max_retries: null,
|
54
56
|
policy: null,
|
55
57
|
total_timeout: null,
|
56
58
|
connect_timeout: null,
|
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
8
8
|
**name** | **String** | A unique name for this repository. | [optional]
|
9
9
|
**description** | **String** | An optional description. | [optional]
|
10
|
+
**retained_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
|
10
11
|
**remote** | **String** | | [optional]
|
11
12
|
|
12
13
|
## Code Sample
|
@@ -17,6 +18,7 @@ require 'PulpDebClient'
|
|
17
18
|
instance = PulpDebClient::PatcheddebAptRepository.new(pulp_labels: null,
|
18
19
|
name: null,
|
19
20
|
description: null,
|
21
|
+
retained_versions: null,
|
20
22
|
remote: null)
|
21
23
|
```
|
22
24
|
|
data/docs/PublicationsAptApi.md
CHANGED
@@ -138,6 +138,8 @@ end
|
|
138
138
|
|
139
139
|
api_instance = PulpDebClient::PublicationsAptApi.new
|
140
140
|
opts = {
|
141
|
+
content: 'content_example', # String | Content Unit referenced by HREF
|
142
|
+
content__in: 'content__in_example', # String | Content Unit referenced by HREF
|
141
143
|
limit: 56, # Integer | Number of results to return per page.
|
142
144
|
offset: 56, # Integer | The initial index from which to return the results.
|
143
145
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
@@ -166,6 +168,8 @@ end
|
|
166
168
|
|
167
169
|
Name | Type | Description | Notes
|
168
170
|
------------- | ------------- | ------------- | -------------
|
171
|
+
**content** | **String**| Content Unit referenced by HREF | [optional]
|
172
|
+
**content__in** | **String**| Content Unit referenced by HREF | [optional]
|
169
173
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
170
174
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
171
175
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
@@ -138,6 +138,8 @@ end
|
|
138
138
|
|
139
139
|
api_instance = PulpDebClient::PublicationsVerbatimApi.new
|
140
140
|
opts = {
|
141
|
+
content: 'content_example', # String | Content Unit referenced by HREF
|
142
|
+
content__in: 'content__in_example', # String | Content Unit referenced by HREF
|
141
143
|
limit: 56, # Integer | Number of results to return per page.
|
142
144
|
offset: 56, # Integer | The initial index from which to return the results.
|
143
145
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
@@ -166,6 +168,8 @@ end
|
|
166
168
|
|
167
169
|
Name | Type | Description | Notes
|
168
170
|
------------- | ------------- | ------------- | -------------
|
171
|
+
**content** | **String**| Content Unit referenced by HREF | [optional]
|
172
|
+
**content__in** | **String**| Content Unit referenced by HREF | [optional]
|
169
173
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
170
174
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
171
175
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
@@ -1,13 +1,13 @@
|
|
1
|
-
# PulpDebClient::
|
1
|
+
# PulpDebClient::RepositoriesAptVersionsApi
|
2
2
|
|
3
3
|
All URIs are relative to *http://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**delete**](
|
8
|
-
[**list**](
|
9
|
-
[**read**](
|
10
|
-
[**repair**](
|
7
|
+
[**delete**](RepositoriesAptVersionsApi.md#delete) | **DELETE** {deb_apt_repository_version_href} | Delete a repository version
|
8
|
+
[**list**](RepositoriesAptVersionsApi.md#list) | **GET** {deb_apt_repository_href}versions/ | List repository versions
|
9
|
+
[**read**](RepositoriesAptVersionsApi.md#read) | **GET** {deb_apt_repository_version_href} | Inspect a repository version
|
10
|
+
[**repair**](RepositoriesAptVersionsApi.md#repair) | **POST** {deb_apt_repository_version_href}repair/ |
|
11
11
|
|
12
12
|
|
13
13
|
|
@@ -31,7 +31,7 @@ PulpDebClient.configure do |config|
|
|
31
31
|
config.password = 'YOUR PASSWORD'
|
32
32
|
end
|
33
33
|
|
34
|
-
api_instance = PulpDebClient::
|
34
|
+
api_instance = PulpDebClient::RepositoriesAptVersionsApi.new
|
35
35
|
deb_apt_repository_version_href = 'deb_apt_repository_version_href_example' # String |
|
36
36
|
|
37
37
|
begin
|
@@ -39,7 +39,7 @@ begin
|
|
39
39
|
result = api_instance.delete(deb_apt_repository_version_href)
|
40
40
|
p result
|
41
41
|
rescue PulpDebClient::ApiError => e
|
42
|
-
puts "Exception when calling
|
42
|
+
puts "Exception when calling RepositoriesAptVersionsApi->delete: #{e}"
|
43
43
|
end
|
44
44
|
```
|
45
45
|
|
@@ -84,7 +84,7 @@ PulpDebClient.configure do |config|
|
|
84
84
|
config.password = 'YOUR PASSWORD'
|
85
85
|
end
|
86
86
|
|
87
|
-
api_instance = PulpDebClient::
|
87
|
+
api_instance = PulpDebClient::RepositoriesAptVersionsApi.new
|
88
88
|
deb_apt_repository_href = 'deb_apt_repository_href_example' # String |
|
89
89
|
opts = {
|
90
90
|
content: 'content_example', # String | Content Unit referenced by HREF
|
@@ -113,7 +113,7 @@ begin
|
|
113
113
|
result = api_instance.list(deb_apt_repository_href, opts)
|
114
114
|
p result
|
115
115
|
rescue PulpDebClient::ApiError => e
|
116
|
-
puts "Exception when calling
|
116
|
+
puts "Exception when calling RepositoriesAptVersionsApi->list: #{e}"
|
117
117
|
end
|
118
118
|
```
|
119
119
|
|
@@ -177,7 +177,7 @@ PulpDebClient.configure do |config|
|
|
177
177
|
config.password = 'YOUR PASSWORD'
|
178
178
|
end
|
179
179
|
|
180
|
-
api_instance = PulpDebClient::
|
180
|
+
api_instance = PulpDebClient::RepositoriesAptVersionsApi.new
|
181
181
|
deb_apt_repository_version_href = 'deb_apt_repository_version_href_example' # String |
|
182
182
|
opts = {
|
183
183
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
@@ -189,7 +189,7 @@ begin
|
|
189
189
|
result = api_instance.read(deb_apt_repository_version_href, opts)
|
190
190
|
p result
|
191
191
|
rescue PulpDebClient::ApiError => e
|
192
|
-
puts "Exception when calling
|
192
|
+
puts "Exception when calling RepositoriesAptVersionsApi->read: #{e}"
|
193
193
|
end
|
194
194
|
```
|
195
195
|
|
@@ -236,7 +236,7 @@ PulpDebClient.configure do |config|
|
|
236
236
|
config.password = 'YOUR PASSWORD'
|
237
237
|
end
|
238
238
|
|
239
|
-
api_instance = PulpDebClient::
|
239
|
+
api_instance = PulpDebClient::RepositoriesAptVersionsApi.new
|
240
240
|
deb_apt_repository_version_href = 'deb_apt_repository_version_href_example' # String |
|
241
241
|
repository_version = PulpDebClient::RepositoryVersion.new # RepositoryVersion |
|
242
242
|
|
@@ -244,7 +244,7 @@ begin
|
|
244
244
|
result = api_instance.repair(deb_apt_repository_version_href, repository_version)
|
245
245
|
p result
|
246
246
|
rescue PulpDebClient::ApiError => e
|
247
|
-
puts "Exception when calling
|
247
|
+
puts "Exception when calling RepositoriesAptVersionsApi->repair: #{e}"
|
248
248
|
end
|
249
249
|
```
|
250
250
|
|
@@ -4,8 +4,8 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**add_content_units** | **Array<
|
8
|
-
**remove_content_units** | **Array<
|
7
|
+
**add_content_units** | [**Array<AnyType>**](AnyType.md) | A list of content units to add to a new repository version. This content is added after remove_content_units are removed. | [optional]
|
8
|
+
**remove_content_units** | [**Array<AnyType>**](AnyType.md) | A list of content units to remove from the latest repository version. You may also specify '*' as an entry to remove all content. This content is removed before add_content_units are added. | [optional]
|
9
9
|
**base_version** | **String** | A repository version whose content will be used as the initial set of content for the new repository version | [optional]
|
10
10
|
|
11
11
|
## Code Sample
|
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
8
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
9
|
**number** | **Integer** | | [optional] [readonly]
|
10
|
+
**repository** | **String** | | [optional] [readonly]
|
10
11
|
**base_version** | **String** | A repository version whose content was used as the initial set of content for this repository version | [optional]
|
11
12
|
**content_summary** | [**ContentSummaryResponse**](ContentSummaryResponse.md) | Various count summaries of the content in the version and the HREF to view them. | [optional] [readonly]
|
12
13
|
|
@@ -18,6 +19,7 @@ require 'PulpDebClient'
|
|
18
19
|
instance = PulpDebClient::RepositoryVersionResponse.new(pulp_href: null,
|
19
20
|
pulp_created: null,
|
20
21
|
number: null,
|
22
|
+
repository: null,
|
21
23
|
base_version: null,
|
22
24
|
content_summary: null)
|
23
25
|
```
|
data/lib/pulp_deb_client.rb
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -88,7 +88,7 @@ require 'pulp_deb_client/api/publications_apt_api'
|
|
88
88
|
require 'pulp_deb_client/api/publications_verbatim_api'
|
89
89
|
require 'pulp_deb_client/api/remotes_apt_api'
|
90
90
|
require 'pulp_deb_client/api/repositories_apt_api'
|
91
|
-
require 'pulp_deb_client/api/
|
91
|
+
require 'pulp_deb_client/api/repositories_apt_versions_api'
|
92
92
|
|
93
93
|
module PulpDebClient
|
94
94
|
class << self
|