pulp_gem_client 0.7.5 → 0.7.6
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 +5 -4
- data/docs/ContentGemApi.md +8 -6
- 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/RepositoriesGemApi.md +20 -4
- data/docs/RepositoryAddRemoveContent.md +3 -1
- data/lib/pulp_gem_client/api/content_gem_api.rb +9 -6
- 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/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/spec/api/content_gem_api_spec.rb +4 -3
- 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/repository_add_remove_content_spec.rb +6 -0
- metadata +32 -32
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: df46a74dcfe58b7b03dafd47a6e5cd09cff617f38fad93bb11dab4804640d9e5
|
|
4
|
+
data.tar.gz: e10fab4afdd6fa16f66f1e53401c29d841e157a8016cf03c418023f6251f7f0a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7bef81b429197e5aab81861bdf75a6b77956170b0035e0fc45d0dac53a981dcdd3ecd060113678cbcdfbba1cc11e14e266058d5f5a19864924e994fd25b2039c
|
|
7
|
+
data.tar.gz: ca2e2bcd3ea11915de68b186fa9a221dabff4c8b9b3b1d1a2b09b87bcfdb7258134589ba1d79a8c81aecabb6e915da132ad0a3abdfeee845ab0910b15bbd145a
|
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.7.
|
|
10
|
+
- Package version: 0.7.6
|
|
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.7.
|
|
28
|
+
gem install ./pulp_gem_client-0.7.6.gem
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
(for development, run `gem install --dev ./pulp_gem_client-0.7.
|
|
31
|
+
(for development, run `gem install --dev ./pulp_gem_client-0.7.6.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.7.
|
|
37
|
+
gem 'pulp_gem_client', '~> 0.7.6'
|
|
38
38
|
|
|
39
39
|
### Install from Git
|
|
40
40
|
|
|
@@ -71,6 +71,7 @@ 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
|
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
|
76
77
|
file: File.new('/path/to/some/file') # File | An uploaded file that should be turned into the artifact of the content unit.
|
data/docs/ContentGemApi.md
CHANGED
|
@@ -35,6 +35,7 @@ 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
|
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
|
40
41
|
file: File.new('/path/to/some/file') # File | An uploaded file that should be turned into the artifact of the content unit.
|
|
@@ -73,6 +74,7 @@ end
|
|
|
73
74
|
| ---- | ---- | ----------- | ----- |
|
|
74
75
|
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
75
76
|
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
|
77
|
+
| **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
78
|
| **pulp_labels** | [**Hash<String, String>**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
77
79
|
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
|
78
80
|
| **file** | **File** | An uploaded file that should be turned into the artifact of the content unit. | [optional] |
|
|
@@ -126,9 +128,9 @@ opts = {
|
|
|
126
128
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
127
129
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
|
128
130
|
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 |
|
|
131
|
+
repository_version: 'repository_version_example', # String |
|
|
132
|
+
repository_version_added: 'repository_version_added_example', # String |
|
|
133
|
+
repository_version_removed: 'repository_version_removed_example', # String |
|
|
132
134
|
version: 'version_example', # String | Filter results where version matches value
|
|
133
135
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
|
134
136
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
|
@@ -178,9 +180,9 @@ end
|
|
|
178
180
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
179
181
|
| **pulp_label_select** | **String** | Filter labels by search string | [optional] |
|
|
180
182
|
| **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** |
|
|
183
|
+
| **repository_version** | **String** | | [optional] |
|
|
184
|
+
| **repository_version_added** | **String** | | [optional] |
|
|
185
|
+
| **repository_version_removed** | **String** | | [optional] |
|
|
184
186
|
| **version** | **String** | Filter results where version matches value | [optional] |
|
|
185
187
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
|
186
188
|
| **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
|
|
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
|
|
|
@@ -24,6 +24,7 @@ module PulpGemClient
|
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
|
25
25
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
26
26
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
27
|
+
# @option opts [Boolean] :overwrite 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.
|
|
27
28
|
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
28
29
|
# @option opts [String] :artifact Artifact file representing the physical content
|
|
29
30
|
# @option opts [File] :file An uploaded file that should be turned into the artifact of the content unit.
|
|
@@ -38,6 +39,7 @@ module PulpGemClient
|
|
|
38
39
|
# @param [Hash] opts the optional parameters
|
|
39
40
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
40
41
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
42
|
+
# @option opts [Boolean] :overwrite 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.
|
|
41
43
|
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
42
44
|
# @option opts [String] :artifact Artifact file representing the physical content
|
|
43
45
|
# @option opts [File] :file An uploaded file that should be turned into the artifact of the content unit.
|
|
@@ -66,6 +68,7 @@ module PulpGemClient
|
|
|
66
68
|
# form parameters
|
|
67
69
|
form_params = opts[:form_params] || {}
|
|
68
70
|
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
|
71
|
+
form_params['overwrite'] = opts[:'overwrite'] if !opts[:'overwrite'].nil?
|
|
69
72
|
form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
|
|
70
73
|
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
|
71
74
|
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
|
@@ -112,9 +115,9 @@ module PulpGemClient
|
|
|
112
115
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
113
116
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
114
117
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
115
|
-
# @option opts [String] :repository_version
|
|
116
|
-
# @option opts [String] :repository_version_added
|
|
117
|
-
# @option opts [String] :repository_version_removed
|
|
118
|
+
# @option opts [String] :repository_version
|
|
119
|
+
# @option opts [String] :repository_version_added
|
|
120
|
+
# @option opts [String] :repository_version_removed
|
|
118
121
|
# @option opts [String] :version Filter results where version matches value
|
|
119
122
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
120
123
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
@@ -140,9 +143,9 @@ module PulpGemClient
|
|
|
140
143
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
141
144
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
142
145
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
143
|
-
# @option opts [String] :repository_version
|
|
144
|
-
# @option opts [String] :repository_version_added
|
|
145
|
-
# @option opts [String] :repository_version_removed
|
|
146
|
+
# @option opts [String] :repository_version
|
|
147
|
+
# @option opts [String] :repository_version_added
|
|
148
|
+
# @option opts [String] :repository_version_removed
|
|
146
149
|
# @option opts [String] :version Filter results where version matches value
|
|
147
150
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
148
151
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
@@ -259,8 +259,8 @@ module PulpGemClient
|
|
|
259
259
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
260
260
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
261
261
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
262
|
-
# @option opts [String] :repository
|
|
263
|
-
# @option opts [Array<String>] :repository__in
|
|
262
|
+
# @option opts [String] :repository
|
|
263
|
+
# @option opts [Array<String>] :repository__in
|
|
264
264
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
|
265
265
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
266
266
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
@@ -296,8 +296,8 @@ module PulpGemClient
|
|
|
296
296
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
297
297
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
298
298
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
299
|
-
# @option opts [String] :repository
|
|
300
|
-
# @option opts [Array<String>] :repository__in
|
|
299
|
+
# @option opts [String] :repository
|
|
300
|
+
# @option opts [Array<String>] :repository__in
|
|
301
301
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
|
302
302
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
303
303
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
@@ -253,7 +253,7 @@ module PulpGemClient
|
|
|
253
253
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
254
254
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
255
255
|
# @option opts [String] :repository Repository referenced by HREF/PRN
|
|
256
|
-
# @option opts [String] :repository_version
|
|
256
|
+
# @option opts [String] :repository_version
|
|
257
257
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
258
258
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
259
259
|
# @return [PaginatedgemGemPublicationResponseList]
|
|
@@ -284,7 +284,7 @@ module PulpGemClient
|
|
|
284
284
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
285
285
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
286
286
|
# @option opts [String] :repository Repository referenced by HREF/PRN
|
|
287
|
-
# @option opts [String] :repository_version
|
|
287
|
+
# @option opts [String] :repository_version
|
|
288
288
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
289
289
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
290
290
|
# @return [Array<(PaginatedgemGemPublicationResponseList, Integer, Hash)>] PaginatedgemGemPublicationResponseList data, response status code and response headers
|