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