pulp_ansible_client 0.28.1 → 0.28.3
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/AnsibleCollectionVersionResponse.md +6 -14
- data/docs/AnsibleGitRemote.md +28 -28
- data/docs/AnsibleGitRemoteResponse.md +26 -26
- data/docs/AnsibleRoleResponse.md +6 -6
- data/docs/ContentCollectionVersionsApi.md +6 -6
- data/docs/PatchedansibleGitRemote.md +28 -28
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +9 -9
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +31 -73
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +239 -239
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +145 -145
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +31 -31
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +232 -232
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/content_collection_versions_api_spec.rb +3 -3
- data/spec/models/ansible_collection_version_response_spec.rb +6 -30
- data/spec/models/ansible_git_remote_response_spec.rb +18 -18
- data/spec/models/ansible_git_remote_spec.rb +20 -20
- data/spec/models/ansible_role_response_spec.rb +6 -6
- data/spec/models/patchedansible_git_remote_spec.rb +20 -20
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3d51df4dfb5d983fbbf11223d9c46beef4dd60af556e7e9ef1f889365d66a3d7
|
|
4
|
+
data.tar.gz: dde7bacaa5f9bd51551bfb502906a98a3d1899d06d5652e3c645488a0e3324e6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cf8b690624e4426d8733411257618483c1457e2b2d5b4a577a54e642d976e495f483e542a5c2f510c67281c75f09d42635b0a77839efb18aefb1dcbe72bb8aa9
|
|
7
|
+
data.tar.gz: bc8091b2a87a3944f378e3a0d19edb50635b853a3cf3c84111cf83b3d736b3266993ad61684e0b131485bf0b1eccf341c7c8df27b4d3201ee6938a873fad8d12
|
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.28.
|
|
10
|
+
- Package version: 0.28.3
|
|
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.28.
|
|
28
|
+
gem install ./pulp_ansible_client-0.28.3.gem
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
(for development, run `gem install --dev ./pulp_ansible_client-0.28.
|
|
31
|
+
(for development, run `gem install --dev ./pulp_ansible_client-0.28.3.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.28.
|
|
37
|
+
gem 'pulp_ansible_client', '~> 0.28.3'
|
|
38
38
|
|
|
39
39
|
### Install from Git
|
|
40
40
|
|
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
8
|
-
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
9
7
|
| **pulp_href** | **String** | | [optional][readonly] |
|
|
10
8
|
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
11
|
-
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
|
12
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] |
|
|
10
|
+
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
11
|
+
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
12
|
+
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
|
13
13
|
| **vuln_report** | **String** | | [optional][readonly] |
|
|
14
14
|
| **sha256** | **String** | The SHA-256 checksum if available. | [optional][readonly] |
|
|
15
15
|
| **md5** | **String** | The MD5 checksum if available. | [optional][readonly] |
|
|
@@ -19,12 +19,8 @@
|
|
|
19
19
|
| **sha512** | **String** | The SHA-512 checksum if available. | [optional][readonly] |
|
|
20
20
|
| **id** | **String** | A collection identifier. | [optional][readonly] |
|
|
21
21
|
| **authors** | **Array<String>** | A list of the CollectionVersion content's authors. | [optional] |
|
|
22
|
-
| **contents** | **Array<Object>** | A JSON field with data about the contents. | [optional] |
|
|
23
22
|
| **dependencies** | **Object** | A dict declaring Collections that this collection requires to be installed for it to be usable. | [optional][readonly] |
|
|
24
23
|
| **description** | **String** | A short summary description of the collection. | [optional][readonly] |
|
|
25
|
-
| **docs_blob** | **Object** | A JSON field holding the various documentation blobs in the collection. | [optional][readonly] |
|
|
26
|
-
| **manifest** | **Object** | A JSON field holding MANIFEST.json data. | [optional][readonly] |
|
|
27
|
-
| **files** | **Object** | A JSON field holding FILES.json data. | [optional][readonly] |
|
|
28
24
|
| **documentation** | **String** | The URL to any online docs. | [optional][readonly] |
|
|
29
25
|
| **homepage** | **String** | The URL to the homepage of the collection/project. | [optional][readonly] |
|
|
30
26
|
| **issues** | **String** | The URL to the collection issue tracker. | [optional][readonly] |
|
|
@@ -42,12 +38,12 @@
|
|
|
42
38
|
require 'pulp_ansible_client'
|
|
43
39
|
|
|
44
40
|
instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(
|
|
45
|
-
prn: null,
|
|
46
|
-
pulp_created: null,
|
|
47
41
|
pulp_href: null,
|
|
48
42
|
pulp_labels: null,
|
|
49
|
-
artifact: null,
|
|
50
43
|
pulp_last_updated: null,
|
|
44
|
+
pulp_created: null,
|
|
45
|
+
prn: null,
|
|
46
|
+
artifact: null,
|
|
51
47
|
vuln_report: null,
|
|
52
48
|
sha256: null,
|
|
53
49
|
md5: null,
|
|
@@ -57,12 +53,8 @@ instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(
|
|
|
57
53
|
sha512: null,
|
|
58
54
|
id: null,
|
|
59
55
|
authors: null,
|
|
60
|
-
contents: null,
|
|
61
56
|
dependencies: null,
|
|
62
57
|
description: null,
|
|
63
|
-
docs_blob: null,
|
|
64
|
-
manifest: null,
|
|
65
|
-
files: null,
|
|
66
58
|
documentation: null,
|
|
67
59
|
homepage: null,
|
|
68
60
|
issues: null,
|
data/docs/AnsibleGitRemote.md
CHANGED
|
@@ -4,26 +4,26 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
8
|
-
| **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] |
|
|
9
7
|
| **name** | **String** | A unique name for this remote. | |
|
|
10
|
-
| **
|
|
11
|
-
| **
|
|
12
|
-
| **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
|
|
13
|
-
| **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] |
|
|
8
|
+
| **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] |
|
|
9
|
+
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
14
10
|
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
|
11
|
+
| **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
|
|
15
12
|
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
16
|
-
| **
|
|
17
|
-
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
18
|
-
| **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] |
|
|
19
|
-
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
20
|
-
| **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
|
|
21
|
-
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
13
|
+
| **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] |
|
|
22
14
|
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
23
15
|
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
24
|
-
| **
|
|
25
|
-
| **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] |
|
|
16
|
+
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
26
17
|
| **url** | **String** | The URL of an external content source. | |
|
|
18
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
19
|
+
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
|
20
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
21
|
+
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
22
|
+
| **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
|
|
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
|
+
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
25
|
+
| **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] |
|
|
26
|
+
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [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
|
-
password: null,
|
|
37
|
-
connect_timeout: null,
|
|
38
36
|
name: null,
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
client_key: null,
|
|
42
|
-
sock_read_timeout: null,
|
|
37
|
+
total_timeout: null,
|
|
38
|
+
headers: null,
|
|
43
39
|
max_retries: null,
|
|
40
|
+
client_key: null,
|
|
44
41
|
ca_cert: null,
|
|
45
|
-
|
|
46
|
-
rate_limit: null,
|
|
47
|
-
total_timeout: null,
|
|
48
|
-
proxy_password: null,
|
|
49
|
-
proxy_username: null,
|
|
50
|
-
proxy_url: null,
|
|
42
|
+
sock_connect_timeout: null,
|
|
51
43
|
tls_validation: null,
|
|
52
44
|
client_cert: null,
|
|
53
|
-
|
|
54
|
-
sock_connect_timeout: null,
|
|
45
|
+
rate_limit: null,
|
|
55
46
|
url: null,
|
|
47
|
+
download_concurrency: null,
|
|
48
|
+
username: null,
|
|
49
|
+
pulp_labels: null,
|
|
50
|
+
password: null,
|
|
51
|
+
proxy_username: null,
|
|
52
|
+
sock_read_timeout: null,
|
|
53
|
+
proxy_password: null,
|
|
54
|
+
connect_timeout: null,
|
|
55
|
+
proxy_url: 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
|
-
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
8
|
-
| **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] |
|
|
9
7
|
| **name** | **String** | A unique name for this remote. | |
|
|
10
|
-
| **
|
|
11
|
-
| **
|
|
12
|
-
| **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] |
|
|
8
|
+
| **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] |
|
|
9
|
+
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
13
10
|
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
|
14
11
|
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
12
|
+
| **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] |
|
|
13
|
+
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
14
|
+
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
15
15
|
| **hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFieldsInner>**](AnsibleCollectionRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional] |
|
|
16
16
|
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
17
|
-
| **
|
|
18
|
-
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
17
|
+
| **url** | **String** | The URL of an external content source. | |
|
|
19
18
|
| **pulp_href** | **String** | | [optional][readonly] |
|
|
20
|
-
| **
|
|
21
|
-
| **
|
|
19
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
20
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
22
21
|
| **pulp_last_updated** | **Time** | Timestamp of the most recent update of the remote. | [optional][readonly] |
|
|
23
|
-
| **
|
|
24
|
-
| **
|
|
25
|
-
| **
|
|
26
|
-
| **
|
|
22
|
+
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
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
|
+
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
25
|
+
| **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] |
|
|
26
|
+
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [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
|
-
pulp_created: null,
|
|
37
|
-
connect_timeout: null,
|
|
38
36
|
name: null,
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
sock_read_timeout: null,
|
|
37
|
+
total_timeout: null,
|
|
38
|
+
headers: null,
|
|
42
39
|
max_retries: null,
|
|
43
40
|
ca_cert: null,
|
|
41
|
+
sock_connect_timeout: null,
|
|
42
|
+
tls_validation: null,
|
|
43
|
+
client_cert: null,
|
|
44
44
|
hidden_fields: null,
|
|
45
45
|
rate_limit: null,
|
|
46
|
-
|
|
47
|
-
prn: null,
|
|
46
|
+
url: null,
|
|
48
47
|
pulp_href: null,
|
|
49
|
-
|
|
50
|
-
|
|
48
|
+
download_concurrency: null,
|
|
49
|
+
pulp_labels: null,
|
|
51
50
|
pulp_last_updated: null,
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
51
|
+
pulp_created: null,
|
|
52
|
+
sock_read_timeout: null,
|
|
53
|
+
prn: null,
|
|
54
|
+
connect_timeout: null,
|
|
55
|
+
proxy_url: null,
|
|
56
56
|
metadata_only: null,
|
|
57
57
|
git_ref: null
|
|
58
58
|
)
|
data/docs/AnsibleRoleResponse.md
CHANGED
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
8
|
-
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
9
7
|
| **pulp_href** | **String** | | [optional][readonly] |
|
|
10
8
|
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
11
|
-
| **artifact** | **String** | Artifact file representing the physical content | |
|
|
12
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] |
|
|
10
|
+
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
11
|
+
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
12
|
+
| **artifact** | **String** | Artifact file representing the physical content | |
|
|
13
13
|
| **vuln_report** | **String** | | [optional][readonly] |
|
|
14
14
|
| **version** | **String** | | |
|
|
15
15
|
| **name** | **String** | | |
|
|
@@ -21,12 +21,12 @@
|
|
|
21
21
|
require 'pulp_ansible_client'
|
|
22
22
|
|
|
23
23
|
instance = PulpAnsibleClient::AnsibleRoleResponse.new(
|
|
24
|
-
prn: null,
|
|
25
|
-
pulp_created: null,
|
|
26
24
|
pulp_href: null,
|
|
27
25
|
pulp_labels: null,
|
|
28
|
-
artifact: null,
|
|
29
26
|
pulp_last_updated: null,
|
|
27
|
+
pulp_created: null,
|
|
28
|
+
prn: null,
|
|
29
|
+
artifact: null,
|
|
30
30
|
vuln_report: null,
|
|
31
31
|
version: null,
|
|
32
32
|
name: null,
|
|
@@ -34,12 +34,12 @@ 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
|
+
file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
|
|
37
38
|
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
|
38
|
-
pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
39
|
-
upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
|
|
40
39
|
file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
|
|
40
|
+
pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
41
41
|
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
|
42
|
-
|
|
42
|
+
upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
|
|
43
43
|
expected_name: 'expected_name_example', # String | The name of the collection.
|
|
44
44
|
expected_namespace: 'expected_namespace_example', # String | The namespace of the collection.
|
|
45
45
|
expected_version: 'expected_version_example' # String | The version of the collection.
|
|
@@ -77,12 +77,12 @@ end
|
|
|
77
77
|
| Name | Type | Description | Notes |
|
|
78
78
|
| ---- | ---- | ----------- | ----- |
|
|
79
79
|
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
80
|
+
| **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
|
|
80
81
|
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
|
81
|
-
| **pulp_labels** | [**Hash<String, String>**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
82
|
-
| **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
|
|
83
82
|
| **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional] |
|
|
83
|
+
| **pulp_labels** | [**Hash<String, String>**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
84
84
|
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
|
85
|
-
| **
|
|
85
|
+
| **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
|
|
86
86
|
| **expected_name** | **String** | The name of the collection. | [optional] |
|
|
87
87
|
| **expected_namespace** | **String** | The namespace of the collection. | [optional] |
|
|
88
88
|
| **expected_version** | **String** | The version of the collection. | [optional] |
|
|
@@ -4,26 +4,26 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
8
|
-
| **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] |
|
|
9
7
|
| **name** | **String** | A unique name for this remote. | [optional] |
|
|
10
|
-
| **
|
|
11
|
-
| **
|
|
12
|
-
| **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
|
|
13
|
-
| **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] |
|
|
8
|
+
| **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] |
|
|
9
|
+
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
14
10
|
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
|
11
|
+
| **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
|
|
15
12
|
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
16
|
-
| **
|
|
17
|
-
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
18
|
-
| **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] |
|
|
19
|
-
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
20
|
-
| **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
|
|
21
|
-
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
13
|
+
| **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] |
|
|
22
14
|
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
23
15
|
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
24
|
-
| **
|
|
25
|
-
| **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] |
|
|
16
|
+
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
26
17
|
| **url** | **String** | The URL of an external content source. | [optional] |
|
|
18
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
19
|
+
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
|
20
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
21
|
+
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
22
|
+
| **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
|
|
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
|
+
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
25
|
+
| **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] |
|
|
26
|
+
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [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
|
-
password: null,
|
|
37
|
-
connect_timeout: null,
|
|
38
36
|
name: null,
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
client_key: null,
|
|
42
|
-
sock_read_timeout: null,
|
|
37
|
+
total_timeout: null,
|
|
38
|
+
headers: null,
|
|
43
39
|
max_retries: null,
|
|
40
|
+
client_key: null,
|
|
44
41
|
ca_cert: null,
|
|
45
|
-
|
|
46
|
-
rate_limit: null,
|
|
47
|
-
total_timeout: null,
|
|
48
|
-
proxy_password: null,
|
|
49
|
-
proxy_username: null,
|
|
50
|
-
proxy_url: null,
|
|
42
|
+
sock_connect_timeout: null,
|
|
51
43
|
tls_validation: null,
|
|
52
44
|
client_cert: null,
|
|
53
|
-
|
|
54
|
-
sock_connect_timeout: null,
|
|
45
|
+
rate_limit: null,
|
|
55
46
|
url: null,
|
|
47
|
+
download_concurrency: null,
|
|
48
|
+
username: null,
|
|
49
|
+
pulp_labels: null,
|
|
50
|
+
password: null,
|
|
51
|
+
proxy_username: null,
|
|
52
|
+
sock_read_timeout: null,
|
|
53
|
+
proxy_password: null,
|
|
54
|
+
connect_timeout: null,
|
|
55
|
+
proxy_url: null,
|
|
56
56
|
metadata_only: null,
|
|
57
57
|
git_ref: null
|
|
58
58
|
)
|
|
@@ -23,12 +23,12 @@ 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 [File] :file An uploaded file that may be turned into the content unit.
|
|
26
27
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
27
|
-
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
28
|
-
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
29
28
|
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
|
29
|
+
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
30
30
|
# @option opts [String] :artifact Artifact file representing the physical content
|
|
31
|
-
# @option opts [
|
|
31
|
+
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
32
32
|
# @option opts [String] :expected_name The name of the collection.
|
|
33
33
|
# @option opts [String] :expected_namespace The namespace of the collection.
|
|
34
34
|
# @option opts [String] :expected_version The version of the collection.
|
|
@@ -42,12 +42,12 @@ module PulpAnsibleClient
|
|
|
42
42
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
|
43
43
|
# @param [Hash] opts the optional parameters
|
|
44
44
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
45
|
+
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
45
46
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
46
|
-
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
47
|
-
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
48
47
|
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
|
48
|
+
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
49
49
|
# @option opts [String] :artifact Artifact file representing the physical content
|
|
50
|
-
# @option opts [
|
|
50
|
+
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
51
51
|
# @option opts [String] :expected_name The name of the collection.
|
|
52
52
|
# @option opts [String] :expected_namespace The namespace of the collection.
|
|
53
53
|
# @option opts [String] :expected_version The version of the collection.
|
|
@@ -103,12 +103,12 @@ module PulpAnsibleClient
|
|
|
103
103
|
|
|
104
104
|
# form parameters
|
|
105
105
|
form_params = opts[:form_params] || {}
|
|
106
|
+
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
|
106
107
|
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
|
107
|
-
form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
|
|
108
|
-
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
|
109
108
|
form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
|
|
109
|
+
form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
|
|
110
110
|
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
|
111
|
-
form_params['
|
|
111
|
+
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
|
112
112
|
form_params['expected_name'] = opts[:'expected_name'] if !opts[:'expected_name'].nil?
|
|
113
113
|
form_params['expected_namespace'] = opts[:'expected_namespace'] if !opts[:'expected_namespace'].nil?
|
|
114
114
|
form_params['expected_version'] = opts[:'expected_version'] if !opts[:'expected_version'].nil?
|