pulp_ansible_client 0.29.1 → 0.29.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 +8 -16
- 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 +6 -6
- data/docs/PatchedansibleGitRemote.md +26 -26
- data/docs/RemotesGitApi.md +2 -2
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +9 -9
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +33 -75
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +228 -228
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +146 -146
- data/lib/pulp_ansible_client/models/ansible_role.rb +13 -13
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +35 -35
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +218 -218
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/content_collection_versions_api_spec.rb +3 -3
- data/spec/models/ansible_collection_version_response_spec.rb +5 -29
- 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 +5 -5
- data/spec/models/ansible_role_spec.rb +2 -2
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bd54cd6f85c4bbbc35933faa866f633d3f6cbe8b0e23d0a34a2a9831d97ca342
|
|
4
|
+
data.tar.gz: c5e2d58d8b6a7c6d89426c3919c7847e5baec762229d12c43e5ae70beaf7f40b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1555a5c58dee83be34580aae24367a37f69fa26821fe401871f42d3157ca4607ef8eea023ec92d1fe16889e472403e0e44ade6cee12b2a72ab3050d4c93bd1a8
|
|
7
|
+
data.tar.gz: 3e4696393dc4db136da9359b124a3658673d408f665c1fdcac43c86297043c86cd92a7bdb19eddc67b988b7610d7c04899240cf8c115c068337b350c20581567
|
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.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.29.
|
|
28
|
+
gem install ./pulp_ansible_client-0.29.2.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.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.29.
|
|
37
|
+
gem 'pulp_ansible_client', '~> 0.29.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
|
-
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
8
7
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
9
|
-
| **
|
|
8
|
+
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
|
9
|
+
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
10
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] |
|
|
11
11
|
| **vuln_report** | **String** | | [optional][readonly] |
|
|
12
|
-
| **
|
|
13
|
-
| **
|
|
12
|
+
| **pulp_href** | **String** | | [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] |
|
|
@@ -19,12 +19,8 @@
|
|
|
19
19
|
| **sha512** | **String** | The SHA-512 checksum if available. | [optional][readonly] |
|
|
20
20
|
| **id** | **String** | A collection identifier. | [optional][readonly] |
|
|
21
21
|
| **authors** | **Array<String>** | A list of the CollectionVersion content's authors. | [optional] |
|
|
22
|
-
| **contents** | **Array<Object>** | A JSON field with data about the contents. | [optional] |
|
|
23
22
|
| **dependencies** | **Object** | A dict declaring Collections that this collection requires to be installed for it to be usable. | [optional][readonly] |
|
|
24
23
|
| **description** | **String** | A short summary description of the collection. | [optional][readonly] |
|
|
25
|
-
| **docs_blob** | **Object** | A JSON field holding the various documentation blobs in the collection. | [optional][readonly] |
|
|
26
|
-
| **manifest** | **Object** | A JSON field holding MANIFEST.json data. | [optional][readonly] |
|
|
27
|
-
| **files** | **Object** | A JSON field holding FILES.json data. | [optional][readonly] |
|
|
28
24
|
| **documentation** | **String** | The URL to any online docs. | [optional][readonly] |
|
|
29
25
|
| **homepage** | **String** | The URL to the homepage of the collection/project. | [optional][readonly] |
|
|
30
26
|
| **issues** | **String** | The URL to the collection issue tracker. | [optional][readonly] |
|
|
@@ -42,13 +38,13 @@
|
|
|
42
38
|
require 'pulp_ansible_client'
|
|
43
39
|
|
|
44
40
|
instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(
|
|
45
|
-
prn: null,
|
|
46
41
|
pulp_created: null,
|
|
47
|
-
|
|
42
|
+
artifact: null,
|
|
43
|
+
pulp_labels: null,
|
|
48
44
|
pulp_last_updated: null,
|
|
49
45
|
vuln_report: null,
|
|
50
|
-
|
|
51
|
-
|
|
46
|
+
pulp_href: null,
|
|
47
|
+
prn: null,
|
|
52
48
|
sha256: null,
|
|
53
49
|
md5: null,
|
|
54
50
|
sha1: null,
|
|
@@ -57,12 +53,8 @@ instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(
|
|
|
57
53
|
sha512: null,
|
|
58
54
|
id: null,
|
|
59
55
|
authors: null,
|
|
60
|
-
contents: null,
|
|
61
56
|
dependencies: null,
|
|
62
57
|
description: null,
|
|
63
|
-
docs_blob: null,
|
|
64
|
-
manifest: null,
|
|
65
|
-
files: null,
|
|
66
58
|
documentation: null,
|
|
67
59
|
homepage: null,
|
|
68
60
|
issues: null,
|
data/docs/AnsibleGitRemote.md
CHANGED
|
@@ -4,26 +4,26 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **
|
|
7
|
+
| **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] |
|
|
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] |
|
|
8
9
|
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
9
|
-
| **
|
|
10
|
-
| **name** | **String** | A unique name for this remote. | |
|
|
11
|
-
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
10
|
+
| **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
11
|
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
12
|
+
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
13
13
|
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
14
|
-
| **
|
|
15
|
-
| **
|
|
14
|
+
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
|
15
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
16
|
+
| **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
17
|
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [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_username** | **String** | The username to authenticte to the proxy. | [optional] |
|
|
19
18
|
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
20
|
-
| **
|
|
21
|
-
| **
|
|
22
|
-
| **
|
|
19
|
+
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
20
|
+
| **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
|
|
21
|
+
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
22
|
+
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
23
|
+
| **url** | **String** | The URL of an external content source. | |
|
|
23
24
|
| **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
|
|
24
|
-
| **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] |
|
|
25
|
-
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
26
25
|
| **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
26
|
+
| **name** | **String** | A unique name for this remote. | |
|
|
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
|
-
|
|
36
|
+
total_timeout: null,
|
|
37
|
+
sock_read_timeout: null,
|
|
37
38
|
download_concurrency: null,
|
|
38
|
-
|
|
39
|
-
name: null,
|
|
40
|
-
headers: null,
|
|
39
|
+
max_retries: null,
|
|
41
40
|
password: null,
|
|
41
|
+
client_cert: null,
|
|
42
42
|
tls_validation: null,
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
username: null,
|
|
44
|
+
pulp_labels: null,
|
|
45
|
+
connect_timeout: null,
|
|
45
46
|
ca_cert: null,
|
|
46
|
-
total_timeout: null,
|
|
47
|
-
proxy_username: null,
|
|
48
47
|
proxy_password: null,
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
48
|
+
proxy_url: null,
|
|
49
|
+
proxy_username: null,
|
|
50
|
+
rate_limit: null,
|
|
51
|
+
headers: null,
|
|
52
|
+
url: null,
|
|
52
53
|
client_key: null,
|
|
53
|
-
sock_read_timeout: null,
|
|
54
|
-
client_cert: null,
|
|
55
54
|
sock_connect_timeout: null,
|
|
55
|
+
name: 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
|
-
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
8
|
-
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
9
|
-
| **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
10
|
-
| **pulp_last_updated** | **Time** | Timestamp of the most recent update of the remote. | [optional][readonly] |
|
|
11
7
|
| **hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFieldsInner>**](AnsibleCollectionRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional] |
|
|
12
|
-
| **
|
|
13
|
-
| **
|
|
8
|
+
| **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
9
|
+
| **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
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
11
|
+
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
|
12
|
+
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
14
13
|
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
15
|
-
| **
|
|
16
|
-
| **
|
|
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] |
|
|
17
16
|
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
18
|
-
| **
|
|
17
|
+
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
19
18
|
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
19
|
+
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
20
|
+
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
20
21
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
22
|
+
| **pulp_last_updated** | **Time** | Timestamp of the most recent update of the remote. | [optional][readonly] |
|
|
23
|
+
| **url** | **String** | The URL of an external content source. | |
|
|
21
24
|
| **pulp_href** | **String** | | [optional][readonly] |
|
|
22
|
-
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
23
|
-
| **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
|
-
| **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] |
|
|
25
|
-
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
26
25
|
| **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
26
|
+
| **name** | **String** | A unique name for this remote. | |
|
|
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
|
-
proxy_url: null,
|
|
37
|
-
download_concurrency: null,
|
|
38
|
-
connect_timeout: null,
|
|
39
|
-
pulp_last_updated: null,
|
|
40
36
|
hidden_fields: null,
|
|
41
|
-
|
|
42
|
-
|
|
37
|
+
total_timeout: null,
|
|
38
|
+
sock_read_timeout: null,
|
|
39
|
+
download_concurrency: null,
|
|
40
|
+
max_retries: null,
|
|
41
|
+
client_cert: null,
|
|
43
42
|
tls_validation: null,
|
|
44
|
-
|
|
45
|
-
|
|
43
|
+
pulp_labels: null,
|
|
44
|
+
connect_timeout: null,
|
|
46
45
|
ca_cert: null,
|
|
47
|
-
|
|
46
|
+
proxy_url: null,
|
|
48
47
|
prn: null,
|
|
48
|
+
rate_limit: null,
|
|
49
|
+
headers: null,
|
|
49
50
|
pulp_created: null,
|
|
51
|
+
pulp_last_updated: null,
|
|
52
|
+
url: null,
|
|
50
53
|
pulp_href: null,
|
|
51
|
-
pulp_labels: null,
|
|
52
|
-
max_retries: null,
|
|
53
|
-
sock_read_timeout: null,
|
|
54
|
-
client_cert: null,
|
|
55
54
|
sock_connect_timeout: null,
|
|
55
|
+
name: null,
|
|
56
56
|
metadata_only: null,
|
|
57
57
|
git_ref: null
|
|
58
58
|
)
|
data/docs/AnsibleRole.md
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
8
7
|
| **artifact** | **String** | Artifact file representing the physical content | |
|
|
8
|
+
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
9
9
|
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
|
10
10
|
| **version** | **String** | | |
|
|
11
11
|
| **name** | **String** | | |
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
require 'pulp_ansible_client'
|
|
18
18
|
|
|
19
19
|
instance = PulpAnsibleClient::AnsibleRole.new(
|
|
20
|
-
pulp_labels: null,
|
|
21
20
|
artifact: null,
|
|
21
|
+
pulp_labels: null,
|
|
22
22
|
repository: null,
|
|
23
23
|
version: null,
|
|
24
24
|
name: 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
7
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
9
|
-
| **
|
|
8
|
+
| **artifact** | **String** | Artifact file representing the physical content | |
|
|
9
|
+
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
10
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] |
|
|
11
11
|
| **vuln_report** | **String** | | [optional][readonly] |
|
|
12
|
-
| **
|
|
13
|
-
| **
|
|
12
|
+
| **pulp_href** | **String** | | [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
|
-
prn: null,
|
|
25
24
|
pulp_created: null,
|
|
26
|
-
|
|
25
|
+
artifact: null,
|
|
26
|
+
pulp_labels: null,
|
|
27
27
|
pulp_last_updated: null,
|
|
28
28
|
vuln_report: null,
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
pulp_href: null,
|
|
30
|
+
prn: null,
|
|
31
31
|
version: null,
|
|
32
32
|
name: null,
|
|
33
33
|
namespace: null
|
|
@@ -34,11 +34,11 @@ 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
|
|
37
|
+
file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
|
|
39
38
|
upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
|
|
39
|
+
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
|
40
|
+
pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
40
41
|
file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
|
|
41
|
-
file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
|
|
42
42
|
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
|
43
43
|
expected_name: 'expected_name_example', # String | The name of the collection.
|
|
44
44
|
expected_namespace: 'expected_namespace_example', # String | The namespace of the collection.
|
|
@@ -77,11 +77,11 @@ end
|
|
|
77
77
|
| Name | Type | Description | Notes |
|
|
78
78
|
| ---- | ---- | ----------- | ----- |
|
|
79
79
|
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
80
|
-
| **
|
|
81
|
-
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
|
80
|
+
| **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional] |
|
|
82
81
|
| **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
|
|
82
|
+
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
|
83
|
+
| **pulp_labels** | [**Hash<String, String>**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
83
84
|
| **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
|
|
84
|
-
| **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional] |
|
|
85
85
|
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
|
86
86
|
| **expected_name** | **String** | The name of the collection. | [optional] |
|
|
87
87
|
| **expected_namespace** | **String** | The namespace of the collection. | [optional] |
|
|
@@ -4,26 +4,26 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **
|
|
7
|
+
| **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] |
|
|
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] |
|
|
8
9
|
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
9
|
-
| **
|
|
10
|
-
| **name** | **String** | A unique name for this remote. | [optional] |
|
|
11
|
-
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
10
|
+
| **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
11
|
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
12
|
+
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
13
13
|
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
14
|
-
| **
|
|
15
|
-
| **
|
|
14
|
+
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
|
15
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
16
|
+
| **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
17
|
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [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_username** | **String** | The username to authenticte to the proxy. | [optional] |
|
|
19
18
|
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
20
|
-
| **
|
|
21
|
-
| **
|
|
22
|
-
| **
|
|
19
|
+
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
20
|
+
| **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
|
|
21
|
+
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
22
|
+
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
23
|
+
| **url** | **String** | The URL of an external content source. | [optional] |
|
|
23
24
|
| **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
|
|
24
|
-
| **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] |
|
|
25
|
-
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
26
25
|
| **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
26
|
+
| **name** | **String** | A unique name for this remote. | [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
|
-
|
|
36
|
+
total_timeout: null,
|
|
37
|
+
sock_read_timeout: null,
|
|
37
38
|
download_concurrency: null,
|
|
38
|
-
|
|
39
|
-
name: null,
|
|
40
|
-
headers: null,
|
|
39
|
+
max_retries: null,
|
|
41
40
|
password: null,
|
|
41
|
+
client_cert: null,
|
|
42
42
|
tls_validation: null,
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
username: null,
|
|
44
|
+
pulp_labels: null,
|
|
45
|
+
connect_timeout: null,
|
|
45
46
|
ca_cert: null,
|
|
46
|
-
total_timeout: null,
|
|
47
|
-
proxy_username: null,
|
|
48
47
|
proxy_password: null,
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
48
|
+
proxy_url: null,
|
|
49
|
+
proxy_username: null,
|
|
50
|
+
rate_limit: null,
|
|
51
|
+
headers: null,
|
|
52
|
+
url: null,
|
|
52
53
|
client_key: null,
|
|
53
|
-
sock_read_timeout: null,
|
|
54
|
-
client_cert: null,
|
|
55
54
|
sock_connect_timeout: null,
|
|
55
|
+
name: null,
|
|
56
56
|
metadata_only: null,
|
|
57
57
|
git_ref: null
|
|
58
58
|
)
|
data/docs/RemotesGitApi.md
CHANGED
|
@@ -115,7 +115,7 @@ PulpAnsibleClient.configure do |config|
|
|
|
115
115
|
end
|
|
116
116
|
|
|
117
117
|
api_instance = PulpAnsibleClient::RemotesGitApi.new
|
|
118
|
-
ansible_git_remote = PulpAnsibleClient::AnsibleGitRemote.new({
|
|
118
|
+
ansible_git_remote = PulpAnsibleClient::AnsibleGitRemote.new({url: 'url_example', name: 'name_example'}) # AnsibleGitRemote |
|
|
119
119
|
opts = {
|
|
120
120
|
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
121
121
|
}
|
|
@@ -926,7 +926,7 @@ end
|
|
|
926
926
|
|
|
927
927
|
api_instance = PulpAnsibleClient::RemotesGitApi.new
|
|
928
928
|
ansible_git_remote_href = 'ansible_git_remote_href_example' # String |
|
|
929
|
-
ansible_git_remote = PulpAnsibleClient::AnsibleGitRemote.new({
|
|
929
|
+
ansible_git_remote = PulpAnsibleClient::AnsibleGitRemote.new({url: 'url_example', name: 'name_example'}) # AnsibleGitRemote |
|
|
930
930
|
opts = {
|
|
931
931
|
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
932
932
|
}
|
|
@@ -23,11 +23,11 @@ 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
|
|
26
|
+
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
|
28
27
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
28
|
+
# @option opts [String] :artifact Artifact file representing the physical content
|
|
29
|
+
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
29
30
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
30
|
-
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
|
31
31
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
32
32
|
# @option opts [String] :expected_name The name of the collection.
|
|
33
33
|
# @option opts [String] :expected_namespace The namespace of the collection.
|
|
@@ -42,11 +42,11 @@ module PulpAnsibleClient
|
|
|
42
42
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
|
43
43
|
# @param [Hash] opts the optional parameters
|
|
44
44
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
45
|
-
# @option opts [
|
|
46
|
-
# @option opts [String] :artifact Artifact file representing the physical content
|
|
45
|
+
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
|
47
46
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
47
|
+
# @option opts [String] :artifact Artifact file representing the physical content
|
|
48
|
+
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
48
49
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
49
|
-
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
|
50
50
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
51
51
|
# @option opts [String] :expected_name The name of the collection.
|
|
52
52
|
# @option opts [String] :expected_namespace The namespace of the collection.
|
|
@@ -103,11 +103,11 @@ module PulpAnsibleClient
|
|
|
103
103
|
|
|
104
104
|
# form parameters
|
|
105
105
|
form_params = opts[:form_params] || {}
|
|
106
|
-
form_params['
|
|
107
|
-
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
|
106
|
+
form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
|
|
108
107
|
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
|
108
|
+
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
|
109
|
+
form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
|
|
109
110
|
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
|
110
|
-
form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
|
|
111
111
|
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
|
112
112
|
form_params['expected_name'] = opts[:'expected_name'] if !opts[:'expected_name'].nil?
|
|
113
113
|
form_params['expected_namespace'] = opts[:'expected_namespace'] if !opts[:'expected_namespace'].nil?
|