pulp_ansible_client 0.22.3 → 0.22.5
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/AnsibleCollectionVersion.md +5 -5
- data/docs/AnsibleCollectionVersionResponse.md +4 -4
- data/docs/AnsibleGitRemote.md +26 -26
- data/docs/AnsibleGitRemoteResponse.md +24 -24
- data/docs/AnsibleRoleResponse.md +4 -4
- data/docs/ContentCollectionVersionsApi.md +4 -4
- data/docs/PatchedansibleGitRemote.md +26 -26
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +6 -6
- data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +20 -20
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +20 -20
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +18 -18
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +18 -18
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +234 -234
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +150 -150
- data/lib/pulp_ansible_client/models/ansible_role_remote.rb +20 -20
- data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +20 -20
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +18 -18
- data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +20 -20
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +230 -230
- data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +20 -20
- 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 +3 -3
- data/spec/models/ansible_collection_version_spec.rb +4 -4
- 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 +3 -3
- data/spec/models/patchedansible_git_remote_spec.rb +20 -20
- metadata +133 -133
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4b58e26ad2798f3bec4fddf1bb799ba46bcc103ee14a641f2557b3d92dc46cb5
|
4
|
+
data.tar.gz: 8db91d024cfd95ee7daf713eedec4e649876d58b85aa86dc670c60da8d4d413b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 24c7a61c4be67f962a768fe1968395abd5729ab12f44aaea4354f15e2d39ff4c395ad68c38d17ca68c2beb940c6413601ae1274bf286de6ebfedabb82e91b3b4
|
7
|
+
data.tar.gz: 2356f0915f11e90946aa73401eed3320b9885500a1708f4a0da60fa0bb4a3c48f069c714d108056ac78f215992ceb7e2f9892eaed0df090324e11fb59599d362
|
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.22.
|
10
|
+
- Package version: 0.22.5
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
13
13
|
|
@@ -24,16 +24,16 @@ gem build pulp_ansible_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulp_ansible_client-0.22.
|
27
|
+
gem install ./pulp_ansible_client-0.22.5.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_ansible_client-0.22.
|
30
|
+
(for development, run `gem install --dev ./pulp_ansible_client-0.22.5.gem` to install the development dependencies)
|
31
31
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
33
|
|
34
34
|
Finally add this to the Gemfile:
|
35
35
|
|
36
|
-
gem 'pulp_ansible_client', '~> 0.22.
|
36
|
+
gem 'pulp_ansible_client', '~> 0.22.5'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -4,10 +4,10 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**artifact** | **String** | Artifact file representing the physical content | [optional]
|
8
7
|
**file** | **File** | An uploaded file that may be turned into the content unit. | [optional]
|
9
|
-
**
|
8
|
+
**artifact** | **String** | Artifact file representing the physical content | [optional]
|
10
9
|
**upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional]
|
10
|
+
**file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional]
|
11
11
|
**repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
|
12
12
|
**expected_name** | **String** | The name of the collection. | [optional]
|
13
13
|
**expected_namespace** | **String** | The namespace of the collection. | [optional]
|
@@ -18,10 +18,10 @@ Name | Type | Description | Notes
|
|
18
18
|
```ruby
|
19
19
|
require 'PulpAnsibleClient'
|
20
20
|
|
21
|
-
instance = PulpAnsibleClient::AnsibleCollectionVersion.new(
|
22
|
-
|
23
|
-
file_url: null,
|
21
|
+
instance = PulpAnsibleClient::AnsibleCollectionVersion.new(file: null,
|
22
|
+
artifact: null,
|
24
23
|
upload: null,
|
24
|
+
file_url: null,
|
25
25
|
repository: null,
|
26
26
|
expected_name: null,
|
27
27
|
expected_namespace: null,
|
@@ -4,11 +4,11 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**
|
7
|
+
**prn** | **String** | The Pulp Resource Name (PRN). | [optional] [readonly]
|
8
8
|
**pulp_last_updated** | **DateTime** | 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]
|
9
9
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
10
|
+
**artifact** | **String** | Artifact file representing the physical content | [optional]
|
10
11
|
**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]
|
@@ -39,11 +39,11 @@ Name | Type | Description | Notes
|
|
39
39
|
```ruby
|
40
40
|
require 'PulpAnsibleClient'
|
41
41
|
|
42
|
-
instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(
|
42
|
+
instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(prn: null,
|
43
43
|
pulp_last_updated: null,
|
44
44
|
pulp_created: null,
|
45
|
+
artifact: null,
|
45
46
|
pulp_href: null,
|
46
|
-
prn: null,
|
47
47
|
sha256: null,
|
48
48
|
md5: null,
|
49
49
|
sha1: null,
|
data/docs/AnsibleGitRemote.md
CHANGED
@@ -4,26 +4,26 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**
|
8
|
-
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
9
|
-
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
7
|
+
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
10
8
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
11
9
|
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
10
|
+
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
12
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]
|
13
|
-
**
|
14
|
-
**
|
15
|
-
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
16
|
-
**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]
|
17
|
-
**url** | **String** | The URL of an external content source. |
|
18
|
-
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
12
|
+
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
13
|
+
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
19
14
|
**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]
|
20
|
-
**
|
21
|
-
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
15
|
+
**name** | **String** | A unique name for this remote. |
|
22
16
|
**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
|
-
**
|
24
|
-
**
|
17
|
+
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
18
|
+
**proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
19
|
+
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
20
|
+
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
25
21
|
**password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
22
|
+
**url** | **String** | The URL of an external content source. |
|
26
23
|
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
24
|
+
**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]
|
25
|
+
**client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
|
26
|
+
**proxy_username** | **String** | The username to authenticte to the proxy. | [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
|
|
@@ -32,26 +32,26 @@ Name | Type | Description | Notes
|
|
32
32
|
```ruby
|
33
33
|
require 'PulpAnsibleClient'
|
34
34
|
|
35
|
-
instance = PulpAnsibleClient::AnsibleGitRemote.new(
|
36
|
-
username: null,
|
37
|
-
tls_validation: null,
|
35
|
+
instance = PulpAnsibleClient::AnsibleGitRemote.new(proxy_url: null,
|
38
36
|
pulp_labels: null,
|
39
37
|
ca_cert: null,
|
38
|
+
total_timeout: null,
|
40
39
|
sock_read_timeout: null,
|
41
|
-
|
42
|
-
|
43
|
-
proxy_url: null,
|
44
|
-
connect_timeout: null,
|
45
|
-
url: null,
|
46
|
-
rate_limit: null,
|
40
|
+
username: null,
|
41
|
+
client_cert: null,
|
47
42
|
sock_connect_timeout: null,
|
48
|
-
|
49
|
-
total_timeout: null,
|
43
|
+
name: null,
|
50
44
|
max_retries: null,
|
51
|
-
|
52
|
-
|
45
|
+
download_concurrency: null,
|
46
|
+
proxy_password: null,
|
47
|
+
rate_limit: null,
|
48
|
+
tls_validation: null,
|
53
49
|
password: null,
|
50
|
+
url: null,
|
54
51
|
headers: null,
|
52
|
+
connect_timeout: null,
|
53
|
+
client_key: null,
|
54
|
+
proxy_username: null,
|
55
55
|
metadata_only: null,
|
56
56
|
git_ref: null)
|
57
57
|
```
|
@@ -4,26 +4,26 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**
|
8
|
-
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
7
|
+
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
9
8
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
10
9
|
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
10
|
+
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
11
11
|
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
12
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]
|
13
|
-
**
|
14
|
-
**name** | **String** | A unique name for this remote. |
|
15
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
16
|
-
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
17
|
-
**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]
|
18
|
-
**url** | **String** | The URL of an external content source. |
|
19
|
-
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
20
|
-
**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]
|
21
|
-
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
13
|
+
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
22
14
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
15
|
+
**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
|
+
**name** | **String** | A unique name for this remote. |
|
17
|
+
**hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFields>**](AnsibleCollectionRemoteResponseHiddenFields.md) | List of hidden (write only) fields | [optional] [readonly]
|
23
18
|
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
24
|
-
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
25
19
|
**prn** | **String** | The Pulp Resource Name (PRN). | [optional] [readonly]
|
20
|
+
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
21
|
+
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
22
|
+
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
23
|
+
**url** | **String** | The URL of an external content source. |
|
26
24
|
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
25
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
26
|
+
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
27
27
|
**metadata_only** | **Boolean** | If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. | [optional]
|
28
28
|
**git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional]
|
29
29
|
|
@@ -32,26 +32,26 @@ Name | Type | Description | Notes
|
|
32
32
|
```ruby
|
33
33
|
require 'PulpAnsibleClient'
|
34
34
|
|
35
|
-
instance = PulpAnsibleClient::AnsibleGitRemoteResponse.new(
|
36
|
-
tls_validation: null,
|
35
|
+
instance = PulpAnsibleClient::AnsibleGitRemoteResponse.new(proxy_url: null,
|
37
36
|
pulp_labels: null,
|
38
37
|
ca_cert: null,
|
38
|
+
total_timeout: null,
|
39
39
|
pulp_last_updated: null,
|
40
40
|
sock_read_timeout: null,
|
41
|
-
|
42
|
-
name: null,
|
43
|
-
pulp_href: null,
|
44
|
-
proxy_url: null,
|
45
|
-
connect_timeout: null,
|
46
|
-
url: null,
|
47
|
-
rate_limit: null,
|
48
|
-
sock_connect_timeout: null,
|
49
|
-
total_timeout: null,
|
41
|
+
client_cert: null,
|
50
42
|
pulp_created: null,
|
43
|
+
sock_connect_timeout: null,
|
44
|
+
name: null,
|
45
|
+
hidden_fields: null,
|
51
46
|
max_retries: null,
|
52
|
-
client_cert: null,
|
53
47
|
prn: null,
|
48
|
+
download_concurrency: null,
|
49
|
+
rate_limit: null,
|
50
|
+
tls_validation: null,
|
51
|
+
url: null,
|
54
52
|
headers: null,
|
53
|
+
pulp_href: null,
|
54
|
+
connect_timeout: null,
|
55
55
|
metadata_only: null,
|
56
56
|
git_ref: null)
|
57
57
|
```
|
data/docs/AnsibleRoleResponse.md
CHANGED
@@ -4,11 +4,11 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**
|
7
|
+
**prn** | **String** | The Pulp Resource Name (PRN). | [optional] [readonly]
|
8
8
|
**pulp_last_updated** | **DateTime** | 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]
|
9
9
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
10
|
+
**artifact** | **String** | Artifact file representing the physical content |
|
10
11
|
**pulp_href** | **String** | | [optional] [readonly]
|
11
|
-
**prn** | **String** | The Pulp Resource Name (PRN). | [optional] [readonly]
|
12
12
|
**version** | **String** | |
|
13
13
|
**name** | **String** | |
|
14
14
|
**namespace** | **String** | |
|
@@ -18,11 +18,11 @@ Name | Type | Description | Notes
|
|
18
18
|
```ruby
|
19
19
|
require 'PulpAnsibleClient'
|
20
20
|
|
21
|
-
instance = PulpAnsibleClient::AnsibleRoleResponse.new(
|
21
|
+
instance = PulpAnsibleClient::AnsibleRoleResponse.new(prn: null,
|
22
22
|
pulp_last_updated: null,
|
23
23
|
pulp_created: null,
|
24
|
+
artifact: null,
|
24
25
|
pulp_href: null,
|
25
|
-
prn: null,
|
26
26
|
version: null,
|
27
27
|
name: null,
|
28
28
|
namespace: null)
|
@@ -32,10 +32,10 @@ end
|
|
32
32
|
|
33
33
|
api_instance = PulpAnsibleClient::ContentCollectionVersionsApi.new
|
34
34
|
opts = {
|
35
|
-
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
36
35
|
file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the content unit.
|
37
|
-
|
36
|
+
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
38
37
|
upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
|
38
|
+
file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
|
39
39
|
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
40
40
|
expected_name: 'expected_name_example', # String | The name of the collection.
|
41
41
|
expected_namespace: 'expected_namespace_example', # String | The namespace of the collection.
|
@@ -56,10 +56,10 @@ end
|
|
56
56
|
|
57
57
|
Name | Type | Description | Notes
|
58
58
|
------------- | ------------- | ------------- | -------------
|
59
|
-
**artifact** | **String**| Artifact file representing the physical content | [optional]
|
60
59
|
**file** | **File**| An uploaded file that may be turned into the content unit. | [optional]
|
61
|
-
**
|
60
|
+
**artifact** | **String**| Artifact file representing the physical content | [optional]
|
62
61
|
**upload** | **String**| An uncommitted upload that may be turned into the content unit. | [optional]
|
62
|
+
**file_url** | **String**| A url that Pulp can download and turn into the content unit. | [optional]
|
63
63
|
**repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
|
64
64
|
**expected_name** | **String**| The name of the collection. | [optional]
|
65
65
|
**expected_namespace** | **String**| The namespace of the collection. | [optional]
|
@@ -4,26 +4,26 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**
|
8
|
-
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
9
|
-
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
7
|
+
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
10
8
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
11
9
|
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
10
|
+
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
12
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]
|
13
|
-
**
|
14
|
-
**
|
15
|
-
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
16
|
-
**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]
|
17
|
-
**url** | **String** | The URL of an external content source. | [optional]
|
18
|
-
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
12
|
+
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
13
|
+
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
19
14
|
**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]
|
20
|
-
**
|
21
|
-
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
15
|
+
**name** | **String** | A unique name for this remote. | [optional]
|
22
16
|
**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
|
-
**
|
24
|
-
**
|
17
|
+
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
18
|
+
**proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
19
|
+
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
20
|
+
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
25
21
|
**password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
22
|
+
**url** | **String** | The URL of an external content source. | [optional]
|
26
23
|
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
24
|
+
**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]
|
25
|
+
**client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
|
26
|
+
**proxy_username** | **String** | The username to authenticte to the proxy. | [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
|
|
@@ -32,26 +32,26 @@ Name | Type | Description | Notes
|
|
32
32
|
```ruby
|
33
33
|
require 'PulpAnsibleClient'
|
34
34
|
|
35
|
-
instance = PulpAnsibleClient::PatchedansibleGitRemote.new(
|
36
|
-
username: null,
|
37
|
-
tls_validation: null,
|
35
|
+
instance = PulpAnsibleClient::PatchedansibleGitRemote.new(proxy_url: null,
|
38
36
|
pulp_labels: null,
|
39
37
|
ca_cert: null,
|
38
|
+
total_timeout: null,
|
40
39
|
sock_read_timeout: null,
|
41
|
-
|
42
|
-
|
43
|
-
proxy_url: null,
|
44
|
-
connect_timeout: null,
|
45
|
-
url: null,
|
46
|
-
rate_limit: null,
|
40
|
+
username: null,
|
41
|
+
client_cert: null,
|
47
42
|
sock_connect_timeout: null,
|
48
|
-
|
49
|
-
total_timeout: null,
|
43
|
+
name: null,
|
50
44
|
max_retries: null,
|
51
|
-
|
52
|
-
|
45
|
+
download_concurrency: null,
|
46
|
+
proxy_password: null,
|
47
|
+
rate_limit: null,
|
48
|
+
tls_validation: null,
|
53
49
|
password: null,
|
50
|
+
url: null,
|
54
51
|
headers: null,
|
52
|
+
connect_timeout: null,
|
53
|
+
client_key: null,
|
54
|
+
proxy_username: null,
|
55
55
|
metadata_only: null,
|
56
56
|
git_ref: null)
|
57
57
|
```
|
@@ -22,10 +22,10 @@ module PulpAnsibleClient
|
|
22
22
|
# Create a collection version
|
23
23
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
|
-
# @option opts [String] :artifact Artifact file representing the physical content
|
26
25
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
27
|
-
# @option opts [String] :
|
26
|
+
# @option opts [String] :artifact Artifact file representing the physical content
|
28
27
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
28
|
+
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
29
29
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
30
30
|
# @option opts [String] :expected_name The name of the collection.
|
31
31
|
# @option opts [String] :expected_namespace The namespace of the collection.
|
@@ -39,10 +39,10 @@ module PulpAnsibleClient
|
|
39
39
|
# Create a collection version
|
40
40
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
41
41
|
# @param [Hash] opts the optional parameters
|
42
|
-
# @option opts [String] :artifact Artifact file representing the physical content
|
43
42
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
44
|
-
# @option opts [String] :
|
43
|
+
# @option opts [String] :artifact Artifact file representing the physical content
|
45
44
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
45
|
+
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
46
46
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
47
47
|
# @option opts [String] :expected_name The name of the collection.
|
48
48
|
# @option opts [String] :expected_namespace The namespace of the collection.
|
@@ -95,10 +95,10 @@ module PulpAnsibleClient
|
|
95
95
|
|
96
96
|
# form parameters
|
97
97
|
form_params = opts[:form_params] || {}
|
98
|
-
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
99
98
|
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
100
|
-
form_params['
|
99
|
+
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
101
100
|
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
101
|
+
form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
|
102
102
|
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
103
103
|
form_params['expected_name'] = opts[:'expected_name'] if !opts[:'expected_name'].nil?
|
104
104
|
form_params['expected_namespace'] = opts[:'expected_namespace'] if !opts[:'expected_namespace'].nil?
|
@@ -364,20 +364,20 @@ module PulpAnsibleClient
|
|
364
364
|
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
365
365
|
end
|
366
366
|
|
367
|
-
if !@total_timeout.nil? && @total_timeout < 0
|
368
|
-
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
|
367
|
+
if !@total_timeout.nil? && @total_timeout < 0.0
|
368
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
369
369
|
end
|
370
370
|
|
371
|
-
if !@connect_timeout.nil? && @connect_timeout < 0
|
372
|
-
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
|
371
|
+
if !@connect_timeout.nil? && @connect_timeout < 0.0
|
372
|
+
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
|
373
373
|
end
|
374
374
|
|
375
|
-
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
376
|
-
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
|
375
|
+
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
376
|
+
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
|
377
377
|
end
|
378
378
|
|
379
|
-
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
380
|
-
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
|
379
|
+
if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
380
|
+
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
381
381
|
end
|
382
382
|
|
383
383
|
if !@requirements_file.nil? && @requirements_file.to_s.length < 1
|
@@ -419,10 +419,10 @@ module PulpAnsibleClient
|
|
419
419
|
return false if !@username.nil? && @username.to_s.length < 1
|
420
420
|
return false if !@password.nil? && @password.to_s.length < 1
|
421
421
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
422
|
-
return false if !@total_timeout.nil? && @total_timeout < 0
|
423
|
-
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
424
|
-
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
425
|
-
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
422
|
+
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
423
|
+
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
424
|
+
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
425
|
+
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
426
426
|
return false if !@requirements_file.nil? && @requirements_file.to_s.length < 1
|
427
427
|
return false if !@auth_url.nil? && @auth_url.to_s.length > 255
|
428
428
|
return false if !@auth_url.nil? && @auth_url.to_s.length < 1
|
@@ -552,8 +552,8 @@ module PulpAnsibleClient
|
|
552
552
|
# Custom attribute writer method with validation
|
553
553
|
# @param [Object] total_timeout Value to be assigned
|
554
554
|
def total_timeout=(total_timeout)
|
555
|
-
if !total_timeout.nil? && total_timeout < 0
|
556
|
-
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
|
555
|
+
if !total_timeout.nil? && total_timeout < 0.0
|
556
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
|
557
557
|
end
|
558
558
|
|
559
559
|
@total_timeout = total_timeout
|
@@ -562,8 +562,8 @@ module PulpAnsibleClient
|
|
562
562
|
# Custom attribute writer method with validation
|
563
563
|
# @param [Object] connect_timeout Value to be assigned
|
564
564
|
def connect_timeout=(connect_timeout)
|
565
|
-
if !connect_timeout.nil? && connect_timeout < 0
|
566
|
-
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
|
565
|
+
if !connect_timeout.nil? && connect_timeout < 0.0
|
566
|
+
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
|
567
567
|
end
|
568
568
|
|
569
569
|
@connect_timeout = connect_timeout
|
@@ -572,8 +572,8 @@ module PulpAnsibleClient
|
|
572
572
|
# Custom attribute writer method with validation
|
573
573
|
# @param [Object] sock_connect_timeout Value to be assigned
|
574
574
|
def sock_connect_timeout=(sock_connect_timeout)
|
575
|
-
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
576
|
-
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
|
575
|
+
if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
|
576
|
+
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
|
577
577
|
end
|
578
578
|
|
579
579
|
@sock_connect_timeout = sock_connect_timeout
|
@@ -582,8 +582,8 @@ module PulpAnsibleClient
|
|
582
582
|
# Custom attribute writer method with validation
|
583
583
|
# @param [Object] sock_read_timeout Value to be assigned
|
584
584
|
def sock_read_timeout=(sock_read_timeout)
|
585
|
-
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
586
|
-
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
|
585
|
+
if !sock_read_timeout.nil? && sock_read_timeout < 0.0
|
586
|
+
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
|
587
587
|
end
|
588
588
|
|
589
589
|
@sock_read_timeout = sock_read_timeout
|
@@ -318,20 +318,20 @@ module PulpAnsibleClient
|
|
318
318
|
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
319
319
|
end
|
320
320
|
|
321
|
-
if !@total_timeout.nil? && @total_timeout < 0
|
322
|
-
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
|
321
|
+
if !@total_timeout.nil? && @total_timeout < 0.0
|
322
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
323
323
|
end
|
324
324
|
|
325
|
-
if !@connect_timeout.nil? && @connect_timeout < 0
|
326
|
-
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
|
325
|
+
if !@connect_timeout.nil? && @connect_timeout < 0.0
|
326
|
+
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
|
327
327
|
end
|
328
328
|
|
329
|
-
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
330
|
-
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
|
329
|
+
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
330
|
+
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
|
331
331
|
end
|
332
332
|
|
333
|
-
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
334
|
-
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
|
333
|
+
if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
334
|
+
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
335
335
|
end
|
336
336
|
|
337
337
|
if !@auth_url.nil? && @auth_url.to_s.length > 255
|
@@ -347,10 +347,10 @@ module PulpAnsibleClient
|
|
347
347
|
return false if @name.nil?
|
348
348
|
return false if @url.nil?
|
349
349
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
350
|
-
return false if !@total_timeout.nil? && @total_timeout < 0
|
351
|
-
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
352
|
-
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
353
|
-
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
350
|
+
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
351
|
+
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
352
|
+
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
353
|
+
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
354
354
|
return false if !@auth_url.nil? && @auth_url.to_s.length > 255
|
355
355
|
true
|
356
356
|
end
|
@@ -368,8 +368,8 @@ module PulpAnsibleClient
|
|
368
368
|
# Custom attribute writer method with validation
|
369
369
|
# @param [Object] total_timeout Value to be assigned
|
370
370
|
def total_timeout=(total_timeout)
|
371
|
-
if !total_timeout.nil? && total_timeout < 0
|
372
|
-
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
|
371
|
+
if !total_timeout.nil? && total_timeout < 0.0
|
372
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
|
373
373
|
end
|
374
374
|
|
375
375
|
@total_timeout = total_timeout
|
@@ -378,8 +378,8 @@ module PulpAnsibleClient
|
|
378
378
|
# Custom attribute writer method with validation
|
379
379
|
# @param [Object] connect_timeout Value to be assigned
|
380
380
|
def connect_timeout=(connect_timeout)
|
381
|
-
if !connect_timeout.nil? && connect_timeout < 0
|
382
|
-
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
|
381
|
+
if !connect_timeout.nil? && connect_timeout < 0.0
|
382
|
+
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
|
383
383
|
end
|
384
384
|
|
385
385
|
@connect_timeout = connect_timeout
|
@@ -388,8 +388,8 @@ module PulpAnsibleClient
|
|
388
388
|
# Custom attribute writer method with validation
|
389
389
|
# @param [Object] sock_connect_timeout Value to be assigned
|
390
390
|
def sock_connect_timeout=(sock_connect_timeout)
|
391
|
-
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
392
|
-
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
|
391
|
+
if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
|
392
|
+
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
|
393
393
|
end
|
394
394
|
|
395
395
|
@sock_connect_timeout = sock_connect_timeout
|
@@ -398,8 +398,8 @@ module PulpAnsibleClient
|
|
398
398
|
# Custom attribute writer method with validation
|
399
399
|
# @param [Object] sock_read_timeout Value to be assigned
|
400
400
|
def sock_read_timeout=(sock_read_timeout)
|
401
|
-
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
402
|
-
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
|
401
|
+
if !sock_read_timeout.nil? && sock_read_timeout < 0.0
|
402
|
+
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
|
403
403
|
end
|
404
404
|
|
405
405
|
@sock_read_timeout = sock_read_timeout
|