pulp_ansible_client 0.30.1 → 0.30.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/AnsibleCollectionVersionResponse.md +6 -6
- data/docs/AnsibleGitRemote.md +26 -26
- data/docs/AnsibleGitRemoteResponse.md +26 -26
- data/docs/AnsibleRole.md +6 -6
- data/docs/AnsibleRoleResponse.md +6 -6
- data/docs/ContentCollectionVersionsApi.md +10 -10
- data/docs/PatchedansibleGitRemote.md +26 -26
- data/docs/RemotesGitApi.md +2 -2
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +15 -15
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +30 -30
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +247 -247
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +154 -154
- data/lib/pulp_ansible_client/models/ansible_role.rb +27 -27
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +32 -32
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +238 -238
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/content_collection_versions_api_spec.rb +5 -5
- data/spec/models/ansible_collection_version_response_spec.rb +7 -7
- data/spec/models/ansible_git_remote_response_spec.rb +18 -18
- data/spec/models/ansible_git_remote_spec.rb +19 -19
- data/spec/models/ansible_role_response_spec.rb +7 -7
- data/spec/models/ansible_role_spec.rb +4 -4
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- metadata +126 -126
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8843dea84322e51c5077aad9931592e91fda46827492831eb0b3e128186625d6
|
|
4
|
+
data.tar.gz: 155e2ec801cca1993fd00040951ceba27e1991100207e4b779fcc1800b4cb938
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bf9e662828e1207518a51ddfb71402fdc25e276b82558fb04b208f22aac4003de631a6eb882346002f39f5313934a9568e929c7cc722695bd01ca54292f9db20
|
|
7
|
+
data.tar.gz: aabe1f58103978b615c245b16859cbbbe655e1bd2d4214b998f81aa66aa0c015db6af5ec3d06497900a11b8fbbbbf1ab8521a2b99d5a564cbb4e382b88d15f84
|
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.30.
|
|
10
|
+
- Package version: 0.30.2
|
|
11
11
|
- Generator version: 7.10.0
|
|
12
12
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
13
13
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
|
@@ -25,16 +25,16 @@ gem build pulp_ansible_client.gemspec
|
|
|
25
25
|
Then either install the gem locally:
|
|
26
26
|
|
|
27
27
|
```shell
|
|
28
|
-
gem install ./pulp_ansible_client-0.30.
|
|
28
|
+
gem install ./pulp_ansible_client-0.30.2.gem
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
(for development, run `gem install --dev ./pulp_ansible_client-0.30.
|
|
31
|
+
(for development, run `gem install --dev ./pulp_ansible_client-0.30.2.gem` to install the development dependencies)
|
|
32
32
|
|
|
33
33
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
34
34
|
|
|
35
35
|
Finally add this to the Gemfile:
|
|
36
36
|
|
|
37
|
-
gem 'pulp_ansible_client', '~> 0.30.
|
|
37
|
+
gem 'pulp_ansible_client', '~> 0.30.2'
|
|
38
38
|
|
|
39
39
|
### Install from Git
|
|
40
40
|
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
|
8
|
-
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
9
|
-
| **pulp_href** | **String** | | [optional][readonly] |
|
|
10
7
|
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
8
|
+
| **pulp_href** | **String** | | [optional][readonly] |
|
|
11
9
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
10
|
+
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
|
12
11
|
| **vuln_report** | **String** | | [optional][readonly] |
|
|
13
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
|
+
| **prn** | **String** | The Pulp Resource Name (PRN). | [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
|
-
artifact: null,
|
|
42
|
-
prn: null,
|
|
43
|
-
pulp_href: null,
|
|
44
41
|
pulp_labels: null,
|
|
42
|
+
pulp_href: null,
|
|
45
43
|
pulp_created: null,
|
|
44
|
+
artifact: null,
|
|
46
45
|
vuln_report: null,
|
|
47
46
|
pulp_last_updated: null,
|
|
47
|
+
prn: 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
|
-
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
8
|
-
| **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
9
|
-
| **url** | **String** | The URL of an external content source. | |
|
|
10
|
-
| **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
|
|
11
|
-
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
12
|
-
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
13
7
|
| **name** | **String** | A unique name for this remote. | |
|
|
14
|
-
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
15
|
-
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
|
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
|
-
| **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
18
|
-
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
19
8
|
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
9
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
20
10
|
| **client_key** | **String** | A PEM encoded private key used for authentication. | [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
|
+
| **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
|
+
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
21
14
|
| **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
22
|
-
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
23
15
|
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
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_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
24
18
|
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
|
25
|
-
| **
|
|
19
|
+
| **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] |
|
|
20
|
+
| **url** | **String** | The URL of an external content source. | |
|
|
21
|
+
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
26
22
|
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
23
|
+
| **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
|
|
24
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
25
|
+
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
26
|
+
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
27
27
|
| **metadata_only** | **Boolean** | If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. | [optional] |
|
|
28
28
|
| **git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional] |
|
|
29
29
|
|
|
@@ -33,26 +33,26 @@
|
|
|
33
33
|
require 'pulp_ansible_client'
|
|
34
34
|
|
|
35
35
|
instance = PulpAnsibleClient::AnsibleGitRemote.new(
|
|
36
|
-
password: null,
|
|
37
|
-
sock_read_timeout: null,
|
|
38
|
-
url: null,
|
|
39
|
-
proxy_username: null,
|
|
40
|
-
proxy_url: null,
|
|
41
|
-
pulp_labels: null,
|
|
42
36
|
name: null,
|
|
43
|
-
download_concurrency: null,
|
|
44
|
-
max_retries: null,
|
|
45
|
-
sock_connect_timeout: null,
|
|
46
|
-
total_timeout: null,
|
|
47
|
-
proxy_password: null,
|
|
48
37
|
client_cert: null,
|
|
38
|
+
pulp_labels: null,
|
|
49
39
|
client_key: null,
|
|
40
|
+
max_retries: null,
|
|
41
|
+
total_timeout: null,
|
|
42
|
+
password: null,
|
|
50
43
|
connect_timeout: null,
|
|
51
|
-
headers: null,
|
|
52
44
|
rate_limit: null,
|
|
45
|
+
sock_connect_timeout: null,
|
|
46
|
+
proxy_password: null,
|
|
53
47
|
username: null,
|
|
54
|
-
|
|
48
|
+
sock_read_timeout: null,
|
|
49
|
+
url: null,
|
|
50
|
+
headers: null,
|
|
55
51
|
ca_cert: null,
|
|
52
|
+
proxy_username: null,
|
|
53
|
+
download_concurrency: null,
|
|
54
|
+
proxy_url: null,
|
|
55
|
+
tls_validation: 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
|
-
| **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
|
-
| **pulp_href** | **String** | | [optional][readonly] |
|
|
9
|
-
| **url** | **String** | The URL of an external content source. | |
|
|
10
|
-
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
11
|
-
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
12
7
|
| **name** | **String** | A unique name for this remote. | |
|
|
13
|
-
| **
|
|
8
|
+
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
9
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
10
|
+
| **pulp_href** | **String** | | [optional][readonly] |
|
|
11
|
+
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
14
12
|
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [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
13
|
| **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] |
|
|
14
|
+
| **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
15
|
+
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
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
17
|
| **pulp_last_updated** | **Time** | Timestamp of the most recent update of the remote. | [optional][readonly] |
|
|
18
|
-
| **
|
|
18
|
+
| **hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFieldsInner>**](AnsibleCollectionRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional] |
|
|
19
19
|
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
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
|
+
| **url** | **String** | The URL of an external content source. | |
|
|
21
22
|
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
22
|
-
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
23
|
-
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
24
|
-
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
25
23
|
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
26
|
-
| **
|
|
24
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
25
|
+
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
26
|
+
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [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
|
-
sock_read_timeout: null,
|
|
37
|
-
pulp_href: null,
|
|
38
|
-
url: null,
|
|
39
|
-
proxy_url: null,
|
|
40
|
-
pulp_labels: null,
|
|
41
36
|
name: null,
|
|
42
|
-
|
|
37
|
+
client_cert: null,
|
|
38
|
+
pulp_labels: null,
|
|
39
|
+
pulp_href: null,
|
|
40
|
+
pulp_created: null,
|
|
43
41
|
max_retries: null,
|
|
44
|
-
sock_connect_timeout: null,
|
|
45
42
|
total_timeout: null,
|
|
43
|
+
connect_timeout: null,
|
|
44
|
+
rate_limit: null,
|
|
45
|
+
sock_connect_timeout: null,
|
|
46
46
|
pulp_last_updated: null,
|
|
47
|
-
|
|
47
|
+
hidden_fields: null,
|
|
48
48
|
prn: null,
|
|
49
|
-
|
|
49
|
+
sock_read_timeout: null,
|
|
50
|
+
url: null,
|
|
50
51
|
headers: null,
|
|
51
|
-
rate_limit: null,
|
|
52
|
-
pulp_created: null,
|
|
53
|
-
tls_validation: null,
|
|
54
52
|
ca_cert: null,
|
|
55
|
-
|
|
53
|
+
download_concurrency: null,
|
|
54
|
+
proxy_url: null,
|
|
55
|
+
tls_validation: null,
|
|
56
56
|
metadata_only: null,
|
|
57
57
|
git_ref: null
|
|
58
58
|
)
|
data/docs/AnsibleRole.md
CHANGED
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
|
8
|
-
| **artifact** | **String** | Artifact file representing the physical content | |
|
|
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
7
|
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
8
|
+
| **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] |
|
|
9
|
+
| **artifact** | **String** | Artifact file representing the physical content | |
|
|
10
|
+
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
|
11
11
|
| **version** | **String** | | |
|
|
12
12
|
| **name** | **String** | | |
|
|
13
13
|
| **namespace** | **String** | | |
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
require 'pulp_ansible_client'
|
|
19
19
|
|
|
20
20
|
instance = PulpAnsibleClient::AnsibleRole.new(
|
|
21
|
-
repository: null,
|
|
22
|
-
artifact: null,
|
|
23
|
-
overwrite: null,
|
|
24
21
|
pulp_labels: null,
|
|
22
|
+
overwrite: null,
|
|
23
|
+
artifact: null,
|
|
24
|
+
repository: 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
|
-
| **artifact** | **String** | Artifact file representing the physical content | |
|
|
8
|
-
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
9
|
-
| **pulp_href** | **String** | | [optional][readonly] |
|
|
10
7
|
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
8
|
+
| **pulp_href** | **String** | | [optional][readonly] |
|
|
11
9
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
10
|
+
| **artifact** | **String** | Artifact file representing the physical content | |
|
|
12
11
|
| **vuln_report** | **String** | | [optional][readonly] |
|
|
13
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
|
+
| **prn** | **String** | The Pulp Resource Name (PRN). | [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
|
-
artifact: null,
|
|
25
|
-
prn: null,
|
|
26
|
-
pulp_href: null,
|
|
27
24
|
pulp_labels: null,
|
|
25
|
+
pulp_href: null,
|
|
28
26
|
pulp_created: null,
|
|
27
|
+
artifact: null,
|
|
29
28
|
vuln_report: null,
|
|
30
29
|
pulp_last_updated: null,
|
|
30
|
+
prn: 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
|
-
|
|
38
|
-
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
|
39
|
-
upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
|
|
37
|
+
downloader_config: PulpAnsibleClient::RemoteNetworkConfig.new, # RemoteNetworkConfig | Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
|
|
40
38
|
file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
|
|
41
|
-
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
39
|
pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
43
|
-
downloader_config: PulpAnsibleClient::RemoteNetworkConfig.new, # RemoteNetworkConfig | Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
|
|
44
40
|
file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
|
|
41
|
+
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
|
+
upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
|
|
43
|
+
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
|
44
|
+
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
|
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
|
-
| **
|
|
83
|
-
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
|
84
|
-
| **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
|
|
82
|
+
| **downloader_config** | [**RemoteNetworkConfig**](RemoteNetworkConfig.md) | Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url. | [optional] |
|
|
85
83
|
| **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional] |
|
|
86
|
-
| **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
84
|
| **pulp_labels** | [**Hash<String, String>**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
88
|
-
| **downloader_config** | [**RemoteNetworkConfig**](RemoteNetworkConfig.md) | Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url. | [optional] |
|
|
89
85
|
| **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
|
|
86
|
+
| **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
|
+
| **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
|
|
88
|
+
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
|
89
|
+
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [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
|
-
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
8
|
-
| **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
9
|
-
| **url** | **String** | The URL of an external content source. | [optional] |
|
|
10
|
-
| **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
|
|
11
|
-
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
12
|
-
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
13
7
|
| **name** | **String** | A unique name for this remote. | [optional] |
|
|
14
|
-
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
15
|
-
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
|
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
|
-
| **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
18
|
-
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
19
8
|
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
9
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
20
10
|
| **client_key** | **String** | A PEM encoded private key used for authentication. | [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
|
+
| **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
|
+
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
21
14
|
| **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
22
|
-
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
23
15
|
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
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_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
24
18
|
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
|
25
|
-
| **
|
|
19
|
+
| **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] |
|
|
20
|
+
| **url** | **String** | The URL of an external content source. | [optional] |
|
|
21
|
+
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
26
22
|
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
23
|
+
| **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
|
|
24
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
25
|
+
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
26
|
+
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
27
27
|
| **metadata_only** | **Boolean** | If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. | [optional] |
|
|
28
28
|
| **git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional] |
|
|
29
29
|
|
|
@@ -33,26 +33,26 @@
|
|
|
33
33
|
require 'pulp_ansible_client'
|
|
34
34
|
|
|
35
35
|
instance = PulpAnsibleClient::PatchedansibleGitRemote.new(
|
|
36
|
-
password: null,
|
|
37
|
-
sock_read_timeout: null,
|
|
38
|
-
url: null,
|
|
39
|
-
proxy_username: null,
|
|
40
|
-
proxy_url: null,
|
|
41
|
-
pulp_labels: null,
|
|
42
36
|
name: null,
|
|
43
|
-
download_concurrency: null,
|
|
44
|
-
max_retries: null,
|
|
45
|
-
sock_connect_timeout: null,
|
|
46
|
-
total_timeout: null,
|
|
47
|
-
proxy_password: null,
|
|
48
37
|
client_cert: null,
|
|
38
|
+
pulp_labels: null,
|
|
49
39
|
client_key: null,
|
|
40
|
+
max_retries: null,
|
|
41
|
+
total_timeout: null,
|
|
42
|
+
password: null,
|
|
50
43
|
connect_timeout: null,
|
|
51
|
-
headers: null,
|
|
52
44
|
rate_limit: null,
|
|
45
|
+
sock_connect_timeout: null,
|
|
46
|
+
proxy_password: null,
|
|
53
47
|
username: null,
|
|
54
|
-
|
|
48
|
+
sock_read_timeout: null,
|
|
49
|
+
url: null,
|
|
50
|
+
headers: null,
|
|
55
51
|
ca_cert: null,
|
|
52
|
+
proxy_username: null,
|
|
53
|
+
download_concurrency: null,
|
|
54
|
+
proxy_url: null,
|
|
55
|
+
tls_validation: 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({name: 'name_example', url: 'url_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({name: 'name_example', url: 'url_example'}) # AnsibleGitRemote |
|
|
930
930
|
opts = {
|
|
931
931
|
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
932
932
|
}
|
|
@@ -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 [
|
|
27
|
-
# @option opts [String] :artifact Artifact file representing the physical content
|
|
28
|
-
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
26
|
+
# @option opts [RemoteNetworkConfig] :downloader_config Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
|
|
29
27
|
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
|
30
|
-
# @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
28
|
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
32
|
-
# @option opts [RemoteNetworkConfig] :downloader_config Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
|
|
33
29
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
30
|
+
# @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 [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
32
|
+
# @option opts [String] :artifact Artifact file representing the physical content
|
|
33
|
+
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
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 [
|
|
48
|
-
# @option opts [String] :artifact Artifact file representing the physical content
|
|
49
|
-
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
47
|
+
# @option opts [RemoteNetworkConfig] :downloader_config Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
|
|
50
48
|
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
|
51
|
-
# @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
49
|
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
53
|
-
# @option opts [RemoteNetworkConfig] :downloader_config Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
|
|
54
50
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
51
|
+
# @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 [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
53
|
+
# @option opts [String] :artifact Artifact file representing the physical content
|
|
54
|
+
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
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['
|
|
111
|
-
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
|
112
|
-
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
|
110
|
+
form_params['downloader_config'] = opts[:'downloader_config'] if !opts[:'downloader_config'].nil?
|
|
113
111
|
form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
|
|
114
|
-
form_params['overwrite'] = opts[:'overwrite'] if !opts[:'overwrite'].nil?
|
|
115
112
|
form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
|
|
116
|
-
form_params['downloader_config'] = opts[:'downloader_config'] if !opts[:'downloader_config'].nil?
|
|
117
113
|
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
|
114
|
+
form_params['overwrite'] = opts[:'overwrite'] if !opts[:'overwrite'].nil?
|
|
115
|
+
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
|
116
|
+
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
|
117
|
+
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].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?
|