pulp_ansible_client 0.29.0 → 0.29.1
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 +8 -8
- data/docs/AnsibleGitRemote.md +26 -26
- data/docs/AnsibleGitRemoteResponse.md +28 -28
- data/docs/AnsibleRole.md +2 -2
- data/docs/AnsibleRoleResponse.md +8 -8
- data/docs/ContentCollectionVersionsApi.md +6 -6
- data/docs/PatchedansibleGitRemote.md +26 -26
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +9 -9
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +30 -30
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +213 -213
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +154 -154
- data/lib/pulp_ansible_client/models/ansible_role.rb +13 -13
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +32 -32
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +210 -210
- 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 +5 -5
- data/spec/models/ansible_git_remote_response_spec.rb +20 -20
- data/spec/models/ansible_git_remote_spec.rb +20 -20
- data/spec/models/ansible_role_response_spec.rb +5 -5
- data/spec/models/ansible_role_spec.rb +2 -2
- 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: 26f0be9a61643131019c877128bdf3b5ece9e140006d038042a66aff71e3990b
|
|
4
|
+
data.tar.gz: 84936cdae01fd2fee495a574cf11bbca04c00b61b457b24442840b1d7bb469d3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6dbe0af4e1d4a8ee363eb841e23f5dc2854e9d22ebb4cfdc64322daf2ac04bda2cf8226e91a3d07ab9f80e334217959c57b52e9bdfd1fa3165eaf6f3d5c76b7c
|
|
7
|
+
data.tar.gz: f97e2a5352659aac6371aa6a293a18caac423ea47124b7e94ea0c2534698e8185a1bf316ebcd48dabd5459317ef06de840cffd584568a2ed19520548718d7d0a
|
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.1
|
|
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.1.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.1.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.1'
|
|
38
38
|
|
|
39
39
|
### Install from Git
|
|
40
40
|
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **
|
|
8
|
-
| **vuln_report** | **String** | | [optional][readonly] |
|
|
7
|
+
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
9
8
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
9
|
+
| **pulp_href** | **String** | | [optional][readonly] |
|
|
10
10
|
| **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
|
-
| **
|
|
11
|
+
| **vuln_report** | **String** | | [optional][readonly] |
|
|
12
12
|
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
13
|
-
| **
|
|
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] |
|
|
@@ -42,13 +42,13 @@
|
|
|
42
42
|
require 'pulp_ansible_client'
|
|
43
43
|
|
|
44
44
|
instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(
|
|
45
|
-
|
|
46
|
-
vuln_report: null,
|
|
45
|
+
prn: null,
|
|
47
46
|
pulp_created: null,
|
|
47
|
+
pulp_href: null,
|
|
48
48
|
pulp_last_updated: null,
|
|
49
|
-
|
|
49
|
+
vuln_report: null,
|
|
50
50
|
pulp_labels: null,
|
|
51
|
-
|
|
51
|
+
artifact: null,
|
|
52
52
|
sha256: null,
|
|
53
53
|
md5: null,
|
|
54
54
|
sha1: null,
|
data/docs/AnsibleGitRemote.md
CHANGED
|
@@ -4,26 +4,26 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
8
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
9
|
+
| **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] |
|
|
7
10
|
| **name** | **String** | A unique name for this remote. | |
|
|
8
|
-
| **
|
|
11
|
+
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
9
12
|
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
10
|
-
| **
|
|
11
|
-
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
|
12
|
-
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
13
|
+
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
13
14
|
| **url** | **String** | The URL of an external content source. | |
|
|
14
15
|
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
15
|
-
| **
|
|
16
|
-
| **
|
|
17
|
-
| **
|
|
16
|
+
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
17
|
+
| **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
18
|
+
| **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
|
|
19
|
+
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
18
20
|
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
19
|
-
| **
|
|
20
|
-
| **
|
|
21
|
+
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
|
22
|
+
| **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
23
|
| **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
|
|
22
|
-
| **
|
|
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] |
|
|
23
25
|
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
24
|
-
| **
|
|
25
|
-
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
26
|
-
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
|
26
|
+
| **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] |
|
|
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
|
+
proxy_url: null,
|
|
37
|
+
download_concurrency: null,
|
|
38
|
+
connect_timeout: null,
|
|
36
39
|
name: null,
|
|
37
|
-
|
|
40
|
+
headers: null,
|
|
38
41
|
password: null,
|
|
39
|
-
|
|
40
|
-
username: null,
|
|
41
|
-
ca_cert: null,
|
|
42
|
+
tls_validation: null,
|
|
42
43
|
url: null,
|
|
43
44
|
rate_limit: null,
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
ca_cert: null,
|
|
46
|
+
total_timeout: null,
|
|
47
|
+
proxy_username: null,
|
|
48
|
+
proxy_password: null,
|
|
47
49
|
pulp_labels: null,
|
|
48
|
-
|
|
49
|
-
|
|
50
|
+
username: null,
|
|
51
|
+
max_retries: null,
|
|
50
52
|
client_key: null,
|
|
51
|
-
|
|
53
|
+
sock_read_timeout: null,
|
|
52
54
|
client_cert: null,
|
|
53
|
-
|
|
54
|
-
download_concurrency: null,
|
|
55
|
-
max_retries: null,
|
|
55
|
+
sock_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
|
-
| **
|
|
9
|
-
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
10
|
-
| **url** | **String** | The URL of an external content source. | |
|
|
11
|
-
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [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] |
|
|
7
|
+
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
8
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
13
9
|
| **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
14
|
-
| **
|
|
15
|
-
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
10
|
+
| **pulp_last_updated** | **Time** | Timestamp of the most recent update of the remote. | [optional][readonly] |
|
|
16
11
|
| **hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFieldsInner>**](AnsibleCollectionRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional] |
|
|
17
|
-
| **
|
|
12
|
+
| **name** | **String** | A unique name for this remote. | |
|
|
18
13
|
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
14
|
+
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
15
|
+
| **url** | **String** | The URL of an external content source. | |
|
|
16
|
+
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
17
|
+
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
19
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] |
|
|
20
|
-
| **
|
|
19
|
+
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
21
20
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
22
|
-
| **
|
|
23
|
-
| **
|
|
24
|
-
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
21
|
+
| **pulp_href** | **String** | | [optional][readonly] |
|
|
22
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
25
23
|
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
|
26
|
-
| **
|
|
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
|
+
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
26
|
+
| **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] |
|
|
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
|
-
|
|
38
|
-
ca_cert: null,
|
|
39
|
-
url: null,
|
|
40
|
-
rate_limit: null,
|
|
41
|
-
sock_connect_timeout: null,
|
|
36
|
+
proxy_url: null,
|
|
37
|
+
download_concurrency: null,
|
|
42
38
|
connect_timeout: null,
|
|
43
|
-
|
|
44
|
-
pulp_labels: null,
|
|
39
|
+
pulp_last_updated: null,
|
|
45
40
|
hidden_fields: null,
|
|
46
|
-
|
|
41
|
+
name: null,
|
|
47
42
|
headers: null,
|
|
43
|
+
tls_validation: null,
|
|
44
|
+
url: null,
|
|
45
|
+
rate_limit: null,
|
|
46
|
+
ca_cert: null,
|
|
48
47
|
total_timeout: null,
|
|
49
|
-
|
|
48
|
+
prn: null,
|
|
50
49
|
pulp_created: null,
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
download_concurrency: null,
|
|
50
|
+
pulp_href: null,
|
|
51
|
+
pulp_labels: null,
|
|
54
52
|
max_retries: null,
|
|
55
|
-
|
|
53
|
+
sock_read_timeout: null,
|
|
54
|
+
client_cert: null,
|
|
55
|
+
sock_connect_timeout: null,
|
|
56
56
|
metadata_only: null,
|
|
57
57
|
git_ref: null
|
|
58
58
|
)
|
data/docs/AnsibleRole.md
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **artifact** | **String** | Artifact file representing the physical content | |
|
|
8
7
|
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
8
|
+
| **artifact** | **String** | Artifact file representing the physical content | |
|
|
9
9
|
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
|
10
10
|
| **version** | **String** | | |
|
|
11
11
|
| **name** | **String** | | |
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
require 'pulp_ansible_client'
|
|
18
18
|
|
|
19
19
|
instance = PulpAnsibleClient::AnsibleRole.new(
|
|
20
|
-
artifact: null,
|
|
21
20
|
pulp_labels: null,
|
|
21
|
+
artifact: null,
|
|
22
22
|
repository: null,
|
|
23
23
|
version: null,
|
|
24
24
|
name: null,
|
data/docs/AnsibleRoleResponse.md
CHANGED
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **
|
|
8
|
-
| **vuln_report** | **String** | | [optional][readonly] |
|
|
7
|
+
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
9
8
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
9
|
+
| **pulp_href** | **String** | | [optional][readonly] |
|
|
10
10
|
| **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
|
-
| **
|
|
11
|
+
| **vuln_report** | **String** | | [optional][readonly] |
|
|
12
12
|
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
13
|
-
| **
|
|
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
|
-
|
|
25
|
-
vuln_report: null,
|
|
24
|
+
prn: null,
|
|
26
25
|
pulp_created: null,
|
|
26
|
+
pulp_href: null,
|
|
27
27
|
pulp_last_updated: null,
|
|
28
|
-
|
|
28
|
+
vuln_report: null,
|
|
29
29
|
pulp_labels: null,
|
|
30
|
-
|
|
30
|
+
artifact: null,
|
|
31
31
|
version: null,
|
|
32
32
|
name: null,
|
|
33
33
|
namespace: null
|
|
@@ -34,11 +34,11 @@ 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
|
+
pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
38
|
+
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
|
38
39
|
upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
|
|
39
40
|
file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
|
|
40
|
-
|
|
41
|
-
pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
41
|
+
file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
|
|
42
42
|
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
|
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.
|
|
@@ -77,11 +77,11 @@ 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
|
-
| **
|
|
80
|
+
| **pulp_labels** | [**Hash<String, String>**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
81
|
+
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
|
81
82
|
| **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [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
|
+
| **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional] |
|
|
85
85
|
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
|
86
86
|
| **expected_name** | **String** | The name of the collection. | [optional] |
|
|
87
87
|
| **expected_namespace** | **String** | The namespace of the collection. | [optional] |
|
|
@@ -4,26 +4,26 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
8
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
9
|
+
| **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] |
|
|
7
10
|
| **name** | **String** | A unique name for this remote. | [optional] |
|
|
8
|
-
| **
|
|
11
|
+
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
9
12
|
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
10
|
-
| **
|
|
11
|
-
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
|
12
|
-
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
13
|
+
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
13
14
|
| **url** | **String** | The URL of an external content source. | [optional] |
|
|
14
15
|
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
15
|
-
| **
|
|
16
|
-
| **
|
|
17
|
-
| **
|
|
16
|
+
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
17
|
+
| **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
18
|
+
| **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
|
|
19
|
+
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
18
20
|
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
19
|
-
| **
|
|
20
|
-
| **
|
|
21
|
+
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
|
22
|
+
| **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
23
|
| **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
|
|
22
|
-
| **
|
|
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] |
|
|
23
25
|
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
24
|
-
| **
|
|
25
|
-
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
26
|
-
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
|
26
|
+
| **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] |
|
|
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
|
+
proxy_url: null,
|
|
37
|
+
download_concurrency: null,
|
|
38
|
+
connect_timeout: null,
|
|
36
39
|
name: null,
|
|
37
|
-
|
|
40
|
+
headers: null,
|
|
38
41
|
password: null,
|
|
39
|
-
|
|
40
|
-
username: null,
|
|
41
|
-
ca_cert: null,
|
|
42
|
+
tls_validation: null,
|
|
42
43
|
url: null,
|
|
43
44
|
rate_limit: null,
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
ca_cert: null,
|
|
46
|
+
total_timeout: null,
|
|
47
|
+
proxy_username: null,
|
|
48
|
+
proxy_password: null,
|
|
47
49
|
pulp_labels: null,
|
|
48
|
-
|
|
49
|
-
|
|
50
|
+
username: null,
|
|
51
|
+
max_retries: null,
|
|
50
52
|
client_key: null,
|
|
51
|
-
|
|
53
|
+
sock_read_timeout: null,
|
|
52
54
|
client_cert: null,
|
|
53
|
-
|
|
54
|
-
download_concurrency: null,
|
|
55
|
-
max_retries: null,
|
|
55
|
+
sock_connect_timeout: null,
|
|
56
56
|
metadata_only: null,
|
|
57
57
|
git_ref: null
|
|
58
58
|
)
|
|
@@ -23,11 +23,11 @@ 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 [String] :
|
|
26
|
+
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
27
|
+
# @option opts [String] :artifact Artifact file representing the physical content
|
|
27
28
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
28
29
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
29
|
-
# @option opts [String] :
|
|
30
|
-
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
30
|
+
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
|
31
31
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
32
32
|
# @option opts [String] :expected_name The name of the collection.
|
|
33
33
|
# @option opts [String] :expected_namespace The namespace of the collection.
|
|
@@ -42,11 +42,11 @@ 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 [String] :
|
|
45
|
+
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
46
|
+
# @option opts [String] :artifact Artifact file representing the physical content
|
|
46
47
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
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
|
+
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
|
50
50
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
51
51
|
# @option opts [String] :expected_name The name of the collection.
|
|
52
52
|
# @option opts [String] :expected_namespace The namespace of the collection.
|
|
@@ -103,11 +103,11 @@ module PulpAnsibleClient
|
|
|
103
103
|
|
|
104
104
|
# form parameters
|
|
105
105
|
form_params = opts[:form_params] || {}
|
|
106
|
-
form_params['
|
|
106
|
+
form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
|
|
107
|
+
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
|
107
108
|
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
|
108
109
|
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
|
109
|
-
form_params['
|
|
110
|
-
form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
|
|
110
|
+
form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
|
|
111
111
|
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].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?
|
|
@@ -16,24 +16,24 @@ require 'time'
|
|
|
16
16
|
module PulpAnsibleClient
|
|
17
17
|
# A serializer for CollectionVersion Content.
|
|
18
18
|
class AnsibleCollectionVersionResponse
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
attr_accessor :vuln_report
|
|
19
|
+
# The Pulp Resource Name (PRN).
|
|
20
|
+
attr_accessor :prn
|
|
22
21
|
|
|
23
22
|
# Timestamp of creation.
|
|
24
23
|
attr_accessor :pulp_created
|
|
25
24
|
|
|
25
|
+
attr_accessor :pulp_href
|
|
26
|
+
|
|
26
27
|
# 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.
|
|
27
28
|
attr_accessor :pulp_last_updated
|
|
28
29
|
|
|
29
|
-
|
|
30
|
-
attr_accessor :artifact
|
|
30
|
+
attr_accessor :vuln_report
|
|
31
31
|
|
|
32
32
|
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
33
33
|
attr_accessor :pulp_labels
|
|
34
34
|
|
|
35
|
-
#
|
|
36
|
-
attr_accessor :
|
|
35
|
+
# Artifact file representing the physical content
|
|
36
|
+
attr_accessor :artifact
|
|
37
37
|
|
|
38
38
|
# The SHA-256 checksum if available.
|
|
39
39
|
attr_accessor :sha256
|
|
@@ -109,13 +109,13 @@ module PulpAnsibleClient
|
|
|
109
109
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
110
110
|
def self.attribute_map
|
|
111
111
|
{
|
|
112
|
-
:'
|
|
113
|
-
:'vuln_report' => :'vuln_report',
|
|
112
|
+
:'prn' => :'prn',
|
|
114
113
|
:'pulp_created' => :'pulp_created',
|
|
114
|
+
:'pulp_href' => :'pulp_href',
|
|
115
115
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
116
|
-
:'
|
|
116
|
+
:'vuln_report' => :'vuln_report',
|
|
117
117
|
:'pulp_labels' => :'pulp_labels',
|
|
118
|
-
:'
|
|
118
|
+
:'artifact' => :'artifact',
|
|
119
119
|
:'sha256' => :'sha256',
|
|
120
120
|
:'md5' => :'md5',
|
|
121
121
|
:'sha1' => :'sha1',
|
|
@@ -151,13 +151,13 @@ module PulpAnsibleClient
|
|
|
151
151
|
# Attribute type mapping.
|
|
152
152
|
def self.openapi_types
|
|
153
153
|
{
|
|
154
|
-
:'
|
|
155
|
-
:'vuln_report' => :'String',
|
|
154
|
+
:'prn' => :'String',
|
|
156
155
|
:'pulp_created' => :'Time',
|
|
156
|
+
:'pulp_href' => :'String',
|
|
157
157
|
:'pulp_last_updated' => :'Time',
|
|
158
|
-
:'
|
|
158
|
+
:'vuln_report' => :'String',
|
|
159
159
|
:'pulp_labels' => :'Hash<String, String>',
|
|
160
|
-
:'
|
|
160
|
+
:'artifact' => :'String',
|
|
161
161
|
:'sha256' => :'String',
|
|
162
162
|
:'md5' => :'String',
|
|
163
163
|
:'sha1' => :'String',
|
|
@@ -207,24 +207,24 @@ module PulpAnsibleClient
|
|
|
207
207
|
h[k.to_sym] = v
|
|
208
208
|
}
|
|
209
209
|
|
|
210
|
-
if attributes.key?(:'
|
|
211
|
-
self.
|
|
212
|
-
end
|
|
213
|
-
|
|
214
|
-
if attributes.key?(:'vuln_report')
|
|
215
|
-
self.vuln_report = attributes[:'vuln_report']
|
|
210
|
+
if attributes.key?(:'prn')
|
|
211
|
+
self.prn = attributes[:'prn']
|
|
216
212
|
end
|
|
217
213
|
|
|
218
214
|
if attributes.key?(:'pulp_created')
|
|
219
215
|
self.pulp_created = attributes[:'pulp_created']
|
|
220
216
|
end
|
|
221
217
|
|
|
218
|
+
if attributes.key?(:'pulp_href')
|
|
219
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
220
|
+
end
|
|
221
|
+
|
|
222
222
|
if attributes.key?(:'pulp_last_updated')
|
|
223
223
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
224
224
|
end
|
|
225
225
|
|
|
226
|
-
if attributes.key?(:'
|
|
227
|
-
self.
|
|
226
|
+
if attributes.key?(:'vuln_report')
|
|
227
|
+
self.vuln_report = attributes[:'vuln_report']
|
|
228
228
|
end
|
|
229
229
|
|
|
230
230
|
if attributes.key?(:'pulp_labels')
|
|
@@ -233,8 +233,8 @@ module PulpAnsibleClient
|
|
|
233
233
|
end
|
|
234
234
|
end
|
|
235
235
|
|
|
236
|
-
if attributes.key?(:'
|
|
237
|
-
self.
|
|
236
|
+
if attributes.key?(:'artifact')
|
|
237
|
+
self.artifact = attributes[:'artifact']
|
|
238
238
|
end
|
|
239
239
|
|
|
240
240
|
if attributes.key?(:'sha256')
|
|
@@ -495,13 +495,13 @@ module PulpAnsibleClient
|
|
|
495
495
|
def ==(o)
|
|
496
496
|
return true if self.equal?(o)
|
|
497
497
|
self.class == o.class &&
|
|
498
|
-
|
|
499
|
-
vuln_report == o.vuln_report &&
|
|
498
|
+
prn == o.prn &&
|
|
500
499
|
pulp_created == o.pulp_created &&
|
|
500
|
+
pulp_href == o.pulp_href &&
|
|
501
501
|
pulp_last_updated == o.pulp_last_updated &&
|
|
502
|
-
|
|
502
|
+
vuln_report == o.vuln_report &&
|
|
503
503
|
pulp_labels == o.pulp_labels &&
|
|
504
|
-
|
|
504
|
+
artifact == o.artifact &&
|
|
505
505
|
sha256 == o.sha256 &&
|
|
506
506
|
md5 == o.md5 &&
|
|
507
507
|
sha1 == o.sha1 &&
|
|
@@ -537,7 +537,7 @@ module PulpAnsibleClient
|
|
|
537
537
|
# Calculates hash code according to all attributes.
|
|
538
538
|
# @return [Integer] Hash code
|
|
539
539
|
def hash
|
|
540
|
-
[
|
|
540
|
+
[prn, pulp_created, pulp_href, pulp_last_updated, vuln_report, pulp_labels, artifact, sha256, md5, sha1, sha224, sha384, sha512, id, authors, contents, dependencies, description, docs_blob, manifest, files, documentation, homepage, issues, license, name, namespace, origin_repository, tags, version, requires_ansible].hash
|
|
541
541
|
end
|
|
542
542
|
|
|
543
543
|
# Builds the object from hash
|