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