pulp_rpm_client 3.34.0 → 3.35.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.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +6 -4
  3. data/docs/ContentAdvisoriesApi.md +3 -1
  4. data/docs/ContentPackagesApi.md +6 -2
  5. data/docs/PatchedrpmRpmRemote.md +6 -6
  6. data/docs/PatchedrpmRpmRepository.md +1 -1
  7. data/docs/PatchedrpmUlnRemote.md +6 -6
  8. data/docs/RemoteNetworkConfig.md +50 -0
  9. data/docs/RemoteNetworkConfigResponse.md +40 -0
  10. data/docs/RpmRpmPublication.md +1 -1
  11. data/docs/RpmRpmPublicationResponse.md +1 -1
  12. data/docs/RpmRpmRemote.md +6 -6
  13. data/docs/RpmRpmRemoteResponse.md +8 -8
  14. data/docs/RpmRpmRepository.md +1 -1
  15. data/docs/RpmRpmRepositoryResponse.md +1 -1
  16. data/docs/RpmUlnRemote.md +6 -6
  17. data/docs/RpmUlnRemoteResponse.md +8 -8
  18. data/lib/pulp_rpm_client/api/content_advisories_api.rb +3 -0
  19. data/lib/pulp_rpm_client/api/content_packages_api.rb +6 -0
  20. data/lib/pulp_rpm_client/models/compression_type_enum.rb +2 -1
  21. data/lib/pulp_rpm_client/models/patchedrpm_rpm_remote.rb +48 -48
  22. data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +1 -1
  23. data/lib/pulp_rpm_client/models/patchedrpm_uln_remote.rb +48 -48
  24. data/lib/pulp_rpm_client/models/remote_network_config.rb +588 -0
  25. data/lib/pulp_rpm_client/models/remote_network_config_response.rb +413 -0
  26. data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +1 -1
  27. data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +1 -1
  28. data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +48 -48
  29. data/lib/pulp_rpm_client/models/rpm_rpm_remote_response.rb +60 -60
  30. data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +1 -1
  31. data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +1 -1
  32. data/lib/pulp_rpm_client/models/rpm_uln_remote.rb +48 -48
  33. data/lib/pulp_rpm_client/models/rpm_uln_remote_response.rb +60 -60
  34. data/lib/pulp_rpm_client/version.rb +1 -1
  35. data/lib/pulp_rpm_client.rb +2 -0
  36. data/spec/api/content_advisories_api_spec.rb +1 -0
  37. data/spec/api/content_packages_api_spec.rb +2 -0
  38. data/spec/models/patchedrpm_rpm_remote_spec.rb +17 -17
  39. data/spec/models/patchedrpm_uln_remote_spec.rb +17 -17
  40. data/spec/models/remote_network_config_response_spec.rb +102 -0
  41. data/spec/models/remote_network_config_spec.rb +132 -0
  42. data/spec/models/rpm_rpm_remote_response_spec.rb +10 -10
  43. data/spec/models/rpm_rpm_remote_spec.rb +17 -17
  44. data/spec/models/rpm_uln_remote_response_spec.rb +10 -10
  45. data/spec/models/rpm_uln_remote_spec.rb +17 -17
  46. metadata +10 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6c6f1b0ebfb85f06e44b64c432e84c06a1a3aabbb084b127e6499871c3c94f32
4
- data.tar.gz: 8007b8ea2a4bb8991a905687f084e48e4cf60b75ce5e62602698f57fdce4fe0c
3
+ metadata.gz: 7e4ea6b99e9d3b10fbf27ac32ba10ab5644b971d2d06b4745bd78062a3c03ca6
4
+ data.tar.gz: ce447f8f852cfbc2b3fe0e800185fd53326c4936769f07c8f5b19259d33635dc
5
5
  SHA512:
6
- metadata.gz: 96eb35a5331044990e451909f49618799d59904e4eee9a3d8b1931065f66aa632491d363f0eaec9089c11863ece571f05820b8ce9e6d833cbe1685212fceb4a8
7
- data.tar.gz: 1bfa8c463495708365936b266a1ffa2bfb8de6dde059e6c82685eeab611c193428d33aa8a5bbc2aa872813c8ce1f5a5ff5dd8251bd820f316e45ead96e95ec49
6
+ metadata.gz: d6c0cdccad23f2038af47d81dfee324c8e6d6c7d08922ab2aa9e9e468b02fc984df1cc2dd48d63691d923ae5b293feafe06d12a2af4129441c391625a7469fed
7
+ data.tar.gz: 241f54e22426d90436a8c06e32d40c119f9f21701c3160523c4635270ed5de14c2629a7832af43b2993a2f60b6bfe896462f72622151636d4851edb5fa9cdded
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.34.0
10
+ - Package version: 3.35.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_rpm_client.gemspec
25
25
  Then either install the gem locally:
