pulp_ansible_client 0.29.9 → 0.29.11
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 +8 -8
- data/docs/AnsibleGitRemote.md +26 -26
- data/docs/AnsibleGitRemoteResponse.md +26 -26
- data/docs/AnsibleRole.md +2 -2
- data/docs/AnsibleRoleResponse.md +8 -8
- data/docs/ContentCollectionVersionsApi.md +8 -8
- data/docs/PatchedansibleGitRemote.md +26 -26
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +12 -12
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +36 -36
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +235 -235
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +160 -160
- data/lib/pulp_ansible_client/models/ansible_role.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +38 -38
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +233 -233
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/content_collection_versions_api_spec.rb +4 -4
- 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 +20 -20
- 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 +20 -20
- metadata +127 -127
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 21010edf94616c9f9430fc3db49f0677ccf92b744f8f858e40e9897533463410
|
|
4
|
+
data.tar.gz: 9d3a91173ab15296f5e7d8703a85d3dd3c15331482cb0a13d72848c822e83f34
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 76863f08e3d72ec887674d8ed71f4804717d60136bdffe30f313c5a7d839fdd0343d9bc3f6ab3ab81518bf6595937c59b774db3ca4a9c6849a2b01ffee219858
|
|
7
|
+
data.tar.gz: ea305cd887358d15d1535fbe7ce526406a23240c23a5a645799e49cec94a15442ae3e76e74d2a8d91f06214d8e97dbc2792254f4225565533a12e618feff1641
|
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.29.
|
|
10
|
+
- Package version: 0.29.11
|
|
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.29.
|
|
28
|
+
gem install ./pulp_ansible_client-0.29.11.gem
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
(for development, run `gem install --dev ./pulp_ansible_client-0.29.
|
|
31
|
+
(for development, run `gem install --dev ./pulp_ansible_client-0.29.11.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.29.
|
|
37
|
+
gem 'pulp_ansible_client', '~> 0.29.11'
|
|
38
38
|
|
|
39
39
|
### Install from Git
|
|
40
40
|
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
8
|
+
| **pulp_href** | **String** | | [optional][readonly] |
|
|
9
|
+
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
10
|
+
| **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
|
|
7
11
|
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
|
8
12
|
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
9
|
-
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
10
13
|
| **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
|
-
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
13
|
-
| **pulp_href** | **String** | | [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] |
|
|
@@ -38,13 +38,13 @@
|
|
|
38
38
|
require 'pulp_ansible_client'
|
|
39
39
|
|
|
40
40
|
instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(
|
|
41
|
+
prn: null,
|
|
42
|
+
pulp_href: null,
|
|
43
|
+
pulp_created: null,
|
|
44
|
+
pulp_last_updated: null,
|
|
41
45
|
artifact: null,
|
|
42
46
|
pulp_labels: null,
|
|
43
|
-
pulp_created: null,
|
|
44
47
|
vuln_report: null,
|
|
45
|
-
pulp_last_updated: null,
|
|
46
|
-
prn: null,
|
|
47
|
-
pulp_href: 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
|
+
| **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
8
|
+
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
9
|
+
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
|
10
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
11
|
+
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [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
|
+
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
7
14
|
| **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
|
|
8
15
|
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
9
|
-
| **
|
|
10
|
-
| **
|
|
11
|
-
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
16
|
+
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
17
|
+
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
12
18
|
| **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
|
|
13
|
-
| **
|
|
14
|
-
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
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
|
-
| **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
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
17
20
|
| **name** | **String** | A unique name for this remote. | |
|
|
21
|
+
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
22
|
+
| **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] |
|
|
18
23
|
| **url** | **String** | The URL of an external content source. | |
|
|
19
|
-
| **
|
|
24
|
+
| **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] |
|
|
20
25
|
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
21
|
-
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
22
|
-
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
23
26
|
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
|
24
|
-
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
25
|
-
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
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::AnsibleGitRemote.new(
|
|
36
|
+
sock_read_timeout: null,
|
|
37
|
+
headers: null,
|
|
38
|
+
username: null,
|
|
39
|
+
pulp_labels: null,
|
|
40
|
+
tls_validation: null,
|
|
41
|
+
sock_connect_timeout: null,
|
|
42
|
+
rate_limit: null,
|
|
36
43
|
client_key: null,
|
|
37
44
|
proxy_password: null,
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
proxy_url: null,
|
|
45
|
+
ca_cert: null,
|
|
46
|
+
password: null,
|
|
41
47
|
proxy_username: null,
|
|
42
|
-
|
|
43
|
-
pulp_labels: null,
|
|
44
|
-
connect_timeout: null,
|
|
45
|
-
sock_read_timeout: null,
|
|
48
|
+
download_concurrency: null,
|
|
46
49
|
name: null,
|
|
50
|
+
proxy_url: null,
|
|
51
|
+
connect_timeout: null,
|
|
47
52
|
url: null,
|
|
48
|
-
|
|
53
|
+
total_timeout: null,
|
|
49
54
|
client_cert: null,
|
|
50
|
-
tls_validation: null,
|
|
51
|
-
rate_limit: null,
|
|
52
55
|
max_retries: null,
|
|
53
|
-
download_concurrency: null,
|
|
54
|
-
password: null,
|
|
55
|
-
ca_cert: null,
|
|
56
56
|
metadata_only: null,
|
|
57
57
|
git_ref: null
|
|
58
58
|
)
|
|
@@ -4,26 +4,26 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **
|
|
8
|
-
| **
|
|
9
|
-
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
7
|
+
| **pulp_last_updated** | **Time** | Timestamp of the most recent update of the remote. | [optional][readonly] |
|
|
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] |
|
|
10
9
|
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
11
|
-
| **hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFieldsInner>**](AnsibleCollectionRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional] |
|
|
12
10
|
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
11
|
+
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [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
|
+
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
14
|
+
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
15
|
+
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
16
|
+
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
13
17
|
| **pulp_href** | **String** | | [optional][readonly] |
|
|
14
|
-
| **
|
|
15
|
-
| **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
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
16
19
|
| **name** | **String** | A unique name for this remote. | |
|
|
20
|
+
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
21
|
+
| **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
22
|
| **url** | **String** | The URL of an external content source. | |
|
|
18
|
-
| **
|
|
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] |
|
|
19
24
|
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
20
|
-
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
21
|
-
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
22
|
-
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
23
25
|
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
|
24
|
-
| **
|
|
25
|
-
| **pulp_last_updated** | **Time** | Timestamp of the most recent update of the remote. | [optional][readonly] |
|
|
26
|
-
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
26
|
+
| **hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFieldsInner>**](AnsibleCollectionRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional] |
|
|
27
27
|
| **metadata_only** | **Boolean** | If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. | [optional] |
|
|
28
28
|
| **git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional] |
|
|
29
29
|
|
|
@@ -33,26 +33,26 @@
|
|
|
33
33
|
require 'pulp_ansible_client'
|
|
34
34
|
|
|
35
35
|
instance = PulpAnsibleClient::AnsibleGitRemoteResponse.new(
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
prn: null,
|
|
36
|
+
pulp_last_updated: null,
|
|
37
|
+
sock_read_timeout: null,
|
|
39
38
|
headers: null,
|
|
40
|
-
hidden_fields: null,
|
|
41
39
|
pulp_labels: null,
|
|
40
|
+
tls_validation: null,
|
|
41
|
+
sock_connect_timeout: null,
|
|
42
|
+
rate_limit: null,
|
|
43
|
+
ca_cert: null,
|
|
44
|
+
prn: null,
|
|
45
|
+
pulp_created: null,
|
|
42
46
|
pulp_href: null,
|
|
43
|
-
|
|
44
|
-
sock_read_timeout: null,
|
|
47
|
+
download_concurrency: null,
|
|
45
48
|
name: null,
|
|
49
|
+
proxy_url: null,
|
|
50
|
+
connect_timeout: null,
|
|
46
51
|
url: null,
|
|
47
|
-
|
|
52
|
+
total_timeout: null,
|
|
48
53
|
client_cert: null,
|
|
49
|
-
tls_validation: null,
|
|
50
|
-
rate_limit: null,
|
|
51
|
-
pulp_created: null,
|
|
52
54
|
max_retries: null,
|
|
53
|
-
|
|
54
|
-
pulp_last_updated: null,
|
|
55
|
-
ca_cert: null,
|
|
55
|
+
hidden_fields: null,
|
|
56
56
|
metadata_only: null,
|
|
57
57
|
git_ref: null
|
|
58
58
|
)
|
data/docs/AnsibleRole.md
CHANGED
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **artifact** | **String** | Artifact file representing the physical content | |
|
|
8
8
|
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
|
9
|
-
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
10
9
|
| **overwrite** | **Boolean** | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true. | [optional] |
|
|
10
|
+
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
11
11
|
| **version** | **String** | | |
|
|
12
12
|
| **name** | **String** | | |
|
|
13
13
|
| **namespace** | **String** | | |
|
|
@@ -20,8 +20,8 @@ require 'pulp_ansible_client'
|
|
|
20
20
|
instance = PulpAnsibleClient::AnsibleRole.new(
|
|
21
21
|
artifact: null,
|
|
22
22
|
repository: null,
|
|
23
|
-
pulp_labels: null,
|
|
24
23
|
overwrite: null,
|
|
24
|
+
pulp_labels: null,
|
|
25
25
|
version: null,
|
|
26
26
|
name: null,
|
|
27
27
|
namespace: null
|
data/docs/AnsibleRoleResponse.md
CHANGED
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
8
|
+
| **pulp_href** | **String** | | [optional][readonly] |
|
|
9
|
+
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
10
|
+
| **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
|
|
7
11
|
| **artifact** | **String** | Artifact file representing the physical content | |
|
|
8
12
|
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
9
|
-
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
10
13
|
| **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
|
-
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
13
|
-
| **pulp_href** | **String** | | [optional][readonly] |
|
|
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
|
+
prn: null,
|
|
25
|
+
pulp_href: null,
|
|
26
|
+
pulp_created: null,
|
|
27
|
+
pulp_last_updated: null,
|
|
24
28
|
artifact: null,
|
|
25
29
|
pulp_labels: null,
|
|
26
|
-
pulp_created: null,
|
|
27
30
|
vuln_report: null,
|
|
28
|
-
pulp_last_updated: null,
|
|
29
|
-
prn: null,
|
|
30
|
-
pulp_href: null,
|
|
31
31
|
version: null,
|
|
32
32
|
name: null,
|
|
33
33
|
namespace: null
|
|
@@ -34,14 +34,14 @@ 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
|
-
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
|
38
37
|
file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
|
|
38
|
+
file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
|
|
39
|
+
downloader_config: PulpAnsibleClient::RemoteNetworkConfig.new, # RemoteNetworkConfig | Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
|
|
40
|
+
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
|
39
41
|
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
|
40
|
-
pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
41
42
|
overwrite: true, # Boolean | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
|
|
42
|
-
|
|
43
|
+
pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
43
44
|
upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
|
|
44
|
-
downloader_config: PulpAnsibleClient::RemoteNetworkConfig.new, # RemoteNetworkConfig | Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
|
|
45
45
|
expected_name: 'expected_name_example', # String | The name of the collection.
|
|
46
46
|
expected_namespace: 'expected_namespace_example', # String | The namespace of the collection.
|
|
47
47
|
expected_version: 'expected_version_example' # String | The version of the collection.
|
|
@@ -79,14 +79,14 @@ end
|
|
|
79
79
|
| Name | Type | Description | Notes |
|
|
80
80
|
| ---- | ---- | ----------- | ----- |
|
|
81
81
|
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
82
|
-
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
|
83
82
|
| **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional] |
|
|
83
|
+
| **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
|
|
84
|
+
| **downloader_config** | [**RemoteNetworkConfig**](RemoteNetworkConfig.md) | Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url. | [optional] |
|
|
85
|
+
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
|
84
86
|
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
|
85
|
-
| **pulp_labels** | [**Hash<String, String>**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
86
87
|
| **overwrite** | **Boolean** | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true. | [optional] |
|
|
87
|
-
| **
|
|
88
|
+
| **pulp_labels** | [**Hash<String, String>**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
88
89
|
| **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
|
|
89
|
-
| **downloader_config** | [**RemoteNetworkConfig**](RemoteNetworkConfig.md) | Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url. | [optional] |
|
|
90
90
|
| **expected_name** | **String** | The name of the collection. | [optional] |
|
|
91
91
|
| **expected_namespace** | **String** | The namespace of the collection. | [optional] |
|
|
92
92
|
| **expected_version** | **String** | The version of the collection. | [optional] |
|
|
@@ -4,26 +4,26 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
8
|
+
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
9
|
+
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
|
10
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
11
|
+
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [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
|
+
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
7
14
|
| **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
|
|
8
15
|
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
9
|
-
| **
|
|
10
|
-
| **
|
|
11
|
-
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
16
|
+
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
17
|
+
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
12
18
|
| **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
|
|
13
|
-
| **
|
|
14
|
-
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
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
|
-
| **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
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
17
20
|
| **name** | **String** | A unique name for this remote. | [optional] |
|
|
21
|
+
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
22
|
+
| **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] |
|
|
18
23
|
| **url** | **String** | The URL of an external content source. | [optional] |
|
|
19
|
-
| **
|
|
24
|
+
| **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] |
|
|
20
25
|
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
21
|
-
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
22
|
-
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
23
26
|
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
|
24
|
-
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
25
|
-
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
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::PatchedansibleGitRemote.new(
|
|
36
|
+
sock_read_timeout: null,
|
|
37
|
+
headers: null,
|
|
38
|
+
username: null,
|
|
39
|
+
pulp_labels: null,
|
|
40
|
+
tls_validation: null,
|
|
41
|
+
sock_connect_timeout: null,
|
|
42
|
+
rate_limit: null,
|
|
36
43
|
client_key: null,
|
|
37
44
|
proxy_password: null,
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
proxy_url: null,
|
|
45
|
+
ca_cert: null,
|
|
46
|
+
password: null,
|
|
41
47
|
proxy_username: null,
|
|
42
|
-
|
|
43
|
-
pulp_labels: null,
|
|
44
|
-
connect_timeout: null,
|
|
45
|
-
sock_read_timeout: null,
|
|
48
|
+
download_concurrency: null,
|
|
46
49
|
name: null,
|
|
50
|
+
proxy_url: null,
|
|
51
|
+
connect_timeout: null,
|
|
47
52
|
url: null,
|
|
48
|
-
|
|
53
|
+
total_timeout: null,
|
|
49
54
|
client_cert: null,
|
|
50
|
-
tls_validation: null,
|
|
51
|
-
rate_limit: null,
|
|
52
55
|
max_retries: null,
|
|
53
|
-
download_concurrency: null,
|
|
54
|
-
password: null,
|
|
55
|
-
ca_cert: null,
|
|
56
56
|
metadata_only: null,
|
|
57
57
|
git_ref: null
|
|
58
58
|
)
|
|
@@ -23,14 +23,14 @@ 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] :artifact Artifact file representing the physical content
|
|
27
26
|
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
|
27
|
+
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
28
|
+
# @option opts [RemoteNetworkConfig] :downloader_config Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
|
|
29
|
+
# @option opts [String] :artifact Artifact file representing the physical content
|
|
28
30
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
29
|
-
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
30
31
|
# @option opts [Boolean] :overwrite When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
|
|
31
|
-
# @option opts [
|
|
32
|
+
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
32
33
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
33
|
-
# @option opts [RemoteNetworkConfig] :downloader_config Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
|
|
34
34
|
# @option opts [String] :expected_name The name of the collection.
|
|
35
35
|
# @option opts [String] :expected_namespace The namespace of the collection.
|
|
36
36
|
# @option opts [String] :expected_version The version of the collection.
|
|
@@ -44,14 +44,14 @@ module PulpAnsibleClient
|
|
|
44
44
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
|
45
45
|
# @param [Hash] opts the optional parameters
|
|
46
46
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
47
|
-
# @option opts [String] :artifact Artifact file representing the physical content
|
|
48
47
|
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
|
48
|
+
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
49
|
+
# @option opts [RemoteNetworkConfig] :downloader_config Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
|
|
50
|
+
# @option opts [String] :artifact Artifact file representing the physical content
|
|
49
51
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
50
|
-
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
51
52
|
# @option opts [Boolean] :overwrite When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
|
|
52
|
-
# @option opts [
|
|
53
|
+
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
53
54
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
54
|
-
# @option opts [RemoteNetworkConfig] :downloader_config Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
|
|
55
55
|
# @option opts [String] :expected_name The name of the collection.
|
|
56
56
|
# @option opts [String] :expected_namespace The namespace of the collection.
|
|
57
57
|
# @option opts [String] :expected_version The version of the collection.
|
|
@@ -107,14 +107,14 @@ module PulpAnsibleClient
|
|
|
107
107
|
|
|
108
108
|
# form parameters
|
|
109
109
|
form_params = opts[:form_params] || {}
|
|
110
|
-
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
|
111
110
|
form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
|
|
111
|
+
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
|
112
|
+
form_params['downloader_config'] = opts[:'downloader_config'] if !opts[:'downloader_config'].nil?
|
|
113
|
+
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
|
112
114
|
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
|
113
|
-
form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
|
|
114
115
|
form_params['overwrite'] = opts[:'overwrite'] if !opts[:'overwrite'].nil?
|
|
115
|
-
form_params['
|
|
116
|
+
form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
|
|
116
117
|
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
|
117
|
-
form_params['downloader_config'] = opts[:'downloader_config'] if !opts[:'downloader_config'].nil?
|
|
118
118
|
form_params['expected_name'] = opts[:'expected_name'] if !opts[:'expected_name'].nil?
|
|
119
119
|
form_params['expected_namespace'] = opts[:'expected_namespace'] if !opts[:'expected_namespace'].nil?
|
|
120
120
|
form_params['expected_version'] = opts[:'expected_version'] if !opts[:'expected_version'].nil?
|
|
@@ -16,24 +16,24 @@ require 'time'
|
|
|
16
16
|
module PulpAnsibleClient
|
|
17
17
|
# A serializer for CollectionVersion Content.
|
|
18
18
|
class AnsibleCollectionVersionResponse
|
|
19
|
-
#
|
|
20
|
-
attr_accessor :
|
|
19
|
+
# The Pulp Resource Name (PRN).
|
|
20
|
+
attr_accessor :prn
|
|
21
21
|
|
|
22
|
-
|
|
23
|
-
attr_accessor :pulp_labels
|
|
22
|
+
attr_accessor :pulp_href
|
|
24
23
|
|
|
25
24
|
# Timestamp of creation.
|
|
26
25
|
attr_accessor :pulp_created
|
|
27
26
|
|
|
28
|
-
attr_accessor :vuln_report
|
|
29
|
-
|
|
30
27
|
# 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
28
|
attr_accessor :pulp_last_updated
|
|
32
29
|
|
|
33
|
-
#
|
|
34
|
-
attr_accessor :
|
|
30
|
+
# Artifact file representing the physical content
|
|
31
|
+
attr_accessor :artifact
|
|
35
32
|
|
|
36
|
-
|
|
33
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
34
|
+
attr_accessor :pulp_labels
|
|
35
|
+
|
|
36
|
+
attr_accessor :vuln_report
|
|
37
37
|
|
|
38
38
|
# The SHA-256 checksum if available.
|
|
39
39
|
attr_accessor :sha256
|
|
@@ -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
|
+
:'prn' => :'prn',
|
|
101
|
+
:'pulp_href' => :'pulp_href',
|
|
102
|
+
:'pulp_created' => :'pulp_created',
|
|
103
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
100
104
|
:'artifact' => :'artifact',
|
|
101
105
|
:'pulp_labels' => :'pulp_labels',
|
|
102
|
-
:'pulp_created' => :'pulp_created',
|
|
103
106
|
:'vuln_report' => :'vuln_report',
|
|
104
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
|
105
|
-
:'prn' => :'prn',
|
|
106
|
-
:'pulp_href' => :'pulp_href',
|
|
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
|
+
:'prn' => :'String',
|
|
139
|
+
:'pulp_href' => :'String',
|
|
140
|
+
:'pulp_created' => :'Time',
|
|
141
|
+
:'pulp_last_updated' => :'Time',
|
|
138
142
|
:'artifact' => :'String',
|
|
139
143
|
:'pulp_labels' => :'Hash<String, String>',
|
|
140
|
-
:'pulp_created' => :'Time',
|
|
141
144
|
:'vuln_report' => :'String',
|
|
142
|
-
:'pulp_last_updated' => :'Time',
|
|
143
|
-
:'prn' => :'String',
|
|
144
|
-
:'pulp_href' => :'String',
|
|
145
145
|
:'sha256' => :'String',
|
|
146
146
|
:'md5' => :'String',
|
|
147
147
|
:'sha1' => :'String',
|
|
@@ -187,34 +187,34 @@ module PulpAnsibleClient
|
|
|
187
187
|
h[k.to_sym] = v
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
if attributes.key?(:'
|
|
191
|
-
self.
|
|
190
|
+
if attributes.key?(:'prn')
|
|
191
|
+
self.prn = attributes[:'prn']
|
|
192
192
|
end
|
|
193
193
|
|
|
194
|
-
if attributes.key?(:'
|
|
195
|
-
|
|
196
|
-
self.pulp_labels = value
|
|
197
|
-
end
|
|
194
|
+
if attributes.key?(:'pulp_href')
|
|
195
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
198
196
|
end
|
|
199
197
|
|
|
200
198
|
if attributes.key?(:'pulp_created')
|
|
201
199
|
self.pulp_created = attributes[:'pulp_created']
|
|
202
200
|
end
|
|
203
201
|
|
|
204
|
-
if attributes.key?(:'vuln_report')
|
|
205
|
-
self.vuln_report = attributes[:'vuln_report']
|
|
206
|
-
end
|
|
207
|
-
|
|
208
202
|
if attributes.key?(:'pulp_last_updated')
|
|
209
203
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
210
204
|
end
|
|
211
205
|
|
|
212
|
-
if attributes.key?(:'
|
|
213
|
-
self.
|
|
206
|
+
if attributes.key?(:'artifact')
|
|
207
|
+
self.artifact = attributes[:'artifact']
|
|
214
208
|
end
|
|
215
209
|
|
|
216
|
-
if attributes.key?(:'
|
|
217
|
-
|
|
210
|
+
if attributes.key?(:'pulp_labels')
|
|
211
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
212
|
+
self.pulp_labels = value
|
|
213
|
+
end
|
|
214
|
+
end
|
|
215
|
+
|
|
216
|
+
if attributes.key?(:'vuln_report')
|
|
217
|
+
self.vuln_report = attributes[:'vuln_report']
|
|
218
218
|
end
|
|
219
219
|
|
|
220
220
|
if attributes.key?(:'sha256')
|
|
@@ -472,13 +472,13 @@ module PulpAnsibleClient
|
|
|
472
472
|
def ==(o)
|
|
473
473
|
return true if self.equal?(o)
|
|
474
474
|
self.class == o.class &&
|
|
475
|
+
prn == o.prn &&
|
|
476
|
+
pulp_href == o.pulp_href &&
|
|
477
|
+
pulp_created == o.pulp_created &&
|
|
478
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
475
479
|
artifact == o.artifact &&
|
|
476
480
|
pulp_labels == o.pulp_labels &&
|
|
477
|
-
pulp_created == o.pulp_created &&
|
|
478
481
|
vuln_report == o.vuln_report &&
|
|
479
|
-
pulp_last_updated == o.pulp_last_updated &&
|
|
480
|
-
prn == o.prn &&
|
|
481
|
-
pulp_href == o.pulp_href &&
|
|
482
482
|
sha256 == o.sha256 &&
|
|
483
483
|
md5 == o.md5 &&
|
|
484
484
|
sha1 == o.sha1 &&
|
|
@@ -510,7 +510,7 @@ module PulpAnsibleClient
|
|
|
510
510
|
# Calculates hash code according to all attributes.
|
|
511
511
|
# @return [Integer] Hash code
|
|
512
512
|
def hash
|
|
513
|
-
[
|
|
513
|
+
[prn, pulp_href, pulp_created, pulp_last_updated, artifact, pulp_labels, vuln_report, sha256, md5, sha1, sha224, sha384, sha512, id, authors, dependencies, description, documentation, homepage, issues, license, name, namespace, origin_repository, tags, version, requires_ansible].hash
|
|
514
514
|
end
|
|
515
515
|
|
|
516
516
|
# Builds the object from hash
|