pulp_gem_client 0.7.5 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +12 -6
- data/docs/ContentGemApi.md +17 -9
- data/docs/DistributionsGemApi.md +4 -4
- data/docs/GemGemDistribution.md +2 -0
- data/docs/GemGemDistributionResponse.md +4 -0
- data/docs/GemGemRemote.md +6 -6
- data/docs/GemGemRemoteResponse.md +8 -8
- data/docs/GemGemRepository.md +2 -0
- data/docs/GemGemRepositoryResponse.md +2 -0
- data/docs/PatchedgemGemDistribution.md +2 -0
- data/docs/PatchedgemGemRemote.md +6 -6
- data/docs/PatchedgemGemRepository.md +2 -0
- data/docs/PublicationsGemApi.md +2 -2
- data/docs/RemoteNetworkConfig.md +50 -0
- data/docs/RemoteNetworkConfigResponse.md +40 -0
- data/docs/RepositoriesGemApi.md +20 -4
- data/docs/RepositoryAddRemoveContent.md +3 -1
- data/lib/pulp_gem_client/api/content_gem_api.rb +25 -9
- data/lib/pulp_gem_client/api/distributions_gem_api.rb +4 -4
- data/lib/pulp_gem_client/api/publications_gem_api.rb +2 -2
- data/lib/pulp_gem_client/api/repositories_gem_api.rb +29 -5
- data/lib/pulp_gem_client/models/gem_gem_distribution.rb +12 -1
- data/lib/pulp_gem_client/models/gem_gem_distribution_response.rb +22 -1
- data/lib/pulp_gem_client/models/gem_gem_remote.rb +48 -33
- data/lib/pulp_gem_client/models/gem_gem_remote_response.rb +60 -45
- data/lib/pulp_gem_client/models/gem_gem_repository.rb +42 -1
- data/lib/pulp_gem_client/models/gem_gem_repository_response.rb +42 -1
- data/lib/pulp_gem_client/models/patchedgem_gem_distribution.rb +12 -1
- data/lib/pulp_gem_client/models/patchedgem_gem_remote.rb +48 -33
- data/lib/pulp_gem_client/models/patchedgem_gem_repository.rb +42 -1
- data/lib/pulp_gem_client/models/remote_network_config.rb +588 -0
- data/lib/pulp_gem_client/models/remote_network_config_response.rb +413 -0
- data/lib/pulp_gem_client/models/repository_add_remove_content.rb +16 -4
- data/lib/pulp_gem_client/models/set_label.rb +0 -11
- data/lib/pulp_gem_client/models/set_label_response.rb +0 -21
- data/lib/pulp_gem_client/models/unset_label.rb +0 -11
- data/lib/pulp_gem_client/models/unset_label_response.rb +0 -21
- data/lib/pulp_gem_client/version.rb +1 -1
- data/lib/pulp_gem_client.rb +2 -0
- data/spec/api/content_gem_api_spec.rb +8 -4
- data/spec/api/distributions_gem_api_spec.rb +2 -2
- data/spec/api/publications_gem_api_spec.rb +1 -1
- data/spec/api/repositories_gem_api_spec.rb +10 -2
- data/spec/models/gem_gem_distribution_response_spec.rb +12 -0
- data/spec/models/gem_gem_distribution_spec.rb +6 -0
- data/spec/models/gem_gem_remote_response_spec.rb +10 -10
- data/spec/models/gem_gem_remote_spec.rb +17 -17
- data/spec/models/gem_gem_repository_response_spec.rb +6 -0
- data/spec/models/gem_gem_repository_spec.rb +6 -0
- data/spec/models/patchedgem_gem_distribution_spec.rb +6 -0
- data/spec/models/patchedgem_gem_remote_spec.rb +17 -17
- data/spec/models/patchedgem_gem_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
- data/spec/models/repository_add_remove_content_spec.rb +6 -0
- metadata +39 -31
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: '0392db07d365490142de0fb78dbfa6002d04daa972dd2c58b9fff97a8f7d7d42'
|
|
4
|
+
data.tar.gz: 2c87a7a09acd7ad014a3bfcc02c8b9098c38fcd7b36fef8273349090585bc70d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7ed517311cfb2f919a241a5f435911e7a93a6bed63878f334fd0f6a4477c8afbd248647f9245628c1d35622d854cb14c8c58a15a5ba27edf3ba86254c49c9ed1
|
|
7
|
+
data.tar.gz: 9060104bacd0844a56bd0189f7b5917fd36d4c5393814c7bebd46a123d20357226a17e8d16efd9c5791b860c5258579a9e97301dc31308f2c20b65f2e235f009
|
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: 0.
|
|
10
|
+
- Package version: 0.8.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_gem_client.gemspec
|
|
|
25
25
|
Then either install the gem locally:
|
|
26
26
|
|
|
27
27
|
```shell
|
|
28
|
-
gem install ./pulp_gem_client-0.
|
|
28
|
+
gem install ./pulp_gem_client-0.8.0.gem
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
(for development, run `gem install --dev ./pulp_gem_client-0.
|
|
31
|
+
(for development, run `gem install --dev ./pulp_gem_client-0.8.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_gem_client', '~> 0.
|
|
37
|
+
gem 'pulp_gem_client', '~> 0.8.0'
|
|
38
38
|
|
|
39
39
|
### Install from Git
|
|
40
40
|
|
|
@@ -71,9 +71,13 @@ api_instance = PulpGemClient::ContentGemApi.new
|
|
|
71
71
|
opts = {
|
|
72
72
|
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
73
73
|
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
|
74
|
+
overwrite: true, # Boolean | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
|
|
74
75
|
pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
75
|
-
|
|
76
|
-
|
|
76
|
+
file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
|
|
77
|
+
upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
|
|
78
|
+
file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
|
|
79
|
+
downloader_config: PulpGemClient::RemoteNetworkConfig.new, # RemoteNetworkConfig | Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
|
|
80
|
+
artifact: 'artifact_example' # String | Artifact file representing the physical content
|
|
77
81
|
}
|
|
78
82
|
|
|
79
83
|
begin
|
|
@@ -177,6 +181,8 @@ Class | Method | HTTP request | Description
|
|
|
177
181
|
- [PulpGemClient::PatchedgemGemRemote](docs/PatchedgemGemRemote.md)
|
|
178
182
|
- [PulpGemClient::PatchedgemGemRepository](docs/PatchedgemGemRepository.md)
|
|
179
183
|
- [PulpGemClient::PolicyEnum](docs/PolicyEnum.md)
|
|
184
|
+
- [PulpGemClient::RemoteNetworkConfig](docs/RemoteNetworkConfig.md)
|
|
185
|
+
- [PulpGemClient::RemoteNetworkConfigResponse](docs/RemoteNetworkConfigResponse.md)
|
|
180
186
|
- [PulpGemClient::Repair](docs/Repair.md)
|
|
181
187
|
- [PulpGemClient::RepositoryAddRemoveContent](docs/RepositoryAddRemoveContent.md)
|
|
182
188
|
- [PulpGemClient::RepositorySyncURL](docs/RepositorySyncURL.md)
|
data/docs/ContentGemApi.md
CHANGED
|
@@ -35,9 +35,13 @@ api_instance = PulpGemClient::ContentGemApi.new
|
|
|
35
35
|
opts = {
|
|
36
36
|
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
37
37
|
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
|
38
|
+
overwrite: true, # Boolean | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
|
|
38
39
|
pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
39
|
-
|
|
40
|
-
|
|
40
|
+
file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
|
|
41
|
+
upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
|
|
42
|
+
file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
|
|
43
|
+
downloader_config: PulpGemClient::RemoteNetworkConfig.new, # RemoteNetworkConfig | Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
|
|
44
|
+
artifact: 'artifact_example' # String | Artifact file representing the physical content
|
|
41
45
|
}
|
|
42
46
|
|
|
43
47
|
begin
|
|
@@ -73,9 +77,13 @@ end
|
|
|
73
77
|
| ---- | ---- | ----------- | ----- |
|
|
74
78
|
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
75
79
|
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
|
80
|
+
| **overwrite** | **Boolean** | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true. | [optional] |
|
|
76
81
|
| **pulp_labels** | [**Hash<String, String>**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
82
|
+
| **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
|
|
83
|
+
| **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
|
|
84
|
+
| **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional] |
|
|
85
|
+
| **downloader_config** | [**RemoteNetworkConfig**](RemoteNetworkConfig.md) | Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url. | [optional] |
|
|
77
86
|
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
|
78
|
-
| **file** | **File** | An uploaded file that should be turned into the artifact of the content unit. | [optional] |
|
|
79
87
|
|
|
80
88
|
### Return type
|
|
81
89
|
|
|
@@ -126,9 +134,9 @@ opts = {
|
|
|
126
134
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
127
135
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
|
128
136
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
|
129
|
-
repository_version: 'repository_version_example', # String |
|
|
130
|
-
repository_version_added: 'repository_version_added_example', # String |
|
|
131
|
-
repository_version_removed: 'repository_version_removed_example', # String |
|
|
137
|
+
repository_version: 'repository_version_example', # String |
|
|
138
|
+
repository_version_added: 'repository_version_added_example', # String |
|
|
139
|
+
repository_version_removed: 'repository_version_removed_example', # String |
|
|
132
140
|
version: 'version_example', # String | Filter results where version matches value
|
|
133
141
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
|
134
142
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
|
@@ -178,9 +186,9 @@ end
|
|
|
178
186
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
179
187
|
| **pulp_label_select** | **String** | Filter labels by search string | [optional] |
|
|
180
188
|
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
|
181
|
-
| **repository_version** | **String** |
|
|
182
|
-
| **repository_version_added** | **String** |
|
|
183
|
-
| **repository_version_removed** | **String** |
|
|
189
|
+
| **repository_version** | **String** | | [optional] |
|
|
190
|
+
| **repository_version_added** | **String** | | [optional] |
|
|
191
|
+
| **repository_version_removed** | **String** | | [optional] |
|
|
184
192
|
| **version** | **String** | Filter results where version matches value | [optional] |
|
|
185
193
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
|
186
194
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
data/docs/DistributionsGemApi.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] |
|
data/docs/GemGemDistribution.md
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
11
11
|
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
|
|
12
12
|
| **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
|
|
13
|
+
| **repository_version** | **String** | RepositoryVersion to be served | [optional] |
|
|
13
14
|
| **publication** | **String** | Publication to be served | [optional] |
|
|
14
15
|
| **remote** | **String** | Remote that can be used to fetch content when using pull-through caching. | [optional] |
|
|
15
16
|
|
|
@@ -25,6 +26,7 @@ instance = PulpGemClient::GemGemDistribution.new(
|
|
|
25
26
|
pulp_labels: null,
|
|
26
27
|
name: null,
|
|
27
28
|
repository: null,
|
|
29
|
+
repository_version: null,
|
|
28
30
|
publication: null,
|
|
29
31
|
remote: null
|
|
30
32
|
)
|
|
@@ -11,11 +11,13 @@
|
|
|
11
11
|
| **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | |
|
|
12
12
|
| **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional][readonly] |
|
|
13
13
|
| **content_guard** | **String** | An optional content-guard. | [optional] |
|
|
14
|
+
| **content_guard_prn** | **String** | The Pulp Resource Name (PRN) of the associated optional content guard. | [optional][readonly] |
|
|
14
15
|
| **no_content_change_since** | **String** | Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes. | [optional][readonly] |
|
|
15
16
|
| **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
|
|
16
17
|
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
17
18
|
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
|
|
18
19
|
| **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
|
|
20
|
+
| **repository_version** | **String** | RepositoryVersion to be served | [optional] |
|
|
19
21
|
| **publication** | **String** | Publication to be served | [optional] |
|
|
20
22
|
| **remote** | **String** | Remote that can be used to fetch content when using pull-through caching. | [optional] |
|
|
21
23
|
|
|
@@ -32,11 +34,13 @@ instance = PulpGemClient::GemGemDistributionResponse.new(
|
|
|
32
34
|
base_path: null,
|
|
33
35
|
base_url: null,
|
|
34
36
|
content_guard: null,
|
|
37
|
+
content_guard_prn: null,
|
|
35
38
|
no_content_change_since: null,
|
|
36
39
|
hidden: null,
|
|
37
40
|
pulp_labels: null,
|
|
38
41
|
name: null,
|
|
39
42
|
repository: null,
|
|
43
|
+
repository_version: null,
|
|
40
44
|
publication: null,
|
|
41
45
|
remote: null
|
|
42
46
|
)
|
data/docs/GemGemRemote.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<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
|
| **prereleases** | **Boolean** | | [optional][default to false] |
|
|
29
29
|
| **includes** | **Hash<String, String>** | | [optional] |
|
|
@@ -37,6 +37,8 @@ require 'pulp_gem_client'
|
|
|
37
37
|
instance = PulpGemClient::GemGemRemote.new(
|
|
38
38
|
name: null,
|
|
39
39
|
url: null,
|
|
40
|
+
pulp_labels: null,
|
|
41
|
+
policy: null,
|
|
40
42
|
ca_cert: null,
|
|
41
43
|
client_cert: null,
|
|
42
44
|
client_key: null,
|
|
@@ -46,15 +48,13 @@ instance = PulpGemClient::GemGemRemote.new(
|
|
|
46
48
|
proxy_password: null,
|
|
47
49
|
username: null,
|
|
48
50
|
password: null,
|
|
49
|
-
pulp_labels: null,
|
|
50
|
-
download_concurrency: null,
|
|
51
51
|
max_retries: null,
|
|
52
|
-
policy: null,
|
|
53
52
|
total_timeout: null,
|
|
54
53
|
connect_timeout: null,
|
|
55
54
|
sock_connect_timeout: null,
|
|
56
55
|
sock_read_timeout: null,
|
|
57
56
|
headers: null,
|
|
57
|
+
download_concurrency: null,
|
|
58
58
|
rate_limit: null,
|
|
59
59
|
prereleases: null,
|
|
60
60
|
includes: null,
|
|
@@ -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<GemGemRemoteResponseHiddenFieldsInner>**](GemGemRemoteResponseHiddenFieldsInner.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<GemGemRemoteResponseHiddenFieldsInner>**](GemGemRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional] |
|
|
28
28
|
| **prereleases** | **Boolean** | | [optional][default to false] |
|
|
29
29
|
| **includes** | **Hash<String, String>** | | [optional] |
|
|
30
30
|
| **excludes** | **Hash<String, String>** | | [optional] |
|
|
@@ -41,21 +41,21 @@ instance = PulpGemClient::GemGemRemoteResponse.new(
|
|
|
41
41
|
pulp_last_updated: null,
|
|
42
42
|
name: null,
|
|
43
43
|
url: null,
|
|
44
|
+
pulp_labels: null,
|
|
45
|
+
policy: null,
|
|
46
|
+
hidden_fields: null,
|
|
44
47
|
ca_cert: null,
|
|
45
48
|
client_cert: null,
|
|
46
49
|
tls_validation: null,
|
|
47
50
|
proxy_url: null,
|
|
48
|
-
pulp_labels: null,
|
|
49
|
-
download_concurrency: null,
|
|
50
51
|
max_retries: null,
|
|
51
|
-
policy: null,
|
|
52
52
|
total_timeout: null,
|
|
53
53
|
connect_timeout: null,
|
|
54
54
|
sock_connect_timeout: null,
|
|
55
55
|
sock_read_timeout: null,
|
|
56
56
|
headers: null,
|
|
57
|
+
download_concurrency: null,
|
|
57
58
|
rate_limit: null,
|
|
58
|
-
hidden_fields: null,
|
|
59
59
|
prereleases: null,
|
|
60
60
|
includes: null,
|
|
61
61
|
excludes: null
|
data/docs/GemGemRepository.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
|
|
|
13
14
|
## Example
|
|
@@ -20,6 +21,7 @@ instance = PulpGemClient::GemGemRepository.new(
|
|
|
20
21
|
name: null,
|
|
21
22
|
description: null,
|
|
22
23
|
retain_repo_versions: null,
|
|
24
|
+
retain_checkpoints: null,
|
|
23
25
|
remote: null
|
|
24
26
|
)
|
|
25
27
|
```
|
|
@@ -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
|
|
|
19
20
|
## Example
|
|
@@ -32,6 +33,7 @@ instance = PulpGemClient::GemGemRepositoryResponse.new(
|
|
|
32
33
|
name: null,
|
|
33
34
|
description: null,
|
|
34
35
|
retain_repo_versions: null,
|
|
36
|
+
retain_checkpoints: null,
|
|
35
37
|
remote: null
|
|
36
38
|
)
|
|
37
39
|
```
|
|
@@ -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
|
| **remote** | **String** | Remote that can be used to fetch content when using pull-through caching. | [optional] |
|
|
15
16
|
|
|
@@ -25,6 +26,7 @@ instance = PulpGemClient::PatchedgemGemDistribution.new(
|
|
|
25
26
|
pulp_labels: null,
|
|
26
27
|
name: null,
|
|
27
28
|
repository: null,
|
|
29
|
+
repository_version: null,
|
|
28
30
|
publication: null,
|
|
29
31
|
remote: null
|
|
30
32
|
)
|
data/docs/PatchedgemGemRemote.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
|
| **prereleases** | **Boolean** | | [optional][default to false] |
|
|
29
29
|
| **includes** | **Hash<String, String>** | | [optional] |
|
|
@@ -37,6 +37,8 @@ require 'pulp_gem_client'
|
|
|
37
37
|
instance = PulpGemClient::PatchedgemGemRemote.new(
|
|
38
38
|
name: null,
|
|
39
39
|
url: null,
|
|
40
|
+
pulp_labels: null,
|
|
41
|
+
policy: null,
|
|
40
42
|
ca_cert: null,
|
|
41
43
|
client_cert: null,
|
|
42
44
|
client_key: null,
|
|
@@ -46,15 +48,13 @@ instance = PulpGemClient::PatchedgemGemRemote.new(
|
|
|
46
48
|
proxy_password: null,
|
|
47
49
|
username: null,
|
|
48
50
|
password: null,
|
|
49
|
-
pulp_labels: null,
|
|
50
|
-
download_concurrency: null,
|
|
51
51
|
max_retries: null,
|
|
52
|
-
policy: null,
|
|
53
52
|
total_timeout: null,
|
|
54
53
|
connect_timeout: null,
|
|
55
54
|
sock_connect_timeout: null,
|
|
56
55
|
sock_read_timeout: null,
|
|
57
56
|
headers: null,
|
|
57
|
+
download_concurrency: null,
|
|
58
58
|
rate_limit: null,
|
|
59
59
|
prereleases: null,
|
|
60
60
|
includes: 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
|
|
|
13
14
|
## Example
|
|
@@ -20,6 +21,7 @@ instance = PulpGemClient::PatchedgemGemRepository.new(
|
|
|
20
21
|
name: null,
|
|
21
22
|
description: null,
|
|
22
23
|
retain_repo_versions: null,
|
|
24
|
+
retain_checkpoints: null,
|
|
23
25
|
remote: null
|
|
24
26
|
)
|
|
25
27
|
```
|
data/docs/PublicationsGemApi.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
|
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# PulpGemClient::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_gem_client'
|
|
29
|
+
|
|
30
|
+
instance = PulpGemClient::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
|
+
# PulpGemClient::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_gem_client'
|
|
24
|
+
|
|
25
|
+
instance = PulpGemClient::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/RepositoriesGemApi.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] |
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
| **add_content_units** | **Array<String>** | A list of content units to add to a new repository version. This content is added after remove_content_units are removed. | [optional] |
|
|
8
8
|
| **remove_content_units** | **Array<String>** | A list of content units to remove from the latest repository version. You may also specify '*' as an entry to remove all content. This content is removed before add_content_units are added. | [optional] |
|
|
9
9
|
| **base_version** | **String** | A repository version whose content will be used as the initial set of content for the new repository version | [optional] |
|
|
10
|
+
| **overwrite** | **Boolean** | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Defaults to true. | [optional][default to true] |
|
|
10
11
|
|
|
11
12
|
## Example
|
|
12
13
|
|
|
@@ -16,7 +17,8 @@ require 'pulp_gem_client'
|
|
|
16
17
|
instance = PulpGemClient::RepositoryAddRemoveContent.new(
|
|
17
18
|
add_content_units: null,
|
|
18
19
|
remove_content_units: null,
|
|
19
|
-
base_version: null
|
|
20
|
+
base_version: null,
|
|
21
|
+
overwrite: null
|
|
20
22
|
)
|
|
21
23
|
```
|
|
22
24
|
|