pulp_ansible_client 0.15.4 → 0.15.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 +3 -3
- data/docs/AnsibleCollectionVersionResponse.md +2 -2
- data/docs/AnsibleGitRemote.md +28 -28
- data/docs/AnsibleGitRemoteResponse.md +26 -26
- data/docs/AnsibleRoleResponse.md +2 -2
- data/docs/ContentCollectionVersionsApi.md +3 -3
- data/docs/PatchedansibleGitRemote.md +28 -28
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +3 -3
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +10 -10
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +218 -218
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +147 -147
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +10 -10
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +217 -217
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/content_collection_versions_api_spec.rb +1 -1
- data/spec/models/ansible_collection_version_response_spec.rb +2 -2
- data/spec/models/ansible_collection_version_spec.rb +3 -3
- 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 +2 -2
- data/spec/models/patchedansible_git_remote_spec.rb +20 -20
- metadata +101 -101
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4414884818da67f88c112f1cf22271cab770a14f57c78b4c5397c4a5f31799c9
|
|
4
|
+
data.tar.gz: 17d9c22d392c1f34663a9368e32cab0acc3b36f128b45bf5abcf8ec7905ffb3d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b66e184b824d58b98528ea89ec2fe626400ea332dd511402fee8669a3756107ed458de42a6f11a7903749d1c3a7e479a1094e12dc8824437b24d1ff8c66a0a6a
|
|
7
|
+
data.tar.gz: cd26b32d8eb697e37fcd3c73ca07cb9bce28f79473ac511c9bda47beb54f423d9683bfcc4a0cecf69ffdf1ab36e830c2e33344658ddf0eab7dbc87c9b323bee9
|
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.15.
|
|
10
|
+
- Package version: 0.15.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.15.
|
|
27
|
+
gem install ./pulp_ansible_client-0.15.5.gem
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
(for development, run `gem install --dev ./pulp_ansible_client-0.15.
|
|
30
|
+
(for development, run `gem install --dev ./pulp_ansible_client-0.15.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.15.
|
|
36
|
+
gem 'pulp_ansible_client', '~> 0.15.5'
|
|
37
37
|
|
|
38
38
|
### Install from Git
|
|
39
39
|
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**file** | **File** | An uploaded file that may be turned into the artifact of the content unit. | [optional]
|
|
8
7
|
**repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
|
|
9
8
|
**upload** | **String** | An uncommitted upload that may be turned into the artifact of the content unit. | [optional]
|
|
9
|
+
**file** | **File** | An uploaded file that may be turned into the artifact of the content unit. | [optional]
|
|
10
10
|
**name** | **String** | The name of the collection. |
|
|
11
11
|
**namespace** | **String** | The namespace of the collection. |
|
|
12
12
|
**version** | **String** | The version of the collection. |
|
|
@@ -16,9 +16,9 @@ Name | Type | Description | Notes
|
|
|
16
16
|
```ruby
|
|
17
17
|
require 'PulpAnsibleClient'
|
|
18
18
|
|
|
19
|
-
instance = PulpAnsibleClient::AnsibleCollectionVersion.new(
|
|
20
|
-
repository: null,
|
|
19
|
+
instance = PulpAnsibleClient::AnsibleCollectionVersion.new(repository: null,
|
|
21
20
|
upload: null,
|
|
21
|
+
file: null,
|
|
22
22
|
name: null,
|
|
23
23
|
namespace: null,
|
|
24
24
|
version: null)
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**artifact** | **String** | Artifact file representing the physical content | [optional]
|
|
8
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
|
9
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
9
|
+
**pulp_href** | **String** | | [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(artifact: null,
|
|
41
|
-
pulp_href: null,
|
|
42
41
|
pulp_created: null,
|
|
42
|
+
pulp_href: 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
|
-
**
|
|
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
|
-
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
|
10
|
-
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
|
7
|
+
**name** | **String** | A unique name for this remote. |
|
|
11
8
|
**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]
|
|
9
|
+
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
|
12
10
|
**proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
|
|
13
|
-
**
|
|
14
|
-
**client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
|
|
15
|
-
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
|
16
|
-
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
|
11
|
+
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
|
17
12
|
**password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
|
18
|
-
**
|
|
19
|
-
**
|
|
13
|
+
**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]
|
|
14
|
+
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
|
15
|
+
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
|
16
|
+
**client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
|
|
17
|
+
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
|
20
18
|
**proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
|
21
|
-
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
|
22
19
|
**url** | **String** | The URL of an external content source. |
|
|
23
|
-
**
|
|
24
|
-
**
|
|
25
|
-
**
|
|
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
|
+
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
|
22
|
+
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
|
26
23
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
24
|
+
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
|
25
|
+
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
|
26
|
+
**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]
|
|
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
|
-
sock_read_timeout: null,
|
|
37
|
-
ca_cert: null,
|
|
38
|
-
client_cert: null,
|
|
35
|
+
instance = PulpAnsibleClient::AnsibleGitRemote.new(name: null,
|
|
39
36
|
connect_timeout: null,
|
|
37
|
+
client_cert: null,
|
|
40
38
|
proxy_username: null,
|
|
41
|
-
|
|
42
|
-
client_key: null,
|
|
43
|
-
username: null,
|
|
44
|
-
total_timeout: null,
|
|
39
|
+
download_concurrency: null,
|
|
45
40
|
password: null,
|
|
46
|
-
|
|
47
|
-
|
|
41
|
+
total_timeout: null,
|
|
42
|
+
tls_validation: null,
|
|
43
|
+
ca_cert: null,
|
|
44
|
+
client_key: null,
|
|
45
|
+
proxy_url: null,
|
|
48
46
|
proxy_password: null,
|
|
49
|
-
headers: null,
|
|
50
47
|
url: null,
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
48
|
+
sock_connect_timeout: null,
|
|
49
|
+
username: null,
|
|
50
|
+
headers: null,
|
|
54
51
|
pulp_labels: null,
|
|
52
|
+
max_retries: null,
|
|
53
|
+
rate_limit: null,
|
|
54
|
+
sock_read_timeout: null,
|
|
55
55
|
metadata_only: null,
|
|
56
56
|
git_ref: null)
|
|
57
57
|
```
|
|
@@ -4,25 +4,25 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
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
|
-
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
|
10
|
-
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
|
7
|
+
**name** | **String** | A unique name for this remote. |
|
|
11
8
|
**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]
|
|
9
|
+
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
|
12
10
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
13
|
-
**
|
|
14
|
-
**hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFields>**](AnsibleCollectionRemoteResponseHiddenFields.md) | List of hidden (write only) fields | [optional] [readonly]
|
|
11
|
+
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
|
15
12
|
**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]
|
|
16
|
-
**
|
|
13
|
+
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
|
14
|
+
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
|
15
|
+
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
|
16
|
+
**url** | **String** | The URL of an external content source. |
|
|
17
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
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
|
19
|
-
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
|
20
18
|
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
|
21
|
-
**url** | **String** | The URL of an external content source. |
|
|
22
|
-
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
|
23
|
-
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
|
24
|
-
**name** | **String** | A unique name for this remote. |
|
|
25
19
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
20
|
+
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
|
21
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
|
22
|
+
**hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFields>**](AnsibleCollectionRemoteResponseHiddenFields.md) | List of hidden (write only) fields | [optional] [readonly]
|
|
23
|
+
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
|
24
|
+
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
|
25
|
+
**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]
|
|
26
26
|
**metadata_only** | **Boolean** | If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. | [optional]
|
|
27
27
|
**git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional]
|
|
28
28
|
|
|
@@ -31,25 +31,25 @@ Name | Type | Description | Notes
|
|
|
31
31
|
```ruby
|
|
32
32
|
require 'PulpAnsibleClient'
|
|
33
33
|
|
|
34
|
-
instance = PulpAnsibleClient::AnsibleGitRemoteResponse.new(
|
|
35
|
-
sock_read_timeout: null,
|
|
36
|
-
ca_cert: null,
|
|
37
|
-
client_cert: null,
|
|
34
|
+
instance = PulpAnsibleClient::AnsibleGitRemoteResponse.new(name: null,
|
|
38
35
|
connect_timeout: null,
|
|
36
|
+
client_cert: null,
|
|
39
37
|
pulp_created: null,
|
|
40
|
-
|
|
41
|
-
hidden_fields: null,
|
|
38
|
+
download_concurrency: null,
|
|
42
39
|
total_timeout: null,
|
|
43
|
-
|
|
40
|
+
tls_validation: null,
|
|
41
|
+
ca_cert: null,
|
|
42
|
+
proxy_url: null,
|
|
43
|
+
url: null,
|
|
44
44
|
sock_connect_timeout: null,
|
|
45
|
-
pulp_href: null,
|
|
46
|
-
pulp_last_updated: null,
|
|
47
45
|
headers: null,
|
|
48
|
-
url: null,
|
|
49
|
-
download_concurrency: null,
|
|
50
|
-
tls_validation: null,
|
|
51
|
-
name: null,
|
|
52
46
|
pulp_labels: null,
|
|
47
|
+
max_retries: null,
|
|
48
|
+
pulp_href: null,
|
|
49
|
+
hidden_fields: null,
|
|
50
|
+
pulp_last_updated: null,
|
|
51
|
+
rate_limit: null,
|
|
52
|
+
sock_read_timeout: null,
|
|
53
53
|
metadata_only: null,
|
|
54
54
|
git_ref: null)
|
|
55
55
|
```
|
data/docs/AnsibleRoleResponse.md
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**artifact** | **String** | Artifact file representing the physical content |
|
|
8
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
|
9
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
9
|
+
**pulp_href** | **String** | | [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(artifact: null,
|
|
20
|
-
pulp_href: null,
|
|
21
20
|
pulp_created: null,
|
|
21
|
+
pulp_href: null,
|
|
22
22
|
version: null,
|
|
23
23
|
name: null,
|
|
24
24
|
namespace: null)
|
|
@@ -35,9 +35,9 @@ name = 'name_example' # String | The name of the collection.
|
|
|
35
35
|
namespace = 'namespace_example' # String | The namespace of the collection.
|
|
36
36
|
version = 'version_example' # String | The version of the collection.
|
|
37
37
|
opts = {
|
|
38
|
-
file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the artifact of the content unit.
|
|
39
38
|
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
|
40
|
-
upload: 'upload_example' # String | An uncommitted upload that may be turned into the artifact of the content unit.
|
|
39
|
+
upload: 'upload_example', # String | An uncommitted upload that may be turned into the artifact of the content unit.
|
|
40
|
+
file: File.new('/path/to/file') # File | An uploaded file that may be turned into the artifact of the content unit.
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
begin
|
|
@@ -57,9 +57,9 @@ Name | Type | Description | Notes
|
|
|
57
57
|
**name** | **String**| The name of the collection. |
|
|
58
58
|
**namespace** | **String**| The namespace of the collection. |
|
|
59
59
|
**version** | **String**| The version of the collection. |
|
|
60
|
-
**file** | **File**| An uploaded file that may be turned into the artifact of the content unit. | [optional]
|
|
61
60
|
**repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
|
|
62
61
|
**upload** | **String**| An uncommitted upload that may be turned into the artifact of the content unit. | [optional]
|
|
62
|
+
**file** | **File**| An uploaded file that may be turned into the artifact of the content unit. | [optional]
|
|
63
63
|
|
|
64
64
|
### Return type
|
|
65
65
|
|
|
@@ -4,26 +4,26 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
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
|
-
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
|
10
|
-
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
|
7
|
+
**name** | **String** | A unique name for this remote. | [optional]
|
|
11
8
|
**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]
|
|
9
|
+
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
|
12
10
|
**proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
|
|
13
|
-
**
|
|
14
|
-
**client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
|
|
15
|
-
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
|
16
|
-
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
|
11
|
+
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
|
17
12
|
**password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
|
18
|
-
**
|
|
19
|
-
**
|
|
13
|
+
**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]
|
|
14
|
+
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
|
15
|
+
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
|
16
|
+
**client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
|
|
17
|
+
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
|
20
18
|
**proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
|
21
|
-
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
|
22
19
|
**url** | **String** | The URL of an external content source. | [optional]
|
|
23
|
-
**
|
|
24
|
-
**
|
|
25
|
-
**
|
|
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
|
+
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
|
22
|
+
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
|
26
23
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
24
|
+
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
|
25
|
+
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
|
26
|
+
**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]
|
|
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
|
-
sock_read_timeout: null,
|
|
37
|
-
ca_cert: null,
|
|
38
|
-
client_cert: null,
|
|
35
|
+
instance = PulpAnsibleClient::PatchedansibleGitRemote.new(name: null,
|
|
39
36
|
connect_timeout: null,
|
|
37
|
+
client_cert: null,
|
|
40
38
|
proxy_username: null,
|
|
41
|
-
|
|
42
|
-
client_key: null,
|
|
43
|
-
username: null,
|
|
44
|
-
total_timeout: null,
|
|
39
|
+
download_concurrency: null,
|
|
45
40
|
password: null,
|
|
46
|
-
|
|
47
|
-
|
|
41
|
+
total_timeout: null,
|
|
42
|
+
tls_validation: null,
|
|
43
|
+
ca_cert: null,
|
|
44
|
+
client_key: null,
|
|
45
|
+
proxy_url: null,
|
|
48
46
|
proxy_password: null,
|
|
49
|
-
headers: null,
|
|
50
47
|
url: null,
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
48
|
+
sock_connect_timeout: null,
|
|
49
|
+
username: null,
|
|
50
|
+
headers: null,
|
|
54
51
|
pulp_labels: null,
|
|
52
|
+
max_retries: null,
|
|
53
|
+
rate_limit: null,
|
|
54
|
+
sock_read_timeout: null,
|
|
55
55
|
metadata_only: null,
|
|
56
56
|
git_ref: null)
|
|
57
57
|
```
|
|
@@ -25,9 +25,9 @@ module PulpAnsibleClient
|
|
|
25
25
|
# @param namespace [String] The namespace of the collection.
|
|
26
26
|
# @param version [String] The version of the collection.
|
|
27
27
|
# @param [Hash] opts the optional parameters
|
|
28
|
-
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
|
29
28
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
30
29
|
# @option opts [String] :upload An uncommitted upload that may be turned into the artifact of the content unit.
|
|
30
|
+
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
|
31
31
|
# @return [AsyncOperationResponse]
|
|
32
32
|
def create(name, namespace, version, opts = {})
|
|
33
33
|
data, _status_code, _headers = create_with_http_info(name, namespace, version, opts)
|
|
@@ -40,9 +40,9 @@ module PulpAnsibleClient
|
|
|
40
40
|
# @param namespace [String] The namespace of the collection.
|
|
41
41
|
# @param version [String] The version of the collection.
|
|
42
42
|
# @param [Hash] opts the optional parameters
|
|
43
|
-
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
|
44
43
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
45
44
|
# @option opts [String] :upload An uncommitted upload that may be turned into the artifact of the content unit.
|
|
45
|
+
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
|
46
46
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
47
47
|
def create_with_http_info(name, namespace, version, opts = {})
|
|
48
48
|
if @api_client.config.debugging
|
|
@@ -102,9 +102,9 @@ module PulpAnsibleClient
|
|
|
102
102
|
form_params['name'] = name
|
|
103
103
|
form_params['namespace'] = namespace
|
|
104
104
|
form_params['version'] = version
|
|
105
|
-
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
|
106
105
|
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
|
107
106
|
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
|
107
|
+
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
|
108
108
|
|
|
109
109
|
# http body (model)
|
|
110
110
|
post_body = opts[:body]
|
|
@@ -15,15 +15,15 @@ require 'date'
|
|
|
15
15
|
module PulpAnsibleClient
|
|
16
16
|
# A serializer for CollectionVersion Content.
|
|
17
17
|
class AnsibleCollectionVersion
|
|
18
|
-
# An uploaded file that may be turned into the artifact of the content unit.
|
|
19
|
-
attr_accessor :file
|
|
20
|
-
|
|
21
18
|
# A URI of a repository the new content unit should be associated with.
|
|
22
19
|
attr_accessor :repository
|
|
23
20
|
|
|
24
21
|
# An uncommitted upload that may be turned into the artifact of the content unit.
|
|
25
22
|
attr_accessor :upload
|
|
26
23
|
|
|
24
|
+
# An uploaded file that may be turned into the artifact of the content unit.
|
|
25
|
+
attr_accessor :file
|
|
26
|
+
|
|
27
27
|
# The name of the collection.
|
|
28
28
|
attr_accessor :name
|
|
29
29
|
|
|
@@ -36,9 +36,9 @@ module PulpAnsibleClient
|
|
|
36
36
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
37
37
|
def self.attribute_map
|
|
38
38
|
{
|
|
39
|
-
:'file' => :'file',
|
|
40
39
|
:'repository' => :'repository',
|
|
41
40
|
:'upload' => :'upload',
|
|
41
|
+
:'file' => :'file',
|
|
42
42
|
:'name' => :'name',
|
|
43
43
|
:'namespace' => :'namespace',
|
|
44
44
|
:'version' => :'version'
|
|
@@ -48,9 +48,9 @@ module PulpAnsibleClient
|
|
|
48
48
|
# Attribute type mapping.
|
|
49
49
|
def self.openapi_types
|
|
50
50
|
{
|
|
51
|
-
:'file' => :'File',
|
|
52
51
|
:'repository' => :'String',
|
|
53
52
|
:'upload' => :'String',
|
|
53
|
+
:'file' => :'File',
|
|
54
54
|
:'name' => :'String',
|
|
55
55
|
:'namespace' => :'String',
|
|
56
56
|
:'version' => :'String'
|
|
@@ -78,10 +78,6 @@ module PulpAnsibleClient
|
|
|
78
78
|
h[k.to_sym] = v
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
-
if attributes.key?(:'file')
|
|
82
|
-
self.file = attributes[:'file']
|
|
83
|
-
end
|
|
84
|
-
|
|
85
81
|
if attributes.key?(:'repository')
|
|
86
82
|
self.repository = attributes[:'repository']
|
|
87
83
|
end
|
|
@@ -90,6 +86,10 @@ module PulpAnsibleClient
|
|
|
90
86
|
self.upload = attributes[:'upload']
|
|
91
87
|
end
|
|
92
88
|
|
|
89
|
+
if attributes.key?(:'file')
|
|
90
|
+
self.file = attributes[:'file']
|
|
91
|
+
end
|
|
92
|
+
|
|
93
93
|
if attributes.key?(:'name')
|
|
94
94
|
self.name = attributes[:'name']
|
|
95
95
|
end
|
|
@@ -220,9 +220,9 @@ module PulpAnsibleClient
|
|
|
220
220
|
def ==(o)
|
|
221
221
|
return true if self.equal?(o)
|
|
222
222
|
self.class == o.class &&
|
|
223
|
-
file == o.file &&
|
|
224
223
|
repository == o.repository &&
|
|
225
224
|
upload == o.upload &&
|
|
225
|
+
file == o.file &&
|
|
226
226
|
name == o.name &&
|
|
227
227
|
namespace == o.namespace &&
|
|
228
228
|
version == o.version
|
|
@@ -237,7 +237,7 @@ module PulpAnsibleClient
|
|
|
237
237
|
# Calculates hash code according to all attributes.
|
|
238
238
|
# @return [Integer] Hash code
|
|
239
239
|
def hash
|
|
240
|
-
[
|
|
240
|
+
[repository, upload, file, name, namespace, version].hash
|
|
241
241
|
end
|
|
242
242
|
|
|
243
243
|
# Builds the object from hash
|
|
@@ -18,11 +18,11 @@ module PulpAnsibleClient
|
|
|
18
18
|
# Artifact file representing the physical content
|
|
19
19
|
attr_accessor :artifact
|
|
20
20
|
|
|
21
|
-
attr_accessor :pulp_href
|
|
22
|
-
|
|
23
21
|
# Timestamp of creation.
|
|
24
22
|
attr_accessor :pulp_created
|
|
25
23
|
|
|
24
|
+
attr_accessor :pulp_href
|
|
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
|
:'artifact' => :'artifact',
|
|
101
|
-
:'pulp_href' => :'pulp_href',
|
|
102
101
|
:'pulp_created' => :'pulp_created',
|
|
102
|
+
:'pulp_href' => :'pulp_href',
|
|
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
|
:'artifact' => :'String',
|
|
134
|
-
:'pulp_href' => :'String',
|
|
135
134
|
:'pulp_created' => :'DateTime',
|
|
135
|
+
:'pulp_href' => :'String',
|
|
136
136
|
:'md5' => :'String',
|
|
137
137
|
:'sha1' => :'String',
|
|
138
138
|
:'sha224' => :'String',
|
|
@@ -186,14 +186,14 @@ module PulpAnsibleClient
|
|
|
186
186
|
self.artifact = attributes[:'artifact']
|
|
187
187
|
end
|
|
188
188
|
|
|
189
|
-
if attributes.key?(:'pulp_href')
|
|
190
|
-
self.pulp_href = attributes[:'pulp_href']
|
|
191
|
-
end
|
|
192
|
-
|
|
193
189
|
if attributes.key?(:'pulp_created')
|
|
194
190
|
self.pulp_created = attributes[:'pulp_created']
|
|
195
191
|
end
|
|
196
192
|
|
|
193
|
+
if attributes.key?(:'pulp_href')
|
|
194
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
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
|
artifact == o.artifact &&
|
|
547
|
-
pulp_href == o.pulp_href &&
|
|
548
547
|
pulp_created == o.pulp_created &&
|
|
548
|
+
pulp_href == o.pulp_href &&
|
|
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
|
-
[artifact,
|
|
584
|
+
[artifact, pulp_created, pulp_href, 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
|