pulp_ansible_client 0.29.6 → 0.29.7
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 +4 -4
- data/docs/AnsibleAnsibleRepository.md +2 -0
- data/docs/AnsibleAnsibleRepositoryResponse.md +2 -0
- data/docs/AnsibleCollectionVersionResponse.md +8 -8
- data/docs/AnsibleGitRemote.md +24 -24
- data/docs/AnsibleGitRemoteResponse.md +24 -24
- data/docs/AnsibleRoleResponse.md +8 -8
- data/docs/ContentCollectionVersionsApi.md +8 -8
- data/docs/PatchedansibleAnsibleRepository.md +2 -0
- data/docs/PatchedansibleGitRemote.md +24 -24
- data/docs/RepositoriesAnsibleApi.md +18 -2
- data/docs/Repository.md +2 -0
- data/docs/RepositoryResponse.md +2 -0
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +12 -12
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +27 -3
- data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +27 -1
- data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +27 -1
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +35 -35
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +241 -241
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +156 -156
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +35 -35
- data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +27 -1
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +231 -231
- data/lib/pulp_ansible_client/models/repository.rb +27 -1
- data/lib/pulp_ansible_client/models/repository_response.rb +27 -1
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/content_collection_versions_api_spec.rb +4 -4
- data/spec/api/repositories_ansible_api_spec.rb +9 -1
- data/spec/models/ansible_ansible_repository_response_spec.rb +6 -0
- data/spec/models/ansible_ansible_repository_spec.rb +6 -0
- data/spec/models/ansible_collection_version_response_spec.rb +6 -6
- data/spec/models/ansible_git_remote_response_spec.rb +19 -19
- data/spec/models/ansible_git_remote_spec.rb +20 -20
- data/spec/models/ansible_role_response_spec.rb +6 -6
- data/spec/models/patchedansible_ansible_repository_spec.rb +6 -0
- data/spec/models/patchedansible_git_remote_spec.rb +20 -20
- data/spec/models/repository_response_spec.rb +6 -0
- data/spec/models/repository_spec.rb +6 -0
- metadata +126 -126
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fd736d182aa7e92f8b8853965775ad9c7cf78b0581685c07caf1ae9b94e5d9ce
|
|
4
|
+
data.tar.gz: bf95085e0ccef4f5160b621225b81f7926b0682920ab35eaa8dcfaeeae61eb5f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8071d445cf3818c96047c7ac603440c7cf5430e243fefffd04122c404f4eb045439e09cd037ac030a149fbb3f5203bfbb17a997eac5135094f0a5831320de6b0
|
|
7
|
+
data.tar.gz: 186ac70d66565147666379ff438f6438253fd47f4a913fd4b3110145a685455b1b529df7ebeca8e8a6bedc499933a0b5b12a0726f579e0eb79cb2a78c54b0674
|
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.29.
|
|
10
|
+
- Package version: 0.29.7
|
|
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_ansible_client.gemspec
|
|
|
25
25
|
Then either install the gem locally:
|
|
26
26
|
|
|
27
27
|
```shell
|
|
28
|
-
gem install ./pulp_ansible_client-0.29.
|
|
28
|
+
gem install ./pulp_ansible_client-0.29.7.gem
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
(for development, run `gem install --dev ./pulp_ansible_client-0.29.
|
|
31
|
+
(for development, run `gem install --dev ./pulp_ansible_client-0.29.7.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_ansible_client', '~> 0.29.
|
|
37
|
+
gem 'pulp_ansible_client', '~> 0.29.7'
|
|
38
38
|
|
|
39
39
|
### Install from Git
|
|
40
40
|
|
|
@@ -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
|
| **last_synced_metadata_time** | **Time** | Last synced metadata time. | [optional] |
|
|
13
14
|
| **gpgkey** | **String** | Gpg public key to verify collection signatures against | [optional] |
|
|
@@ -23,6 +24,7 @@ instance = PulpAnsibleClient::AnsibleAnsibleRepository.new(
|
|
|
23
24
|
name: null,
|
|
24
25
|
description: null,
|
|
25
26
|
retain_repo_versions: null,
|
|
27
|
+
retain_checkpoints: null,
|
|
26
28
|
remote: null,
|
|
27
29
|
last_synced_metadata_time: null,
|
|
28
30
|
gpgkey: null,
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
| **name** | **String** | A unique name for this repository. | |
|
|
15
15
|
| **description** | **String** | An optional description. | [optional] |
|
|
16
16
|
| **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
|
|
17
|
+
| **retain_checkpoints** | **Integer** | Retain X checkpoint publications for the repository. Default is null which retains all checkpoints. | [optional] |
|
|
17
18
|
| **remote** | **String** | An optional remote to use by default when syncing. | [optional] |
|
|
18
19
|
| **last_synced_metadata_time** | **Time** | Last synced metadata time. | [optional] |
|
|
19
20
|
| **gpgkey** | **String** | Gpg public key to verify collection signatures against | [optional] |
|
|
@@ -36,6 +37,7 @@ instance = PulpAnsibleClient::AnsibleAnsibleRepositoryResponse.new(
|
|
|
36
37
|
name: null,
|
|
37
38
|
description: null,
|
|
38
39
|
retain_repo_versions: null,
|
|
40
|
+
retain_checkpoints: null,
|
|
39
41
|
remote: null,
|
|
40
42
|
last_synced_metadata_time: null,
|
|
41
43
|
gpgkey: null,
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **
|
|
7
|
+
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
8
8
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
9
|
-
| **pulp_href** | **String** | | [optional][readonly] |
|
|
10
9
|
| **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
|
|
11
|
-
| **
|
|
12
|
-
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
|
10
|
+
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
13
11
|
| **vuln_report** | **String** | | [optional][readonly] |
|
|
12
|
+
| **pulp_href** | **String** | | [optional][readonly] |
|
|
13
|
+
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
|
14
14
|
| **sha256** | **String** | The SHA-256 checksum if available. | [optional][readonly] |
|
|
15
15
|
| **md5** | **String** | The MD5 checksum if available. | [optional][readonly] |
|
|
16
16
|
| **sha1** | **String** | The SHA-1 checksum if available. | [optional][readonly] |
|
|
@@ -38,13 +38,13 @@
|
|
|
38
38
|
require 'pulp_ansible_client'
|
|
39
39
|
|
|
40
40
|
instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(
|
|
41
|
-
|
|
41
|
+
prn: null,
|
|
42
42
|
pulp_created: null,
|
|
43
|
-
pulp_href: null,
|
|
44
43
|
pulp_last_updated: null,
|
|
45
|
-
|
|
46
|
-
artifact: null,
|
|
44
|
+
pulp_labels: null,
|
|
47
45
|
vuln_report: null,
|
|
46
|
+
pulp_href: null,
|
|
47
|
+
artifact: null,
|
|
48
48
|
sha256: null,
|
|
49
49
|
md5: null,
|
|
50
50
|
sha1: null,
|
data/docs/AnsibleGitRemote.md
CHANGED
|
@@ -4,26 +4,26 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **
|
|
7
|
+
| **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
|
|
8
|
+
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
8
9
|
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
|
10
|
+
| **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] |
|
|
11
|
+
| **name** | **String** | A unique name for this remote. | |
|
|
9
12
|
| **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
|
|
13
|
+
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
14
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
15
|
+
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
16
|
+
| **url** | **String** | The URL of an external content source. | |
|
|
17
|
+
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
10
18
|
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
|
11
19
|
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
12
|
-
| **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] |
|
|
13
20
|
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
14
21
|
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
15
|
-
| **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] |
|
|
16
|
-
| **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] |
|
|
17
|
-
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
18
22
|
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
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] |
|
|
19
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] |
|
|
20
|
-
| **
|
|
21
|
-
| **
|
|
22
|
-
| **name** | **String** | A unique name for this remote. | |
|
|
23
|
-
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
24
|
-
| **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
|
|
25
|
-
| **url** | **String** | The URL of an external content source. | |
|
|
26
|
-
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
25
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
26
|
+
| **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] |
|
|
27
27
|
| **metadata_only** | **Boolean** | If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. | [optional] |
|
|
28
28
|
| **git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional] |
|
|
29
29
|
|
|
@@ -33,26 +33,26 @@
|
|
|
33
33
|
require 'pulp_ansible_client'
|
|
34
34
|
|
|
35
35
|
instance = PulpAnsibleClient::AnsibleGitRemote.new(
|
|
36
|
-
|
|
36
|
+
proxy_username: null,
|
|
37
|
+
rate_limit: null,
|
|
37
38
|
max_retries: null,
|
|
39
|
+
total_timeout: null,
|
|
40
|
+
name: null,
|
|
38
41
|
client_key: null,
|
|
42
|
+
ca_cert: null,
|
|
43
|
+
download_concurrency: null,
|
|
44
|
+
proxy_password: null,
|
|
45
|
+
url: null,
|
|
46
|
+
password: null,
|
|
39
47
|
username: null,
|
|
40
48
|
client_cert: null,
|
|
41
|
-
connect_timeout: null,
|
|
42
49
|
tls_validation: null,
|
|
43
50
|
headers: null,
|
|
44
|
-
total_timeout: null,
|
|
45
|
-
sock_connect_timeout: null,
|
|
46
|
-
proxy_password: null,
|
|
47
51
|
proxy_url: null,
|
|
52
|
+
sock_connect_timeout: null,
|
|
48
53
|
sock_read_timeout: null,
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
name: null,
|
|
52
|
-
rate_limit: null,
|
|
53
|
-
proxy_username: null,
|
|
54
|
-
url: null,
|
|
55
|
-
ca_cert: null,
|
|
54
|
+
pulp_labels: null,
|
|
55
|
+
connect_timeout: null,
|
|
56
56
|
metadata_only: null,
|
|
57
57
|
git_ref: null
|
|
58
58
|
)
|
|
@@ -4,26 +4,26 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **
|
|
8
|
-
| **
|
|
7
|
+
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
8
|
+
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
9
9
|
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
|
10
|
+
| **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] |
|
|
11
|
+
| **name** | **String** | A unique name for this remote. | |
|
|
12
|
+
| **hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFieldsInner>**](AnsibleCollectionRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional] |
|
|
13
|
+
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
14
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
15
|
+
| **url** | **String** | The URL of an external content source. | |
|
|
10
16
|
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
11
|
-
| **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] |
|
|
12
17
|
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
13
18
|
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
14
|
-
| **hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFieldsInner>**](AnsibleCollectionRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional] |
|
|
15
|
-
| **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] |
|
|
16
|
-
| **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] |
|
|
17
19
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
18
20
|
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
21
|
+
| **pulp_last_updated** | **Time** | Timestamp of the most recent update of the remote. | [optional][readonly] |
|
|
22
|
+
| **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
19
23
|
| **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
24
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
20
25
|
| **pulp_href** | **String** | | [optional][readonly] |
|
|
21
|
-
| **
|
|
22
|
-
| **name** | **String** | A unique name for this remote. | |
|
|
23
|
-
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
24
|
-
| **url** | **String** | The URL of an external content source. | |
|
|
25
|
-
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
26
|
-
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
26
|
+
| **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] |
|
|
27
27
|
| **metadata_only** | **Boolean** | If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. | [optional] |
|
|
28
28
|
| **git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional] |
|
|
29
29
|
|
|
@@ -33,26 +33,26 @@
|
|
|
33
33
|
require 'pulp_ansible_client'
|
|
34
34
|
|
|
35
35
|
instance = PulpAnsibleClient::AnsibleGitRemoteResponse.new(
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
prn: null,
|
|
37
|
+
rate_limit: null,
|
|
38
38
|
max_retries: null,
|
|
39
|
+
total_timeout: null,
|
|
40
|
+
name: null,
|
|
41
|
+
hidden_fields: null,
|
|
42
|
+
ca_cert: null,
|
|
43
|
+
download_concurrency: null,
|
|
44
|
+
url: null,
|
|
39
45
|
client_cert: null,
|
|
40
|
-
connect_timeout: null,
|
|
41
46
|
tls_validation: null,
|
|
42
47
|
headers: null,
|
|
43
|
-
hidden_fields: null,
|
|
44
|
-
total_timeout: null,
|
|
45
|
-
sock_connect_timeout: null,
|
|
46
48
|
pulp_created: null,
|
|
47
49
|
proxy_url: null,
|
|
50
|
+
pulp_last_updated: null,
|
|
51
|
+
sock_connect_timeout: null,
|
|
48
52
|
sock_read_timeout: null,
|
|
53
|
+
pulp_labels: null,
|
|
49
54
|
pulp_href: null,
|
|
50
|
-
|
|
51
|
-
name: null,
|
|
52
|
-
rate_limit: null,
|
|
53
|
-
url: null,
|
|
54
|
-
prn: null,
|
|
55
|
-
ca_cert: null,
|
|
55
|
+
connect_timeout: null,
|
|
56
56
|
metadata_only: null,
|
|
57
57
|
git_ref: null
|
|
58
58
|
)
|
data/docs/AnsibleRoleResponse.md
CHANGED
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **
|
|
7
|
+
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
8
8
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
9
|
-
| **pulp_href** | **String** | | [optional][readonly] |
|
|
10
9
|
| **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
|
|
11
|
-
| **
|
|
12
|
-
| **artifact** | **String** | Artifact file representing the physical content | |
|
|
10
|
+
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
13
11
|
| **vuln_report** | **String** | | [optional][readonly] |
|
|
12
|
+
| **pulp_href** | **String** | | [optional][readonly] |
|
|
13
|
+
| **artifact** | **String** | Artifact file representing the physical content | |
|
|
14
14
|
| **version** | **String** | | |
|
|
15
15
|
| **name** | **String** | | |
|
|
16
16
|
| **namespace** | **String** | | |
|
|
@@ -21,13 +21,13 @@
|
|
|
21
21
|
require 'pulp_ansible_client'
|
|
22
22
|
|
|
23
23
|
instance = PulpAnsibleClient::AnsibleRoleResponse.new(
|
|
24
|
-
|
|
24
|
+
prn: null,
|
|
25
25
|
pulp_created: null,
|
|
26
|
-
pulp_href: null,
|
|
27
26
|
pulp_last_updated: null,
|
|
28
|
-
|
|
29
|
-
artifact: null,
|
|
27
|
+
pulp_labels: null,
|
|
30
28
|
vuln_report: null,
|
|
29
|
+
pulp_href: null,
|
|
30
|
+
artifact: null,
|
|
31
31
|
version: null,
|
|
32
32
|
name: null,
|
|
33
33
|
namespace: null
|
|
@@ -34,13 +34,13 @@ end
|
|
|
34
34
|
api_instance = PulpAnsibleClient::ContentCollectionVersionsApi.new
|
|
35
35
|
opts = {
|
|
36
36
|
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
37
|
-
|
|
37
|
+
file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
|
|
38
|
+
downloader_config: PulpAnsibleClient::RemoteNetworkConfig.new, # RemoteNetworkConfig | Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
|
|
38
39
|
file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
|
|
39
|
-
|
|
40
|
+
pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
40
41
|
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
|
41
|
-
downloader_config: PulpAnsibleClient::RemoteNetworkConfig.new, # RemoteNetworkConfig | Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
|
|
42
|
-
file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
|
|
43
42
|
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
|
43
|
+
upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
|
|
44
44
|
expected_name: 'expected_name_example', # String | The name of the collection.
|
|
45
45
|
expected_namespace: 'expected_namespace_example', # String | The namespace of the collection.
|
|
46
46
|
expected_version: 'expected_version_example' # String | The version of the collection.
|
|
@@ -78,13 +78,13 @@ end
|
|
|
78
78
|
| Name | Type | Description | Notes |
|
|
79
79
|
| ---- | ---- | ----------- | ----- |
|
|
80
80
|
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
81
|
-
| **
|
|
81
|
+
| **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional] |
|
|
82
|
+
| **downloader_config** | [**RemoteNetworkConfig**](RemoteNetworkConfig.md) | Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url. | [optional] |
|
|
82
83
|
| **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
|
|
83
|
-
| **
|
|
84
|
+
| **pulp_labels** | [**Hash<String, String>**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
84
85
|
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [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] |
|
|
86
|
-
| **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional] |
|
|
87
86
|
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
|
87
|
+
| **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
|
|
88
88
|
| **expected_name** | **String** | The name of the collection. | [optional] |
|
|
89
89
|
| **expected_namespace** | **String** | The namespace of the collection. | [optional] |
|
|
90
90
|
| **expected_version** | **String** | The version of the collection. | [optional] |
|
|
@@ -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
|
| **last_synced_metadata_time** | **Time** | Last synced metadata time. | [optional] |
|
|
13
14
|
| **gpgkey** | **String** | Gpg public key to verify collection signatures against | [optional] |
|
|
@@ -23,6 +24,7 @@ instance = PulpAnsibleClient::PatchedansibleAnsibleRepository.new(
|
|
|
23
24
|
name: null,
|
|
24
25
|
description: null,
|
|
25
26
|
retain_repo_versions: null,
|
|
27
|
+
retain_checkpoints: null,
|
|
26
28
|
remote: null,
|
|
27
29
|
last_synced_metadata_time: null,
|
|
28
30
|
gpgkey: null,
|
|
@@ -4,26 +4,26 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **
|
|
7
|
+
| **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
|
|
8
|
+
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
8
9
|
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
|
10
|
+
| **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] |
|
|
11
|
+
| **name** | **String** | A unique name for this remote. | [optional] |
|
|
9
12
|
| **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
|
|
13
|
+
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
14
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
15
|
+
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
16
|
+
| **url** | **String** | The URL of an external content source. | [optional] |
|
|
17
|
+
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
10
18
|
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
|
11
19
|
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
12
|
-
| **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] |
|
|
13
20
|
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
14
21
|
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
15
|
-
| **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] |
|
|
16
|
-
| **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] |
|
|
17
|
-
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
18
22
|
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
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] |
|
|
19
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] |
|
|
20
|
-
| **
|
|
21
|
-
| **
|
|
22
|
-
| **name** | **String** | A unique name for this remote. | [optional] |
|
|
23
|
-
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
24
|
-
| **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
|
|
25
|
-
| **url** | **String** | The URL of an external content source. | [optional] |
|
|
26
|
-
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
25
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
26
|
+
| **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] |
|
|
27
27
|
| **metadata_only** | **Boolean** | If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. | [optional] |
|
|
28
28
|
| **git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional] |
|
|
29
29
|
|
|
@@ -33,26 +33,26 @@
|
|
|
33
33
|
require 'pulp_ansible_client'
|
|
34
34
|
|
|
35
35
|
instance = PulpAnsibleClient::PatchedansibleGitRemote.new(
|
|
36
|
-
|
|
36
|
+
proxy_username: null,
|
|
37
|
+
rate_limit: null,
|
|
37
38
|
max_retries: null,
|
|
39
|
+
total_timeout: null,
|
|
40
|
+
name: null,
|
|
38
41
|
client_key: null,
|
|
42
|
+
ca_cert: null,
|
|
43
|
+
download_concurrency: null,
|
|
44
|
+
proxy_password: null,
|
|
45
|
+
url: null,
|
|
46
|
+
password: null,
|
|
39
47
|
username: null,
|
|
40
48
|
client_cert: null,
|
|
41
|
-
connect_timeout: null,
|
|
42
49
|
tls_validation: null,
|
|
43
50
|
headers: null,
|
|
44
|
-
total_timeout: null,
|
|
45
|
-
sock_connect_timeout: null,
|
|
46
|
-
proxy_password: null,
|
|
47
51
|
proxy_url: null,
|
|
52
|
+
sock_connect_timeout: null,
|
|
48
53
|
sock_read_timeout: null,
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
name: null,
|
|
52
|
-
rate_limit: null,
|
|
53
|
-
proxy_username: null,
|
|
54
|
-
url: null,
|
|
55
|
-
ca_cert: null,
|
|
54
|
+
pulp_labels: null,
|
|
55
|
+
connect_timeout: null,
|
|
56
56
|
metadata_only: null,
|
|
57
57
|
git_ref: null
|
|
58
58
|
)
|
|
@@ -361,13 +361,21 @@ opts = {
|
|
|
361
361
|
name__regex: 'name__regex_example', # String | Filter results where name matches regex value
|
|
362
362
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
|
363
363
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
364
|
-
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)
|
|
364
|
+
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)
|
|
365
365
|
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
366
366
|
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
367
367
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
368
368
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
|
369
369
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
|
370
370
|
remote: 'remote_example', # String |
|
|
371
|
+
retain_checkpoints: 56, # Integer | Filter results where retain_checkpoints matches value
|
|
372
|
+
retain_checkpoints__gt: 56, # Integer | Filter results where retain_checkpoints is greater than value
|
|
373
|
+
retain_checkpoints__gte: 56, # Integer | Filter results where retain_checkpoints is greater than or equal to value
|
|
374
|
+
retain_checkpoints__isnull: true, # Boolean | Filter results where retain_checkpoints has a null value
|
|
375
|
+
retain_checkpoints__lt: 56, # Integer | Filter results where retain_checkpoints is less than value
|
|
376
|
+
retain_checkpoints__lte: 56, # Integer | Filter results where retain_checkpoints is less than or equal to value
|
|
377
|
+
retain_checkpoints__ne: 56, # Integer | Filter results where retain_checkpoints not equal to value
|
|
378
|
+
retain_checkpoints__range: [37], # Array<Integer> | Filter results where retain_checkpoints is between two comma separated values
|
|
371
379
|
retain_repo_versions: 56, # Integer | Filter results where retain_repo_versions matches value
|
|
372
380
|
retain_repo_versions__gt: 56, # Integer | Filter results where retain_repo_versions is greater than value
|
|
373
381
|
retain_repo_versions__gte: 56, # Integer | Filter results where retain_repo_versions is greater than or equal to value
|
|
@@ -425,13 +433,21 @@ end
|
|
|
425
433
|
| **name__regex** | **String** | Filter results where name matches regex value | [optional] |
|
|
426
434
|
| **name__startswith** | **String** | Filter results where name starts with value | [optional] |
|
|
427
435
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
|
428
|
-
| **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] |
|
|
436
|
+
| **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] |
|
|
429
437
|
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
430
438
|
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
431
439
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
432
440
|
| **pulp_label_select** | **String** | Filter labels by search string | [optional] |
|
|
433
441
|
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
|
434
442
|
| **remote** | **String** | | [optional] |
|
|
443
|
+
| **retain_checkpoints** | **Integer** | Filter results where retain_checkpoints matches value | [optional] |
|
|
444
|
+
| **retain_checkpoints__gt** | **Integer** | Filter results where retain_checkpoints is greater than value | [optional] |
|
|
445
|
+
| **retain_checkpoints__gte** | **Integer** | Filter results where retain_checkpoints is greater than or equal to value | [optional] |
|
|
446
|
+
| **retain_checkpoints__isnull** | **Boolean** | Filter results where retain_checkpoints has a null value | [optional] |
|
|
447
|
+
| **retain_checkpoints__lt** | **Integer** | Filter results where retain_checkpoints is less than value | [optional] |
|
|
448
|
+
| **retain_checkpoints__lte** | **Integer** | Filter results where retain_checkpoints is less than or equal to value | [optional] |
|
|
449
|
+
| **retain_checkpoints__ne** | **Integer** | Filter results where retain_checkpoints not equal to value | [optional] |
|
|
450
|
+
| **retain_checkpoints__range** | [**Array<Integer>**](Integer.md) | Filter results where retain_checkpoints is between two comma separated values | [optional] |
|
|
435
451
|
| **retain_repo_versions** | **Integer** | Filter results where retain_repo_versions matches value | [optional] |
|
|
436
452
|
| **retain_repo_versions__gt** | **Integer** | Filter results where retain_repo_versions is greater than value | [optional] |
|
|
437
453
|
| **retain_repo_versions__gte** | **Integer** | Filter results where retain_repo_versions is greater than or equal to value | [optional] |
|
data/docs/Repository.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 = PulpAnsibleClient::Repository.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/RepositoryResponse.md
CHANGED
|
@@ -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 = PulpAnsibleClient::RepositoryResponse.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
|
```
|
|
@@ -23,13 +23,13 @@ module PulpAnsibleClient
|
|
|
23
23
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
|
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
|
-
# @option opts [
|
|
26
|
+
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
|
27
|
+
# @option opts [RemoteNetworkConfig] :downloader_config Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
|
|
27
28
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
28
|
-
# @option opts [String] :
|
|
29
|
+
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
29
30
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
30
|
-
# @option opts [RemoteNetworkConfig] :downloader_config Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
|
|
31
|
-
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
|
32
31
|
# @option opts [String] :artifact Artifact file representing the physical content
|
|
32
|
+
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
33
33
|
# @option opts [String] :expected_name The name of the collection.
|
|
34
34
|
# @option opts [String] :expected_namespace The namespace of the collection.
|
|
35
35
|
# @option opts [String] :expected_version The version of the collection.
|
|
@@ -43,13 +43,13 @@ module PulpAnsibleClient
|
|
|
43
43
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
|
44
44
|
# @param [Hash] opts the optional parameters
|
|
45
45
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
46
|
-
# @option opts [
|
|
46
|
+
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
|
47
|
+
# @option opts [RemoteNetworkConfig] :downloader_config Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
|
|
47
48
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
48
|
-
# @option opts [String] :
|
|
49
|
+
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
49
50
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
50
|
-
# @option opts [RemoteNetworkConfig] :downloader_config Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
|
|
51
|
-
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
|
52
51
|
# @option opts [String] :artifact Artifact file representing the physical content
|
|
52
|
+
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
53
53
|
# @option opts [String] :expected_name The name of the collection.
|
|
54
54
|
# @option opts [String] :expected_namespace The namespace of the collection.
|
|
55
55
|
# @option opts [String] :expected_version The version of the collection.
|
|
@@ -105,13 +105,13 @@ module PulpAnsibleClient
|
|
|
105
105
|
|
|
106
106
|
# form parameters
|
|
107
107
|
form_params = opts[:form_params] || {}
|
|
108
|
-
form_params['
|
|
108
|
+
form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
|
|
109
|
+
form_params['downloader_config'] = opts[:'downloader_config'] if !opts[:'downloader_config'].nil?
|
|
109
110
|
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
|
110
|
-
form_params['
|
|
111
|
+
form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
|
|
111
112
|
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
|
112
|
-
form_params['downloader_config'] = opts[:'downloader_config'] if !opts[:'downloader_config'].nil?
|
|
113
|
-
form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
|
|
114
113
|
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
|
114
|
+
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
|
115
115
|
form_params['expected_name'] = opts[:'expected_name'] if !opts[:'expected_name'].nil?
|
|
116
116
|
form_params['expected_namespace'] = opts[:'expected_namespace'] if !opts[:'expected_namespace'].nil?
|
|
117
117
|
form_params['expected_version'] = opts[:'expected_version'] if !opts[:'expected_version'].nil?
|