26
26
 
27
27
  ```shell
28
- gem install ./pulp_rpm_client-3.34.0.gem
28
+ gem install ./pulp_rpm_client-3.35.0.gem
29
29
  ```
30
30
 
31
- (for development, run `gem install --dev ./pulp_rpm_client-3.34.0.gem` to install the development dependencies)
31
+ (for development, run `gem install --dev ./pulp_rpm_client-3.35.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_rpm_client', '~> 3.34.0'
37
+ gem 'pulp_rpm_client', '~> 3.35.0'
38
38
 
39
39
  ### Install from Git
40
40
 
@@ -259,6 +259,8 @@ Class | Method | HTTP request | Description
259
259
  - [PulpRpmClient::PatchedrpmUlnRemote](docs/PatchedrpmUlnRemote.md)
260
260
  - [PulpRpmClient::PolicyEnum](docs/PolicyEnum.md)
261
261
  - [PulpRpmClient::PrunePackages](docs/PrunePackages.md)
262
+ - [PulpRpmClient::RemoteNetworkConfig](docs/RemoteNetworkConfig.md)
263
+ - [PulpRpmClient::RemoteNetworkConfigResponse](docs/RemoteNetworkConfigResponse.md)
262
264
  - [PulpRpmClient::Repair](docs/Repair.md)
263
265
  - [PulpRpmClient::RepositoryAddRemoveContent](docs/RepositoryAddRemoveContent.md)
264
266
  - [PulpRpmClient::RepositoryVersionResponse](docs/RepositoryVersionResponse.md)
@@ -38,7 +38,8 @@ opts = {
38
38
  pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
39
39
  file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
40
40
  upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
41
- file_url: 'file_url_example' # String | A url that Pulp can download and turn into the content unit.
41
+ file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
42
+ downloader_config: PulpRpmClient::RemoteNetworkConfig.new # RemoteNetworkConfig | Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
42
43
  }
43
44
 
44
45
  begin
@@ -78,6 +79,7 @@ end
78
79
  | **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
79
80
  | **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
80
81
  | **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional] |
82
+ | **downloader_config** | [**RemoteNetworkConfig**](RemoteNetworkConfig.md) | Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a &#39;file_url. | [optional] |
81
83
 
82
84
  ### Return type
83
85
 
@@ -41,7 +41,8 @@ opts = {
41
41
  relative_path: 'relative_path_example', # String | Path where the artifact is located relative to distributions base_path
42
42
  file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
43
43
  upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
44
- file_url: 'file_url_example' # String | A url that Pulp can download and turn into the content unit.
44
+ file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
45
+ downloader_config: PulpRpmClient::RemoteNetworkConfig.new # RemoteNetworkConfig | Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
45
46
  }
46
47
 
47
48
  begin
@@ -83,6 +84,7 @@ end
83
84
  | **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
84
85
  | **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
85
86
  | **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional] |
87
+ | **downloader_config** | [**RemoteNetworkConfig**](RemoteNetworkConfig.md) | Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a &#39;file_url. | [optional] |
86
88
 
87
89
  ### Return type
88
90
 
@@ -511,7 +513,8 @@ opts = {
511
513
  artifact: 'artifact_example', # String | Artifact file representing the physical content
512
514
  file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
513
515
  upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
514
- file_url: 'file_url_example' # String | A url that Pulp can download and turn into the content unit.
516
+ file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
517
+ downloader_config: PulpRpmClient::RemoteNetworkConfig.new # RemoteNetworkConfig | Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
515
518
  }
516
519
 
517
520
  begin
@@ -551,6 +554,7 @@ end
551
554
  | **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
552
555
  | **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
553
556
  | **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional] |
557
+ | **downloader_config** | [**RemoteNetworkConfig**](RemoteNetworkConfig.md) | Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a &#39;file_url. | [optional] |
554
558
 
555
559
  ### Return type
556
560
 
@@ -6,6 +6,8 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **name** | **String** | A unique name for this remote. | [optional] |
8
8
  | **url** | **String** | The URL of an external content source. | [optional] |
9
+ | **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional] |
10
+ | **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: &#39;immediate&#39;, &#39;on_demand&#39;, and &#39;streamed&#39;. &#39;immediate&#39; is the default. * &#x60;immediate&#x60; - When syncing, download all metadata and content now. * &#x60;on_demand&#x60; - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * &#x60;streamed&#x60; - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again. | [optional] |
9
11
  | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
10
12
  | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
11
13
  | **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
@@ -15,15 +17,13 @@
15
17
  | **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
16
18
  | **username** | **String** | The username to be used for authentication when syncing. | [optional] |
17
19
  | **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
18
- | **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional] |
19
- | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
20
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] |
21
- | **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: &#39;immediate&#39;, &#39;on_demand&#39;, and &#39;streamed&#39;. &#39;immediate&#39; is the default. * &#x60;immediate&#x60; - When syncing, download all metadata and content now. * &#x60;on_demand&#x60; - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * &#x60;streamed&#x60; - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again. | [optional] |
22
21
  | **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
22
  | **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
23
  | **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
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] |
26
25
  | **headers** | **Array&lt;Object&gt;** | Headers for aiohttp.Clientsession | [optional] |
26
+ | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
27
27
  | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
28
28
  | **sles_auth_token** | **String** | Authentication token for SLES repositories. | [optional] |
29
29
 
@@ -35,6 +35,8 @@ require 'pulp_rpm_client'
35
35
  instance = PulpRpmClient::PatchedrpmRpmRemote.new(
36
36
  name: null,
37
37
  url: null,
38
+ pulp_labels: null,
39
+ policy: null,
38
40
  ca_cert: null,
39
41
  client_cert: null,
40
42
  client_key: null,
@@ -44,15 +46,13 @@ instance = PulpRpmClient::PatchedrpmRpmRemote.new(
44
46
  proxy_password: null,
45
47
  username: null,
46
48
  password: null,
47
- pulp_labels: null,
48
- download_concurrency: null,
49
49
  max_retries: null,
50
- policy: null,
51
50
  total_timeout: null,
52
51
  connect_timeout: null,
53
52
  sock_connect_timeout: null,
54
53
  sock_read_timeout: null,
55
54
  headers: null,
55
+ download_concurrency: null,
56
56
  rate_limit: null,
57
57
  sles_auth_token: null
58
58
  )
@@ -16,7 +16,7 @@
16
16
  | **retain_package_versions** | **Integer** | The number of versions of each package to keep in the repository; older versions will be purged. The default is &#39;0&#39;, which will disable this feature and keep all versions of each package. | [optional] |
17
17
  | **checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | The preferred checksum type during repo publish. * &#x60;unknown&#x60; - unknown * &#x60;md5&#x60; - md5 * &#x60;sha1&#x60; - sha1 * &#x60;sha224&#x60; - sha224 * &#x60;sha256&#x60; - sha256 * &#x60;sha384&#x60; - sha384 * &#x60;sha512&#x60; - sha512 | [optional] |
18
18
  | **repo_config** | **Object** | A JSON document describing the config.repo file Pulp should generate for this repo | [optional] |
19
- | **compression_type** | [**CompressionTypeEnum**](CompressionTypeEnum.md) | The compression type to use for metadata files. * &#x60;zstd&#x60; - zstd * &#x60;gz&#x60; - gz | [optional] |
19
+ | **compression_type** | [**CompressionTypeEnum**](CompressionTypeEnum.md) | The compression type to use for metadata files. * &#x60;zstd&#x60; - zstd * &#x60;gz&#x60; - gz * &#x60;none&#x60; - none | [optional] |
20
20
  | **layout** | [**LayoutEnum**](LayoutEnum.md) | How to layout the packages within the published repository. * &#x60;nested_alphabetically&#x60; - nested_alphabetically * &#x60;flat&#x60; - flat * &#x60;nested_by_digest&#x60; - nested_by_digest * &#x60;nested_by_both&#x60; - nested_by_both | [optional] |
21
21
 
22
22
  ## Example
@@ -6,6 +6,8 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **name** | **String** | A unique name for this remote. | [optional] |
8
8
  | **url** | **String** | The ULN repo URL of the remote content source.\&quot;This is \&quot;uln://\&quot; followed by the channel name. E.g.: \&quot;uln://ol7_x86_64_oracle\&quot; | [optional] |
9
+ | **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional] |
10
+ | **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: &#39;immediate&#39;, &#39;on_demand&#39;, and &#39;streamed&#39;. &#39;immediate&#39; is the default. * &#x60;immediate&#x60; - When syncing, download all metadata and content now. * &#x60;on_demand&#x60; - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * &#x60;streamed&#x60; - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again. | [optional] |
9
11
  | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
10
12
  | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
11
13
  | **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
@@ -15,15 +17,13 @@
15
17
  | **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
16
18
  | **username** | **String** | Your ULN account username. | [optional] |
17
19
  | **password** | **String** | Your ULN account password. | [optional] |
18
- | **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional] |
19
- | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
20
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] |
21
- | **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: &#39;immediate&#39;, &#39;on_demand&#39;, and &#39;streamed&#39;. &#39;immediate&#39; is the default. * &#x60;immediate&#x60; - When syncing, download all metadata and content now. * &#x60;on_demand&#x60; - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * &#x60;streamed&#x60; - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again. | [optional] |
22
21
  | **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
22
  | **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
23
  | **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
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] |
26
25
  | **headers** | **Array&lt;Object&gt;** | Headers for aiohttp.Clientsession | [optional] |
26
+ | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
27
27
  | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
28
28
  | **uln_server_base_url** | **String** | Base URL of the ULN server. If the uln_server_base_url is not provided pulp_rpm willuse the contents of the DEFAULT_ULN_SERVER_BASE_URL setting instead. | [optional] |
29
29
 
@@ -35,6 +35,8 @@ require 'pulp_rpm_client'
35
35
  instance = PulpRpmClient::PatchedrpmUlnRemote.new(
36
36
  name: null,
37
37
  url: null,
38
+ pulp_labels: null,
39
+ policy: null,
38
40
  ca_cert: null,
39
41
  client_cert: null,
40
42
  client_key: null,
@@ -44,15 +46,13 @@ instance = PulpRpmClient::PatchedrpmUlnRemote.new(
44
46
  proxy_password: null,
45
47
  username: null,
46
48
  password: null,
47
- pulp_labels: null,
48
- download_concurrency: null,
49
49
  max_retries: null,
50
- policy: null,
51
50
  total_timeout: null,
52
51
  connect_timeout: null,
53
52
  sock_connect_timeout: null,
54
53
  sock_read_timeout: null,
55
54
  headers: null,
55
+ download_concurrency: null,
56
56
  rate_limit: null,
57
57
  uln_server_base_url: null
58
58
  )
@@ -0,0 +1,50 @@
1
+ # PulpRpmClient::RemoteNetworkConfig
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
8
+ | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
9
+ | **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
10
+ | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
11
+ | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
12
+ | **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
13
+ | **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
14
+ | **username** | **String** | The username to be used for authentication when syncing. | [optional] |
15
+ | **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
16
+ | **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
17
+ | **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] |
18
+ | **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] |
19
+ | **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] |
20
+ | **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] |
21
+ | **headers** | **Array&lt;Object&gt;** | Headers for aiohttp.Clientsession | [optional] |
22
+ | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
23
+ | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
24
+
25
+ ## Example
26
+
27
+ ```ruby
28
+ require 'pulp_rpm_client'
29
+
30
+ instance = PulpRpmClient::RemoteNetworkConfig.new(
31
+ ca_cert: null,
32
+ client_cert: null,
33
+ client_key: null,
34
+ tls_validation: null,
35
+ proxy_url: null,
36
+ proxy_username: null,
37
+ proxy_password: null,
38
+ username: null,
39
+ password: null,
40
+ max_retries: null,
41
+ total_timeout: null,
42
+ connect_timeout: null,
43
+ sock_connect_timeout: null,
44
+ sock_read_timeout: null,
45
+ headers: null,
46
+ download_concurrency: null,
47
+ rate_limit: null
48
+ )
49
+ ```
50
+
@@ -0,0 +1,40 @@
1
+ # PulpRpmClient::RemoteNetworkConfigResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
8
+ | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
9
+ | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
10
+ | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
11
+ | **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
12
+ | **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] |
13
+ | **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] |
14
+ | **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] |
15
+ | **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] |
16
+ | **headers** | **Array&lt;Object&gt;** | Headers for aiohttp.Clientsession | [optional] |
17
+ | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
18
+ | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
19
+
20
+ ## Example
21
+
22
+ ```ruby
23
+ require 'pulp_rpm_client'
24
+
25
+ instance = PulpRpmClient::RemoteNetworkConfigResponse.new(
26
+ ca_cert: null,
27
+ client_cert: null,
28
+ tls_validation: null,
29
+ proxy_url: null,
30
+ max_retries: null,
31
+ total_timeout: null,
32
+ connect_timeout: null,
33
+ sock_connect_timeout: null,
34
+ sock_read_timeout: null,
35
+ headers: null,
36
+ download_concurrency: null,
37
+ rate_limit: null
38
+ )
39
+ ```
40
+
@@ -9,7 +9,7 @@
9
9
  | **checkpoint** | **Boolean** | | [optional] |
10
10
  | **checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | The preferred checksum type used during repo publishes. * &#x60;unknown&#x60; - unknown * &#x60;md5&#x60; - md5 * &#x60;sha1&#x60; - sha1 * &#x60;sha224&#x60; - sha224 * &#x60;sha256&#x60; - sha256 * &#x60;sha384&#x60; - sha384 * &#x60;sha512&#x60; - sha512 | [optional] |
11
11
  | **repo_config** | **Object** | A JSON document describing the config.repo file Pulp should generate for this repo | [optional] |
12
- | **compression_type** | [**CompressionTypeEnum**](CompressionTypeEnum.md) | The compression type to use for metadata files. * &#x60;zstd&#x60; - zstd * &#x60;gz&#x60; - gz | [optional] |
12
+ | **compression_type** | [**CompressionTypeEnum**](CompressionTypeEnum.md) | The compression type to use for metadata files. * &#x60;zstd&#x60; - zstd * &#x60;gz&#x60; - gz * &#x60;none&#x60; - none | [optional] |
13
13
  | **layout** | [**LayoutEnum**](LayoutEnum.md) | How to layout the packages within the published repository. * &#x60;nested_alphabetically&#x60; - nested_alphabetically * &#x60;flat&#x60; - flat * &#x60;nested_by_digest&#x60; - nested_by_digest * &#x60;nested_by_both&#x60; - nested_by_both | [optional] |
14
14
 
15
15
  ## Example
@@ -18,7 +18,7 @@
18
18
  | **repo_gpgcheck** | **Integer** | REMOVED: An option specifying whether a client should perform a GPG signature check on the repodata. Not operational since pulp_rpm 3.30.0 release. Set these values using &#39;repo_config&#39; instead. | [optional][readonly] |
19
19
  | **sqlite_metadata** | **Boolean** | REMOVED: An option specifying whether Pulp should generate SQLite metadata. Not operational since pulp_rpm 3.25.0 release | [optional][readonly][default to false] |
20
20
  | **repo_config** | **Object** | A JSON document describing the config.repo file Pulp should generate for this repo | [optional] |
21
- | **compression_type** | [**CompressionTypeEnum**](CompressionTypeEnum.md) | The compression type to use for metadata files. * &#x60;zstd&#x60; - zstd * &#x60;gz&#x60; - gz | [optional] |
21
+ | **compression_type** | [**CompressionTypeEnum**](CompressionTypeEnum.md) | The compression type to use for metadata files. * &#x60;zstd&#x60; - zstd * &#x60;gz&#x60; - gz * &#x60;none&#x60; - none | [optional] |
22
22
  | **layout** | [**LayoutEnum**](LayoutEnum.md) | How to layout the packages within the published repository. * &#x60;nested_alphabetically&#x60; - nested_alphabetically * &#x60;flat&#x60; - flat * &#x60;nested_by_digest&#x60; - nested_by_digest * &#x60;nested_by_both&#x60; - nested_by_both | [optional] |
23
23
 
24
24
  ## Example
data/docs/RpmRpmRemote.md CHANGED
@@ -6,6 +6,8 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **name** | **String** | A unique name for this remote. | |
8
8
  | **url** | **String** | The URL of an external content source. | |
9
+ | **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional] |
10
+ | **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: &#39;immediate&#39;, &#39;on_demand&#39;, and &#39;streamed&#39;. &#39;immediate&#39; is the default. * &#x60;immediate&#x60; - When syncing, download all metadata and content now. * &#x60;on_demand&#x60; - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * &#x60;streamed&#x60; - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again. | [optional] |
9
11
  | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
10
12
  | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
11
13
  | **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
@@ -15,15 +17,13 @@
15
17
  | **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
16
18
  | **username** | **String** | The username to be used for authentication when syncing. | [optional] |
17
19
  | **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
18
- | **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional] |
19
- | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
20
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] |
21
- | **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: &#39;immediate&#39;, &#39;on_demand&#39;, and &#39;streamed&#39;. &#39;immediate&#39; is the default. * &#x60;immediate&#x60; - When syncing, download all metadata and content now. * &#x60;on_demand&#x60; - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * &#x60;streamed&#x60; - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again. | [optional] |
22
21
  | **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
22
  | **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
23
  | **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
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] |
26
25
  | **headers** | **Array&lt;Object&gt;** | Headers for aiohttp.Clientsession | [optional] |
26
+ | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
27
27
  | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
28
28
  | **sles_auth_token** | **String** | Authentication token for SLES repositories. | [optional] |
29
29
 
@@ -35,6 +35,8 @@ require 'pulp_rpm_client'
35
35
  instance = PulpRpmClient::RpmRpmRemote.new(
36
36
  name: null,
37
37
  url: null,
38
+ pulp_labels: null,
39
+ policy: null,
38
40
  ca_cert: null,
39
41
  client_cert: null,
40
42
  client_key: null,
@@ -44,15 +46,13 @@ instance = PulpRpmClient::RpmRpmRemote.new(
44
46
  proxy_password: null,
45
47
  username: null,
46
48
  password: null,
47
- pulp_labels: null,
48
- download_concurrency: null,
49
49
  max_retries: null,
50
- policy: null,
51
50
  total_timeout: null,
52
51
  connect_timeout: null,
53
52
  sock_connect_timeout: null,
54
53
  sock_read_timeout: null,
55
54
  headers: null,
55
+ download_concurrency: null,
56
56
  rate_limit: null,
57
57
  sles_auth_token: null
58
58
  )
@@ -10,21 +10,21 @@
10
10
  | **pulp_last_updated** | **Time** | Timestamp of the most recent update of the remote. | [optional][readonly] |
11
11
  | **name** | **String** | A unique name for this remote. | |
12
12
  | **url** | **String** | The URL of an external content source. | |
13
+ | **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional] |
14
+ | **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: &#39;immediate&#39;, &#39;on_demand&#39;, and &#39;streamed&#39;. &#39;immediate&#39; is the default. * &#x60;immediate&#x60; - When syncing, download all metadata and content now. * &#x60;on_demand&#x60; - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * &#x60;streamed&#x60; - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again. | [optional] |
15
+ | **hidden_fields** | [**Array&lt;RpmRpmRemoteResponseHiddenFieldsInner&gt;**](RpmRpmRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional][readonly] |
13
16
  | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
14
17
  | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
15
18
  | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
16
19
  | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
17
- | **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional] |
18
- | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
19
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
- | **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: &#39;immediate&#39;, &#39;on_demand&#39;, and &#39;streamed&#39;. &#39;immediate&#39; is the default. * &#x60;immediate&#x60; - When syncing, download all metadata and content now. * &#x60;on_demand&#x60; - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * &#x60;streamed&#x60; - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again. | [optional] |
21
21
  | **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] |
22
22
  | **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] |
23
23
  | **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] |
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&lt;Object&gt;** | Headers for aiohttp.Clientsession | [optional] |
26
+ | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
26
27
  | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
27
- | **hidden_fields** | [**Array&lt;RpmRpmRemoteResponseHiddenFieldsInner&gt;**](RpmRpmRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional][readonly] |
28
28
  | **sles_auth_token** | **String** | Authentication token for SLES repositories. | [optional] |
29
29
 
30
30
  ## Example
@@ -39,21 +39,21 @@ instance = PulpRpmClient::RpmRpmRemoteResponse.new(
39
39
  pulp_last_updated: null,
40
40
  name: null,
41
41
  url: null,
42
+ pulp_labels: null,
43
+ policy: null,
44
+ hidden_fields: null,
42
45
  ca_cert: null,
43
46
  client_cert: null,
44
47
  tls_validation: null,
45
48
  proxy_url: null,
46
- pulp_labels: null,
47
- download_concurrency: null,
48
49
  max_retries: null,
49
- policy: null,
50
50
  total_timeout: null,
51
51
  connect_timeout: null,
52
52
  sock_connect_timeout: null,
53
53
  sock_read_timeout: null,
54
54
  headers: null,
55
+ download_concurrency: null,
55
56
  rate_limit: null,
56
- hidden_fields: null,
57
57
  sles_auth_token: null
58
58
  )
59
59
  ```
@@ -16,7 +16,7 @@
16
16
  | **retain_package_versions** | **Integer** | The number of versions of each package to keep in the repository; older versions will be purged. The default is &#39;0&#39;, which will disable this feature and keep all versions of each package. | [optional] |
17
17
  | **checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | The preferred checksum type during repo publish. * &#x60;unknown&#x60; - unknown * &#x60;md5&#x60; - md5 * &#x60;sha1&#x60; - sha1 * &#x60;sha224&#x60; - sha224 * &#x60;sha256&#x60; - sha256 * &#x60;sha384&#x60; - sha384 * &#x60;sha512&#x60; - sha512 | [optional] |
18
18
  | **repo_config** | **Object** | A JSON document describing the config.repo file Pulp should generate for this repo | [optional] |
19
- | **compression_type** | [**CompressionTypeEnum**](CompressionTypeEnum.md) | The compression type to use for metadata files. * &#x60;zstd&#x60; - zstd * &#x60;gz&#x60; - gz | [optional] |
19
+ | **compression_type** | [**CompressionTypeEnum**](CompressionTypeEnum.md) | The compression type to use for metadata files. * &#x60;zstd&#x60; - zstd * &#x60;gz&#x60; - gz * &#x60;none&#x60; - none | [optional] |
20
20
  | **layout** | [**LayoutEnum**](LayoutEnum.md) | How to layout the packages within the published repository. * &#x60;nested_alphabetically&#x60; - nested_alphabetically * &#x60;flat&#x60; - flat * &#x60;nested_by_digest&#x60; - nested_by_digest * &#x60;nested_by_both&#x60; - nested_by_both | [optional] |
21
21
 
22
22
  ## Example
@@ -27,7 +27,7 @@
27
27
  | **repo_gpgcheck** | **Integer** | REMOVED: An option specifying whether a client should perform a GPG signature check on the repodata. Not operational since pulp_rpm 3.30.0 release. Set these values using &#39;repo_config&#39; instead. | [optional][readonly] |
28
28
  | **sqlite_metadata** | **Boolean** | REMOVED: An option specifying whether Pulp should generate SQLite metadata. Not operation since pulp_rpm 3.25.0 release | [optional][readonly][default to false] |
29
29
  | **repo_config** | **Object** | A JSON document describing the config.repo file Pulp should generate for this repo | [optional] |
30
- | **compression_type** | [**CompressionTypeEnum**](CompressionTypeEnum.md) | The compression type to use for metadata files. * &#x60;zstd&#x60; - zstd * &#x60;gz&#x60; - gz | [optional] |
30
+ | **compression_type** | [**CompressionTypeEnum**](CompressionTypeEnum.md) | The compression type to use for metadata files. * &#x60;zstd&#x60; - zstd * &#x60;gz&#x60; - gz * &#x60;none&#x60; - none | [optional] |
31
31
  | **layout** | [**LayoutEnum**](LayoutEnum.md) | How to layout the packages within the published repository. * &#x60;nested_alphabetically&#x60; - nested_alphabetically * &#x60;flat&#x60; - flat * &#x60;nested_by_digest&#x60; - nested_by_digest * &#x60;nested_by_both&#x60; - nested_by_both | [optional] |
32
32
 
33
33
  ## Example
data/docs/RpmUlnRemote.md CHANGED
@@ -6,6 +6,8 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **name** | **String** | A unique name for this remote. | |
8
8
  | **url** | **String** | The ULN repo URL of the remote content source.\&quot;This is \&quot;uln://\&quot; followed by the channel name. E.g.: \&quot;uln://ol7_x86_64_oracle\&quot; | |
9
+ | **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional] |
10
+ | **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: &#39;immediate&#39;, &#39;on_demand&#39;, and &#39;streamed&#39;. &#39;immediate&#39; is the default. * &#x60;immediate&#x60; - When syncing, download all metadata and content now. * &#x60;on_demand&#x60; - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * &#x60;streamed&#x60; - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again. | [optional] |
9
11
  | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
