pulp_ansible_client 0.5.2 → 0.5.7
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 +7 -4
- data/docs/AnsibleCollectionRemote.md +8 -0
- data/docs/AnsibleCollectionRemoteResponse.md +8 -0
- data/docs/AnsibleCollectionVersionResponse.md +3 -3
- data/docs/AnsibleRoleRemote.md +9 -1
- data/docs/AnsibleRoleRemoteResponse.md +9 -1
- data/docs/AnsibleRoleResponse.md +3 -3
- data/docs/ArtifactRefResponse.md +21 -0
- data/docs/CollectionResponse.md +2 -2
- data/docs/CollectionVersionResponse.md +1 -1
- data/docs/PaginatedCollectionResponseList.md +2 -2
- data/docs/PaginatedCollectionResponseListLinks.md +23 -0
- data/docs/PaginatedCollectionResponseListMeta.md +17 -0
- data/docs/PaginatedCollectionVersionResponseList.md +2 -2
- data/docs/PatchedansibleCollectionRemote.md +8 -0
- data/docs/PatchedansibleRoleRemote.md +9 -1
- data/docs/RepositoriesAnsibleVersionsApi.md +2 -2
- data/lib/pulp_ansible_client.rb +3 -0
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +4 -4
- data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +105 -1
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +105 -1
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_role_remote.rb +108 -4
- data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +108 -4
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +11 -11
- data/lib/pulp_ansible_client/models/artifact_ref_response.rb +240 -0
- data/lib/pulp_ansible_client/models/collection_response.rb +2 -2
- data/lib/pulp_ansible_client/models/collection_version_response.rb +1 -1
- data/lib/pulp_ansible_client/models/paginated_collection_response_list.rb +2 -2
- data/lib/pulp_ansible_client/models/paginated_collection_response_list_links.rb +237 -0
- data/lib/pulp_ansible_client/models/paginated_collection_response_list_meta.rb +206 -0
- data/lib/pulp_ansible_client/models/paginated_collection_version_response_list.rb +2 -2
- data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +105 -1
- data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +108 -4
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/repositories_ansible_versions_api_spec.rb +2 -2
- data/spec/models/ansible_collection_remote_response_spec.rb +24 -0
- data/spec/models/ansible_collection_remote_spec.rb +24 -0
- data/spec/models/ansible_collection_version_response_spec.rb +3 -3
- data/spec/models/ansible_role_remote_response_spec.rb +24 -0
- data/spec/models/ansible_role_remote_spec.rb +24 -0
- data/spec/models/ansible_role_response_spec.rb +3 -3
- data/spec/models/artifact_ref_response_spec.rb +53 -0
- data/spec/models/paginated_collection_response_list_links_spec.rb +59 -0
- data/spec/models/paginated_collection_response_list_meta_spec.rb +41 -0
- data/spec/models/patchedansible_collection_remote_spec.rb +24 -0
- data/spec/models/patchedansible_role_remote_spec.rb +24 -0
- metadata +74 -62
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 67bb2ebfa2cac49a224c4dde601bb4819395e189c9982c4581a1564393598ca4
|
4
|
+
data.tar.gz: 80a6d3e05186aa7fb13409183955b6a219774282f289139fb369cf0405c89176
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 76762a146aa9a60ec3416cea92791a09569581485b9d05a9d49a431bab74bc6b2713ab4b64e8589193cb2ac2fb849ae0355276c0cfed4e9af0515fdebd3ba676
|
7
|
+
data.tar.gz: d82a6a73f7f53f4daef89744a38f6fc90d5150bf6bc567620ec45ffefd0a4f891b39cfb0e0e82faf8a3d7e8a59cf25c05b3ff9f0462c773f3106e6152358fb8f
|
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.5.
|
10
|
+
- Package version: 0.5.7
|
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.5.
|
27
|
+
gem install ./pulp_ansible_client-0.5.7.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_ansible_client-0.5.
|
30
|
+
(for development, run `gem install --dev ./pulp_ansible_client-0.5.7.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.5.
|
36
|
+
gem 'pulp_ansible_client', '~> 0.5.7'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -165,6 +165,7 @@ Class | Method | HTTP request | Description
|
|
165
165
|
- [PulpAnsibleClient::AnsibleRoleRemoteResponse](docs/AnsibleRoleRemoteResponse.md)
|
166
166
|
- [PulpAnsibleClient::AnsibleRoleResponse](docs/AnsibleRoleResponse.md)
|
167
167
|
- [PulpAnsibleClient::AnsibleTagResponse](docs/AnsibleTagResponse.md)
|
168
|
+
- [PulpAnsibleClient::ArtifactRefResponse](docs/ArtifactRefResponse.md)
|
168
169
|
- [PulpAnsibleClient::AsyncOperationResponse](docs/AsyncOperationResponse.md)
|
169
170
|
- [PulpAnsibleClient::CollectionImportDetailResponse](docs/CollectionImportDetailResponse.md)
|
170
171
|
- [PulpAnsibleClient::CollectionMetadataResponse](docs/CollectionMetadataResponse.md)
|
@@ -183,6 +184,8 @@ Class | Method | HTTP request | Description
|
|
183
184
|
- [PulpAnsibleClient::GalaxyRoleResponse](docs/GalaxyRoleResponse.md)
|
184
185
|
- [PulpAnsibleClient::GalaxyRoleVersionResponse](docs/GalaxyRoleVersionResponse.md)
|
185
186
|
- [PulpAnsibleClient::PaginatedCollectionResponseList](docs/PaginatedCollectionResponseList.md)
|
187
|
+
- [PulpAnsibleClient::PaginatedCollectionResponseListLinks](docs/PaginatedCollectionResponseListLinks.md)
|
188
|
+
- [PulpAnsibleClient::PaginatedCollectionResponseListMeta](docs/PaginatedCollectionResponseListMeta.md)
|
186
189
|
- [PulpAnsibleClient::PaginatedCollectionVersionResponseList](docs/PaginatedCollectionVersionResponseList.md)
|
187
190
|
- [PulpAnsibleClient::PaginatedGalaxyCollectionResponseList](docs/PaginatedGalaxyCollectionResponseList.md)
|
188
191
|
- [PulpAnsibleClient::PaginatedGalaxyCollectionVersionResponseList](docs/PaginatedGalaxyCollectionVersionResponseList.md)
|
@@ -15,6 +15,10 @@ Name | Type | Description | Notes
|
|
15
15
|
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
16
16
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
17
17
|
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. | [optional]
|
18
|
+
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
|
19
|
+
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
20
|
+
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
21
|
+
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
18
22
|
**requirements_file** | **String** | The string version of Collection requirements yaml. | [optional]
|
19
23
|
**auth_url** | **String** | The URL to receive a session token from, e.g. used with Automation Hub. | [optional]
|
20
24
|
**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]
|
@@ -35,6 +39,10 @@ instance = PulpAnsibleClient::AnsibleCollectionRemote.new(name: null,
|
|
35
39
|
password: null,
|
36
40
|
download_concurrency: null,
|
37
41
|
policy: null,
|
42
|
+
total_timeout: null,
|
43
|
+
connect_timeout: null,
|
44
|
+
sock_connect_timeout: null,
|
45
|
+
sock_read_timeout: null,
|
38
46
|
requirements_file: null,
|
39
47
|
auth_url: null,
|
40
48
|
token: null)
|
@@ -18,6 +18,10 @@ Name | Type | Description | Notes
|
|
18
18
|
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
19
19
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
20
20
|
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. | [optional]
|
21
|
+
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
|
22
|
+
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
23
|
+
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
24
|
+
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
21
25
|
**requirements_file** | **String** | The string version of Collection requirements yaml. | [optional]
|
22
26
|
**auth_url** | **String** | The URL to receive a session token from, e.g. used with Automation Hub. | [optional]
|
23
27
|
**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]
|
@@ -41,6 +45,10 @@ instance = PulpAnsibleClient::AnsibleCollectionRemoteResponse.new(pulp_href: nul
|
|
41
45
|
pulp_last_updated: null,
|
42
46
|
download_concurrency: null,
|
43
47
|
policy: null,
|
48
|
+
total_timeout: null,
|
49
|
+
connect_timeout: null,
|
50
|
+
sock_connect_timeout: null,
|
51
|
+
sock_read_timeout: null,
|
44
52
|
requirements_file: null,
|
45
53
|
auth_url: null,
|
46
54
|
token: null)
|
@@ -4,9 +4,9 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
8
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
9
8
|
**artifact** | **String** | Artifact file representing the physical content |
|
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]
|
@@ -34,9 +34,9 @@ Name | Type | Description | Notes
|
|
34
34
|
```ruby
|
35
35
|
require 'PulpAnsibleClient'
|
36
36
|
|
37
|
-
instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(
|
38
|
-
pulp_href: null,
|
37
|
+
instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(pulp_href: null,
|
39
38
|
artifact: null,
|
39
|
+
pulp_created: null,
|
40
40
|
md5: null,
|
41
41
|
sha1: null,
|
42
42
|
sha224: null,
|
data/docs/AnsibleRoleRemote.md
CHANGED
@@ -15,6 +15,10 @@ Name | Type | Description | Notes
|
|
15
15
|
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
16
16
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
17
17
|
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. | [optional]
|
18
|
+
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
|
19
|
+
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
20
|
+
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
21
|
+
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
18
22
|
|
19
23
|
## Code Sample
|
20
24
|
|
@@ -31,7 +35,11 @@ instance = PulpAnsibleClient::AnsibleRoleRemote.new(name: null,
|
|
31
35
|
username: null,
|
32
36
|
password: null,
|
33
37
|
download_concurrency: null,
|
34
|
-
policy: null
|
38
|
+
policy: null,
|
39
|
+
total_timeout: null,
|
40
|
+
connect_timeout: null,
|
41
|
+
sock_connect_timeout: null,
|
42
|
+
sock_read_timeout: null)
|
35
43
|
```
|
36
44
|
|
37
45
|
|
@@ -18,6 +18,10 @@ Name | Type | Description | Notes
|
|
18
18
|
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
19
19
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
20
20
|
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. | [optional]
|
21
|
+
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
|
22
|
+
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
23
|
+
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
24
|
+
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
21
25
|
|
22
26
|
## Code Sample
|
23
27
|
|
@@ -37,7 +41,11 @@ instance = PulpAnsibleClient::AnsibleRoleRemoteResponse.new(pulp_href: null,
|
|
37
41
|
password: null,
|
38
42
|
pulp_last_updated: null,
|
39
43
|
download_concurrency: null,
|
40
|
-
policy: null
|
44
|
+
policy: null,
|
45
|
+
total_timeout: null,
|
46
|
+
connect_timeout: null,
|
47
|
+
sock_connect_timeout: null,
|
48
|
+
sock_read_timeout: null)
|
41
49
|
```
|
42
50
|
|
43
51
|
|
data/docs/AnsibleRoleResponse.md
CHANGED
@@ -4,9 +4,9 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
8
7
|
**pulp_href** | **String** | | [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** | |
|
@@ -16,9 +16,9 @@ Name | Type | Description | Notes
|
|
16
16
|
```ruby
|
17
17
|
require 'PulpAnsibleClient'
|
18
18
|
|
19
|
-
instance = PulpAnsibleClient::AnsibleRoleResponse.new(
|
20
|
-
pulp_href: null,
|
19
|
+
instance = PulpAnsibleClient::AnsibleRoleResponse.new(pulp_href: null,
|
21
20
|
artifact: null,
|
21
|
+
pulp_created: null,
|
22
22
|
version: null,
|
23
23
|
name: null,
|
24
24
|
namespace: null)
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# PulpAnsibleClient::ArtifactRefResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**filename** | **String** | |
|
8
|
+
**sha256** | **String** | |
|
9
|
+
**size** | **Integer** | |
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'PulpAnsibleClient'
|
15
|
+
|
16
|
+
instance = PulpAnsibleClient::ArtifactRefResponse.new(filename: null,
|
17
|
+
sha256: null,
|
18
|
+
size: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
data/docs/CollectionResponse.md
CHANGED
@@ -10,8 +10,8 @@ Name | Type | Description | Notes
|
|
10
10
|
**deprecated** | **Boolean** | |
|
11
11
|
**versions_url** | **String** | | [optional] [readonly]
|
12
12
|
**highest_version** | [**Object**](.md) | | [optional] [readonly]
|
13
|
-
**created_at** | **
|
14
|
-
**updated_at** | **
|
13
|
+
**created_at** | **DateTime** | | [optional] [readonly]
|
14
|
+
**updated_at** | **DateTime** | | [optional] [readonly]
|
15
15
|
|
16
16
|
## Code Sample
|
17
17
|
|
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
|
|
8
8
|
**href** | **String** | | [optional] [readonly]
|
9
9
|
**created_at** | **DateTime** | |
|
10
10
|
**updated_at** | **DateTime** | |
|
11
|
-
**artifact** | **
|
11
|
+
**artifact** | [**ArtifactRefResponse**](ArtifactRefResponse.md) | | [optional] [readonly]
|
12
12
|
**collection** | [**CollectionRefResponse**](CollectionRefResponse.md) | | [optional] [readonly]
|
13
13
|
**download_url** | **String** | | [optional] [readonly]
|
14
14
|
**name** | **String** | | [optional] [readonly]
|
@@ -4,8 +4,8 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**meta** | **
|
8
|
-
**links** | **
|
7
|
+
**meta** | [**PaginatedCollectionResponseListMeta**](PaginatedCollectionResponseListMeta.md) | | [optional]
|
8
|
+
**links** | [**PaginatedCollectionResponseListLinks**](PaginatedCollectionResponseListLinks.md) | | [optional]
|
9
9
|
**data** | [**Array<CollectionResponse>**](CollectionResponse.md) | | [optional]
|
10
10
|
|
11
11
|
## Code Sample
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# PulpAnsibleClient::PaginatedCollectionResponseListLinks
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**first** | **String** | | [optional]
|
8
|
+
**previous** | **String** | | [optional]
|
9
|
+
**_next** | **String** | | [optional]
|
10
|
+
**last** | **String** | | [optional]
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'PulpAnsibleClient'
|
16
|
+
|
17
|
+
instance = PulpAnsibleClient::PaginatedCollectionResponseListLinks.new(first: null,
|
18
|
+
previous: null,
|
19
|
+
_next: null,
|
20
|
+
last: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# PulpAnsibleClient::PaginatedCollectionResponseListMeta
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**count** | **Integer** | | [optional]
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'PulpAnsibleClient'
|
13
|
+
|
14
|
+
instance = PulpAnsibleClient::PaginatedCollectionResponseListMeta.new(count: 123)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
@@ -4,8 +4,8 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**meta** | **
|
8
|
-
**links** | **
|
7
|
+
**meta** | [**PaginatedCollectionResponseListMeta**](PaginatedCollectionResponseListMeta.md) | | [optional]
|
8
|
+
**links** | [**PaginatedCollectionResponseListLinks**](PaginatedCollectionResponseListLinks.md) | | [optional]
|
9
9
|
**data** | [**Array<CollectionVersionResponse>**](CollectionVersionResponse.md) | | [optional]
|
10
10
|
|
11
11
|
## Code Sample
|
@@ -15,6 +15,10 @@ Name | Type | Description | Notes
|
|
15
15
|
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
16
16
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
17
17
|
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. | [optional]
|
18
|
+
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
|
19
|
+
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
20
|
+
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
21
|
+
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
18
22
|
**requirements_file** | **String** | The string version of Collection requirements yaml. | [optional]
|
19
23
|
**auth_url** | **String** | The URL to receive a session token from, e.g. used with Automation Hub. | [optional]
|
20
24
|
**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]
|
@@ -35,6 +39,10 @@ instance = PulpAnsibleClient::PatchedansibleCollectionRemote.new(name: null,
|
|
35
39
|
password: null,
|
36
40
|
download_concurrency: null,
|
37
41
|
policy: null,
|
42
|
+
total_timeout: null,
|
43
|
+
connect_timeout: null,
|
44
|
+
sock_connect_timeout: null,
|
45
|
+
sock_read_timeout: null,
|
38
46
|
requirements_file: null,
|
39
47
|
auth_url: null,
|
40
48
|
token: null)
|
@@ -15,6 +15,10 @@ Name | Type | Description | Notes
|
|
15
15
|
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
16
16
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
17
17
|
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. | [optional]
|
18
|
+
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
|
19
|
+
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
20
|
+
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
21
|
+
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
18
22
|
|
19
23
|
## Code Sample
|
20
24
|
|
@@ -31,7 +35,11 @@ instance = PulpAnsibleClient::PatchedansibleRoleRemote.new(name: null,
|
|
31
35
|
username: null,
|
32
36
|
password: null,
|
33
37
|
download_concurrency: null,
|
34
|
-
policy: null
|
38
|
+
policy: null,
|
39
|
+
total_timeout: null,
|
40
|
+
connect_timeout: null,
|
41
|
+
sock_connect_timeout: null,
|
42
|
+
sock_read_timeout: null)
|
35
43
|
```
|
36
44
|
|
37
45
|
|
@@ -17,7 +17,7 @@ Method | HTTP request | Description
|
|
17
17
|
|
18
18
|
Delete a repository version
|
19
19
|
|
20
|
-
Trigger an asynchronous task to delete a
|
20
|
+
Trigger an asynchronous task to delete a repository version.
|
21
21
|
|
22
22
|
### Example
|
23
23
|
|
@@ -222,7 +222,7 @@ Name | Type | Description | Notes
|
|
222
222
|
|
223
223
|
|
224
224
|
|
225
|
-
Trigger an asynchronous task to repair a
|
225
|
+
Trigger an asynchronous task to repair a repository version.
|
226
226
|
|
227
227
|
### Example
|
228
228
|
|
data/lib/pulp_ansible_client.rb
CHANGED
@@ -31,6 +31,7 @@ require 'pulp_ansible_client/models/ansible_role_remote'
|
|
31
31
|
require 'pulp_ansible_client/models/ansible_role_remote_response'
|
32
32
|
require 'pulp_ansible_client/models/ansible_role_response'
|
33
33
|
require 'pulp_ansible_client/models/ansible_tag_response'
|
34
|
+
require 'pulp_ansible_client/models/artifact_ref_response'
|
34
35
|
require 'pulp_ansible_client/models/async_operation_response'
|
35
36
|
require 'pulp_ansible_client/models/collection_import_detail_response'
|
36
37
|
require 'pulp_ansible_client/models/collection_metadata_response'
|
@@ -49,6 +50,8 @@ require 'pulp_ansible_client/models/galaxy_collection_version_response'
|
|
49
50
|
require 'pulp_ansible_client/models/galaxy_role_response'
|
50
51
|
require 'pulp_ansible_client/models/galaxy_role_version_response'
|
51
52
|
require 'pulp_ansible_client/models/paginated_collection_response_list'
|
53
|
+
require 'pulp_ansible_client/models/paginated_collection_response_list_links'
|
54
|
+
require 'pulp_ansible_client/models/paginated_collection_response_list_meta'
|
52
55
|
require 'pulp_ansible_client/models/paginated_collection_version_response_list'
|
53
56
|
require 'pulp_ansible_client/models/paginated_galaxy_collection_response_list'
|
54
57
|
require 'pulp_ansible_client/models/paginated_galaxy_collection_version_response_list'
|
@@ -20,7 +20,7 @@ module PulpAnsibleClient
|
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
22
|
# Delete a repository version
|
23
|
-
# Trigger an asynchronous task to delete a
|
23
|
+
# Trigger an asynchronous task to delete a repository version.
|
24
24
|
# @param ansible_ansible_repository_version_href [String]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
26
|
# @return [AsyncOperationResponse]
|
@@ -30,7 +30,7 @@ module PulpAnsibleClient
|
|
30
30
|
end
|
31
31
|
|
32
32
|
# Delete a repository version
|
33
|
-
# Trigger an asynchronous task to delete a
|
33
|
+
# Trigger an asynchronous task to delete a repository version.
|
34
34
|
# @param ansible_ansible_repository_version_href [String]
|
35
35
|
# @param [Hash] opts the optional parameters
|
36
36
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
@@ -268,7 +268,7 @@ module PulpAnsibleClient
|
|
268
268
|
return data, status_code, headers
|
269
269
|
end
|
270
270
|
|
271
|
-
# Trigger an asynchronous task to repair a
|
271
|
+
# Trigger an asynchronous task to repair a repository version.
|
272
272
|
# @param ansible_ansible_repository_version_href [String]
|
273
273
|
# @param repository_version [RepositoryVersion]
|
274
274
|
# @param [Hash] opts the optional parameters
|
@@ -278,7 +278,7 @@ module PulpAnsibleClient
|
|
278
278
|
data
|
279
279
|
end
|
280
280
|
|
281
|
-
# Trigger an asynchronous task to repair a
|
281
|
+
# Trigger an asynchronous task to repair a repository version.
|
282
282
|
# @param ansible_ansible_repository_version_href [String]
|
283
283
|
# @param repository_version [RepositoryVersion]
|
284
284
|
# @param [Hash] opts the optional parameters
|
@@ -48,6 +48,18 @@ module PulpAnsibleClient
|
|
48
48
|
# The policy to use when downloading content.
|
49
49
|
attr_accessor :policy
|
50
50
|
|
51
|
+
# aiohttp.ClientTimeout.total (q.v.) for download-connections.
|
52
|
+
attr_accessor :total_timeout
|
53
|
+
|
54
|
+
# aiohttp.ClientTimeout.connect (q.v.) for download-connections.
|
55
|
+
attr_accessor :connect_timeout
|
56
|
+
|
57
|
+
# aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections.
|
58
|
+
attr_accessor :sock_connect_timeout
|
59
|
+
|
60
|
+
# aiohttp.ClientTimeout.sock_read (q.v.) for download-connections.
|
61
|
+
attr_accessor :sock_read_timeout
|
62
|
+
|
51
63
|
# The string version of Collection requirements yaml.
|
52
64
|
attr_accessor :requirements_file
|
53
65
|
|
@@ -71,6 +83,10 @@ module PulpAnsibleClient
|
|
71
83
|
:'password' => :'password',
|
72
84
|
:'download_concurrency' => :'download_concurrency',
|
73
85
|
:'policy' => :'policy',
|
86
|
+
:'total_timeout' => :'total_timeout',
|
87
|
+
:'connect_timeout' => :'connect_timeout',
|
88
|
+
:'sock_connect_timeout' => :'sock_connect_timeout',
|
89
|
+
:'sock_read_timeout' => :'sock_read_timeout',
|
74
90
|
:'requirements_file' => :'requirements_file',
|
75
91
|
:'auth_url' => :'auth_url',
|
76
92
|
:'token' => :'token'
|
@@ -91,6 +107,10 @@ module PulpAnsibleClient
|
|
91
107
|
:'password' => :'String',
|
92
108
|
:'download_concurrency' => :'Integer',
|
93
109
|
:'policy' => :'PolicyEnum',
|
110
|
+
:'total_timeout' => :'Float',
|
111
|
+
:'connect_timeout' => :'Float',
|
112
|
+
:'sock_connect_timeout' => :'Float',
|
113
|
+
:'sock_read_timeout' => :'Float',
|
94
114
|
:'requirements_file' => :'String',
|
95
115
|
:'auth_url' => :'String',
|
96
116
|
:'token' => :'String'
|
@@ -106,6 +126,10 @@ module PulpAnsibleClient
|
|
106
126
|
:'proxy_url',
|
107
127
|
:'username',
|
108
128
|
:'password',
|
129
|
+
:'total_timeout',
|
130
|
+
:'connect_timeout',
|
131
|
+
:'sock_connect_timeout',
|
132
|
+
:'sock_read_timeout',
|
109
133
|
:'requirements_file',
|
110
134
|
:'auth_url',
|
111
135
|
:'token'
|
@@ -171,6 +195,22 @@ module PulpAnsibleClient
|
|
171
195
|
self.policy = attributes[:'policy']
|
172
196
|
end
|
173
197
|
|
198
|
+
if attributes.key?(:'total_timeout')
|
199
|
+
self.total_timeout = attributes[:'total_timeout']
|
200
|
+
end
|
201
|
+
|
202
|
+
if attributes.key?(:'connect_timeout')
|
203
|
+
self.connect_timeout = attributes[:'connect_timeout']
|
204
|
+
end
|
205
|
+
|
206
|
+
if attributes.key?(:'sock_connect_timeout')
|
207
|
+
self.sock_connect_timeout = attributes[:'sock_connect_timeout']
|
208
|
+
end
|
209
|
+
|
210
|
+
if attributes.key?(:'sock_read_timeout')
|
211
|
+
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
212
|
+
end
|
213
|
+
|
174
214
|
if attributes.key?(:'requirements_file')
|
175
215
|
self.requirements_file = attributes[:'requirements_file']
|
176
216
|
end
|
@@ -200,6 +240,22 @@ module PulpAnsibleClient
|
|
200
240
|
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
201
241
|
end
|
202
242
|
|
243
|
+
if !@total_timeout.nil? && @total_timeout < 0.0
|
244
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
245
|
+
end
|
246
|
+
|
247
|
+
if !@connect_timeout.nil? && @connect_timeout < 0.0
|
248
|
+
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
|
249
|
+
end
|
250
|
+
|
251
|
+
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
252
|
+
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
|
253
|
+
end
|
254
|
+
|
255
|
+
if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
256
|
+
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
257
|
+
end
|
258
|
+
|
203
259
|
if !@auth_url.nil? && @auth_url.to_s.length > 255
|
204
260
|
invalid_properties.push('invalid value for "auth_url", the character length must be smaller than or equal to 255.')
|
205
261
|
end
|
@@ -217,6 +273,10 @@ module PulpAnsibleClient
|
|
217
273
|
return false if @name.nil?
|
218
274
|
return false if @url.nil?
|
219
275
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
276
|
+
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
277
|
+
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
278
|
+
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
279
|
+
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
220
280
|
return false if !@auth_url.nil? && @auth_url.to_s.length > 255
|
221
281
|
return false if !@token.nil? && @token.to_s.length > 2000
|
222
282
|
true
|
@@ -232,6 +292,46 @@ module PulpAnsibleClient
|
|
232
292
|
@download_concurrency = download_concurrency
|
233
293
|
end
|
234
294
|
|
295
|
+
# Custom attribute writer method with validation
|
296
|
+
# @param [Object] total_timeout Value to be assigned
|
297
|
+
def total_timeout=(total_timeout)
|
298
|
+
if !total_timeout.nil? && total_timeout < 0.0
|
299
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
|
300
|
+
end
|
301
|
+
|
302
|
+
@total_timeout = total_timeout
|
303
|
+
end
|
304
|
+
|
305
|
+
# Custom attribute writer method with validation
|
306
|
+
# @param [Object] connect_timeout Value to be assigned
|
307
|
+
def connect_timeout=(connect_timeout)
|
308
|
+
if !connect_timeout.nil? && connect_timeout < 0.0
|
309
|
+
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
|
310
|
+
end
|
311
|
+
|
312
|
+
@connect_timeout = connect_timeout
|
313
|
+
end
|
314
|
+
|
315
|
+
# Custom attribute writer method with validation
|
316
|
+
# @param [Object] sock_connect_timeout Value to be assigned
|
317
|
+
def sock_connect_timeout=(sock_connect_timeout)
|
318
|
+
if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
|
319
|
+
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
|
320
|
+
end
|
321
|
+
|
322
|
+
@sock_connect_timeout = sock_connect_timeout
|
323
|
+
end
|
324
|
+
|
325
|
+
# Custom attribute writer method with validation
|
326
|
+
# @param [Object] sock_read_timeout Value to be assigned
|
327
|
+
def sock_read_timeout=(sock_read_timeout)
|
328
|
+
if !sock_read_timeout.nil? && sock_read_timeout < 0.0
|
329
|
+
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
|
330
|
+
end
|
331
|
+
|
332
|
+
@sock_read_timeout = sock_read_timeout
|
333
|
+
end
|
334
|
+
|
235
335
|
# Custom attribute writer method with validation
|
236
336
|
# @param [Object] auth_url Value to be assigned
|
237
337
|
def auth_url=(auth_url)
|
@@ -268,6 +368,10 @@ module PulpAnsibleClient
|
|
268
368
|
password == o.password &&
|
269
369
|
download_concurrency == o.download_concurrency &&
|
270
370
|
policy == o.policy &&
|
371
|
+
total_timeout == o.total_timeout &&
|
372
|
+
connect_timeout == o.connect_timeout &&
|
373
|
+
sock_connect_timeout == o.sock_connect_timeout &&
|
374
|
+
sock_read_timeout == o.sock_read_timeout &&
|
271
375
|
requirements_file == o.requirements_file &&
|
272
376
|
auth_url == o.auth_url &&
|
273
377
|
token == o.token
|
@@ -282,7 +386,7 @@ module PulpAnsibleClient
|
|
282
386
|
# Calculates hash code according to all attributes.
|
283
387
|
# @return [Integer] Hash code
|
284
388
|
def hash
|
285
|
-
[name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, username, password, download_concurrency, policy, requirements_file, auth_url, token].hash
|
389
|
+
[name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, username, password, download_concurrency, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, requirements_file, auth_url, token].hash
|
286
390
|
end
|
287
391
|
|
288
392
|
# Builds the object from hash
|