pulp_ansible_client 0.28.1 → 0.28.2
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 +6 -6
- data/docs/AnsibleGitRemote.md +26 -26
- data/docs/AnsibleGitRemoteResponse.md +26 -26
- data/docs/AnsibleRole.md +4 -4
- data/docs/AnsibleRoleResponse.md +6 -6
- data/docs/ContentCollectionVersionsApi.md +6 -6
- data/docs/PatchedansibleGitRemote.md +26 -26
- 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 +29 -29
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +240 -240
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +152 -152
- data/lib/pulp_ansible_client/models/ansible_role.rb +17 -17
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +29 -29
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +231 -231
- 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 +6 -6
- data/spec/models/ansible_git_remote_response_spec.rb +20 -20
- data/spec/models/ansible_git_remote_spec.rb +19 -19
- data/spec/models/ansible_role_response_spec.rb +6 -6
- data/spec/models/ansible_role_spec.rb +2 -2
- 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: 838f8dc57dd178d87c83a01559cef4f5245a06a3b5c4c496460390c43c3b24ce
|
|
4
|
+
data.tar.gz: e213fea367d7a751640c54a953fde655e206d9029b57cbb1fb6b0aa7a9c5d7f1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 741921511eece419a4de9e2ee67919d0d921c0a09729f5f292aab4c31ad80f4f8212002905562a32132d0145e8919e4a75c34d043e16fdd942580e1ed009e575
|
|
7
|
+
data.tar.gz: 8d33ec1c23de935b47c371789eed6039cbacd562b0bee59eb1821fe03b5a29a01926d3913e548183d98ecf61570827fe1a653501475d6bd8a2ef5d684d4b6191
|
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.28.
|
|
10
|
+
- Package version: 0.28.2
|
|
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.28.
|
|
28
|
+
gem install ./pulp_ansible_client-0.28.2.gem
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
(for development, run `gem install --dev ./pulp_ansible_client-0.28.
|
|
31
|
+
(for development, run `gem install --dev ./pulp_ansible_client-0.28.2.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.28.
|
|
37
|
+
gem 'pulp_ansible_client', '~> 0.28.2'
|
|
38
38
|
|
|
39
39
|
### Install from Git
|
|
40
40
|
|
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
8
|
-
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
9
8
|
| **pulp_href** | **String** | | [optional][readonly] |
|
|
10
|
-
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
11
9
|
| **artifact** | **String** | Artifact file representing the physical content | [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
10
|
| **vuln_report** | **String** | | [optional][readonly] |
|
|
11
|
+
| **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] |
|
|
12
|
+
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
13
|
+
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
14
14
|
| **sha256** | **String** | The SHA-256 checksum if available. | [optional][readonly] |
|
|
15
15
|
| **md5** | **String** | The MD5 checksum if available. | [optional][readonly] |
|
|
16
16
|
| **sha1** | **String** | The SHA-1 checksum if available. | [optional][readonly] |
|
|
@@ -43,12 +43,12 @@ require 'pulp_ansible_client'
|
|
|
43
43
|
|
|
44
44
|
instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(
|
|
45
45
|
prn: null,
|
|
46
|
-
pulp_created: null,
|
|
47
46
|
pulp_href: null,
|
|
48
|
-
pulp_labels: null,
|
|
49
47
|
artifact: null,
|
|
50
|
-
pulp_last_updated: null,
|
|
51
48
|
vuln_report: null,
|
|
49
|
+
pulp_last_updated: null,
|
|
50
|
+
pulp_labels: null,
|
|
51
|
+
pulp_created: null,
|
|
52
52
|
sha256: null,
|
|
53
53
|
md5: null,
|
|
54
54
|
sha1: null,
|
data/docs/AnsibleGitRemote.md
CHANGED
|
@@ -4,26 +4,26 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
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
|
-
| **name** | **String** | A unique name for this remote. | |
|
|
10
|
-
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
11
|
-
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
12
|
-
| **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
|
|
13
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] |
|
|
14
|
-
| **
|
|
15
|
-
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
16
|
-
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
|
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] |
|
|
17
9
|
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
18
|
-
| **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] |
|
|
19
|
-
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
20
10
|
| **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
|
|
21
|
-
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
22
11
|
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
12
|
+
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [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
|
+
| **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
|
|
15
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
16
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
23
17
|
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
18
|
+
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
24
19
|
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
25
|
-
| **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] |
|
|
26
20
|
| **url** | **String** | The URL of an external content source. | |
|
|
21
|
+
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
|
22
|
+
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
|
23
|
+
| **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
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
|
+
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [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
|
-
password: null,
|
|
37
|
-
connect_timeout: null,
|
|
38
|
-
name: null,
|
|
39
|
-
pulp_labels: null,
|
|
40
|
-
download_concurrency: null,
|
|
41
|
-
client_key: null,
|
|
42
36
|
sock_read_timeout: null,
|
|
43
|
-
|
|
44
|
-
ca_cert: null,
|
|
45
|
-
username: null,
|
|
37
|
+
connect_timeout: null,
|
|
46
38
|
rate_limit: null,
|
|
47
|
-
total_timeout: null,
|
|
48
|
-
proxy_password: null,
|
|
49
39
|
proxy_username: null,
|
|
50
|
-
proxy_url: null,
|
|
51
40
|
tls_validation: null,
|
|
41
|
+
proxy_url: null,
|
|
42
|
+
sock_connect_timeout: null,
|
|
43
|
+
client_key: null,
|
|
44
|
+
pulp_labels: null,
|
|
45
|
+
download_concurrency: null,
|
|
52
46
|
client_cert: null,
|
|
47
|
+
proxy_password: null,
|
|
53
48
|
headers: null,
|
|
54
|
-
sock_connect_timeout: null,
|
|
55
49
|
url: null,
|
|
50
|
+
username: null,
|
|
51
|
+
max_retries: null,
|
|
52
|
+
total_timeout: null,
|
|
53
|
+
name: null,
|
|
54
|
+
ca_cert: null,
|
|
55
|
+
password: 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
|
-
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
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
|
-
| **name** | **String** | A unique name for this remote. | |
|
|
10
|
-
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
11
|
-
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
12
|
-
| **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
|
-
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will 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
7
|
| **hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFieldsInner>**](AnsibleCollectionRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional] |
|
|
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
|
+
| **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
16
10
|
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
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] |
|
|
18
|
-
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
19
|
-
| **pulp_href** | **String** | | [optional][readonly] |
|
|
20
|
-
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
21
11
|
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
12
|
+
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [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] |
|
|
22
14
|
| **pulp_last_updated** | **Time** | Timestamp of the most recent update of the remote. | [optional][readonly] |
|
|
15
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
16
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
23
17
|
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
24
18
|
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
25
|
-
| **
|
|
19
|
+
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
20
|
+
| **pulp_href** | **String** | | [optional][readonly] |
|
|
26
21
|
| **url** | **String** | The URL of an external content source. | |
|
|
22
|
+
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
|
23
|
+
| **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
24
|
+
| **name** | **String** | A unique name for this remote. | |
|
|
25
|
+
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
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
|
-
pulp_created: null,
|
|
37
|
-
connect_timeout: null,
|
|
38
|
-
name: null,
|
|
39
|
-
pulp_labels: null,
|
|
40
|
-
download_concurrency: null,
|
|
41
|
-
sock_read_timeout: null,
|
|
42
|
-
max_retries: null,
|
|
43
|
-
ca_cert: null,
|
|
44
36
|
hidden_fields: null,
|
|
37
|
+
sock_read_timeout: null,
|
|
38
|
+
connect_timeout: null,
|
|
45
39
|
rate_limit: null,
|
|
46
|
-
total_timeout: null,
|
|
47
|
-
prn: null,
|
|
48
|
-
pulp_href: null,
|
|
49
|
-
proxy_url: null,
|
|
50
40
|
tls_validation: null,
|
|
41
|
+
proxy_url: null,
|
|
42
|
+
sock_connect_timeout: null,
|
|
51
43
|
pulp_last_updated: null,
|
|
44
|
+
pulp_labels: null,
|
|
45
|
+
download_concurrency: null,
|
|
52
46
|
client_cert: null,
|
|
53
47
|
headers: null,
|
|
54
|
-
|
|
48
|
+
prn: null,
|
|
49
|
+
pulp_href: null,
|
|
55
50
|
url: null,
|
|
51
|
+
max_retries: null,
|
|
52
|
+
total_timeout: null,
|
|
53
|
+
name: null,
|
|
54
|
+
pulp_created: null,
|
|
55
|
+
ca_cert: null,
|
|
56
56
|
metadata_only: null,
|
|
57
57
|
git_ref: null
|
|
58
58
|
)
|
data/docs/AnsibleRole.md
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
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
7
|
| **artifact** | **String** | Artifact file representing the physical content | |
|
|
8
|
+
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
9
|
+
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
|
10
10
|
| **version** | **String** | | |
|
|
11
11
|
| **name** | **String** | | |
|
|
12
12
|
| **namespace** | **String** | | |
|
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
require 'pulp_ansible_client'
|
|
18
18
|
|
|
19
19
|
instance = PulpAnsibleClient::AnsibleRole.new(
|
|
20
|
-
repository: null,
|
|
21
|
-
pulp_labels: null,
|
|
22
20
|
artifact: null,
|
|
21
|
+
pulp_labels: null,
|
|
22
|
+
repository: null,
|
|
23
23
|
version: null,
|
|
24
24
|
name: null,
|
|
25
25
|
namespace: null
|
data/docs/AnsibleRoleResponse.md
CHANGED
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
8
|
-
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
9
8
|
| **pulp_href** | **String** | | [optional][readonly] |
|
|
10
|
-
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
11
9
|
| **artifact** | **String** | Artifact file representing the physical content | |
|
|
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
10
|
| **vuln_report** | **String** | | [optional][readonly] |
|
|
11
|
+
| **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] |
|
|
12
|
+
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
13
|
+
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
14
14
|
| **version** | **String** | | |
|
|
15
15
|
| **name** | **String** | | |
|
|
16
16
|
| **namespace** | **String** | | |
|
|
@@ -22,12 +22,12 @@ require 'pulp_ansible_client'
|
|
|
22
22
|
|
|
23
23
|
instance = PulpAnsibleClient::AnsibleRoleResponse.new(
|
|
24
24
|
prn: null,
|
|
25
|
-
pulp_created: null,
|
|
26
25
|
pulp_href: null,
|
|
27
|
-
pulp_labels: null,
|
|
28
26
|
artifact: null,
|
|
29
|
-
pulp_last_updated: null,
|
|
30
27
|
vuln_report: null,
|
|
28
|
+
pulp_last_updated: null,
|
|
29
|
+
pulp_labels: null,
|
|
30
|
+
pulp_created: null,
|
|
31
31
|
version: null,
|
|
32
32
|
name: null,
|
|
33
33
|
namespace: null
|
|
@@ -34,12 +34,12 @@ end
|
|
|
34
34
|
api_instance = PulpAnsibleClient::ContentCollectionVersionsApi.new
|
|
35
35
|
opts = {
|
|
36
36
|
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
37
|
-
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
|
38
|
-
pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
39
37
|
upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
|
|
40
|
-
file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
|
|
41
38
|
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
|
42
39
|
file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
|
|
40
|
+
pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
41
|
+
file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
|
|
42
|
+
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
|
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.
|
|
45
45
|
expected_version: 'expected_version_example' # String | The version of the collection.
|
|
@@ -77,12 +77,12 @@ end
|
|
|
77
77
|
| Name | Type | Description | Notes |
|
|
78
78
|
| ---- | ---- | ----------- | ----- |
|
|
79
79
|
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
80
|
-
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
|
81
|
-
| **pulp_labels** | [**Hash<String, String>**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
82
80
|
| **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
|
|
83
|
-
| **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional] |
|
|
84
81
|
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
|
85
82
|
| **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
|
|
83
|
+
| **pulp_labels** | [**Hash<String, String>**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
84
|
+
| **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional] |
|
|
85
|
+
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
|
86
86
|
| **expected_name** | **String** | The name of the collection. | [optional] |
|
|
87
87
|
| **expected_namespace** | **String** | The namespace of the collection. | [optional] |
|
|
88
88
|
| **expected_version** | **String** | The version of the collection. | [optional] |
|
|
@@ -4,26 +4,26 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
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
|
-
| **name** | **String** | A unique name for this remote. | [optional] |
|
|
10
|
-
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
11
|
-
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
12
|
-
| **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
|
|
13
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] |
|
|
14
|
-
| **
|
|
15
|
-
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
16
|
-
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
|
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] |
|
|
17
9
|
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
18
|
-
| **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] |
|
|
19
|
-
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
20
10
|
| **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
|
|
21
|
-
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
22
11
|
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
12
|
+
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [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
|
+
| **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
|
|
15
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
16
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
23
17
|
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
18
|
+
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
24
19
|
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
25
|
-
| **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] |
|
|
26
20
|
| **url** | **String** | The URL of an external content source. | [optional] |
|
|
21
|
+
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
|
22
|
+
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
|
23
|
+
| **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
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
|
+
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [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
|
-
password: null,
|
|
37
|
-
connect_timeout: null,
|
|
38
|
-
name: null,
|
|
39
|
-
pulp_labels: null,
|
|
40
|
-
download_concurrency: null,
|
|
41
|
-
client_key: null,
|
|
42
36
|
sock_read_timeout: null,
|
|
43
|
-
|
|
44
|
-
ca_cert: null,
|
|
45
|
-
username: null,
|
|
37
|
+
connect_timeout: null,
|
|
46
38
|
rate_limit: null,
|
|
47
|
-
total_timeout: null,
|
|
48
|
-
proxy_password: null,
|
|
49
39
|
proxy_username: null,
|
|
50
|
-
proxy_url: null,
|
|
51
40
|
tls_validation: null,
|
|
41
|
+
proxy_url: null,
|
|
42
|
+
sock_connect_timeout: null,
|
|
43
|
+
client_key: null,
|
|
44
|
+
pulp_labels: null,
|
|
45
|
+
download_concurrency: null,
|
|
52
46
|
client_cert: null,
|
|
47
|
+
proxy_password: null,
|
|
53
48
|
headers: null,
|
|
54
|
-
sock_connect_timeout: null,
|
|
55
49
|
url: null,
|
|
50
|
+
username: null,
|
|
51
|
+
max_retries: null,
|
|
52
|
+
total_timeout: null,
|
|
53
|
+
name: null,
|
|
54
|
+
ca_cert: null,
|
|
55
|
+
password: null,
|
|
56
56
|
metadata_only: null,
|
|
57
57
|
git_ref: null
|
|
58
58
|
)
|
data/docs/RemotesGitApi.md
CHANGED
|
@@ -115,7 +115,7 @@ PulpAnsibleClient.configure do |config|
|
|
|
115
115
|
end
|
|
116
116
|
|
|
117
117
|
api_instance = PulpAnsibleClient::RemotesGitApi.new
|
|
118
|
-
ansible_git_remote = PulpAnsibleClient::AnsibleGitRemote.new({
|
|
118
|
+
ansible_git_remote = PulpAnsibleClient::AnsibleGitRemote.new({url: 'url_example', name: 'name_example'}) # AnsibleGitRemote |
|
|
119
119
|
opts = {
|
|
120
120
|
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
121
121
|
}
|
|
@@ -926,7 +926,7 @@ end
|
|
|
926
926
|
|
|
927
927
|
api_instance = PulpAnsibleClient::RemotesGitApi.new
|
|
928
928
|
ansible_git_remote_href = 'ansible_git_remote_href_example' # String |
|
|
929
|
-
ansible_git_remote = PulpAnsibleClient::AnsibleGitRemote.new({
|
|
929
|
+
ansible_git_remote = PulpAnsibleClient::AnsibleGitRemote.new({url: 'url_example', name: 'name_example'}) # AnsibleGitRemote |
|
|
930
930
|
opts = {
|
|
931
931
|
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
932
932
|
}
|
|
@@ -23,12 +23,12 @@ module PulpAnsibleClient
|
|
|
23
23
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
|
25
25
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
26
|
-
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
27
|
-
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
28
26
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
29
|
-
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
|
30
27
|
# @option opts [String] :artifact Artifact file representing the physical content
|
|
31
28
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
29
|
+
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
30
|
+
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
|
31
|
+
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
32
32
|
# @option opts [String] :expected_name The name of the collection.
|
|
33
33
|
# @option opts [String] :expected_namespace The namespace of the collection.
|
|
34
34
|
# @option opts [String] :expected_version The version of the collection.
|
|
@@ -42,12 +42,12 @@ module PulpAnsibleClient
|
|
|
42
42
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
|
43
43
|
# @param [Hash] opts the optional parameters
|
|
44
44
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
45
|
-
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
46
|
-
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
47
45
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
48
|
-
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
|
49
46
|
# @option opts [String] :artifact Artifact file representing the physical content
|
|
50
47
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
48
|
+
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
49
|
+
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
|
50
|
+
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
51
51
|
# @option opts [String] :expected_name The name of the collection.
|
|
52
52
|
# @option opts [String] :expected_namespace The namespace of the collection.
|
|
53
53
|
# @option opts [String] :expected_version The version of the collection.
|
|
@@ -103,12 +103,12 @@ module PulpAnsibleClient
|
|
|
103
103
|
|
|
104
104
|
# form parameters
|
|
105
105
|
form_params = opts[:form_params] || {}
|
|
106
|
-
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
|
107
|
-
form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
|
|
108
106
|
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
|
109
|
-
form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
|
|
110
107
|
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
|
111
108
|
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
|
109
|
+
form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
|
|
110
|
+
form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
|
|
111
|
+
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].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?
|
|
114
114
|
form_params['expected_version'] = opts[:'expected_version'] if !opts[:'expected_version'].nil?
|
|
@@ -19,21 +19,21 @@ module PulpAnsibleClient
|
|
|
19
19
|
# The Pulp Resource Name (PRN).
|
|
20
20
|
attr_accessor :prn
|
|
21
21
|
|
|
22
|
-
# Timestamp of creation.
|
|
23
|
-
attr_accessor :pulp_created
|
|
24
|
-
|
|
25
22
|
attr_accessor :pulp_href
|
|
26
23
|
|
|
27
|
-
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
28
|
-
attr_accessor :pulp_labels
|
|
29
|
-
|
|
30
24
|
# Artifact file representing the physical content
|
|
31
25
|
attr_accessor :artifact
|
|
32
26
|
|
|
27
|
+
attr_accessor :vuln_report
|
|
28
|
+
|
|
33
29
|
# 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
30
|
attr_accessor :pulp_last_updated
|
|
35
31
|
|
|
36
|
-
|
|
32
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
33
|
+
attr_accessor :pulp_labels
|
|
34
|
+
|
|
35
|
+
# Timestamp of creation.
|
|
36
|
+
attr_accessor :pulp_created
|
|
37
37
|
|
|
38
38
|
# The SHA-256 checksum if available.
|
|
39
39
|
attr_accessor :sha256
|
|
@@ -110,12 +110,12 @@ module PulpAnsibleClient
|
|
|
110
110
|
def self.attribute_map
|
|
111
111
|
{
|
|
112
112
|
:'prn' => :'prn',
|
|
113
|
-
:'pulp_created' => :'pulp_created',
|
|
114
113
|
:'pulp_href' => :'pulp_href',
|
|
115
|
-
:'pulp_labels' => :'pulp_labels',
|
|
116
114
|
:'artifact' => :'artifact',
|
|
117
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
|
118
115
|
:'vuln_report' => :'vuln_report',
|
|
116
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
117
|
+
:'pulp_labels' => :'pulp_labels',
|
|
118
|
+
:'pulp_created' => :'pulp_created',
|
|
119
119
|
:'sha256' => :'sha256',
|
|
120
120
|
:'md5' => :'md5',
|
|
121
121
|
:'sha1' => :'sha1',
|
|
@@ -152,12 +152,12 @@ module PulpAnsibleClient
|
|
|
152
152
|
def self.openapi_types
|
|
153
153
|
{
|
|
154
154
|
:'prn' => :'String',
|
|
155
|
-
:'pulp_created' => :'Time',
|
|
156
155
|
:'pulp_href' => :'String',
|
|
157
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
158
156
|
:'artifact' => :'String',
|
|
159
|
-
:'pulp_last_updated' => :'Time',
|
|
160
157
|
:'vuln_report' => :'String',
|
|
158
|
+
:'pulp_last_updated' => :'Time',
|
|
159
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
160
|
+
:'pulp_created' => :'Time',
|
|
161
161
|
:'sha256' => :'String',
|
|
162
162
|
:'md5' => :'String',
|
|
163
163
|
:'sha1' => :'String',
|
|
@@ -211,30 +211,30 @@ module PulpAnsibleClient
|
|
|
211
211
|
self.prn = attributes[:'prn']
|
|
212
212
|
end
|
|
213
213
|
|
|
214
|
-
if attributes.key?(:'pulp_created')
|
|
215
|
-
self.pulp_created = attributes[:'pulp_created']
|
|
216
|
-
end
|
|
217
|
-
|
|
218
214
|
if attributes.key?(:'pulp_href')
|
|
219
215
|
self.pulp_href = attributes[:'pulp_href']
|
|
220
216
|
end
|
|
221
217
|
|
|
222
|
-
if attributes.key?(:'pulp_labels')
|
|
223
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
224
|
-
self.pulp_labels = value
|
|
225
|
-
end
|
|
226
|
-
end
|
|
227
|
-
|
|
228
218
|
if attributes.key?(:'artifact')
|
|
229
219
|
self.artifact = attributes[:'artifact']
|
|
230
220
|
end
|
|
231
221
|
|
|
222
|
+
if attributes.key?(:'vuln_report')
|
|
223
|
+
self.vuln_report = attributes[:'vuln_report']
|
|
224
|
+
end
|
|
225
|
+
|
|
232
226
|
if attributes.key?(:'pulp_last_updated')
|
|
233
227
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
234
228
|
end
|
|
235
229
|
|
|
236
|
-
if attributes.key?(:'
|
|
237
|
-
|
|
230
|
+
if attributes.key?(:'pulp_labels')
|
|
231
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
232
|
+
self.pulp_labels = value
|
|
233
|
+
end
|
|
234
|
+
end
|
|
235
|
+
|
|
236
|
+
if attributes.key?(:'pulp_created')
|
|
237
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
238
238
|
end
|
|
239
239
|
|
|
240
240
|
if attributes.key?(:'sha256')
|
|
@@ -496,12 +496,12 @@ module PulpAnsibleClient
|
|
|
496
496
|
return true if self.equal?(o)
|
|
497
497
|
self.class == o.class &&
|
|
498
498
|
prn == o.prn &&
|
|
499
|
-
pulp_created == o.pulp_created &&
|
|
500
499
|
pulp_href == o.pulp_href &&
|
|
501
|
-
pulp_labels == o.pulp_labels &&
|
|
502
500
|
artifact == o.artifact &&
|
|
503
|
-
pulp_last_updated == o.pulp_last_updated &&
|
|
504
501
|
vuln_report == o.vuln_report &&
|
|
502
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
503
|
+
pulp_labels == o.pulp_labels &&
|
|
504
|
+
pulp_created == o.pulp_created &&
|
|
505
505
|
sha256 == o.sha256 &&
|
|
506
506
|
md5 == o.md5 &&
|
|
507
507
|
sha1 == o.sha1 &&
|
|
@@ -537,7 +537,7 @@ module PulpAnsibleClient
|
|
|
537
537
|
# Calculates hash code according to all attributes.
|
|
538
538
|
# @return [Integer] Hash code
|
|
539
539
|
def hash
|
|
540
|
-
[prn,
|
|
540
|
+
[prn, pulp_href, artifact, vuln_report, pulp_last_updated, pulp_labels, 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
|
|
541
541
|
end
|
|
542
542
|
|
|
543
543
|
# Builds the object from hash
|