10
12
  | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
11
13
  | **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
@@ -15,15 +17,13 @@
15
17
  | **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
16
18
  | **username** | **String** | Your ULN account username. | |
17
19
  | **password** | **String** | Your ULN account password. | |
18
- | **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional] |
19
- | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
20
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] |
21
- | **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: &#39;immediate&#39;, &#39;on_demand&#39;, and &#39;streamed&#39;. &#39;immediate&#39; is the default. * &#x60;immediate&#x60; - When syncing, download all metadata and content now. * &#x60;on_demand&#x60; - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * &#x60;streamed&#x60; - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again. | [optional] |
22
21
  | **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
22
  | **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
23
  | **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
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] |
26
25
  | **headers** | **Array&lt;Object&gt;** | Headers for aiohttp.Clientsession | [optional] |
26
+ | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
27
27
  | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
28
28
  | **uln_server_base_url** | **String** | Base URL of the ULN server. If the uln_server_base_url is not provided pulp_rpm willuse the contents of the DEFAULT_ULN_SERVER_BASE_URL setting instead. | [optional] |
29
29
 
@@ -35,6 +35,8 @@ require 'pulp_rpm_client'
35
35
  instance = PulpRpmClient::RpmUlnRemote.new(
36
36
  name: null,
37
37
  url: null,
38
+ pulp_labels: null,
39
+ policy: null,
38
40
  ca_cert: null,
39
41
  client_cert: null,
40
42
  client_key: null,
@@ -44,15 +46,13 @@ instance = PulpRpmClient::RpmUlnRemote.new(
44
46
  proxy_password: null,
45
47
  username: null,
46
48
  password: null,
47
- pulp_labels: null,
48
- download_concurrency: null,
49
49
  max_retries: null,
50
- policy: null,
51
50
  total_timeout: null,
52
51
  connect_timeout: null,
53
52
  sock_connect_timeout: null,
54
53
  sock_read_timeout: null,
55
54
  headers: null,
55
+ download_concurrency: null,
56
56
  rate_limit: null,
57
57
  uln_server_base_url: null
58
58
  )
@@ -10,21 +10,21 @@
10
10
  | **pulp_last_updated** | **Time** | Timestamp of the most recent update of the remote. | [optional][readonly] |
11
11
  | **name** | **String** | A unique name for this remote. | |
12
12
  | **url** | **String** | The ULN repo URL of the remote content source.\&quot;This is \&quot;uln://\&quot; followed by the channel name. E.g.: \&quot;uln://ol7_x86_64_oracle\&quot; | |
13
+ | **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional] |
14
+ | **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: &#39;immediate&#39;, &#39;on_demand&#39;, and &#39;streamed&#39;. &#39;immediate&#39; is the default. * &#x60;immediate&#x60; - When syncing, download all metadata and content now. * &#x60;on_demand&#x60; - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * &#x60;streamed&#x60; - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again. | [optional] |
15
+ | **hidden_fields** | [**Array&lt;RpmRpmRemoteResponseHiddenFieldsInner&gt;**](RpmRpmRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional][readonly] |
13
16
  | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
