pulp_ansible_client 0.25.3 → 0.25.4
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 +4 -4
- data/docs/AnsibleGitRemote.md +28 -28
- data/docs/AnsibleGitRemoteResponse.md +26 -26
- data/docs/AnsibleRoleResponse.md +4 -4
- data/docs/ContentCollectionVersionsApi.md +4 -4
- data/docs/PatchedansibleGitRemote.md +28 -28
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +6 -6
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +21 -21
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +232 -232
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +154 -154
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +21 -21
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +224 -224
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/content_collection_versions_api_spec.rb +2 -2
- data/spec/models/ansible_collection_version_response_spec.rb +6 -6
- data/spec/models/ansible_git_remote_response_spec.rb +19 -19
- data/spec/models/ansible_git_remote_spec.rb +19 -19
- data/spec/models/ansible_role_response_spec.rb +6 -6
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- 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: 1d80f9a3a1468d57c61f1367e27e32da2d48dc4f907702ae8a6e6c83183aa67e
|
|
4
|
+
data.tar.gz: 05eb1da9549cbdca8f75657894dd993d57ae4c526eb522110e26fc7944a931c9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 608f7751f4c460eeb3ee8d234eca87d4326db26374ded44369b6726a66a766a1bb84e5a812091941c0f6c0a3130dded380ffbc689a92b1ab49440ff3d27e3e93
|
|
7
|
+
data.tar.gz: 3a7942afa5263382d17e68a01585251fb2dee6283ed8f568ac36148d5080a5ac91333181cff564802d577131f598d2aa55a0476ef058c9e40ae592d95feb2129
|
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.4
|
|
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.4.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.4.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.4'
|
|
38
38
|
|
|
39
39
|
### Install from Git
|
|
40
40
|
|
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **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] |
|
|
8
|
-
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
9
7
|
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
|
10
8
|
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
9
|
+
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
11
10
|
| **pulp_href** | **String** | | [optional][readonly] |
|
|
12
11
|
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
12
|
+
| **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] |
|
|
13
13
|
| **sha256** | **String** | The SHA-256 checksum if available. | [optional][readonly] |
|
|
14
14
|
| **md5** | **String** | The MD5 checksum if available. | [optional][readonly] |
|
|
15
15
|
| **sha1** | **String** | The SHA-1 checksum if available. | [optional][readonly] |
|
|
@@ -37,12 +37,12 @@
|
|
|
37
37
|
require 'pulp_ansible_client'
|
|
38
38
|
|
|
39
39
|
instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(
|
|
40
|
-
pulp_last_updated: null,
|
|
41
|
-
pulp_created: null,
|
|
42
40
|
artifact: null,
|
|
43
41
|
prn: null,
|
|
42
|
+
pulp_created: null,
|
|
44
43
|
pulp_href: null,
|
|
45
44
|
pulp_labels: null,
|
|
45
|
+
pulp_last_updated: null,
|
|
46
46
|
sha256: null,
|
|
47
47
|
md5: null,
|
|
48
48
|
sha1: null,
|
data/docs/AnsibleGitRemote.md
CHANGED
|
@@ -4,26 +4,26 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
8
|
+
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
9
|
+
| **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
|
|
7
10
|
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
8
11
|
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
|
9
|
-
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
10
|
-
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
|
11
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] |
|
|
12
|
-
| **
|
|
13
|
-
| **
|
|
14
|
-
| **
|
|
15
|
-
| **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
|
|
16
|
-
| **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
|
|
17
|
-
| **url** | **String** | The URL of an external content source. | |
|
|
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] |
|
|
13
|
+
| **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] |
|
|
14
|
+
| **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] |
|
|
15
|
+
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
19
16
|
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
20
|
-
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
21
17
|
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
22
|
-
| **
|
|
23
|
-
| **
|
|
24
|
-
| **
|
|
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
|
+
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
|
20
|
+
| **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
|
|
25
21
|
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
26
|
-
| **
|
|
22
|
+
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
23
|
+
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
24
|
+
| **name** | **String** | A unique name for this remote. | |
|
|
25
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
26
|
+
| **url** | **String** | The URL of an external content source. | |
|
|
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
|
+
headers: null,
|
|
37
|
+
rate_limit: null,
|
|
38
|
+
client_key: null,
|
|
36
39
|
proxy_password: null,
|
|
37
40
|
username: null,
|
|
38
|
-
rate_limit: null,
|
|
39
|
-
max_retries: null,
|
|
40
41
|
total_timeout: null,
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
proxy_username: null,
|
|
45
|
-
client_key: null,
|
|
46
|
-
url: null,
|
|
47
|
-
sock_read_timeout: null,
|
|
42
|
+
sock_connect_timeout: null,
|
|
43
|
+
connect_timeout: null,
|
|
44
|
+
ca_cert: null,
|
|
48
45
|
tls_validation: null,
|
|
49
|
-
proxy_url: null,
|
|
50
46
|
pulp_labels: null,
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
47
|
+
sock_read_timeout: null,
|
|
48
|
+
max_retries: null,
|
|
49
|
+
proxy_username: null,
|
|
54
50
|
client_cert: null,
|
|
55
|
-
|
|
51
|
+
proxy_url: null,
|
|
52
|
+
password: null,
|
|
53
|
+
name: null,
|
|
54
|
+
download_concurrency: null,
|
|
55
|
+
url: 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
|
-
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
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
|
-
| **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] |
|
|
10
|
-
| **name** | **String** | A unique name for this remote. | |
|
|
11
7
|
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
12
|
-
| **
|
|
13
|
-
| **
|
|
8
|
+
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
9
|
+
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
14
10
|
| **hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFieldsInner>**](AnsibleCollectionRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional][readonly] |
|
|
11
|
+
| **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
12
|
+
| **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] |
|
|
13
|
+
| **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] |
|
|
14
|
+
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
15
15
|
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
16
|
-
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
17
16
|
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
18
|
-
| **
|
|
19
|
-
| **
|
|
20
|
-
| **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] |
|
|
21
|
-
| **pulp_last_updated** | **Time** | Timestamp of the most recent update of the remote. | [optional][readonly] |
|
|
17
|
+
| **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] |
|
|
18
|
+
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
|
22
19
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
23
|
-
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
24
20
|
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
21
|
+
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
22
|
+
| **name** | **String** | A unique name for this remote. | |
|
|
25
23
|
| **pulp_href** | **String** | | [optional][readonly] |
|
|
26
|
-
| **
|
|
24
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
25
|
+
| **url** | **String** | The URL of an external content source. | |
|
|
26
|
+
| **pulp_last_updated** | **Time** | Timestamp of the most recent update of the remote. | [optional][readonly] |
|
|
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
|
-
rate_limit: null,
|
|
37
|
-
max_retries: null,
|
|
38
|
-
total_timeout: null,
|
|
39
|
-
name: null,
|
|
40
36
|
headers: null,
|
|
41
|
-
|
|
42
|
-
|
|
37
|
+
prn: null,
|
|
38
|
+
rate_limit: null,
|
|
43
39
|
hidden_fields: null,
|
|
40
|
+
total_timeout: null,
|
|
41
|
+
sock_connect_timeout: null,
|
|
42
|
+
connect_timeout: null,
|
|
43
|
+
ca_cert: null,
|
|
44
44
|
tls_validation: null,
|
|
45
|
-
proxy_url: null,
|
|
46
45
|
pulp_labels: null,
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
connect_timeout: null,
|
|
50
|
-
pulp_last_updated: null,
|
|
46
|
+
sock_read_timeout: null,
|
|
47
|
+
max_retries: null,
|
|
51
48
|
pulp_created: null,
|
|
52
|
-
prn: null,
|
|
53
49
|
client_cert: null,
|
|
50
|
+
proxy_url: null,
|
|
51
|
+
name: null,
|
|
54
52
|
pulp_href: null,
|
|
55
|
-
|
|
53
|
+
download_concurrency: null,
|
|
54
|
+
url: null,
|
|
55
|
+
pulp_last_updated: null,
|
|
56
56
|
metadata_only: null,
|
|
57
57
|
git_ref: null
|
|
58
58
|
)
|
data/docs/AnsibleRoleResponse.md
CHANGED
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **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] |
|
|
8
|
-
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
9
7
|
| **artifact** | **String** | Artifact file representing the physical content | |
|
|
10
8
|
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
9
|
+
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
11
10
|
| **pulp_href** | **String** | | [optional][readonly] |
|
|
12
11
|
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
12
|
+
| **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] |
|
|
13
13
|
| **version** | **String** | | |
|
|
14
14
|
| **name** | **String** | | |
|
|
15
15
|
| **namespace** | **String** | | |
|
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
require 'pulp_ansible_client'
|
|
21
21
|
|
|
22
22
|
instance = PulpAnsibleClient::AnsibleRoleResponse.new(
|
|
23
|
-
pulp_last_updated: null,
|
|
24
|
-
pulp_created: null,
|
|
25
23
|
artifact: null,
|
|
26
24
|
prn: null,
|
|
25
|
+
pulp_created: null,
|
|
27
26
|
pulp_href: null,
|
|
28
27
|
pulp_labels: null,
|
|
28
|
+
pulp_last_updated: null,
|
|
29
29
|
version: null,
|
|
30
30
|
name: null,
|
|
31
31
|
namespace: null
|
|
@@ -36,9 +36,9 @@ opts = {
|
|
|
36
36
|
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
37
37
|
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
|
38
38
|
upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
|
|
39
|
-
file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
|
|
40
|
-
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
|
41
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
|
+
file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
|
|
42
42
|
pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
43
43
|
expected_name: 'expected_name_example', # String | The name of the collection.
|
|
44
44
|
expected_namespace: 'expected_namespace_example', # String | The namespace of the collection.
|
|
@@ -79,9 +79,9 @@ end
|
|
|
79
79
|
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
80
80
|
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
|
81
81
|
| **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
|
|
82
|
-
| **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
|
|
83
|
-
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
|
84
82
|
| **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional] |
|
|
83
|
+
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
|
84
|
+
| **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
|
|
85
85
|
| **pulp_labels** | [**Hash<String, String>**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
86
86
|
| **expected_name** | **String** | The name of the collection. | [optional] |
|
|
87
87
|
| **expected_namespace** | **String** | The namespace of the collection. | [optional] |
|
|
@@ -4,26 +4,26 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
8
|
+
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
9
|
+
| **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
|
|
7
10
|
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
8
11
|
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
|
9
|
-
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
10
|
-
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
|
11
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] |
|
|
12
|
-
| **
|
|
13
|
-
| **
|
|
14
|
-
| **
|
|
15
|
-
| **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
|
|
16
|
-
| **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
|
|
17
|
-
| **url** | **String** | The URL of an external content source. | [optional] |
|
|
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] |
|
|
13
|
+
| **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] |
|
|
14
|
+
| **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] |
|
|
15
|
+
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
19
16
|
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
20
|
-
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
21
17
|
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
22
|
-
| **
|
|
23
|
-
| **
|
|
24
|
-
| **
|
|
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
|
+
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
|
20
|
+
| **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
|
|
25
21
|
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
26
|
-
| **
|
|
22
|
+
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
23
|
+
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
24
|
+
| **name** | **String** | A unique name for this remote. | [optional] |
|
|
25
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
26
|
+
| **url** | **String** | The URL of an external content source. | [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
|
+
headers: null,
|
|
37
|
+
rate_limit: null,
|
|
38
|
+
client_key: null,
|
|
36
39
|
proxy_password: null,
|
|
37
40
|
username: null,
|
|
38
|
-
rate_limit: null,
|
|
39
|
-
max_retries: null,
|
|
40
41
|
total_timeout: null,
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
proxy_username: null,
|
|
45
|
-
client_key: null,
|
|
46
|
-
url: null,
|
|
47
|
-
sock_read_timeout: null,
|
|
42
|
+
sock_connect_timeout: null,
|
|
43
|
+
connect_timeout: null,
|
|
44
|
+
ca_cert: null,
|
|
48
45
|
tls_validation: null,
|
|
49
|
-
proxy_url: null,
|
|
50
46
|
pulp_labels: null,
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
47
|
+
sock_read_timeout: null,
|
|
48
|
+
max_retries: null,
|
|
49
|
+
proxy_username: null,
|
|
54
50
|
client_cert: null,
|
|
55
|
-
|
|
51
|
+
proxy_url: null,
|
|
52
|
+
password: null,
|
|
53
|
+
name: null,
|
|
54
|
+
download_concurrency: null,
|
|
55
|
+
url: null,
|
|
56
56
|
metadata_only: null,
|
|
57
57
|
git_ref: null
|
|
58
58
|
)
|
|
@@ -25,9 +25,9 @@ module PulpAnsibleClient
|
|
|
25
25
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
26
26
|
# @option opts [String] :artifact Artifact file representing the physical content
|
|
27
27
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
28
|
-
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
29
|
-
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
30
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
|
+
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
31
31
|
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
32
32
|
# @option opts [String] :expected_name The name of the collection.
|
|
33
33
|
# @option opts [String] :expected_namespace The namespace of the collection.
|
|
@@ -44,9 +44,9 @@ module PulpAnsibleClient
|
|
|
44
44
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
45
45
|
# @option opts [String] :artifact Artifact file representing the physical content
|
|
46
46
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
47
|
-
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
48
|
-
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
49
47
|
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
|
48
|
+
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
49
|
+
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
50
50
|
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
51
51
|
# @option opts [String] :expected_name The name of the collection.
|
|
52
52
|
# @option opts [String] :expected_namespace The namespace of the collection.
|
|
@@ -105,9 +105,9 @@ module PulpAnsibleClient
|
|
|
105
105
|
form_params = opts[:form_params] || {}
|
|
106
106
|
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
|
107
107
|
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
|
108
|
-
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
|
109
|
-
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
|
110
108
|
form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
|
|
109
|
+
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
|
110
|
+
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
|
111
111
|
form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
|
|
112
112
|
form_params['expected_name'] = opts[:'expected_name'] if !opts[:'expected_name'].nil?
|
|
113
113
|
form_params['expected_namespace'] = opts[:'expected_namespace'] if !opts[:'expected_namespace'].nil?
|
|
@@ -16,23 +16,23 @@ require 'time'
|
|
|
16
16
|
module PulpAnsibleClient
|
|
17
17
|
# A serializer for CollectionVersion Content.
|
|
18
18
|
class AnsibleCollectionVersionResponse
|
|
19
|
-
# 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.
|
|
20
|
-
attr_accessor :pulp_last_updated
|
|
21
|
-
|
|
22
|
-
# Timestamp of creation.
|
|
23
|
-
attr_accessor :pulp_created
|
|
24
|
-
|
|
25
19
|
# Artifact file representing the physical content
|
|
26
20
|
attr_accessor :artifact
|
|
27
21
|
|
|
28
22
|
# The Pulp Resource Name (PRN).
|
|
29
23
|
attr_accessor :prn
|
|
30
24
|
|
|
25
|
+
# Timestamp of creation.
|
|
26
|
+
attr_accessor :pulp_created
|
|
27
|
+
|
|
31
28
|
attr_accessor :pulp_href
|
|
32
29
|
|
|
33
30
|
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
34
31
|
attr_accessor :pulp_labels
|
|
35
32
|
|
|
33
|
+
# 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.
|
|
34
|
+
attr_accessor :pulp_last_updated
|
|
35
|
+
|
|
36
36
|
# The SHA-256 checksum if available.
|
|
37
37
|
attr_accessor :sha256
|
|
38
38
|
|
|
@@ -95,12 +95,12 @@ module PulpAnsibleClient
|
|
|
95
95
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
96
96
|
def self.attribute_map
|
|
97
97
|
{
|
|
98
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
|
99
|
-
:'pulp_created' => :'pulp_created',
|
|
100
98
|
:'artifact' => :'artifact',
|
|
101
99
|
:'prn' => :'prn',
|
|
100
|
+
:'pulp_created' => :'pulp_created',
|
|
102
101
|
:'pulp_href' => :'pulp_href',
|
|
103
102
|
:'pulp_labels' => :'pulp_labels',
|
|
103
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
104
104
|
:'sha256' => :'sha256',
|
|
105
105
|
:'md5' => :'md5',
|
|
106
106
|
:'sha1' => :'sha1',
|
|
@@ -132,12 +132,12 @@ module PulpAnsibleClient
|
|
|
132
132
|
# Attribute type mapping.
|
|
133
133
|
def self.openapi_types
|
|
134
134
|
{
|
|
135
|
-
:'pulp_last_updated' => :'Time',
|
|
136
|
-
:'pulp_created' => :'Time',
|
|
137
135
|
:'artifact' => :'String',
|
|
138
136
|
:'prn' => :'String',
|
|
137
|
+
:'pulp_created' => :'Time',
|
|
139
138
|
:'pulp_href' => :'String',
|
|
140
139
|
:'pulp_labels' => :'Hash<String, String>',
|
|
140
|
+
:'pulp_last_updated' => :'Time',
|
|
141
141
|
:'sha256' => :'String',
|
|
142
142
|
:'md5' => :'String',
|
|
143
143
|
:'sha1' => :'String',
|
|
@@ -183,14 +183,6 @@ module PulpAnsibleClient
|
|
|
183
183
|
h[k.to_sym] = v
|
|
184
184
|
}
|
|
185
185
|
|
|
186
|
-
if attributes.key?(:'pulp_last_updated')
|
|
187
|
-
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
188
|
-
end
|
|
189
|
-
|
|
190
|
-
if attributes.key?(:'pulp_created')
|
|
191
|
-
self.pulp_created = attributes[:'pulp_created']
|
|
192
|
-
end
|
|
193
|
-
|
|
194
186
|
if attributes.key?(:'artifact')
|
|
195
187
|
self.artifact = attributes[:'artifact']
|
|
196
188
|
end
|
|
@@ -199,6 +191,10 @@ module PulpAnsibleClient
|
|
|
199
191
|
self.prn = attributes[:'prn']
|
|
200
192
|
end
|
|
201
193
|
|
|
194
|
+
if attributes.key?(:'pulp_created')
|
|
195
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
196
|
+
end
|
|
197
|
+
|
|
202
198
|
if attributes.key?(:'pulp_href')
|
|
203
199
|
self.pulp_href = attributes[:'pulp_href']
|
|
204
200
|
end
|
|
@@ -209,6 +205,10 @@ module PulpAnsibleClient
|
|
|
209
205
|
end
|
|
210
206
|
end
|
|
211
207
|
|
|
208
|
+
if attributes.key?(:'pulp_last_updated')
|
|
209
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
210
|
+
end
|
|
211
|
+
|
|
212
212
|
if attributes.key?(:'sha256')
|
|
213
213
|
self.sha256 = attributes[:'sha256']
|
|
214
214
|
end
|
|
@@ -464,12 +464,12 @@ module PulpAnsibleClient
|
|
|
464
464
|
def ==(o)
|
|
465
465
|
return true if self.equal?(o)
|
|
466
466
|
self.class == o.class &&
|
|
467
|
-
pulp_last_updated == o.pulp_last_updated &&
|
|
468
|
-
pulp_created == o.pulp_created &&
|
|
469
467
|
artifact == o.artifact &&
|
|
470
468
|
prn == o.prn &&
|
|
469
|
+
pulp_created == o.pulp_created &&
|
|
471
470
|
pulp_href == o.pulp_href &&
|
|
472
471
|
pulp_labels == o.pulp_labels &&
|
|
472
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
473
473
|
sha256 == o.sha256 &&
|
|
474
474
|
md5 == o.md5 &&
|
|
475
475
|
sha1 == o.sha1 &&
|
|
@@ -501,7 +501,7 @@ module PulpAnsibleClient
|
|
|
501
501
|
# Calculates hash code according to all attributes.
|
|
502
502
|
# @return [Integer] Hash code
|
|
503
503
|
def hash
|
|
504
|
-
[
|
|
504
|
+
[artifact, prn, pulp_created, pulp_href, pulp_labels, pulp_last_updated, sha256, md5, sha1, sha224, sha384, sha512, id, authors, dependencies, description, documentation, homepage, issues, license, name, namespace, origin_repository, tags, version, requires_ansible].hash
|
|
505
505
|
end
|
|
506
506
|
|
|
507
507
|
# Builds the object from hash
|