pulp_ansible_client 0.13.2 → 0.13.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/AnsibleCollectionRemoteResponse.md +0 -2
- data/docs/AnsibleCollectionVersionResponse.md +2 -2
- data/docs/AnsibleGitRemote.md +27 -27
- data/docs/AnsibleGitRemoteResponse.md +25 -25
- data/docs/AnsibleRoleResponse.md +2 -2
- data/docs/PatchedansibleGitRemote.md +27 -27
- data/lib/pulp_ansible_client/api_client.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +1 -27
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +229 -229
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +128 -128
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +11 -11
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +219 -219
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/pulp_ansible_client.gemspec +3 -3
- data/spec/models/ansible_collection_remote_response_spec.rb +0 -6
- data/spec/models/ansible_collection_version_response_spec.rb +2 -2
- data/spec/models/ansible_git_remote_response_spec.rb +17 -17
- data/spec/models/ansible_git_remote_spec.rb +19 -19
- data/spec/models/ansible_role_response_spec.rb +2 -2
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- metadata +107 -108
- data/git_push.sh +0 -58
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 29d0420225e59f7ebe48ee3bf21ed40ef946bf90598cc4b574fdbd58a51cf446
|
4
|
+
data.tar.gz: a33d7711011576e0bfe87df6237f9f3ebf85e194784626cd4757474878dbca5b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8116a5ff87728f4baa93ad5e628b036dbdc0ffe1db6286b82d3ea1a2cc5acd7b18ba63f5fd463bdb0da846da6b132c08a1e3f5d3caf6bbc1d9ffbf458d70cd68
|
7
|
+
data.tar.gz: ede00ea442d256285549c3f526991085c4c208a56582162d115387455bdc042639aad7f8f46404ddcaf3bd60852621fedb02640c30a3610207e210e5765fcd5b
|
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.13.
|
10
|
+
- Package version: 0.13.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.13.
|
27
|
+
gem install ./pulp_ansible_client-0.13.5.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_ansible_client-0.13.
|
30
|
+
(for development, run `gem install --dev ./pulp_ansible_client-0.13.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.13.
|
36
|
+
gem 'pulp_ansible_client', '~> 0.13.5'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -25,7 +25,6 @@ Name | Type | Description | Notes
|
|
25
25
|
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
26
26
|
**requirements_file** | **String** | The string version of Collection requirements yaml. | [optional]
|
27
27
|
**auth_url** | **String** | The URL to receive a session token from, e.g. used with Automation Hub. | [optional]
|
28
|
-
**token** | **String** | The token key to use for authentication. See https://docs.ansible.com/ansible/latest/user_guide/collections_using.html#configuring-the-ansible-galaxy-clientfor more details | [optional]
|
29
28
|
**sync_dependencies** | **Boolean** | Sync dependencies for collections specified via requirements file | [optional] [default to true]
|
30
29
|
**signed_only** | **Boolean** | Sync only collections that have a signature | [optional] [default to false]
|
31
30
|
|
@@ -55,7 +54,6 @@ instance = PulpAnsibleClient::AnsibleCollectionRemoteResponse.new(pulp_href: nul
|
|
55
54
|
rate_limit: null,
|
56
55
|
requirements_file: null,
|
57
56
|
auth_url: null,
|
58
|
-
token: null,
|
59
57
|
sync_dependencies: null,
|
60
58
|
signed_only: null)
|
61
59
|
```
|
@@ -5,8 +5,8 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
8
|
**artifact** | **String** | Artifact file representing the physical content | [optional]
|
9
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
10
10
|
**md5** | **String** | The MD5 checksum if available. | [optional] [readonly]
|
11
11
|
**sha1** | **String** | The SHA-1 checksum if available. | [optional] [readonly]
|
12
12
|
**sha224** | **String** | The SHA-224 checksum if available. | [optional] [readonly]
|
@@ -38,8 +38,8 @@ Name | Type | Description | Notes
|
|
38
38
|
require 'PulpAnsibleClient'
|
39
39
|
|
40
40
|
instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(pulp_href: null,
|
41
|
-
pulp_created: null,
|
42
41
|
artifact: null,
|
42
|
+
pulp_created: null,
|
43
43
|
md5: null,
|
44
44
|
sha1: null,
|
45
45
|
sha224: null,
|
data/docs/AnsibleGitRemote.md
CHANGED
@@ -4,26 +4,26 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
7
8
|
**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]
|
9
|
+
**name** | **String** | A unique name for this remote. |
|
10
|
+
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
11
|
+
**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
|
+
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
13
|
+
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
14
|
+
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
15
|
+
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
16
|
+
**url** | **String** | The URL of an external content source. |
|
17
|
+
**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]
|
18
|
+
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
8
19
|
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
9
20
|
**proxy_password** | **String** | The password to authenticte to the proxy. | [optional]
|
10
|
-
**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]
|
11
|
-
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
12
21
|
**client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
|
13
|
-
**
|
14
|
-
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
15
|
-
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
22
|
+
**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]
|
16
23
|
**proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
|
17
|
-
**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]
|
18
|
-
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
19
|
-
**name** | **String** | A unique name for this remote. |
|
20
|
-
**pulp_labels** | [**Object**](.md) | | [optional]
|
21
24
|
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
22
|
-
**
|
23
|
-
**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]
|
25
|
+
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
24
26
|
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
25
|
-
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
26
|
-
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
27
27
|
**metadata_only** | **Boolean** | If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. | [optional]
|
28
28
|
**git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional]
|
29
29
|
|
@@ -32,26 +32,26 @@ Name | Type | Description | Notes
|
|
32
32
|
```ruby
|
33
33
|
require 'PulpAnsibleClient'
|
34
34
|
|
35
|
-
instance = PulpAnsibleClient::AnsibleGitRemote.new(
|
35
|
+
instance = PulpAnsibleClient::AnsibleGitRemote.new(pulp_labels: null,
|
36
|
+
sock_read_timeout: null,
|
37
|
+
name: null,
|
38
|
+
client_cert: null,
|
39
|
+
total_timeout: null,
|
40
|
+
download_concurrency: null,
|
41
|
+
headers: null,
|
42
|
+
max_retries: null,
|
43
|
+
proxy_url: null,
|
44
|
+
url: null,
|
45
|
+
sock_connect_timeout: null,
|
46
|
+
rate_limit: null,
|
36
47
|
ca_cert: null,
|
37
48
|
proxy_password: null,
|
38
|
-
connect_timeout: null,
|
39
|
-
max_retries: null,
|
40
49
|
client_key: null,
|
41
|
-
|
42
|
-
password: null,
|
43
|
-
download_concurrency: null,
|
50
|
+
connect_timeout: null,
|
44
51
|
proxy_username: null,
|
45
|
-
sock_connect_timeout: null,
|
46
|
-
client_cert: null,
|
47
|
-
name: null,
|
48
|
-
pulp_labels: null,
|
49
52
|
username: null,
|
50
|
-
|
51
|
-
total_timeout: null,
|
53
|
+
password: null,
|
52
54
|
tls_validation: null,
|
53
|
-
headers: null,
|
54
|
-
proxy_url: null,
|
55
55
|
metadata_only: null,
|
56
56
|
git_ref: null)
|
57
57
|
```
|
@@ -4,24 +4,24 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
7
8
|
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
8
|
-
**
|
9
|
-
**
|
10
|
-
**
|
11
|
-
**
|
12
|
-
**
|
9
|
+
**name** | **String** | A unique name for this remote. |
|
10
|
+
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
11
|
+
**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
|
+
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
13
|
+
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
13
14
|
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
15
|
+
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
16
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
14
17
|
**url** | **String** | The URL of an external content source. |
|
15
|
-
**
|
18
|
+
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
16
19
|
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
17
|
-
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
18
|
-
**name** | **String** | A unique name for this remote. |
|
19
|
-
**pulp_labels** | [**Object**](.md) | | [optional]
|
20
20
|
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
21
|
-
**
|
21
|
+
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
22
|
+
**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]
|
23
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
22
24
|
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
23
|
-
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
24
|
-
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
25
25
|
**metadata_only** | **Boolean** | If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. | [optional]
|
26
26
|
**git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional]
|
27
27
|
|
@@ -30,24 +30,24 @@ Name | Type | Description | Notes
|
|
30
30
|
```ruby
|
31
31
|
require 'PulpAnsibleClient'
|
32
32
|
|
33
|
-
instance = PulpAnsibleClient::AnsibleGitRemoteResponse.new(
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
33
|
+
instance = PulpAnsibleClient::AnsibleGitRemoteResponse.new(pulp_labels: null,
|
34
|
+
sock_read_timeout: null,
|
35
|
+
name: null,
|
36
|
+
client_cert: null,
|
37
|
+
total_timeout: null,
|
38
|
+
download_concurrency: null,
|
39
|
+
headers: null,
|
39
40
|
max_retries: null,
|
41
|
+
proxy_url: null,
|
42
|
+
pulp_created: null,
|
40
43
|
url: null,
|
41
|
-
|
44
|
+
pulp_last_updated: null,
|
42
45
|
sock_connect_timeout: null,
|
43
|
-
client_cert: null,
|
44
|
-
name: null,
|
45
|
-
pulp_labels: null,
|
46
46
|
rate_limit: null,
|
47
|
-
|
47
|
+
ca_cert: null,
|
48
|
+
connect_timeout: null,
|
49
|
+
pulp_href: null,
|
48
50
|
tls_validation: null,
|
49
|
-
headers: null,
|
50
|
-
proxy_url: null,
|
51
51
|
metadata_only: null,
|
52
52
|
git_ref: null)
|
53
53
|
```
|
data/docs/AnsibleRoleResponse.md
CHANGED
@@ -5,8 +5,8 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
8
|
**artifact** | **String** | Artifact file representing the physical content |
|
9
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
10
10
|
**version** | **String** | |
|
11
11
|
**name** | **String** | |
|
12
12
|
**namespace** | **String** | |
|
@@ -17,8 +17,8 @@ Name | Type | Description | Notes
|
|
17
17
|
require 'PulpAnsibleClient'
|
18
18
|
|
19
19
|
instance = PulpAnsibleClient::AnsibleRoleResponse.new(pulp_href: null,
|
20
|
-
pulp_created: null,
|
21
20
|
artifact: null,
|
21
|
+
pulp_created: null,
|
22
22
|
version: null,
|
23
23
|
name: null,
|
24
24
|
namespace: null)
|
@@ -4,26 +4,26 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
7
8
|
**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]
|
9
|
+
**name** | **String** | A unique name for this remote. | [optional]
|
10
|
+
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
11
|
+
**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
|
+
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
13
|
+
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
14
|
+
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
15
|
+
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
16
|
+
**url** | **String** | The URL of an external content source. | [optional]
|
17
|
+
**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]
|
18
|
+
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
8
19
|
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
9
20
|
**proxy_password** | **String** | The password to authenticte to the proxy. | [optional]
|
10
|
-
**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]
|
11
|
-
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
12
21
|
**client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
|
13
|
-
**
|
14
|
-
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
15
|
-
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
22
|
+
**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]
|
16
23
|
**proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
|
17
|
-
**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]
|
18
|
-
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
19
|
-
**name** | **String** | A unique name for this remote. | [optional]
|
20
|
-
**pulp_labels** | [**Object**](.md) | | [optional]
|
21
24
|
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
22
|
-
**
|
23
|
-
**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]
|
25
|
+
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
24
26
|
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
25
|
-
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
26
|
-
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
27
27
|
**metadata_only** | **Boolean** | If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. | [optional]
|
28
28
|
**git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional]
|
29
29
|
|
@@ -32,26 +32,26 @@ Name | Type | Description | Notes
|
|
32
32
|
```ruby
|
33
33
|
require 'PulpAnsibleClient'
|
34
34
|
|
35
|
-
instance = PulpAnsibleClient::PatchedansibleGitRemote.new(
|
35
|
+
instance = PulpAnsibleClient::PatchedansibleGitRemote.new(pulp_labels: null,
|
36
|
+
sock_read_timeout: null,
|
37
|
+
name: null,
|
38
|
+
client_cert: null,
|
39
|
+
total_timeout: null,
|
40
|
+
download_concurrency: null,
|
41
|
+
headers: null,
|
42
|
+
max_retries: null,
|
43
|
+
proxy_url: null,
|
44
|
+
url: null,
|
45
|
+
sock_connect_timeout: null,
|
46
|
+
rate_limit: null,
|
36
47
|
ca_cert: null,
|
37
48
|
proxy_password: null,
|
38
|
-
connect_timeout: null,
|
39
|
-
max_retries: null,
|
40
49
|
client_key: null,
|
41
|
-
|
42
|
-
password: null,
|
43
|
-
download_concurrency: null,
|
50
|
+
connect_timeout: null,
|
44
51
|
proxy_username: null,
|
45
|
-
sock_connect_timeout: null,
|
46
|
-
client_cert: null,
|
47
|
-
name: null,
|
48
|
-
pulp_labels: null,
|
49
52
|
username: null,
|
50
|
-
|
51
|
-
total_timeout: null,
|
53
|
+
password: null,
|
52
54
|
tls_validation: null,
|
53
|
-
headers: null,
|
54
|
-
proxy_url: null,
|
55
55
|
metadata_only: null,
|
56
56
|
git_ref: null)
|
57
57
|
```
|
@@ -154,7 +154,7 @@ module PulpAnsibleClient
|
|
154
154
|
case value
|
155
155
|
when ::File, ::Tempfile
|
156
156
|
# TODO hardcode to application/octet-stream, need better way to detect content type
|
157
|
-
data[key] = Faraday::
|
157
|
+
data[key] = Faraday::FilePart.new(value.path, 'application/octet-stream', value.path)
|
158
158
|
when ::Array, nil
|
159
159
|
# let Faraday handle Array and nil parameters
|
160
160
|
data[key] = value
|
@@ -76,9 +76,6 @@ module PulpAnsibleClient
|
|
76
76
|
# The URL to receive a session token from, e.g. used with Automation Hub.
|
77
77
|
attr_accessor :auth_url
|
78
78
|
|
79
|
-
# The token key to use for authentication. See https://docs.ansible.com/ansible/latest/user_guide/collections_using.html#configuring-the-ansible-galaxy-clientfor more details
|
80
|
-
attr_accessor :token
|
81
|
-
|
82
79
|
# Sync dependencies for collections specified via requirements file
|
83
80
|
attr_accessor :sync_dependencies
|
84
81
|
|
@@ -109,7 +106,6 @@ module PulpAnsibleClient
|
|
109
106
|
:'rate_limit' => :'rate_limit',
|
110
107
|
:'requirements_file' => :'requirements_file',
|
111
108
|
:'auth_url' => :'auth_url',
|
112
|
-
:'token' => :'token',
|
113
109
|
:'sync_dependencies' => :'sync_dependencies',
|
114
110
|
:'signed_only' => :'signed_only'
|
115
111
|
}
|
@@ -139,7 +135,6 @@ module PulpAnsibleClient
|
|
139
135
|
:'rate_limit' => :'Integer',
|
140
136
|
:'requirements_file' => :'String',
|
141
137
|
:'auth_url' => :'String',
|
142
|
-
:'token' => :'String',
|
143
138
|
:'sync_dependencies' => :'Boolean',
|
144
139
|
:'signed_only' => :'Boolean'
|
145
140
|
}
|
@@ -160,7 +155,6 @@ module PulpAnsibleClient
|
|
160
155
|
:'rate_limit',
|
161
156
|
:'requirements_file',
|
162
157
|
:'auth_url',
|
163
|
-
:'token',
|
164
158
|
:'sync_dependencies',
|
165
159
|
:'signed_only'
|
166
160
|
])
|
@@ -267,10 +261,6 @@ module PulpAnsibleClient
|
|
267
261
|
self.auth_url = attributes[:'auth_url']
|
268
262
|
end
|
269
263
|
|
270
|
-
if attributes.key?(:'token')
|
271
|
-
self.token = attributes[:'token']
|
272
|
-
end
|
273
|
-
|
274
264
|
if attributes.key?(:'sync_dependencies')
|
275
265
|
self.sync_dependencies = attributes[:'sync_dependencies']
|
276
266
|
else
|
@@ -320,10 +310,6 @@ module PulpAnsibleClient
|
|
320
310
|
invalid_properties.push('invalid value for "auth_url", the character length must be smaller than or equal to 255.')
|
321
311
|
end
|
322
312
|
|
323
|
-
if !@token.nil? && @token.to_s.length > 2000
|
324
|
-
invalid_properties.push('invalid value for "token", the character length must be smaller than or equal to 2000.')
|
325
|
-
end
|
326
|
-
|
327
313
|
invalid_properties
|
328
314
|
end
|
329
315
|
|
@@ -338,7 +324,6 @@ module PulpAnsibleClient
|
|
338
324
|
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
339
325
|
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
340
326
|
return false if !@auth_url.nil? && @auth_url.to_s.length > 255
|
341
|
-
return false if !@token.nil? && @token.to_s.length > 2000
|
342
327
|
true
|
343
328
|
end
|
344
329
|
|
@@ -402,16 +387,6 @@ module PulpAnsibleClient
|
|
402
387
|
@auth_url = auth_url
|
403
388
|
end
|
404
389
|
|
405
|
-
# Custom attribute writer method with validation
|
406
|
-
# @param [Object] token Value to be assigned
|
407
|
-
def token=(token)
|
408
|
-
if !token.nil? && token.to_s.length > 2000
|
409
|
-
fail ArgumentError, 'invalid value for "token", the character length must be smaller than or equal to 2000.'
|
410
|
-
end
|
411
|
-
|
412
|
-
@token = token
|
413
|
-
end
|
414
|
-
|
415
390
|
# Checks equality by comparing each attribute.
|
416
391
|
# @param [Object] Object to be compared
|
417
392
|
def ==(o)
|
@@ -438,7 +413,6 @@ module PulpAnsibleClient
|
|
438
413
|
rate_limit == o.rate_limit &&
|
439
414
|
requirements_file == o.requirements_file &&
|
440
415
|
auth_url == o.auth_url &&
|
441
|
-
token == o.token &&
|
442
416
|
sync_dependencies == o.sync_dependencies &&
|
443
417
|
signed_only == o.signed_only
|
444
418
|
end
|
@@ -452,7 +426,7 @@ module PulpAnsibleClient
|
|
452
426
|
# Calculates hash code according to all attributes.
|
453
427
|
# @return [Integer] Hash code
|
454
428
|
def hash
|
455
|
-
[pulp_href, pulp_created, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, pulp_last_updated, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, requirements_file, auth_url,
|
429
|
+
[pulp_href, pulp_created, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, pulp_last_updated, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, requirements_file, auth_url, sync_dependencies, signed_only].hash
|
456
430
|
end
|
457
431
|
|
458
432
|
# Builds the object from hash
|
@@ -17,12 +17,12 @@ module PulpAnsibleClient
|
|
17
17
|
class AnsibleCollectionVersionResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
-
# Timestamp of creation.
|
21
|
-
attr_accessor :pulp_created
|
22
|
-
|
23
20
|
# Artifact file representing the physical content
|
24
21
|
attr_accessor :artifact
|
25
22
|
|
23
|
+
# Timestamp of creation.
|
24
|
+
attr_accessor :pulp_created
|
25
|
+
|
26
26
|
# The MD5 checksum if available.
|
27
27
|
attr_accessor :md5
|
28
28
|
|
@@ -98,8 +98,8 @@ module PulpAnsibleClient
|
|
98
98
|
def self.attribute_map
|
99
99
|
{
|
100
100
|
:'pulp_href' => :'pulp_href',
|
101
|
-
:'pulp_created' => :'pulp_created',
|
102
101
|
:'artifact' => :'artifact',
|
102
|
+
:'pulp_created' => :'pulp_created',
|
103
103
|
:'md5' => :'md5',
|
104
104
|
:'sha1' => :'sha1',
|
105
105
|
:'sha224' => :'sha224',
|
@@ -131,8 +131,8 @@ module PulpAnsibleClient
|
|
131
131
|
def self.openapi_types
|
132
132
|
{
|
133
133
|
:'pulp_href' => :'String',
|
134
|
-
:'pulp_created' => :'DateTime',
|
135
134
|
:'artifact' => :'String',
|
135
|
+
:'pulp_created' => :'DateTime',
|
136
136
|
:'md5' => :'String',
|
137
137
|
:'sha1' => :'String',
|
138
138
|
:'sha224' => :'String',
|
@@ -186,14 +186,14 @@ module PulpAnsibleClient
|
|
186
186
|
self.pulp_href = attributes[:'pulp_href']
|
187
187
|
end
|
188
188
|
|
189
|
-
if attributes.key?(:'pulp_created')
|
190
|
-
self.pulp_created = attributes[:'pulp_created']
|
191
|
-
end
|
192
|
-
|
193
189
|
if attributes.key?(:'artifact')
|
194
190
|
self.artifact = attributes[:'artifact']
|
195
191
|
end
|
196
192
|
|
193
|
+
if attributes.key?(:'pulp_created')
|
194
|
+
self.pulp_created = attributes[:'pulp_created']
|
195
|
+
end
|
196
|
+
|
197
197
|
if attributes.key?(:'md5')
|
198
198
|
self.md5 = attributes[:'md5']
|
199
199
|
end
|
@@ -544,8 +544,8 @@ module PulpAnsibleClient
|
|
544
544
|
return true if self.equal?(o)
|
545
545
|
self.class == o.class &&
|
546
546
|
pulp_href == o.pulp_href &&
|
547
|
-
pulp_created == o.pulp_created &&
|
548
547
|
artifact == o.artifact &&
|
548
|
+
pulp_created == o.pulp_created &&
|
549
549
|
md5 == o.md5 &&
|
550
550
|
sha1 == o.sha1 &&
|
551
551
|
sha224 == o.sha224 &&
|
@@ -581,7 +581,7 @@ module PulpAnsibleClient
|
|
581
581
|
# Calculates hash code according to all attributes.
|
582
582
|
# @return [Integer] Hash code
|
583
583
|
def hash
|
584
|
-
[pulp_href,
|
584
|
+
[pulp_href, artifact, pulp_created, md5, sha1, sha224, sha256, sha384, sha512, id, authors, contents, dependencies, description, docs_blob, manifest, files, documentation, homepage, issues, license, name, namespace, repository, tags, version, requires_ansible].hash
|
585
585
|
end
|
586
586
|
|
587
587
|
# Builds the object from hash
|