14
17
  | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
15
18
  | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
16
19
  | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
17
- | **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional] |
18
- | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
19
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
- | **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: &#39;immediate&#39;, &#39;on_demand&#39;, and &#39;streamed&#39;. &#39;immediate&#39; is the default. * &#x60;immediate&#x60; - When syncing, download all metadata and content now. * &#x60;on_demand&#x60; - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * &#x60;streamed&#x60; - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again. | [optional] |
21
21
  | **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] |
22
22
  | **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] |
23
23
  | **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] |
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&lt;Object&gt;** | Headers for aiohttp.Clientsession | [optional] |
26
+ | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
26
27
  | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
27
- | **hidden_fields** | [**Array&lt;RpmRpmRemoteResponseHiddenFieldsInner&gt;**](RpmRpmRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional][readonly] |
28
28
  | **uln_server_base_url** | **String** | Base URL of the ULN server. If the uln_server_base_url is not provided pulp_rpm willuse the contents of the DEFAULT_ULN_SERVER_BASE_URL setting instead. | [optional] |
29
29
 
30
30
  ## Example
@@ -39,21 +39,21 @@ instance = PulpRpmClient::RpmUlnRemoteResponse.new(
39
39
  pulp_last_updated: null,
40
40
  name: null,
41
41
  url: null,
42
+ pulp_labels: null,
43
+ policy: null,
44
+ hidden_fields: null,
42
45
  ca_cert: null,
43
46
  client_cert: null,
44
47
  tls_validation: null,
45
48
  proxy_url: null,
46
- pulp_labels: null,
47
- download_concurrency: null,
48
49
  max_retries: null,
49
- policy: null,
50
50
  total_timeout: null,
51
51
  connect_timeout: null,
52
52
  sock_connect_timeout: null,
53
53
  sock_read_timeout: null,
54
54
  headers: null,
55
+ download_concurrency: null,
55
56
  rate_limit: null,
56
- hidden_fields: null,
57
57
  uln_server_base_url: null
58
58
  )
59
59
  ```
@@ -28,6 +28,7 @@ module PulpRpmClient
28
28
  # @option opts [File] :file An uploaded file that may be turned into the content unit.
29
29
  # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
30
30
  # @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
31
+ # @option opts [RemoteNetworkConfig] :downloader_config Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a &#39;file_url.
31
32
  # @return [AsyncOperationResponse]
32
33
  def create(opts = {})
33
34
  data, _status_code, _headers = create_with_http_info(opts)
@@ -43,6 +44,7 @@ module PulpRpmClient
43
44
  # @option opts [File] :file An uploaded file that may be turned into the content unit.
44
45
  # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
45
46
  # @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
47
+ # @option opts [RemoteNetworkConfig] :downloader_config Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a &#39;file_url.
46
48
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
47
49
  def create_with_http_info(opts = {})
48
50
  if @api_client.config.debugging
@@ -76,6 +78,7 @@ module PulpRpmClient
76
78
  form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
77
79
  form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
78
80
  form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
81
+ form_params['downloader_config'] = opts[:'downloader_config'] if !opts[:'downloader_config'].nil?
79
82
 
80
83
  # http body (model)
81
84
  post_body = opts[:debug_body]