pulp_ansible_client 0.28.5 → 0.28.7
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/AnsibleAnsibleDistribution.md +5 -3
- data/docs/AnsibleAnsibleDistributionResponse.md +12 -4
- data/docs/AnsibleCollectionVersionResponse.md +8 -8
- data/docs/AnsibleGitRemote.md +26 -26
- data/docs/AnsibleGitRemoteResponse.md +28 -28
- data/docs/AnsibleRole.md +2 -2
- data/docs/AnsibleRoleResponse.md +8 -8
- data/docs/ContentCollectionVersionsApi.md +6 -6
- data/docs/PatchedansibleAnsibleDistribution.md +5 -3
- 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_ansible_distribution.rb +28 -16
- data/lib/pulp_ansible_client/models/ansible_ansible_distribution_response.rb +62 -20
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +36 -36
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +235 -235
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +160 -160
- data/lib/pulp_ansible_client/models/ansible_role.rb +13 -13
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +38 -38
- data/lib/pulp_ansible_client/models/patchedansible_ansible_distribution.rb +28 -16
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +223 -223
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/content_collection_versions_api_spec.rb +3 -3
- data/spec/models/ansible_ansible_distribution_response_spec.rb +28 -4
- data/spec/models/ansible_ansible_distribution_spec.rb +10 -4
- data/spec/models/ansible_collection_version_response_spec.rb +6 -6
- data/spec/models/ansible_git_remote_response_spec.rb +20 -20
- data/spec/models/ansible_git_remote_spec.rb +19 -19
- data/spec/models/ansible_role_response_spec.rb +6 -6
- data/spec/models/ansible_role_spec.rb +3 -3
- data/spec/models/patchedansible_ansible_distribution_spec.rb +10 -4
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- metadata +124 -124
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cc6dca37f38c77cbae235a85946640c19ec0a5645243f53eaf09dcfa868d258b
|
|
4
|
+
data.tar.gz: '09cce7855c193989e2c457f2ce58c0710e1635f2fa3b8741f3c066fd65b413b4'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 55ffde4ab6f6660245ab5b2e60b83a627a84685121a7996ee75235924dcb4aab07eb64a9ca55981a56af16fa1b1b47e30eabc61b9c6313404442be63785b86a7
|
|
7
|
+
data.tar.gz: 94ed4f07f88450d3b36f50e2d2f1db0389e5fdda4c4235eafc6fff424ef6fbe6cd7f4a1a5a68184fe201bd8c71703199ace00bde6dc82b6d08be78b6b9b50c7f
|
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
|
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
8
8
|
|
|
9
9
|
- API version: v3
|
|
10
|
-
- Package version: 0.28.
|
|
10
|
+
- Package version: 0.28.7
|
|
11
11
|
- Generator version: 7.10.0
|
|
12
12
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
13
13
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
|
@@ -25,16 +25,16 @@ gem build pulp_ansible_client.gemspec
|
|
|
25
25
|
Then either install the gem locally:
|
|
26
26
|
|
|
27
27
|
```shell
|
|
28
|
-
gem install ./pulp_ansible_client-0.28.
|
|
28
|
+
gem install ./pulp_ansible_client-0.28.7.gem
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
(for development, run `gem install --dev ./pulp_ansible_client-0.28.
|
|
31
|
+
(for development, run `gem install --dev ./pulp_ansible_client-0.28.7.gem` to install the development dependencies)
|
|
32
32
|
|
|
33
33
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
34
34
|
|
|
35
35
|
Finally add this to the Gemfile:
|
|
36
36
|
|
|
37
|
-
gem 'pulp_ansible_client', '~> 0.28.
|
|
37
|
+
gem 'pulp_ansible_client', '~> 0.28.7'
|
|
38
38
|
|
|
39
39
|
### Install from Git
|
|
40
40
|
|
|
@@ -6,10 +6,11 @@
|
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | |
|
|
8
8
|
| **content_guard** | **String** | An optional content-guard. | [optional] |
|
|
9
|
+
| **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
|
|
10
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
9
11
|
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
|
|
10
12
|
| **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
|
|
11
13
|
| **repository_version** | **String** | RepositoryVersion to be served | [optional] |
|
|
12
|
-
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
13
14
|
|
|
14
15
|
## Example
|
|
15
16
|
|
|
@@ -19,10 +20,11 @@ require 'pulp_ansible_client'
|
|
|
19
20
|
instance = PulpAnsibleClient::AnsibleAnsibleDistribution.new(
|
|
20
21
|
base_path: null,
|
|
21
22
|
content_guard: null,
|
|
23
|
+
hidden: null,
|
|
24
|
+
pulp_labels: null,
|
|
22
25
|
name: null,
|
|
23
26
|
repository: null,
|
|
24
|
-
repository_version: null
|
|
25
|
-
pulp_labels: null
|
|
27
|
+
repository_version: null
|
|
26
28
|
)
|
|
27
29
|
```
|
|
28
30
|
|
|
@@ -5,14 +5,18 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **pulp_href** | **String** | | [optional][readonly] |
|
|
8
|
+
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
8
9
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
10
|
+
| **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
|
|
9
11
|
| **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | |
|
|
10
12
|
| **content_guard** | **String** | An optional content-guard. | [optional] |
|
|
13
|
+
| **no_content_change_since** | **String** | Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes. | [optional][readonly] |
|
|
14
|
+
| **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
|
|
15
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
11
16
|
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
|
|
12
17
|
| **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
|
|
13
|
-
| **repository_version** | **String** | RepositoryVersion to be served | [optional] |
|
|
14
18
|
| **client_url** | **String** | The URL of a Collection content source. | [optional][readonly] |
|
|
15
|
-
| **
|
|
19
|
+
| **repository_version** | **String** | RepositoryVersion to be served | [optional] |
|
|
16
20
|
|
|
17
21
|
## Example
|
|
18
22
|
|
|
@@ -21,14 +25,18 @@ require 'pulp_ansible_client'
|
|
|
21
25
|
|
|
22
26
|
instance = PulpAnsibleClient::AnsibleAnsibleDistributionResponse.new(
|
|
23
27
|
pulp_href: null,
|
|
28
|
+
prn: null,
|
|
24
29
|
pulp_created: null,
|
|
30
|
+
pulp_last_updated: null,
|
|
25
31
|
base_path: null,
|
|
26
32
|
content_guard: null,
|
|
33
|
+
no_content_change_since: null,
|
|
34
|
+
hidden: null,
|
|
35
|
+
pulp_labels: null,
|
|
27
36
|
name: null,
|
|
28
37
|
repository: null,
|
|
29
|
-
repository_version: null,
|
|
30
38
|
client_url: null,
|
|
31
|
-
|
|
39
|
+
repository_version: null
|
|
32
40
|
)
|
|
33
41
|
```
|
|
34
42
|
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **vuln_report** | **String** | | [optional][readonly] |
|
|
8
|
-
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
9
7
|
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
|
10
|
-
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
11
8
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
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
9
|
| **pulp_href** | **String** | | [optional][readonly] |
|
|
10
|
+
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
11
|
+
| **vuln_report** | **String** | | [optional][readonly] |
|
|
12
|
+
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
13
|
+
| **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] |
|
|
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
|
-
vuln_report: null,
|
|
42
|
-
pulp_labels: null,
|
|
43
41
|
artifact: null,
|
|
44
|
-
prn: null,
|
|
45
42
|
pulp_created: null,
|
|
46
|
-
pulp_last_updated: null,
|
|
47
43
|
pulp_href: null,
|
|
44
|
+
prn: null,
|
|
45
|
+
vuln_report: null,
|
|
46
|
+
pulp_labels: null,
|
|
47
|
+
pulp_last_updated: 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
|
-
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
8
|
-
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
9
|
-
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
10
|
-
| **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
11
|
-
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
12
|
-
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
13
7
|
| **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
|
|
14
|
-
| **
|
|
8
|
+
| **name** | **String** | A unique name for this remote. | |
|
|
9
|
+
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
10
|
+
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
11
|
+
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
15
12
|
| **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
13
|
+
| **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] |
|
|
14
|
+
| **url** | **String** | The URL of an external content source. | |
|
|
16
15
|
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
17
|
-
| **
|
|
16
|
+
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [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
18
|
| **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
|
|
19
|
+
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
20
|
+
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
|
19
21
|
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
|
20
22
|
| **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
23
|
+
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
24
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
21
25
|
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
22
|
-
| **
|
|
23
|
-
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
24
|
-
| **url** | **String** | The URL of an external content source. | |
|
|
25
|
-
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
|
26
|
-
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
26
|
+
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [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
|
-
client_cert: null,
|
|
37
|
-
headers: null,
|
|
38
|
-
proxy_url: null,
|
|
39
|
-
total_timeout: null,
|
|
40
|
-
tls_validation: null,
|
|
41
|
-
rate_limit: null,
|
|
42
36
|
proxy_username: null,
|
|
43
|
-
|
|
37
|
+
name: null,
|
|
38
|
+
password: null,
|
|
39
|
+
headers: null,
|
|
40
|
+
client_cert: null,
|
|
44
41
|
sock_connect_timeout: null,
|
|
42
|
+
sock_read_timeout: null,
|
|
43
|
+
url: null,
|
|
45
44
|
ca_cert: null,
|
|
46
|
-
|
|
45
|
+
tls_validation: null,
|
|
46
|
+
total_timeout: null,
|
|
47
47
|
client_key: null,
|
|
48
|
+
proxy_password: null,
|
|
49
|
+
max_retries: null,
|
|
48
50
|
username: null,
|
|
49
51
|
connect_timeout: null,
|
|
52
|
+
proxy_url: null,
|
|
53
|
+
download_concurrency: null,
|
|
50
54
|
pulp_labels: null,
|
|
51
|
-
|
|
52
|
-
proxy_password: null,
|
|
53
|
-
url: null,
|
|
54
|
-
max_retries: null,
|
|
55
|
-
password: null,
|
|
55
|
+
rate_limit: 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
|
-
| **
|
|
7
|
+
| **hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFieldsInner>**](AnsibleCollectionRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional] |
|
|
8
|
+
| **name** | **String** | A unique name for this remote. | |
|
|
8
9
|
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
9
|
-
| **
|
|
10
|
-
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
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
|
-
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
13
|
-
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
14
|
-
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
10
|
+
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
15
11
|
| **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
|
-
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
17
|
-
| **name** | **String** | A unique name for this remote. | |
|
|
18
|
-
| **pulp_href** | **String** | | [optional][readonly] |
|
|
19
|
-
| **hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFieldsInner>**](AnsibleCollectionRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional] |
|
|
20
|
-
| **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] |
|
|
21
|
-
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
22
12
|
| **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] |
|
|
23
13
|
| **url** | **String** | The URL of an external content source. | |
|
|
14
|
+
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
15
|
+
| **pulp_last_updated** | **Time** | Timestamp of the most recent update of the remote. | [optional][readonly] |
|
|
16
|
+
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [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] |
|
|
24
18
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
19
|
+
| **pulp_href** | **String** | | [optional][readonly] |
|
|
25
20
|
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
|
26
|
-
| **
|
|
21
|
+
| **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
22
|
+
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
23
|
+
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
24
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
25
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
26
|
+
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [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
|
-
|
|
36
|
+
hidden_fields: null,
|
|
37
|
+
name: null,
|
|
37
38
|
headers: null,
|
|
38
|
-
|
|
39
|
-
prn: null,
|
|
40
|
-
total_timeout: null,
|
|
41
|
-
tls_validation: null,
|
|
42
|
-
rate_limit: null,
|
|
43
|
-
download_concurrency: null,
|
|
39
|
+
client_cert: null,
|
|
44
40
|
sock_connect_timeout: null,
|
|
45
|
-
ca_cert: null,
|
|
46
|
-
name: null,
|
|
47
|
-
pulp_href: null,
|
|
48
|
-
hidden_fields: null,
|
|
49
|
-
connect_timeout: null,
|
|
50
|
-
pulp_labels: null,
|
|
51
41
|
sock_read_timeout: null,
|
|
52
42
|
url: null,
|
|
43
|
+
ca_cert: null,
|
|
44
|
+
pulp_last_updated: null,
|
|
45
|
+
tls_validation: null,
|
|
46
|
+
total_timeout: null,
|
|
53
47
|
pulp_created: null,
|
|
48
|
+
pulp_href: null,
|
|
54
49
|
max_retries: null,
|
|
55
|
-
|
|
50
|
+
connect_timeout: null,
|
|
51
|
+
prn: null,
|
|
52
|
+
proxy_url: null,
|
|
53
|
+
download_concurrency: null,
|
|
54
|
+
pulp_labels: null,
|
|
55
|
+
rate_limit: 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
|
-
| **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 | |
|
|
9
8
|
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
|
9
|
+
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
10
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
|
-
pulp_labels: null,
|
|
21
20
|
artifact: null,
|
|
22
21
|
repository: null,
|
|
22
|
+
pulp_labels: null,
|
|
23
23
|
version: null,
|
|
24
24
|
name: null,
|
|
25
25
|
namespace: null
|
data/docs/AnsibleRoleResponse.md
CHANGED
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **vuln_report** | **String** | | [optional][readonly] |
|
|
8
|
-
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
9
7
|
| **artifact** | **String** | Artifact file representing the physical content | |
|
|
10
|
-
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
11
8
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
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
9
|
| **pulp_href** | **String** | | [optional][readonly] |
|
|
10
|
+
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
11
|
+
| **vuln_report** | **String** | | [optional][readonly] |
|
|
12
|
+
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
13
|
+
| **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] |
|
|
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
|
-
vuln_report: null,
|
|
25
|
-
pulp_labels: null,
|
|
26
24
|
artifact: null,
|
|
27
|
-
prn: null,
|
|
28
25
|
pulp_created: null,
|
|
29
|
-
pulp_last_updated: null,
|
|
30
26
|
pulp_href: null,
|
|
27
|
+
prn: null,
|
|
28
|
+
vuln_report: null,
|
|
29
|
+
pulp_labels: null,
|
|
30
|
+
pulp_last_updated: null,
|
|
31
31
|
version: null,
|
|
32
32
|
name: null,
|
|
33
33
|
namespace: null
|
|
@@ -35,11 +35,11 @@ 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
37
|
file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
|
|
38
|
-
file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
|
|
39
|
-
pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
40
38
|
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
|
41
|
-
upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
|
|
42
39
|
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
|
40
|
+
pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
41
|
+
upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
|
|
42
|
+
file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
|
|
43
43
|
expected_name: 'expected_name_example', # String | The name of the collection.
|
|
44
44
|
expected_namespace: 'expected_namespace_example', # String | The namespace of the collection.
|
|
45
45
|
expected_version: 'expected_version_example' # String | The version of the collection.
|
|
@@ -78,11 +78,11 @@ end
|
|
|
78
78
|
| ---- | ---- | ----------- | ----- |
|
|
79
79
|
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
80
80
|
| **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
|
|
81
|
-
| **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional] |
|
|
82
|
-
| **pulp_labels** | [**Hash<String, String>**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
83
81
|
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
|
84
|
-
| **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
|
|
85
82
|
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
|
83
|
+
| **pulp_labels** | [**Hash<String, String>**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
84
|
+
| **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
|
|
85
|
+
| **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional] |
|
|
86
86
|
| **expected_name** | **String** | The name of the collection. | [optional] |
|
|
87
87
|
| **expected_namespace** | **String** | The namespace of the collection. | [optional] |
|
|
88
88
|
| **expected_version** | **String** | The version of the collection. | [optional] |
|
|
@@ -6,10 +6,11 @@
|
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | [optional] |
|
|
8
8
|
| **content_guard** | **String** | An optional content-guard. | [optional] |
|
|
9
|
+
| **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
|
|
10
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
9
11
|
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional] |
|
|
10
12
|
| **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
|
|
11
13
|
| **repository_version** | **String** | RepositoryVersion to be served | [optional] |
|
|
12
|
-
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
13
14
|
|
|
14
15
|
## Example
|
|
15
16
|
|
|
@@ -19,10 +20,11 @@ require 'pulp_ansible_client'
|
|
|
19
20
|
instance = PulpAnsibleClient::PatchedansibleAnsibleDistribution.new(
|
|
20
21
|
base_path: null,
|
|
21
22
|
content_guard: null,
|
|
23
|
+
hidden: null,
|
|
24
|
+
pulp_labels: null,
|
|
22
25
|
name: null,
|
|
23
26
|
repository: null,
|
|
24
|
-
repository_version: null
|
|
25
|
-
pulp_labels: null
|
|
27
|
+
repository_version: null
|
|
26
28
|
)
|
|
27
29
|
```
|
|
28
30
|
|
|
@@ -4,26 +4,26 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
8
|
-
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
9
|
-
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
10
|
-
| **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
11
|
-
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
12
|
-
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
13
7
|
| **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
|
|
14
|
-
| **
|
|
8
|
+
| **name** | **String** | A unique name for this remote. | [optional] |
|
|
9
|
+
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
10
|
+
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
11
|
+
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
15
12
|
| **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
13
|
+
| **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] |
|
|
14
|
+
| **url** | **String** | The URL of an external content source. | [optional] |
|
|
16
15
|
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
17
|
-
| **
|
|
16
|
+
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [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
18
|
| **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
|
|
19
|
+
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
20
|
+
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
|
19
21
|
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
|
20
22
|
| **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
23
|
+
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
24
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
21
25
|
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
22
|
-
| **
|
|
23
|
-
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
24
|
-
| **url** | **String** | The URL of an external content source. | [optional] |
|
|
25
|
-
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
|
26
|
-
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
26
|
+
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [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
|
-
client_cert: null,
|
|
37
|
-
headers: null,
|
|
38
|
-
proxy_url: null,
|
|
39
|
-
total_timeout: null,
|
|
40
|
-
tls_validation: null,
|
|
41
|
-
rate_limit: null,
|
|
42
36
|
proxy_username: null,
|
|
43
|
-
|
|
37
|
+
name: null,
|
|
38
|
+
password: null,
|
|
39
|
+
headers: null,
|
|
40
|
+
client_cert: null,
|
|
44
41
|
sock_connect_timeout: null,
|
|
42
|
+
sock_read_timeout: null,
|
|
43
|
+
url: null,
|
|
45
44
|
ca_cert: null,
|
|
46
|
-
|
|
45
|
+
tls_validation: null,
|
|
46
|
+
total_timeout: null,
|
|
47
47
|
client_key: null,
|
|
48
|
+
proxy_password: null,
|
|
49
|
+
max_retries: null,
|
|
48
50
|
username: null,
|
|
49
51
|
connect_timeout: null,
|
|
52
|
+
proxy_url: null,
|
|
53
|
+
download_concurrency: null,
|
|
50
54
|
pulp_labels: null,
|
|
51
|
-
|
|
52
|
-
proxy_password: null,
|
|
53
|
-
url: null,
|
|
54
|
-
max_retries: null,
|
|
55
|
-
password: null,
|
|
55
|
+
rate_limit: null,
|
|
56
56
|
metadata_only: null,
|
|
57
57
|
git_ref: null
|
|
58
58
|
)
|
|
@@ -24,11 +24,11 @@ module PulpAnsibleClient
|
|
|
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
26
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
27
|
-
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
|
28
|
-
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
29
27
|
# @option opts [String] :artifact Artifact file representing the physical content
|
|
30
|
-
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
31
28
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
29
|
+
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
30
|
+
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
31
|
+
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
|
32
32
|
# @option opts [String] :expected_name The name of the collection.
|
|
33
33
|
# @option opts [String] :expected_namespace The namespace of the collection.
|
|
34
34
|
# @option opts [String] :expected_version The version of the collection.
|
|
@@ -43,11 +43,11 @@ module PulpAnsibleClient
|
|
|
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
45
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
46
|
-
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
|
47
|
-
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
48
46
|
# @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.
|
|
50
47
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
48
|
+
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
49
|
+
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
50
|
+
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
|
51
51
|
# @option opts [String] :expected_name The name of the collection.
|
|
52
52
|
# @option opts [String] :expected_namespace The namespace of the collection.
|
|
53
53
|
# @option opts [String] :expected_version The version of the collection.
|
|
@@ -104,11 +104,11 @@ module PulpAnsibleClient
|
|
|
104
104
|
# form parameters
|
|
105
105
|
form_params = opts[:form_params] || {}
|
|
106
106
|
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
|
107
|
-
form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
|
|
108
|
-
form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
|
|
109
107
|
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
|
110
|
-
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
|
111
108
|
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
|
109
|
+
form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
|
|
110
|
+
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
|
111
|
+
form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
|
|
112
112
|
form_params['expected_name'] = opts[:'expected_name'] if !opts[:'expected_name'].nil?
|
|
113
113
|
form_params['expected_namespace'] = opts[:'expected_namespace'] if !opts[:'expected_namespace'].nil?
|
|
114
114
|
form_params['expected_version'] = opts[:'expected_version'] if !opts[:'expected_version'].nil?
|