pulp_deb_client 3.8.1 → 3.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +6 -4
- data/docs/ContentGenericContentsApi.md +9 -7
- data/docs/ContentInstallerFileIndicesApi.md +6 -6
- data/docs/ContentInstallerPackagesApi.md +9 -7
- data/docs/ContentPackageIndicesApi.md +6 -6
- data/docs/ContentPackageReleaseComponentsApi.md +10 -10
- data/docs/ContentPackagesApi.md +8 -6
- data/docs/ContentReleaseArchitecturesApi.md +6 -6
- data/docs/ContentReleaseComponentsApi.md +6 -6
- data/docs/ContentReleaseFilesApi.md +6 -6
- data/docs/ContentReleasesApi.md +6 -6
- data/docs/ContentSourceIndicesApi.md +6 -6
- data/docs/ContentSourcePackagesApi.md +6 -6
- data/docs/ContentSourceReleaseComponentsApi.md +10 -10
- data/docs/DebAptDistribution.md +2 -0
- data/docs/DebAptDistributionResponse.md +4 -0
- data/docs/DebAptRemote.md +6 -6
- data/docs/DebAptRemoteResponse.md +8 -8
- data/docs/DebAptRepository.md +2 -0
- data/docs/DebAptRepositoryResponse.md +2 -0
- data/docs/DistributionsAptApi.md +4 -4
- data/docs/PatcheddebAptDistribution.md +2 -0
- data/docs/PatcheddebAptRemote.md +6 -6
- data/docs/PatcheddebAptRepository.md +2 -0
- data/docs/PublicationsAptApi.md +2 -2
- data/docs/PublicationsVerbatimApi.md +2 -2
- data/docs/RemoteNetworkConfig.md +50 -0
- data/docs/RemoteNetworkConfigResponse.md +40 -0
- data/docs/RepositoriesAptApi.md +20 -4
- data/lib/pulp_deb_client/api/content_generic_contents_api.rb +9 -6
- data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +6 -6
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +9 -6
- data/lib/pulp_deb_client/api/content_package_indices_api.rb +6 -6
- data/lib/pulp_deb_client/api/content_package_release_components_api.rb +10 -10
- data/lib/pulp_deb_client/api/content_packages_api.rb +9 -6
- data/lib/pulp_deb_client/api/content_release_architectures_api.rb +6 -6
- data/lib/pulp_deb_client/api/content_release_components_api.rb +6 -6
- data/lib/pulp_deb_client/api/content_release_files_api.rb +6 -6
- data/lib/pulp_deb_client/api/content_releases_api.rb +6 -6
- data/lib/pulp_deb_client/api/content_source_indices_api.rb +6 -6
- data/lib/pulp_deb_client/api/content_source_packages_api.rb +6 -6
- data/lib/pulp_deb_client/api/content_source_release_components_api.rb +10 -10
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +4 -4
- data/lib/pulp_deb_client/api/publications_apt_api.rb +2 -2
- data/lib/pulp_deb_client/api/publications_verbatim_api.rb +2 -2
- data/lib/pulp_deb_client/api/repositories_apt_api.rb +29 -5
- data/lib/pulp_deb_client/models/deb_apt_distribution.rb +12 -1
- data/lib/pulp_deb_client/models/deb_apt_distribution_response.rb +22 -1
- data/lib/pulp_deb_client/models/deb_apt_remote.rb +48 -33
- data/lib/pulp_deb_client/models/deb_apt_remote_response.rb +60 -45
- data/lib/pulp_deb_client/models/deb_apt_repository.rb +42 -1
- data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +42 -1
- data/lib/pulp_deb_client/models/patcheddeb_apt_distribution.rb +12 -1
- data/lib/pulp_deb_client/models/patcheddeb_apt_remote.rb +48 -33
- data/lib/pulp_deb_client/models/patcheddeb_apt_repository.rb +42 -1
- data/lib/pulp_deb_client/models/remote_network_config.rb +588 -0
- data/lib/pulp_deb_client/models/remote_network_config_response.rb +413 -0
- data/lib/pulp_deb_client/models/set_label.rb +0 -11
- data/lib/pulp_deb_client/models/set_label_response.rb +0 -21
- data/lib/pulp_deb_client/models/unset_label.rb +0 -11
- data/lib/pulp_deb_client/models/unset_label_response.rb +0 -21
- data/lib/pulp_deb_client/version.rb +1 -1
- data/lib/pulp_deb_client.rb +2 -0
- data/spec/api/content_generic_contents_api_spec.rb +4 -3
- data/spec/api/content_installer_file_indices_api_spec.rb +3 -3
- data/spec/api/content_installer_packages_api_spec.rb +4 -3
- data/spec/api/content_package_indices_api_spec.rb +3 -3
- data/spec/api/content_package_release_components_api_spec.rb +5 -5
- data/spec/api/content_packages_api_spec.rb +4 -3
- data/spec/api/content_release_architectures_api_spec.rb +3 -3
- data/spec/api/content_release_components_api_spec.rb +3 -3
- data/spec/api/content_release_files_api_spec.rb +3 -3
- data/spec/api/content_releases_api_spec.rb +3 -3
- data/spec/api/content_source_indices_api_spec.rb +3 -3
- data/spec/api/content_source_packages_api_spec.rb +3 -3
- data/spec/api/content_source_release_components_api_spec.rb +5 -5
- data/spec/api/distributions_apt_api_spec.rb +2 -2
- data/spec/api/publications_apt_api_spec.rb +1 -1
- data/spec/api/publications_verbatim_api_spec.rb +1 -1
- data/spec/api/repositories_apt_api_spec.rb +10 -2
- data/spec/models/deb_apt_distribution_response_spec.rb +12 -0
- data/spec/models/deb_apt_distribution_spec.rb +6 -0
- data/spec/models/deb_apt_remote_response_spec.rb +10 -10
- data/spec/models/deb_apt_remote_spec.rb +17 -17
- data/spec/models/deb_apt_repository_response_spec.rb +6 -0
- data/spec/models/deb_apt_repository_spec.rb +6 -0
- data/spec/models/patcheddeb_apt_distribution_spec.rb +6 -0
- data/spec/models/patcheddeb_apt_remote_spec.rb +17 -17
- data/spec/models/patcheddeb_apt_repository_spec.rb +6 -0
- data/spec/models/remote_network_config_response_spec.rb +102 -0
- data/spec/models/remote_network_config_spec.rb +132 -0
- metadata +88 -80
|
@@ -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<String, String>** | | [optional] |
|
|
14
|
+
| **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default. * `immediate` - When syncing, download all metadata and content now. * `on_demand` - 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. * `streamed` - 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<DebAptRemoteResponseHiddenFieldsInner>**](DebAptRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional] |
|
|
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<String, String>** | | [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: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default. * `immediate` - When syncing, download all metadata and content now. * `on_demand` - 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. * `streamed` - 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<Object>** | 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<DebAptRemoteResponseHiddenFieldsInner>**](DebAptRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional] |
|
|
28
28
|
| **distributions** | **String** | Whitespace separated list of distributions to sync. The distribution is the path from the repository root to the \"Release\" file you want to access. This is often, but not always, equal to either the codename or the suite of the release you want to sync. If the repository you are trying to sync uses \"flat repository format\", the distribution must end with a \"/\". Based on \"/etc/apt/sources.list\" syntax. | |
|
|
29
29
|
| **components** | **String** | Whitespace separatet list of components to sync. If none are supplied, all that are available will be synchronized. Leave blank for repositores using \"flat repository format\". | [optional] |
|
|
30
30
|
| **architectures** | **String** | Whitespace separated list of architectures to sync If none are supplied, all that are available will be synchronized. A list of valid architecture specification strings can be found by running \"dpkg-architecture -L\". A sync will download the intersection of the list of architectures provided via this field and those provided by the relevant \"Release\" file. Architecture=\"all\" is always synchronized and does not need to be provided here. | [optional] |
|
|
@@ -46,21 +46,21 @@ instance = PulpDebClient::DebAptRemoteResponse.new(
|
|
|
46
46
|
pulp_last_updated: null,
|
|
47
47
|
name: null,
|
|
48
48
|
url: null,
|
|
49
|
+
pulp_labels: null,
|
|
50
|
+
policy: null,
|
|
51
|
+
hidden_fields: null,
|
|
49
52
|
ca_cert: null,
|
|
50
53
|
client_cert: null,
|
|
51
54
|
tls_validation: null,
|
|
52
55
|
proxy_url: null,
|
|
53
|
-
pulp_labels: null,
|
|
54
|
-
download_concurrency: null,
|
|
55
56
|
max_retries: null,
|
|
56
|
-
policy: null,
|
|
57
57
|
total_timeout: null,
|
|
58
58
|
connect_timeout: null,
|
|
59
59
|
sock_connect_timeout: null,
|
|
60
60
|
sock_read_timeout: null,
|
|
61
61
|
headers: null,
|
|
62
|
+
download_concurrency: null,
|
|
62
63
|
rate_limit: null,
|
|
63
|
-
hidden_fields: null,
|
|
64
64
|
distributions: null,
|
|
65
65
|
components: null,
|
|
66
66
|
architectures: null,
|
data/docs/DebAptRepository.md
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
| **name** | **String** | A unique name for this repository. | |
|
|
9
9
|
| **description** | **String** | An optional description. | [optional] |
|
|
10
10
|
| **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
|
|
11
|
+
| **retain_checkpoints** | **Integer** | Retain X checkpoint publications for the repository. Default is null which retains all checkpoints. | [optional] |
|
|
11
12
|
| **remote** | **String** | An optional remote to use by default when syncing. | [optional] |
|
|
12
13
|
| **autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. Will create a standard structured APT publication. | [optional][default to false] |
|
|
13
14
|
| **publish_upstream_release_fields** | **Boolean** | Previously, pulp_deb only synced the Release file fields codename and suite, now version, origin, label, and description are also synced. Setting this setting to False will make Pulp revert to the old behaviour of using it's own internal values for the new fields during publish. This is primarily intended to avoid a sudden change in behaviour for existing Pulp repositories, since many Release file field changes need to be accepted by hosts consuming the published repository. The default for new repositories is True. | [optional] |
|
|
@@ -24,6 +25,7 @@ instance = PulpDebClient::DebAptRepository.new(
|
|
|
24
25
|
name: null,
|
|
25
26
|
description: null,
|
|
26
27
|
retain_repo_versions: null,
|
|
28
|
+
retain_checkpoints: null,
|
|
27
29
|
remote: null,
|
|
28
30
|
autopublish: null,
|
|
29
31
|
publish_upstream_release_fields: null,
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
| **name** | **String** | A unique name for this repository. | |
|
|
15
15
|
| **description** | **String** | An optional description. | [optional] |
|
|
16
16
|
| **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
|
|
17
|
+
| **retain_checkpoints** | **Integer** | Retain X checkpoint publications for the repository. Default is null which retains all checkpoints. | [optional] |
|
|
17
18
|
| **remote** | **String** | An optional remote to use by default when syncing. | [optional] |
|
|
18
19
|
| **autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. Will create a standard structured APT publication. | [optional][default to false] |
|
|
19
20
|
| **publish_upstream_release_fields** | **Boolean** | Previously, pulp_deb only synced the Release file fields codename and suite, now version, origin, label, and description are also synced. Setting this setting to False will make Pulp revert to the old behaviour of using it's own internal values for the new fields during publish. This is primarily intended to avoid a sudden change in behaviour for existing Pulp repositories, since many Release file field changes need to be accepted by hosts consuming the published repository. The default for new repositories is True. | [optional] |
|
|
@@ -36,6 +37,7 @@ instance = PulpDebClient::DebAptRepositoryResponse.new(
|
|
|
36
37
|
name: null,
|
|
37
38
|
description: null,
|
|
38
39
|
retain_repo_versions: null,
|
|
40
|
+
retain_checkpoints: null,
|
|
39
41
|
remote: null,
|
|
40
42
|
autopublish: null,
|
|
41
43
|
publish_upstream_release_fields: null,
|
data/docs/DistributionsAptApi.md
CHANGED
|
@@ -287,8 +287,8 @@ opts = {
|
|
|
287
287
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
288
288
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
|
289
289
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
|
290
|
-
repository: '
|
|
291
|
-
repository__in: ['inner_example'], # Array<String> |
|
|
290
|
+
repository: 'repository_example', # String |
|
|
291
|
+
repository__in: ['inner_example'], # Array<String> |
|
|
292
292
|
with_content: 'with_content_example', # String | Filter distributions based on the content served by them
|
|
293
293
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
|
294
294
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
|
@@ -348,8 +348,8 @@ end
|
|
|
348
348
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
349
349
|
| **pulp_label_select** | **String** | Filter labels by search string | [optional] |
|
|
350
350
|
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
|
351
|
-
| **repository** | **String** |
|
|
352
|
-
| **repository__in** | [**Array<String>**](String.md) |
|
|
351
|
+
| **repository** | **String** | | [optional] |
|
|
352
|
+
| **repository__in** | [**Array<String>**](String.md) | | [optional] |
|
|
353
353
|
| **with_content** | **String** | Filter distributions based on the content served by them | [optional] |
|
|
354
354
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
|
355
355
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
11
11
|
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional] |
|
|
12
12
|
| **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
|
|
13
|
+
| **repository_version** | **String** | RepositoryVersion to be served | [optional] |
|
|
13
14
|
| **publication** | **String** | Publication to be served | [optional] |
|
|
14
15
|
| **checkpoint** | **Boolean** | | [optional] |
|
|
15
16
|
|
|
@@ -25,6 +26,7 @@ instance = PulpDebClient::PatcheddebAptDistribution.new(
|
|
|
25
26
|
pulp_labels: null,
|
|
26
27
|
name: null,
|
|
27
28
|
repository: null,
|
|
29
|
+
repository_version: null,
|
|
28
30
|
publication: null,
|
|
29
31
|
checkpoint: null
|
|
30
32
|
)
|
data/docs/PatcheddebAptRemote.md
CHANGED
|
@@ -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<String, String>** | | [optional] |
|
|
10
|
+
| **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default. * `immediate` - When syncing, download all metadata and content now. * `on_demand` - 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. * `streamed` - 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<String, String>** | | [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: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default. * `immediate` - When syncing, download all metadata and content now. * `on_demand` - 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. * `streamed` - 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<Object>** | 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
|
| **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] |
|
|
29
29
|
| **components** | **String** | Whitespace separatet list of components to sync. If none are supplied, all that are available will be synchronized. Leave blank for repositores using \"flat repository format\". | [optional] |
|
|
@@ -42,6 +42,8 @@ require 'pulp_deb_client'
|
|
|
42
42
|
instance = PulpDebClient::PatcheddebAptRemote.new(
|
|
43
43
|
name: null,
|
|
44
44
|
url: null,
|
|
45
|
+
pulp_labels: null,
|
|
46
|
+
policy: null,
|
|
45
47
|
ca_cert: null,
|
|
46
48
|
client_cert: null,
|
|
47
49
|
client_key: null,
|
|
@@ -51,15 +53,13 @@ instance = PulpDebClient::PatcheddebAptRemote.new(
|
|
|
51
53
|
proxy_password: null,
|
|
52
54
|
username: null,
|
|
53
55
|
password: null,
|
|
54
|
-
pulp_labels: null,
|
|
55
|
-
download_concurrency: null,
|
|
56
56
|
max_retries: null,
|
|
57
|
-
policy: null,
|
|
58
57
|
total_timeout: null,
|
|
59
58
|
connect_timeout: null,
|
|
60
59
|
sock_connect_timeout: null,
|
|
61
60
|
sock_read_timeout: null,
|
|
62
61
|
headers: null,
|
|
62
|
+
download_concurrency: null,
|
|
63
63
|
rate_limit: null,
|
|
64
64
|
distributions: null,
|
|
65
65
|
components: null,
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
| **name** | **String** | A unique name for this repository. | [optional] |
|
|
9
9
|
| **description** | **String** | An optional description. | [optional] |
|
|
10
10
|
| **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
|
|
11
|
+
| **retain_checkpoints** | **Integer** | Retain X checkpoint publications for the repository. Default is null which retains all checkpoints. | [optional] |
|
|
11
12
|
| **remote** | **String** | An optional remote to use by default when syncing. | [optional] |
|
|
12
13
|
| **autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. Will create a standard structured APT publication. | [optional][default to false] |
|
|
13
14
|
| **publish_upstream_release_fields** | **Boolean** | Previously, pulp_deb only synced the Release file fields codename and suite, now version, origin, label, and description are also synced. Setting this setting to False will make Pulp revert to the old behaviour of using it's own internal values for the new fields during publish. This is primarily intended to avoid a sudden change in behaviour for existing Pulp repositories, since many Release file field changes need to be accepted by hosts consuming the published repository. The default for new repositories is True. | [optional] |
|
|
@@ -24,6 +25,7 @@ instance = PulpDebClient::PatcheddebAptRepository.new(
|
|
|
24
25
|
name: null,
|
|
25
26
|
description: null,
|
|
26
27
|
retain_repo_versions: null,
|
|
28
|
+
retain_checkpoints: null,
|
|
27
29
|
remote: null,
|
|
28
30
|
autopublish: null,
|
|
29
31
|
publish_upstream_release_fields: null,
|
data/docs/PublicationsAptApi.md
CHANGED
|
@@ -278,7 +278,7 @@ opts = {
|
|
|
278
278
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
279
279
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
|
280
280
|
repository: 'repository_example', # String | Repository referenced by HREF/PRN
|
|
281
|
-
repository_version: '
|
|
281
|
+
repository_version: 'repository_version_example', # String |
|
|
282
282
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
|
283
283
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
|
284
284
|
}
|
|
@@ -333,7 +333,7 @@ end
|
|
|
333
333
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
334
334
|
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
|
335
335
|
| **repository** | **String** | Repository referenced by HREF/PRN | [optional] |
|
|
336
|
-
| **repository_version** | **String** |
|
|
336
|
+
| **repository_version** | **String** | | [optional] |
|
|
337
337
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
|
338
338
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
|
339
339
|
|
|
@@ -278,7 +278,7 @@ opts = {
|
|
|
278
278
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
279
279
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
|
280
280
|
repository: 'repository_example', # String | Repository referenced by HREF/PRN
|
|
281
|
-
repository_version: '
|
|
281
|
+
repository_version: 'repository_version_example', # String |
|
|
282
282
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
|
283
283
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
|
284
284
|
}
|
|
@@ -333,7 +333,7 @@ end
|
|
|
333
333
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
334
334
|
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
|
335
335
|
| **repository** | **String** | Repository referenced by HREF/PRN | [optional] |
|
|
336
|
-
| **repository_version** | **String** |
|
|
336
|
+
| **repository_version** | **String** | | [optional] |
|
|
337
337
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
|
338
338
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
|
339
339
|
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# PulpDebClient::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<Object>** | 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_deb_client'
|
|
29
|
+
|
|
30
|
+
instance = PulpDebClient::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
|
+
# PulpDebClient::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<Object>** | 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_deb_client'
|
|
24
|
+
|
|
25
|
+
instance = PulpDebClient::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
|
+
|
data/docs/RepositoriesAptApi.md
CHANGED
|
@@ -279,13 +279,21 @@ opts = {
|
|
|
279
279
|
name__regex: 'name__regex_example', # String | Filter results where name matches regex value
|
|
280
280
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
|
281
281
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
282
|
-
ordering: ['-description'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
282
|
+
ordering: ['-description'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `retain_checkpoints` - Retain checkpoints * `-retain_checkpoints` - Retain checkpoints (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
283
283
|
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
284
284
|
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
285
285
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
286
286
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
|
287
287
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
|
288
|
-
remote: '
|
|
288
|
+
remote: 'remote_example', # String |
|
|
289
|
+
retain_checkpoints: 56, # Integer | Filter results where retain_checkpoints matches value
|
|
290
|
+
retain_checkpoints__gt: 56, # Integer | Filter results where retain_checkpoints is greater than value
|
|
291
|
+
retain_checkpoints__gte: 56, # Integer | Filter results where retain_checkpoints is greater than or equal to value
|
|
292
|
+
retain_checkpoints__isnull: true, # Boolean | Filter results where retain_checkpoints has a null value
|
|
293
|
+
retain_checkpoints__lt: 56, # Integer | Filter results where retain_checkpoints is less than value
|
|
294
|
+
retain_checkpoints__lte: 56, # Integer | Filter results where retain_checkpoints is less than or equal to value
|
|
295
|
+
retain_checkpoints__ne: 56, # Integer | Filter results where retain_checkpoints not equal to value
|
|
296
|
+
retain_checkpoints__range: [37], # Array<Integer> | Filter results where retain_checkpoints is between two comma separated values
|
|
289
297
|
retain_repo_versions: 56, # Integer | Filter results where retain_repo_versions matches value
|
|
290
298
|
retain_repo_versions__gt: 56, # Integer | Filter results where retain_repo_versions is greater than value
|
|
291
299
|
retain_repo_versions__gte: 56, # Integer | Filter results where retain_repo_versions is greater than or equal to value
|
|
@@ -343,13 +351,21 @@ end
|
|
|
343
351
|
| **name__regex** | **String** | Filter results where name matches regex value | [optional] |
|
|
344
352
|
| **name__startswith** | **String** | Filter results where name starts with value | [optional] |
|
|
345
353
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
|
346
|
-
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
|
354
|
+
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `retain_checkpoints` - Retain checkpoints * `-retain_checkpoints` - Retain checkpoints (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
|
347
355
|
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
348
356
|
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
349
357
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
350
358
|
| **pulp_label_select** | **String** | Filter labels by search string | [optional] |
|
|
351
359
|
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
|
352
|
-
| **remote** | **String** |
|
|
360
|
+
| **remote** | **String** | | [optional] |
|
|
361
|
+
| **retain_checkpoints** | **Integer** | Filter results where retain_checkpoints matches value | [optional] |
|
|
362
|
+
| **retain_checkpoints__gt** | **Integer** | Filter results where retain_checkpoints is greater than value | [optional] |
|
|
363
|
+
| **retain_checkpoints__gte** | **Integer** | Filter results where retain_checkpoints is greater than or equal to value | [optional] |
|
|
364
|
+
| **retain_checkpoints__isnull** | **Boolean** | Filter results where retain_checkpoints has a null value | [optional] |
|
|
365
|
+
| **retain_checkpoints__lt** | **Integer** | Filter results where retain_checkpoints is less than value | [optional] |
|
|
366
|
+
| **retain_checkpoints__lte** | **Integer** | Filter results where retain_checkpoints is less than or equal to value | [optional] |
|
|
367
|
+
| **retain_checkpoints__ne** | **Integer** | Filter results where retain_checkpoints not equal to value | [optional] |
|
|
368
|
+
| **retain_checkpoints__range** | [**Array<Integer>**](Integer.md) | Filter results where retain_checkpoints is between two comma separated values | [optional] |
|
|
353
369
|
| **retain_repo_versions** | **Integer** | Filter results where retain_repo_versions matches value | [optional] |
|
|
354
370
|
| **retain_repo_versions__gt** | **Integer** | Filter results where retain_repo_versions is greater than value | [optional] |
|
|
355
371
|
| **retain_repo_versions__gte** | **Integer** | Filter results where retain_repo_versions is greater than or equal to value | [optional] |
|
|
@@ -30,6 +30,7 @@ module PulpDebClient
|
|
|
30
30
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
31
31
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
32
32
|
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
|
33
|
+
# @option opts [RemoteNetworkConfig] :downloader_config Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
|
|
33
34
|
# @return [AsyncOperationResponse]
|
|
34
35
|
def create(relative_path, opts = {})
|
|
35
36
|
data, _status_code, _headers = create_with_http_info(relative_path, opts)
|
|
@@ -47,6 +48,7 @@ module PulpDebClient
|
|
|
47
48
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
48
49
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
49
50
|
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
|
51
|
+
# @option opts [RemoteNetworkConfig] :downloader_config Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
|
|
50
52
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
51
53
|
def create_with_http_info(relative_path, opts = {})
|
|
52
54
|
if @api_client.config.debugging
|
|
@@ -90,6 +92,7 @@ module PulpDebClient
|
|
|
90
92
|
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
|
91
93
|
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
|
92
94
|
form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
|
|
95
|
+
form_params['downloader_config'] = opts[:'downloader_config'] if !opts[:'downloader_config'].nil?
|
|
93
96
|
|
|
94
97
|
# http body (model)
|
|
95
98
|
post_body = opts[:debug_body]
|
|
@@ -131,9 +134,9 @@ module PulpDebClient
|
|
|
131
134
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
132
135
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
133
136
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
|
134
|
-
# @option opts [String] :repository_version
|
|
135
|
-
# @option opts [String] :repository_version_added
|
|
136
|
-
# @option opts [String] :repository_version_removed
|
|
137
|
+
# @option opts [String] :repository_version
|
|
138
|
+
# @option opts [String] :repository_version_added
|
|
139
|
+
# @option opts [String] :repository_version_removed
|
|
137
140
|
# @option opts [String] :sha256 Filter results where sha256 matches value
|
|
138
141
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
139
142
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
@@ -157,9 +160,9 @@ module PulpDebClient
|
|
|
157
160
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
158
161
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
159
162
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
|
160
|
-
# @option opts [String] :repository_version
|
|
161
|
-
# @option opts [String] :repository_version_added
|
|
162
|
-
# @option opts [String] :repository_version_removed
|
|
163
|
+
# @option opts [String] :repository_version
|
|
164
|
+
# @option opts [String] :repository_version_added
|
|
165
|
+
# @option opts [String] :repository_version_removed
|
|
163
166
|
# @option opts [String] :sha256 Filter results where sha256 matches value
|
|
164
167
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
165
168
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
@@ -106,9 +106,9 @@ module PulpDebClient
|
|
|
106
106
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
107
107
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
108
108
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
|
109
|
-
# @option opts [String] :repository_version
|
|
110
|
-
# @option opts [String] :repository_version_added
|
|
111
|
-
# @option opts [String] :repository_version_removed
|
|
109
|
+
# @option opts [String] :repository_version
|
|
110
|
+
# @option opts [String] :repository_version_added
|
|
111
|
+
# @option opts [String] :repository_version_removed
|
|
112
112
|
# @option opts [String] :sha256 Filter results where sha256 matches value
|
|
113
113
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
114
114
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
@@ -134,9 +134,9 @@ module PulpDebClient
|
|
|
134
134
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
135
135
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
136
136
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
|
137
|
-
# @option opts [String] :repository_version
|
|
138
|
-
# @option opts [String] :repository_version_added
|
|
139
|
-
# @option opts [String] :repository_version_removed
|
|
137
|
+
# @option opts [String] :repository_version
|
|
138
|
+
# @option opts [String] :repository_version_added
|
|
139
|
+
# @option opts [String] :repository_version_removed
|
|
140
140
|
# @option opts [String] :sha256 Filter results where sha256 matches value
|
|
141
141
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
142
142
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
@@ -30,6 +30,7 @@ module PulpDebClient
|
|
|
30
30
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
31
31
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
32
32
|
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
|
33
|
+
# @option opts [RemoteNetworkConfig] :downloader_config Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
|
|
33
34
|
# @return [AsyncOperationResponse]
|
|
34
35
|
def create(opts = {})
|
|
35
36
|
data, _status_code, _headers = create_with_http_info(opts)
|
|
@@ -47,6 +48,7 @@ module PulpDebClient
|
|
|
47
48
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
48
49
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
49
50
|
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
|
51
|
+
# @option opts [RemoteNetworkConfig] :downloader_config Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
|
|
50
52
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
51
53
|
def create_with_http_info(opts = {})
|
|
52
54
|
if @api_client.config.debugging
|
|
@@ -86,6 +88,7 @@ module PulpDebClient
|
|
|
86
88
|
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
|
87
89
|
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
|
88
90
|
form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
|
|
91
|
+
form_params['downloader_config'] = opts[:'downloader_config'] if !opts[:'downloader_config'].nil?
|
|
89
92
|
|
|
90
93
|
# http body (model)
|
|
91
94
|
post_body = opts[:debug_body]
|
|
@@ -138,9 +141,9 @@ module PulpDebClient
|
|
|
138
141
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
139
142
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
140
143
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
141
|
-
# @option opts [String] :repository_version
|
|
142
|
-
# @option opts [String] :repository_version_added
|
|
143
|
-
# @option opts [String] :repository_version_removed
|
|
144
|
+
# @option opts [String] :repository_version
|
|
145
|
+
# @option opts [String] :repository_version_added
|
|
146
|
+
# @option opts [String] :repository_version_removed
|
|
144
147
|
# @option opts [String] :section Filter results where section matches value
|
|
145
148
|
# @option opts [String] :sha256 Filter results where sha256 matches value
|
|
146
149
|
# @option opts [String] :source Filter results where source matches value
|
|
@@ -179,9 +182,9 @@ module PulpDebClient
|
|
|
179
182
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
180
183
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
181
184
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
182
|
-
# @option opts [String] :repository_version
|
|
183
|
-
# @option opts [String] :repository_version_added
|
|
184
|
-
# @option opts [String] :repository_version_removed
|
|
185
|
+
# @option opts [String] :repository_version
|
|
186
|
+
# @option opts [String] :repository_version_added
|
|
187
|
+
# @option opts [String] :repository_version_removed
|
|
185
188
|
# @option opts [String] :section Filter results where section matches value
|
|
186
189
|
# @option opts [String] :sha256 Filter results where sha256 matches value
|
|
187
190
|
# @option opts [String] :source Filter results where source matches value
|
|
@@ -106,9 +106,9 @@ module PulpDebClient
|
|
|
106
106
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
107
107
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
108
108
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
|
109
|
-
# @option opts [String] :repository_version
|
|
110
|
-
# @option opts [String] :repository_version_added
|
|
111
|
-
# @option opts [String] :repository_version_removed
|
|
109
|
+
# @option opts [String] :repository_version
|
|
110
|
+
# @option opts [String] :repository_version_added
|
|
111
|
+
# @option opts [String] :repository_version_removed
|
|
112
112
|
# @option opts [String] :sha256 Filter results where sha256 matches value
|
|
113
113
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
114
114
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
@@ -134,9 +134,9 @@ module PulpDebClient
|
|
|
134
134
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
135
135
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
136
136
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
|
137
|
-
# @option opts [String] :repository_version
|
|
138
|
-
# @option opts [String] :repository_version_added
|
|
139
|
-
# @option opts [String] :repository_version_removed
|
|
137
|
+
# @option opts [String] :repository_version
|
|
138
|
+
# @option opts [String] :repository_version_added
|
|
139
|
+
# @option opts [String] :repository_version_removed
|
|
140
140
|
# @option opts [String] :sha256 Filter results where sha256 matches value
|
|
141
141
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
142
142
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
@@ -98,16 +98,16 @@ module PulpDebClient
|
|
|
98
98
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
99
99
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
100
100
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
101
|
-
# @option opts [String] :package
|
|
101
|
+
# @option opts [String] :package
|
|
102
102
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
103
103
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
104
104
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
105
105
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
106
106
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
107
|
-
# @option opts [String] :release_component
|
|
108
|
-
# @option opts [String] :repository_version
|
|
109
|
-
# @option opts [String] :repository_version_added
|
|
110
|
-
# @option opts [String] :repository_version_removed
|
|
107
|
+
# @option opts [String] :release_component
|
|
108
|
+
# @option opts [String] :repository_version
|
|
109
|
+
# @option opts [String] :repository_version_added
|
|
110
|
+
# @option opts [String] :repository_version_removed
|
|
111
111
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
112
112
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
113
113
|
# @return [PaginateddebPackageReleaseComponentResponseList]
|
|
@@ -124,16 +124,16 @@ module PulpDebClient
|
|
|
124
124
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
125
125
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
126
126
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
127
|
-
# @option opts [String] :package
|
|
127
|
+
# @option opts [String] :package
|
|
128
128
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
129
129
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
130
130
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
131
131
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
132
132
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
133
|
-
# @option opts [String] :release_component
|
|
134
|
-
# @option opts [String] :repository_version
|
|
135
|
-
# @option opts [String] :repository_version_added
|
|
136
|
-
# @option opts [String] :repository_version_removed
|
|
133
|
+
# @option opts [String] :release_component
|
|
134
|
+
# @option opts [String] :repository_version
|
|
135
|
+
# @option opts [String] :repository_version_added
|
|
136
|
+
# @option opts [String] :repository_version_removed
|
|
137
137
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
138
138
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
139
139
|
# @return [Array<(PaginateddebPackageReleaseComponentResponseList, Integer, Hash)>] PaginateddebPackageReleaseComponentResponseList data, response status code and response headers
|