pulp_ansible_client 0.25.0 → 0.25.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/AnsibleCollectionVersionResponse.md +2 -2
- data/docs/AnsibleGitRemote.md +28 -28
- data/docs/AnsibleGitRemoteResponse.md +28 -28
- data/docs/AnsibleRole.md +2 -2
- data/docs/AnsibleRoleResponse.md +2 -2
- data/docs/ContentCollectionVersionsApi.md +6 -6
- data/docs/PatchedansibleGitRemote.md +28 -28
- data/docs/RemotesGitApi.md +2 -2
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +9 -9
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +244 -244
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +156 -156
- data/lib/pulp_ansible_client/models/ansible_role.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +13 -13
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +233 -233
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/content_collection_versions_api_spec.rb +3 -3
- data/spec/models/ansible_collection_version_response_spec.rb +3 -3
- data/spec/models/ansible_git_remote_response_spec.rb +19 -19
- data/spec/models/ansible_git_remote_spec.rb +18 -18
- data/spec/models/ansible_role_response_spec.rb +3 -3
- data/spec/models/ansible_role_spec.rb +2 -2
- data/spec/models/patchedansible_git_remote_spec.rb +18 -18
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3260dda350963a78844667e94442988c53fc65deaaa08490b99d54e15b34e207
|
4
|
+
data.tar.gz: 7cd7aaa21b9e9e8b77ba80fe63ec2fe57c0cacad8fdcecb9c85b8746558ada9e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69e3f83d6e41f4319f3e168ac66e59f8799f8394d1d5fdd138af1ead40898cc5abf029074d13e47e3907f52eb4d7eebd4130e4676a350118c0bbcb67c5fd1a72
|
7
|
+
data.tar.gz: 530ec101d55df9e2dfea34d588fa48b9acbfd52559b6645913a9737ddc15e79a86df2bfdc303cf5879bef8c427950bc0833213c375231c723fb3d188c33c49b3
|
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.25.
|
10
|
+
- Package version: 0.25.1
|
11
11
|
- Generator version: 7.10.0
|
12
12
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
13
13
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
@@ -25,16 +25,16 @@ gem build pulp_ansible_client.gemspec
|
|
25
25
|
Then either install the gem locally:
|
26
26
|
|
27
27
|
```shell
|
28
|
-
gem install ./pulp_ansible_client-0.25.
|
28
|
+
gem install ./pulp_ansible_client-0.25.1.gem
|
29
29
|
```
|
30
30
|
|
31
|
-
(for development, run `gem install --dev ./pulp_ansible_client-0.25.
|
31
|
+
(for development, run `gem install --dev ./pulp_ansible_client-0.25.1.gem` to install the development dependencies)
|
32
32
|
|
33
33
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
34
34
|
|
35
35
|
Finally add this to the Gemfile:
|
36
36
|
|
37
|
-
gem 'pulp_ansible_client', '~> 0.25.
|
37
|
+
gem 'pulp_ansible_client', '~> 0.25.1'
|
38
38
|
|
39
39
|
### Install from Git
|
40
40
|
|
@@ -6,9 +6,9 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
8
8
|
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
9
|
+
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
9
10
|
| **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
|
10
11
|
| **pulp_href** | **String** | | [optional][readonly] |
|
11
|
-
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
12
12
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
13
13
|
| **sha256** | **String** | The SHA-256 checksum if available. | [optional][readonly] |
|
14
14
|
| **md5** | **String** | The MD5 checksum if available. | [optional][readonly] |
|
@@ -43,9 +43,9 @@ require 'pulp_ansible_client'
|
|
43
43
|
instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(
|
44
44
|
pulp_labels: null,
|
45
45
|
prn: null,
|
46
|
+
artifact: null,
|
46
47
|
pulp_last_updated: null,
|
47
48
|
pulp_href: null,
|
48
|
-
artifact: null,
|
49
49
|
pulp_created: null,
|
50
50
|
sha256: null,
|
51
51
|
md5: null,
|
data/docs/AnsibleGitRemote.md
CHANGED
@@ -4,26 +4,26 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **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
|
-
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
9
|
-
| **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] |
|
10
|
-
| **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
|
11
7
|
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
12
|
-
| **
|
13
|
-
| **
|
8
|
+
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
9
|
+
| **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] |
|
10
|
+
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
14
11
|
| **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
12
|
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
17
|
-
| **
|
13
|
+
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
18
14
|
| **url** | **String** | The URL of an external content source. | |
|
19
|
-
| **
|
20
|
-
| **
|
21
|
-
| **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] |
|
22
|
-
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
15
|
+
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
16
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
23
17
|
| **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] |
|
24
|
-
| **
|
25
|
-
| **
|
18
|
+
| **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] |
|
19
|
+
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
20
|
+
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
26
21
|
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
22
|
+
| **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] |
|
23
|
+
| **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
|
24
|
+
| **name** | **String** | A unique name for this remote. | |
|
25
|
+
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
26
|
+
| **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
|
27
27
|
| **metadata_only** | **Boolean** | If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. | [optional] |
|
28
28
|
| **git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional] |
|
29
29
|
|
@@ -33,26 +33,26 @@
|
|
33
33
|
require 'pulp_ansible_client'
|
34
34
|
|
35
35
|
instance = PulpAnsibleClient::AnsibleGitRemote.new(
|
36
|
-
sock_read_timeout: null,
|
37
|
-
pulp_labels: null,
|
38
|
-
connect_timeout: null,
|
39
|
-
proxy_username: null,
|
40
36
|
password: null,
|
41
|
-
|
42
|
-
|
37
|
+
max_retries: null,
|
38
|
+
connect_timeout: null,
|
39
|
+
rate_limit: null,
|
43
40
|
tls_validation: null,
|
44
|
-
ca_cert: null,
|
45
41
|
download_concurrency: null,
|
46
|
-
|
42
|
+
headers: null,
|
47
43
|
url: null,
|
48
|
-
|
49
|
-
|
50
|
-
sock_connect_timeout: null,
|
51
|
-
proxy_password: null,
|
44
|
+
proxy_url: null,
|
45
|
+
pulp_labels: null,
|
52
46
|
total_timeout: null,
|
53
|
-
|
54
|
-
|
47
|
+
sock_read_timeout: null,
|
48
|
+
proxy_password: null,
|
49
|
+
username: null,
|
55
50
|
client_cert: null,
|
51
|
+
sock_connect_timeout: null,
|
52
|
+
client_key: null,
|
53
|
+
name: null,
|
54
|
+
ca_cert: null,
|
55
|
+
proxy_username: null,
|
56
56
|
metadata_only: null,
|
57
57
|
git_ref: null
|
58
58
|
)
|
@@ -4,26 +4,26 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **
|
8
|
-
| **
|
7
|
+
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
8
|
+
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
9
9
|
| **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] |
|
10
|
-
| **
|
11
|
-
| **
|
12
|
-
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
10
|
+
| **hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFieldsInner>**](AnsibleCollectionRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional][readonly] |
|
11
|
+
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
13
12
|
| **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
|
-
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
16
|
-
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
17
13
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
14
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
15
|
+
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
18
16
|
| **url** | **String** | The URL of an external content source. | |
|
19
|
-
| **
|
20
|
-
| **
|
21
|
-
| **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] |
|
22
|
-
| **pulp_href** | **String** | | [optional][readonly] |
|
17
|
+
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
18
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
23
19
|
| **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] |
|
24
|
-
| **
|
25
|
-
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
20
|
+
| **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
26
21
|
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
22
|
+
| **pulp_last_updated** | **Time** | Timestamp of the most recent update of the remote. | [optional][readonly] |
|
23
|
+
| **pulp_href** | **String** | | [optional][readonly] |
|
24
|
+
| **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] |
|
25
|
+
| **name** | **String** | A unique name for this remote. | |
|
26
|
+
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
27
27
|
| **metadata_only** | **Boolean** | If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. | [optional] |
|
28
28
|
| **git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional] |
|
29
29
|
|
@@ -33,26 +33,26 @@
|
|
33
33
|
require 'pulp_ansible_client'
|
34
34
|
|
35
35
|
instance = PulpAnsibleClient::AnsibleGitRemoteResponse.new(
|
36
|
-
|
37
|
-
|
36
|
+
max_retries: null,
|
37
|
+
prn: null,
|
38
38
|
connect_timeout: null,
|
39
|
-
|
40
|
-
|
41
|
-
proxy_url: null,
|
39
|
+
hidden_fields: null,
|
40
|
+
rate_limit: null,
|
42
41
|
tls_validation: null,
|
43
|
-
ca_cert: null,
|
44
|
-
download_concurrency: null,
|
45
|
-
max_retries: null,
|
46
42
|
pulp_created: null,
|
43
|
+
download_concurrency: null,
|
44
|
+
headers: null,
|
47
45
|
url: null,
|
48
|
-
|
49
|
-
|
50
|
-
sock_connect_timeout: null,
|
51
|
-
pulp_href: null,
|
46
|
+
proxy_url: null,
|
47
|
+
pulp_labels: null,
|
52
48
|
total_timeout: null,
|
53
|
-
|
54
|
-
rate_limit: null,
|
49
|
+
sock_read_timeout: null,
|
55
50
|
client_cert: null,
|
51
|
+
pulp_last_updated: null,
|
52
|
+
pulp_href: null,
|
53
|
+
sock_connect_timeout: null,
|
54
|
+
name: null,
|
55
|
+
ca_cert: null,
|
56
56
|
metadata_only: null,
|
57
57
|
git_ref: null
|
58
58
|
)
|
data/docs/AnsibleRole.md
CHANGED
@@ -4,8 +4,8 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
8
7
|
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
8
|
+
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
9
9
|
| **artifact** | **String** | Artifact file representing the physical content | |
|
10
10
|
| **version** | **String** | | |
|
11
11
|
| **name** | **String** | | |
|
@@ -17,8 +17,8 @@
|
|
17
17
|
require 'pulp_ansible_client'
|
18
18
|
|
19
19
|
instance = PulpAnsibleClient::AnsibleRole.new(
|
20
|
-
pulp_labels: null,
|
21
20
|
repository: null,
|
21
|
+
pulp_labels: null,
|
22
22
|
artifact: null,
|
23
23
|
version: null,
|
24
24
|
name: null,
|
data/docs/AnsibleRoleResponse.md
CHANGED
@@ -6,9 +6,9 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
8
8
|
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
9
|
+
| **artifact** | **String** | Artifact file representing the physical content | |
|
9
10
|
| **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
|
10
11
|
| **pulp_href** | **String** | | [optional][readonly] |
|
11
|
-
| **artifact** | **String** | Artifact file representing the physical content | |
|
12
12
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
13
13
|
| **version** | **String** | | |
|
14
14
|
| **name** | **String** | | |
|
@@ -22,9 +22,9 @@ require 'pulp_ansible_client'
|
|
22
22
|
instance = PulpAnsibleClient::AnsibleRoleResponse.new(
|
23
23
|
pulp_labels: null,
|
24
24
|
prn: null,
|
25
|
+
artifact: null,
|
25
26
|
pulp_last_updated: null,
|
26
27
|
pulp_href: null,
|
27
|
-
artifact: null,
|
28
28
|
pulp_created: null,
|
29
29
|
version: null,
|
30
30
|
name: null,
|
@@ -33,12 +33,12 @@ end
|
|
33
33
|
|
34
34
|
api_instance = PulpAnsibleClient::ContentCollectionVersionsApi.new
|
35
35
|
opts = {
|
36
|
-
|
36
|
+
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
37
37
|
pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
38
|
+
file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
|
38
39
|
upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
|
39
|
-
file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
|
40
|
-
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
41
40
|
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
41
|
+
file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
|
42
42
|
expected_name: 'expected_name_example', # String | The name of the collection.
|
43
43
|
expected_namespace: 'expected_namespace_example', # String | The namespace of the collection.
|
44
44
|
expected_version: 'expected_version_example' # String | The version of the collection.
|
@@ -75,12 +75,12 @@ end
|
|
75
75
|
|
76
76
|
| Name | Type | Description | Notes |
|
77
77
|
| ---- | ---- | ----------- | ----- |
|
78
|
-
| **
|
78
|
+
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
79
79
|
| **pulp_labels** | [**Hash<String, String>**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
80
|
+
| **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
|
80
81
|
| **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
|
81
|
-
| **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional] |
|
82
|
-
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
83
82
|
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
83
|
+
| **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional] |
|
84
84
|
| **expected_name** | **String** | The name of the collection. | [optional] |
|
85
85
|
| **expected_namespace** | **String** | The namespace of the collection. | [optional] |
|
86
86
|
| **expected_version** | **String** | The version of the collection. | [optional] |
|
@@ -4,26 +4,26 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **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
|
-
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
9
|
-
| **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] |
|
10
|
-
| **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
|
11
7
|
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
12
|
-
| **
|
13
|
-
| **
|
8
|
+
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
9
|
+
| **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] |
|
10
|
+
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
14
11
|
| **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
12
|
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
17
|
-
| **
|
13
|
+
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
18
14
|
| **url** | **String** | The URL of an external content source. | [optional] |
|
19
|
-
| **
|
20
|
-
| **
|
21
|
-
| **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] |
|
22
|
-
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
15
|
+
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
16
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
23
17
|
| **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] |
|
24
|
-
| **
|
25
|
-
| **
|
18
|
+
| **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] |
|
19
|
+
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
20
|
+
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
26
21
|
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
22
|
+
| **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] |
|
23
|
+
| **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
|
24
|
+
| **name** | **String** | A unique name for this remote. | [optional] |
|
25
|
+
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
26
|
+
| **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
|
27
27
|
| **metadata_only** | **Boolean** | If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. | [optional] |
|
28
28
|
| **git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional] |
|
29
29
|
|
@@ -33,26 +33,26 @@
|
|
33
33
|
require 'pulp_ansible_client'
|
34
34
|
|
35
35
|
instance = PulpAnsibleClient::PatchedansibleGitRemote.new(
|
36
|
-
sock_read_timeout: null,
|
37
|
-
pulp_labels: null,
|
38
|
-
connect_timeout: null,
|
39
|
-
proxy_username: null,
|
40
36
|
password: null,
|
41
|
-
|
42
|
-
|
37
|
+
max_retries: null,
|
38
|
+
connect_timeout: null,
|
39
|
+
rate_limit: null,
|
43
40
|
tls_validation: null,
|
44
|
-
ca_cert: null,
|
45
41
|
download_concurrency: null,
|
46
|
-
|
42
|
+
headers: null,
|
47
43
|
url: null,
|
48
|
-
|
49
|
-
|
50
|
-
sock_connect_timeout: null,
|
51
|
-
proxy_password: null,
|
44
|
+
proxy_url: null,
|
45
|
+
pulp_labels: null,
|
52
46
|
total_timeout: null,
|
53
|
-
|
54
|
-
|
47
|
+
sock_read_timeout: null,
|
48
|
+
proxy_password: null,
|
49
|
+
username: null,
|
55
50
|
client_cert: null,
|
51
|
+
sock_connect_timeout: null,
|
52
|
+
client_key: null,
|
53
|
+
name: null,
|
54
|
+
ca_cert: null,
|
55
|
+
proxy_username: null,
|
56
56
|
metadata_only: null,
|
57
57
|
git_ref: null
|
58
58
|
)
|
data/docs/RemotesGitApi.md
CHANGED
@@ -111,7 +111,7 @@ PulpAnsibleClient.configure do |config|
|
|
111
111
|
end
|
112
112
|
|
113
113
|
api_instance = PulpAnsibleClient::RemotesGitApi.new
|
114
|
-
ansible_git_remote = PulpAnsibleClient::AnsibleGitRemote.new({
|
114
|
+
ansible_git_remote = PulpAnsibleClient::AnsibleGitRemote.new({url: 'url_example', name: 'name_example'}) # AnsibleGitRemote |
|
115
115
|
|
116
116
|
begin
|
117
117
|
# Create a git remote
|
@@ -890,7 +890,7 @@ end
|
|
890
890
|
|
891
891
|
api_instance = PulpAnsibleClient::RemotesGitApi.new
|
892
892
|
ansible_git_remote_href = 'ansible_git_remote_href_example' # String |
|
893
|
-
ansible_git_remote = PulpAnsibleClient::AnsibleGitRemote.new({
|
893
|
+
ansible_git_remote = PulpAnsibleClient::AnsibleGitRemote.new({url: 'url_example', name: 'name_example'}) # AnsibleGitRemote |
|
894
894
|
|
895
895
|
begin
|
896
896
|
# Update a git remote
|
@@ -22,12 +22,12 @@ module PulpAnsibleClient
|
|
22
22
|
# Create a collection version
|
23
23
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
|
-
# @option opts [
|
25
|
+
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
26
26
|
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
27
|
+
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
27
28
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
28
|
-
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
29
|
-
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
30
29
|
# @option opts [String] :artifact Artifact file representing the physical content
|
30
|
+
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
31
31
|
# @option opts [String] :expected_name The name of the collection.
|
32
32
|
# @option opts [String] :expected_namespace The namespace of the collection.
|
33
33
|
# @option opts [String] :expected_version The version of the collection.
|
@@ -40,12 +40,12 @@ module PulpAnsibleClient
|
|
40
40
|
# Create a collection version
|
41
41
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
42
42
|
# @param [Hash] opts the optional parameters
|
43
|
-
# @option opts [
|
43
|
+
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
44
44
|
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
45
|
+
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
45
46
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
46
|
-
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
47
|
-
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
48
47
|
# @option opts [String] :artifact Artifact file representing the physical content
|
48
|
+
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
49
49
|
# @option opts [String] :expected_name The name of the collection.
|
50
50
|
# @option opts [String] :expected_namespace The namespace of the collection.
|
51
51
|
# @option opts [String] :expected_version The version of the collection.
|
@@ -100,12 +100,12 @@ module PulpAnsibleClient
|
|
100
100
|
|
101
101
|
# form parameters
|
102
102
|
form_params = opts[:form_params] || {}
|
103
|
-
form_params['
|
103
|
+
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
104
104
|
form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
|
105
|
+
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
105
106
|
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
106
|
-
form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
|
107
|
-
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
108
107
|
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
108
|
+
form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
|
109
109
|
form_params['expected_name'] = opts[:'expected_name'] if !opts[:'expected_name'].nil?
|
110
110
|
form_params['expected_namespace'] = opts[:'expected_namespace'] if !opts[:'expected_namespace'].nil?
|
111
111
|
form_params['expected_version'] = opts[:'expected_version'] if !opts[:'expected_version'].nil?
|
@@ -22,14 +22,14 @@ module PulpAnsibleClient
|
|
22
22
|
# The Pulp Resource Name (PRN).
|
23
23
|
attr_accessor :prn
|
24
24
|
|
25
|
+
# Artifact file representing the physical content
|
26
|
+
attr_accessor :artifact
|
27
|
+
|
25
28
|
# Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
|
26
29
|
attr_accessor :pulp_last_updated
|
27
30
|
|
28
31
|
attr_accessor :pulp_href
|
29
32
|
|
30
|
-
# Artifact file representing the physical content
|
31
|
-
attr_accessor :artifact
|
32
|
-
|
33
33
|
# Timestamp of creation.
|
34
34
|
attr_accessor :pulp_created
|
35
35
|
|
@@ -109,9 +109,9 @@ module PulpAnsibleClient
|
|
109
109
|
{
|
110
110
|
:'pulp_labels' => :'pulp_labels',
|
111
111
|
:'prn' => :'prn',
|
112
|
+
:'artifact' => :'artifact',
|
112
113
|
:'pulp_last_updated' => :'pulp_last_updated',
|
113
114
|
:'pulp_href' => :'pulp_href',
|
114
|
-
:'artifact' => :'artifact',
|
115
115
|
:'pulp_created' => :'pulp_created',
|
116
116
|
:'sha256' => :'sha256',
|
117
117
|
:'md5' => :'md5',
|
@@ -150,9 +150,9 @@ module PulpAnsibleClient
|
|
150
150
|
{
|
151
151
|
:'pulp_labels' => :'Hash<String, String>',
|
152
152
|
:'prn' => :'String',
|
153
|
+
:'artifact' => :'String',
|
153
154
|
:'pulp_last_updated' => :'Time',
|
154
155
|
:'pulp_href' => :'String',
|
155
|
-
:'artifact' => :'String',
|
156
156
|
:'pulp_created' => :'Time',
|
157
157
|
:'sha256' => :'String',
|
158
158
|
:'md5' => :'String',
|
@@ -213,6 +213,10 @@ module PulpAnsibleClient
|
|
213
213
|
self.prn = attributes[:'prn']
|
214
214
|
end
|
215
215
|
|
216
|
+
if attributes.key?(:'artifact')
|
217
|
+
self.artifact = attributes[:'artifact']
|
218
|
+
end
|
219
|
+
|
216
220
|
if attributes.key?(:'pulp_last_updated')
|
217
221
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
218
222
|
end
|
@@ -221,10 +225,6 @@ module PulpAnsibleClient
|
|
221
225
|
self.pulp_href = attributes[:'pulp_href']
|
222
226
|
end
|
223
227
|
|
224
|
-
if attributes.key?(:'artifact')
|
225
|
-
self.artifact = attributes[:'artifact']
|
226
|
-
end
|
227
|
-
|
228
228
|
if attributes.key?(:'pulp_created')
|
229
229
|
self.pulp_created = attributes[:'pulp_created']
|
230
230
|
end
|
@@ -504,9 +504,9 @@ module PulpAnsibleClient
|
|
504
504
|
self.class == o.class &&
|
505
505
|
pulp_labels == o.pulp_labels &&
|
506
506
|
prn == o.prn &&
|
507
|
+
artifact == o.artifact &&
|
507
508
|
pulp_last_updated == o.pulp_last_updated &&
|
508
509
|
pulp_href == o.pulp_href &&
|
509
|
-
artifact == o.artifact &&
|
510
510
|
pulp_created == o.pulp_created &&
|
511
511
|
sha256 == o.sha256 &&
|
512
512
|
md5 == o.md5 &&
|
@@ -543,7 +543,7 @@ module PulpAnsibleClient
|
|
543
543
|
# Calculates hash code according to all attributes.
|
544
544
|
# @return [Integer] Hash code
|
545
545
|
def hash
|
546
|
-
[pulp_labels, prn, pulp_last_updated, pulp_href,
|
546
|
+
[pulp_labels, prn, artifact, pulp_last_updated, pulp_href, pulp_created, sha256, md5, sha1, sha224, sha384, sha512, id, authors, contents, dependencies, description, docs_blob, manifest, files, documentation, homepage, issues, license, name, namespace, origin_repository, tags, version, requires_ansible].hash
|
547
547
|
end
|
548
548
|
|
549
549
|
# Builds the object from hash
|