pulp_ansible_client 0.24.0 → 0.24.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 +6 -6
- data/docs/AnsibleGitRemote.md +22 -22
- data/docs/AnsibleGitRemoteResponse.md +26 -26
- data/docs/AnsibleRoleResponse.md +4 -4
- data/docs/ContentCollectionVersionsApi.md +4 -4
- data/docs/PatchedansibleGitRemote.md +22 -22
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +6 -6
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +25 -25
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +201 -201
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +149 -149
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +20 -20
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +199 -199
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/content_collection_versions_api_spec.rb +2 -2
- data/spec/models/ansible_collection_version_response_spec.rb +5 -5
- data/spec/models/ansible_git_remote_response_spec.rb +18 -18
- data/spec/models/ansible_git_remote_spec.rb +19 -19
- data/spec/models/ansible_role_response_spec.rb +5 -5
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- 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: a52f71ca8bec79370be49d0b83eca42b763513e7eb3759d107cf7965b67a1a88
|
4
|
+
data.tar.gz: 17baa87199e9075c7e967409f05f5c2631654a5868f1226cebc766c1aefbeea2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bebd4ba70c5ce074c5202312039bab6ba61b059bc090e914235a20a458330c55e312cbceba7e20e987223e10bb6ef9dbc4ccaa8dca2525164a2e2463946c051b
|
7
|
+
data.tar.gz: eccff73b7840c0bf0f0f1f8a4bd0c0c87fcb022873c363b82302d4bd972c3d2a11275daef872b37c2f38cc3ca0b19be845c879cd16b91077064bdf1ce8d9858d
|
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.24.
|
10
|
+
- Package version: 0.24.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.24.
|
28
|
+
gem install ./pulp_ansible_client-0.24.1.gem
|
29
29
|
```
|
30
30
|
|
31
|
-
(for development, run `gem install --dev ./pulp_ansible_client-0.24.
|
31
|
+
(for development, run `gem install --dev ./pulp_ansible_client-0.24.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.24.
|
37
|
+
gem 'pulp_ansible_client', '~> 0.24.1'
|
38
38
|
|
39
39
|
### Install from Git
|
40
40
|
|
@@ -4,11 +4,11 @@
|
|
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
|
-
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
10
7
|
| **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] |
|
8
|
+
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
9
|
+
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
11
10
|
| **pulp_href** | **String** | | [optional][readonly] |
|
11
|
+
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
12
12
|
| **sha256** | **String** | The SHA-256 checksum if available. | [optional][readonly] |
|
13
13
|
| **md5** | **String** | The MD5 checksum if available. | [optional][readonly] |
|
14
14
|
| **sha1** | **String** | The SHA-1 checksum if available. | [optional][readonly] |
|
@@ -40,11 +40,11 @@
|
|
40
40
|
require 'pulp_ansible_client'
|
41
41
|
|
42
42
|
instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(
|
43
|
-
prn: null,
|
44
|
-
pulp_created: null,
|
45
|
-
artifact: null,
|
46
43
|
pulp_last_updated: null,
|
44
|
+
artifact: null,
|
45
|
+
pulp_created: null,
|
47
46
|
pulp_href: null,
|
47
|
+
prn: null,
|
48
48
|
sha256: null,
|
49
49
|
md5: null,
|
50
50
|
sha1: null,
|
data/docs/AnsibleGitRemote.md
CHANGED
@@ -4,25 +4,25 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **
|
7
|
+
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
8
|
+
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
8
9
|
| **name** | **String** | A unique name for this remote. | |
|
10
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
9
11
|
| **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
|
10
|
-
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
11
|
-
| **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] |
|
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
|
-
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
14
|
-
| **url** | **String** | The URL of an external content source. | |
|
15
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
|
+
| **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
|
+
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
16
15
|
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
16
|
+
| **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] |
|
17
|
+
| **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
|
17
18
|
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
19
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
20
|
+
| **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
21
|
+
| **url** | **String** | The URL of an external content source. | |
|
18
22
|
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
19
|
-
| **
|
20
|
-
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
23
|
+
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
21
24
|
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
22
25
|
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
23
|
-
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
24
|
-
| **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
|
25
|
-
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
26
26
|
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [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] |
|
@@ -33,25 +33,25 @@
|
|
33
33
|
require 'pulp_ansible_client'
|
34
34
|
|
35
35
|
instance = PulpAnsibleClient::AnsibleGitRemote.new(
|
36
|
-
|
36
|
+
password: null,
|
37
|
+
max_retries: null,
|
37
38
|
name: null,
|
39
|
+
pulp_labels: null,
|
38
40
|
proxy_username: null,
|
39
|
-
proxy_url: null,
|
40
|
-
sock_read_timeout: null,
|
41
|
-
connect_timeout: null,
|
42
|
-
download_concurrency: null,
|
43
|
-
url: null,
|
44
41
|
sock_connect_timeout: null,
|
42
|
+
connect_timeout: null,
|
43
|
+
tls_validation: null,
|
45
44
|
headers: null,
|
45
|
+
total_timeout: null,
|
46
|
+
client_key: null,
|
46
47
|
client_cert: null,
|
48
|
+
download_concurrency: null,
|
49
|
+
sock_read_timeout: null,
|
50
|
+
url: null,
|
47
51
|
ca_cert: null,
|
48
|
-
|
49
|
-
max_retries: null,
|
52
|
+
proxy_url: null,
|
50
53
|
proxy_password: null,
|
51
54
|
username: null,
|
52
|
-
tls_validation: null,
|
53
|
-
client_key: null,
|
54
|
-
password: null,
|
55
55
|
rate_limit: null,
|
56
56
|
metadata_only: null,
|
57
57
|
git_ref: null
|
@@ -4,26 +4,26 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **
|
7
|
+
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
8
8
|
| **name** | **String** | A unique name for this remote. | |
|
9
|
-
| **
|
10
|
-
| **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] |
|
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
|
-
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
13
|
-
| **url** | **String** | The URL of an external content source. | |
|
9
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
14
10
|
| **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
15
|
-
| **
|
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
|
+
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
16
13
|
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
17
|
-
| **
|
14
|
+
| **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] |
|
15
|
+
| **hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFieldsInner>**](AnsibleCollectionRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional][readonly] |
|
18
16
|
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
17
|
+
| **pulp_last_updated** | **Time** | Timestamp of the most recent update of the remote. | [optional][readonly] |
|
18
|
+
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
19
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
20
|
+
| **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
21
|
+
| **url** | **String** | The URL of an external content source. | |
|
19
22
|
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
20
|
-
| **
|
23
|
+
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
21
24
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
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] |
|
23
|
-
| **hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFieldsInner>**](AnsibleCollectionRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional][readonly] |
|
24
|
-
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
25
|
-
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
26
25
|
| **pulp_href** | **String** | | [optional][readonly] |
|
26
|
+
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [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
|
-
|
36
|
+
max_retries: null,
|
37
37
|
name: null,
|
38
|
-
|
39
|
-
sock_read_timeout: null,
|
40
|
-
connect_timeout: null,
|
41
|
-
download_concurrency: null,
|
42
|
-
url: null,
|
38
|
+
pulp_labels: null,
|
43
39
|
sock_connect_timeout: null,
|
44
|
-
|
40
|
+
connect_timeout: null,
|
41
|
+
tls_validation: null,
|
45
42
|
headers: null,
|
46
|
-
|
43
|
+
total_timeout: null,
|
44
|
+
hidden_fields: null,
|
47
45
|
prn: null,
|
46
|
+
pulp_last_updated: null,
|
47
|
+
client_cert: null,
|
48
|
+
download_concurrency: null,
|
49
|
+
sock_read_timeout: null,
|
50
|
+
url: null,
|
48
51
|
ca_cert: null,
|
49
|
-
|
52
|
+
proxy_url: null,
|
50
53
|
pulp_created: null,
|
51
|
-
max_retries: null,
|
52
|
-
hidden_fields: null,
|
53
|
-
tls_validation: null,
|
54
|
-
rate_limit: null,
|
55
54
|
pulp_href: null,
|
55
|
+
rate_limit: null,
|
56
56
|
metadata_only: null,
|
57
57
|
git_ref: null
|
58
58
|
)
|
data/docs/AnsibleRoleResponse.md
CHANGED
@@ -4,11 +4,11 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **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] |
|
7
8
|
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
8
9
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
9
|
-
| **artifact** | **String** | Artifact file representing the physical content | |
|
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
10
|
| **pulp_href** | **String** | | [optional][readonly] |
|
11
|
+
| **artifact** | **String** | Artifact file representing the physical content | |
|
12
12
|
| **version** | **String** | | |
|
13
13
|
| **name** | **String** | | |
|
14
14
|
| **namespace** | **String** | | |
|
@@ -19,11 +19,11 @@
|
|
19
19
|
require 'pulp_ansible_client'
|
20
20
|
|
21
21
|
instance = PulpAnsibleClient::AnsibleRoleResponse.new(
|
22
|
+
pulp_last_updated: null,
|
22
23
|
prn: null,
|
23
24
|
pulp_created: null,
|
24
|
-
artifact: null,
|
25
|
-
pulp_last_updated: null,
|
26
25
|
pulp_href: null,
|
26
|
+
artifact: null,
|
27
27
|
version: null,
|
28
28
|
name: null,
|
29
29
|
namespace: null
|
@@ -32,10 +32,10 @@ end
|
|
32
32
|
api_instance = PulpAnsibleClient::ContentCollectionVersionsApi.new
|
33
33
|
opts = {
|
34
34
|
file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
|
35
|
-
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
36
|
-
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
37
35
|
upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
|
38
36
|
file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
|
37
|
+
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
38
|
+
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
39
39
|
expected_name: 'expected_name_example', # String | The name of the collection.
|
40
40
|
expected_namespace: 'expected_namespace_example', # String | The namespace of the collection.
|
41
41
|
expected_version: 'expected_version_example' # String | The version of the collection.
|
@@ -73,10 +73,10 @@ end
|
|
73
73
|
| Name | Type | Description | Notes |
|
74
74
|
| ---- | ---- | ----------- | ----- |
|
75
75
|
| **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
|
76
|
-
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
77
|
-
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
78
76
|
| **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
|
79
77
|
| **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional] |
|
78
|
+
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
79
|
+
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
80
80
|
| **expected_name** | **String** | The name of the collection. | [optional] |
|
81
81
|
| **expected_namespace** | **String** | The namespace of the collection. | [optional] |
|
82
82
|
| **expected_version** | **String** | The version of the collection. | [optional] |
|
@@ -4,25 +4,25 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **
|
7
|
+
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
8
|
+
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
8
9
|
| **name** | **String** | A unique name for this remote. | [optional] |
|
10
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
9
11
|
| **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
|
10
|
-
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
11
|
-
| **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] |
|
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
|
-
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
14
|
-
| **url** | **String** | The URL of an external content source. | [optional] |
|
15
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
|
+
| **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
|
+
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
16
15
|
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
16
|
+
| **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] |
|
17
|
+
| **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
|
17
18
|
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
19
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
20
|
+
| **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
21
|
+
| **url** | **String** | The URL of an external content source. | [optional] |
|
18
22
|
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
19
|
-
| **
|
20
|
-
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
23
|
+
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
21
24
|
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
22
25
|
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
23
|
-
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
24
|
-
| **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
|
25
|
-
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
26
26
|
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [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] |
|
@@ -33,25 +33,25 @@
|
|
33
33
|
require 'pulp_ansible_client'
|
34
34
|
|
35
35
|
instance = PulpAnsibleClient::PatchedansibleGitRemote.new(
|
36
|
-
|
36
|
+
password: null,
|
37
|
+
max_retries: null,
|
37
38
|
name: null,
|
39
|
+
pulp_labels: null,
|
38
40
|
proxy_username: null,
|
39
|
-
proxy_url: null,
|
40
|
-
sock_read_timeout: null,
|
41
|
-
connect_timeout: null,
|
42
|
-
download_concurrency: null,
|
43
|
-
url: null,
|
44
41
|
sock_connect_timeout: null,
|
42
|
+
connect_timeout: null,
|
43
|
+
tls_validation: null,
|
45
44
|
headers: null,
|
45
|
+
total_timeout: null,
|
46
|
+
client_key: null,
|
46
47
|
client_cert: null,
|
48
|
+
download_concurrency: null,
|
49
|
+
sock_read_timeout: null,
|
50
|
+
url: null,
|
47
51
|
ca_cert: null,
|
48
|
-
|
49
|
-
max_retries: null,
|
52
|
+
proxy_url: null,
|
50
53
|
proxy_password: null,
|
51
54
|
username: null,
|
52
|
-
tls_validation: null,
|
53
|
-
client_key: null,
|
54
|
-
password: null,
|
55
55
|
rate_limit: null,
|
56
56
|
metadata_only: null,
|
57
57
|
git_ref: null
|
@@ -23,10 +23,10 @@ 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 [File] :file An uploaded file that may be turned into the content unit.
|
26
|
-
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
27
|
-
# @option opts [String] :artifact Artifact file representing the physical content
|
28
26
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
29
27
|
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
28
|
+
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
29
|
+
# @option opts [String] :artifact Artifact file representing the physical content
|
30
30
|
# @option opts [String] :expected_name The name of the collection.
|
31
31
|
# @option opts [String] :expected_namespace The namespace of the collection.
|
32
32
|
# @option opts [String] :expected_version The version of the collection.
|
@@ -40,10 +40,10 @@ module PulpAnsibleClient
|
|
40
40
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
41
41
|
# @param [Hash] opts the optional parameters
|
42
42
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
43
|
-
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
44
|
-
# @option opts [String] :artifact Artifact file representing the physical content
|
45
43
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
46
44
|
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
45
|
+
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
46
|
+
# @option opts [String] :artifact Artifact file representing the physical content
|
47
47
|
# @option opts [String] :expected_name The name of the collection.
|
48
48
|
# @option opts [String] :expected_namespace The namespace of the collection.
|
49
49
|
# @option opts [String] :expected_version The version of the collection.
|
@@ -99,10 +99,10 @@ module PulpAnsibleClient
|
|
99
99
|
# form parameters
|
100
100
|
form_params = opts[:form_params] || {}
|
101
101
|
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
102
|
-
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
103
|
-
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
104
102
|
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
105
103
|
form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
|
104
|
+
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
105
|
+
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
106
106
|
form_params['expected_name'] = opts[:'expected_name'] if !opts[:'expected_name'].nil?
|
107
107
|
form_params['expected_namespace'] = opts[:'expected_namespace'] if !opts[:'expected_namespace'].nil?
|
108
108
|
form_params['expected_version'] = opts[:'expected_version'] if !opts[:'expected_version'].nil?
|
@@ -16,20 +16,20 @@ require 'time'
|
|
16
16
|
module PulpAnsibleClient
|
17
17
|
# A serializer for CollectionVersion Content.
|
18
18
|
class AnsibleCollectionVersionResponse
|
19
|
-
#
|
20
|
-
attr_accessor :
|
21
|
-
|
22
|
-
# Timestamp of creation.
|
23
|
-
attr_accessor :pulp_created
|
19
|
+
# 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.
|
20
|
+
attr_accessor :pulp_last_updated
|
24
21
|
|
25
22
|
# Artifact file representing the physical content
|
26
23
|
attr_accessor :artifact
|
27
24
|
|
28
|
-
# Timestamp of
|
29
|
-
attr_accessor :
|
25
|
+
# Timestamp of creation.
|
26
|
+
attr_accessor :pulp_created
|
30
27
|
|
31
28
|
attr_accessor :pulp_href
|
32
29
|
|
30
|
+
# The Pulp Resource Name (PRN).
|
31
|
+
attr_accessor :prn
|
32
|
+
|
33
33
|
# The SHA-256 checksum if available.
|
34
34
|
attr_accessor :sha256
|
35
35
|
|
@@ -104,11 +104,11 @@ module PulpAnsibleClient
|
|
104
104
|
# Attribute mapping from ruby-style variable name to JSON key.
|
105
105
|
def self.attribute_map
|
106
106
|
{
|
107
|
-
:'prn' => :'prn',
|
108
|
-
:'pulp_created' => :'pulp_created',
|
109
|
-
:'artifact' => :'artifact',
|
110
107
|
:'pulp_last_updated' => :'pulp_last_updated',
|
108
|
+
:'artifact' => :'artifact',
|
109
|
+
:'pulp_created' => :'pulp_created',
|
111
110
|
:'pulp_href' => :'pulp_href',
|
111
|
+
:'prn' => :'prn',
|
112
112
|
:'sha256' => :'sha256',
|
113
113
|
:'md5' => :'md5',
|
114
114
|
:'sha1' => :'sha1',
|
@@ -144,11 +144,11 @@ module PulpAnsibleClient
|
|
144
144
|
# Attribute type mapping.
|
145
145
|
def self.openapi_types
|
146
146
|
{
|
147
|
-
:'prn' => :'String',
|
148
|
-
:'pulp_created' => :'Time',
|
149
|
-
:'artifact' => :'String',
|
150
147
|
:'pulp_last_updated' => :'Time',
|
148
|
+
:'artifact' => :'String',
|
149
|
+
:'pulp_created' => :'Time',
|
151
150
|
:'pulp_href' => :'String',
|
151
|
+
:'prn' => :'String',
|
152
152
|
:'sha256' => :'String',
|
153
153
|
:'md5' => :'String',
|
154
154
|
:'sha1' => :'String',
|
@@ -198,26 +198,26 @@ module PulpAnsibleClient
|
|
198
198
|
h[k.to_sym] = v
|
199
199
|
}
|
200
200
|
|
201
|
-
if attributes.key?(:'
|
202
|
-
self.
|
203
|
-
end
|
204
|
-
|
205
|
-
if attributes.key?(:'pulp_created')
|
206
|
-
self.pulp_created = attributes[:'pulp_created']
|
201
|
+
if attributes.key?(:'pulp_last_updated')
|
202
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
207
203
|
end
|
208
204
|
|
209
205
|
if attributes.key?(:'artifact')
|
210
206
|
self.artifact = attributes[:'artifact']
|
211
207
|
end
|
212
208
|
|
213
|
-
if attributes.key?(:'
|
214
|
-
self.
|
209
|
+
if attributes.key?(:'pulp_created')
|
210
|
+
self.pulp_created = attributes[:'pulp_created']
|
215
211
|
end
|
216
212
|
|
217
213
|
if attributes.key?(:'pulp_href')
|
218
214
|
self.pulp_href = attributes[:'pulp_href']
|
219
215
|
end
|
220
216
|
|
217
|
+
if attributes.key?(:'prn')
|
218
|
+
self.prn = attributes[:'prn']
|
219
|
+
end
|
220
|
+
|
221
221
|
if attributes.key?(:'sha256')
|
222
222
|
self.sha256 = attributes[:'sha256']
|
223
223
|
end
|
@@ -491,11 +491,11 @@ module PulpAnsibleClient
|
|
491
491
|
def ==(o)
|
492
492
|
return true if self.equal?(o)
|
493
493
|
self.class == o.class &&
|
494
|
-
prn == o.prn &&
|
495
|
-
pulp_created == o.pulp_created &&
|
496
|
-
artifact == o.artifact &&
|
497
494
|
pulp_last_updated == o.pulp_last_updated &&
|
495
|
+
artifact == o.artifact &&
|
496
|
+
pulp_created == o.pulp_created &&
|
498
497
|
pulp_href == o.pulp_href &&
|
498
|
+
prn == o.prn &&
|
499
499
|
sha256 == o.sha256 &&
|
500
500
|
md5 == o.md5 &&
|
501
501
|
sha1 == o.sha1 &&
|
@@ -531,7 +531,7 @@ module PulpAnsibleClient
|
|
531
531
|
# Calculates hash code according to all attributes.
|
532
532
|
# @return [Integer] Hash code
|
533
533
|
def hash
|
534
|
-
[
|
534
|
+
[pulp_last_updated, artifact, pulp_created, pulp_href, prn, 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
|
535
535
|
end
|
536
536
|
|
537
537
|
# Builds the object from hash
|