pulp_ansible_client 0.28.0 → 0.29.0
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 +10 -10
- data/docs/AnsibleGitRemote.md +28 -28
- data/docs/AnsibleGitRemoteResponse.md +30 -30
- data/docs/AnsibleRole.md +4 -4
- data/docs/AnsibleRoleResponse.md +10 -10
- data/docs/ContentCollectionVersionsApi.md +8 -8
- data/docs/DistributionsAnsibleApi.md +10 -10
- data/docs/PatchedansibleGitRemote.md +28 -28
- data/docs/RemotesCollectionApi.md +10 -10
- data/docs/RemotesGitApi.md +10 -10
- data/docs/RemotesRoleApi.md +10 -10
- data/docs/RepositoriesAnsibleApi.md +10 -10
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +12 -12
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +10 -10
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +10 -10
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +10 -10
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +10 -10
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +10 -10
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +40 -40
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +218 -218
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +155 -155
- data/lib/pulp_ansible_client/models/ansible_role.rb +17 -17
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +40 -40
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +206 -206
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/content_collection_versions_api_spec.rb +4 -4
- data/spec/api/distributions_ansible_api_spec.rb +4 -4
- data/spec/api/remotes_collection_api_spec.rb +4 -4
- data/spec/api/remotes_git_api_spec.rb +4 -4
- data/spec/api/remotes_role_api_spec.rb +4 -4
- data/spec/api/repositories_ansible_api_spec.rb +4 -4
- data/spec/models/ansible_collection_version_response_spec.rb +6 -6
- data/spec/models/ansible_git_remote_response_spec.rb +20 -20
- data/spec/models/ansible_git_remote_spec.rb +18 -18
- data/spec/models/ansible_role_response_spec.rb +6 -6
- data/spec/models/ansible_role_spec.rb +2 -2
- data/spec/models/patchedansible_git_remote_spec.rb +18 -18
- metadata +125 -125
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: '08e47cc08b6d2dff5e7b644d3abd1e3db44feb2a0bcc552274a2cfbe7f3df72f'
|
|
4
|
+
data.tar.gz: eebe73d7286a1cfbe5aeb5a0235064a42e094a7982c67bf8c31f5a46d7b3571c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '0933d8edf00a195c8eebfea53f8d55b82ffc7e2e59ea250d3236f850768b847041127681a79a4d6db184e6d3bb2cfc7dcf6f23cc455f798dd29f48d95ec8aaaa'
|
|
7
|
+
data.tar.gz: 8a8bd7d5065b0eb205a71b9abdfc04fe447e9bc7e08286c7e7a3e88d1daf7620e7318581bc960aa6d7936a270b07527c0f6f4130eb2387498d62b92a32134c87
|
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.
|
|
10
|
+
- Package version: 0.29.0
|
|
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
|
+
gem install ./pulp_ansible_client-0.29.0.gem
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
(for development, run `gem install --dev ./pulp_ansible_client-0.
|
|
31
|
+
(for development, run `gem install --dev ./pulp_ansible_client-0.29.0.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.
|
|
37
|
+
gem 'pulp_ansible_client', '~> 0.29.0'
|
|
38
38
|
|
|
39
39
|
### Install from Git
|
|
40
40
|
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
8
|
-
| **pulp_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
7
|
| **pulp_href** | **String** | | [optional][readonly] |
|
|
10
|
-
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
11
|
-
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
|
12
|
-
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
13
8
|
| **vuln_report** | **String** | | [optional][readonly] |
|
|
9
|
+
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
10
|
+
| **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
|
|
11
|
+
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
|
12
|
+
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
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] |
|
|
@@ -42,13 +42,13 @@
|
|
|
42
42
|
require 'pulp_ansible_client'
|
|
43
43
|
|
|
44
44
|
instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(
|
|
45
|
-
prn: null,
|
|
46
|
-
pulp_last_updated: null,
|
|
47
45
|
pulp_href: null,
|
|
48
|
-
pulp_labels: null,
|
|
49
|
-
artifact: null,
|
|
50
|
-
pulp_created: null,
|
|
51
46
|
vuln_report: null,
|
|
47
|
+
pulp_created: null,
|
|
48
|
+
pulp_last_updated: null,
|
|
49
|
+
artifact: null,
|
|
50
|
+
pulp_labels: null,
|
|
51
|
+
prn: null,
|
|
52
52
|
sha256: null,
|
|
53
53
|
md5: null,
|
|
54
54
|
sha1: null,
|
data/docs/AnsibleGitRemote.md
CHANGED
|
@@ -4,26 +4,26 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **name** | **String** | A unique name for this remote. | |
|
|
7
8
|
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
8
|
-
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
9
9
|
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [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
|
-
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
12
|
-
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
|
13
|
-
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
14
|
-
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [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
|
-
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
17
|
-
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
|
18
10
|
| **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
|
|
11
|
+
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
|
12
|
+
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
13
|
+
| **url** | **String** | The URL of an external content source. | |
|
|
19
14
|
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
20
|
-
| **
|
|
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] |
|
|
21
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] |
|
|
22
|
-
| **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
|
|
23
17
|
| **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] |
|
|
24
|
-
| **
|
|
25
|
-
| **
|
|
26
|
-
| **
|
|
18
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
19
|
+
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
20
|
+
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
21
|
+
| **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
|
|
22
|
+
| **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
23
|
+
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
24
|
+
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
25
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
26
|
+
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
|
27
27
|
| **metadata_only** | **Boolean** | If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. | [optional] |
|
|
28
28
|
| **git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional] |
|
|
29
29
|
|
|
@@ -33,26 +33,26 @@
|
|
|
33
33
|
require 'pulp_ansible_client'
|
|
34
34
|
|
|
35
35
|
instance = PulpAnsibleClient::AnsibleGitRemote.new(
|
|
36
|
+
name: null,
|
|
36
37
|
proxy_password: null,
|
|
37
|
-
tls_validation: null,
|
|
38
38
|
password: null,
|
|
39
|
-
total_timeout: null,
|
|
40
|
-
download_concurrency: null,
|
|
41
|
-
username: null,
|
|
42
|
-
proxy_url: null,
|
|
43
|
-
client_cert: null,
|
|
44
|
-
sock_connect_timeout: null,
|
|
45
|
-
headers: null,
|
|
46
|
-
max_retries: null,
|
|
47
39
|
proxy_username: null,
|
|
40
|
+
username: null,
|
|
41
|
+
ca_cert: null,
|
|
42
|
+
url: null,
|
|
48
43
|
rate_limit: null,
|
|
49
|
-
|
|
44
|
+
sock_connect_timeout: null,
|
|
50
45
|
connect_timeout: null,
|
|
51
|
-
client_key: null,
|
|
52
46
|
sock_read_timeout: null,
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
47
|
+
pulp_labels: null,
|
|
48
|
+
proxy_url: null,
|
|
49
|
+
headers: null,
|
|
50
|
+
client_key: null,
|
|
51
|
+
total_timeout: null,
|
|
52
|
+
client_cert: null,
|
|
53
|
+
tls_validation: null,
|
|
54
|
+
download_concurrency: null,
|
|
55
|
+
max_retries: null,
|
|
56
56
|
metadata_only: null,
|
|
57
57
|
git_ref: null
|
|
58
58
|
)
|
|
@@ -4,26 +4,26 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **
|
|
8
|
-
| **
|
|
9
|
-
| **
|
|
10
|
-
| **
|
|
11
|
-
| **
|
|
12
|
-
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
7
|
+
| **name** | **String** | A unique name for this remote. | |
|
|
8
|
+
| **pulp_href** | **String** | | [optional][readonly] |
|
|
9
|
+
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
10
|
+
| **url** | **String** | The URL of an external content source. | |
|
|
11
|
+
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
13
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] |
|
|
14
|
-
| **
|
|
13
|
+
| **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] |
|
|
14
|
+
| **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] |
|
|
15
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
15
16
|
| **hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFieldsInner>**](AnsibleCollectionRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional] |
|
|
17
|
+
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
16
18
|
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
19
|
+
| **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
20
|
+
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
21
|
+
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
17
22
|
| **pulp_last_updated** | **Time** | Timestamp of the most recent update of the remote. | [optional][readonly] |
|
|
23
|
+
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
24
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
18
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] |
|
|
19
|
-
| **
|
|
20
|
-
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
21
|
-
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
22
|
-
| **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
23
|
-
| **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] |
|
|
24
|
-
| **name** | **String** | A unique name for this remote. | |
|
|
25
|
-
| **url** | **String** | The URL of an external content source. | |
|
|
26
|
-
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
26
|
+
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
27
27
|
| **metadata_only** | **Boolean** | If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. | [optional] |
|
|
28
28
|
| **git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional] |
|
|
29
29
|
|
|
@@ -33,26 +33,26 @@
|
|
|
33
33
|
require 'pulp_ansible_client'
|
|
34
34
|
|
|
35
35
|
instance = PulpAnsibleClient::AnsibleGitRemoteResponse.new(
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
client_cert: null,
|
|
36
|
+
name: null,
|
|
37
|
+
pulp_href: null,
|
|
38
|
+
ca_cert: null,
|
|
39
|
+
url: null,
|
|
40
|
+
rate_limit: null,
|
|
42
41
|
sock_connect_timeout: null,
|
|
43
|
-
|
|
42
|
+
connect_timeout: null,
|
|
43
|
+
sock_read_timeout: null,
|
|
44
|
+
pulp_labels: null,
|
|
44
45
|
hidden_fields: null,
|
|
46
|
+
proxy_url: null,
|
|
45
47
|
headers: null,
|
|
48
|
+
total_timeout: null,
|
|
49
|
+
client_cert: null,
|
|
50
|
+
pulp_created: null,
|
|
46
51
|
pulp_last_updated: null,
|
|
52
|
+
tls_validation: null,
|
|
53
|
+
download_concurrency: null,
|
|
47
54
|
max_retries: null,
|
|
48
|
-
|
|
49
|
-
rate_limit: null,
|
|
50
|
-
pulp_labels: null,
|
|
51
|
-
connect_timeout: null,
|
|
52
|
-
sock_read_timeout: null,
|
|
53
|
-
name: null,
|
|
54
|
-
url: null,
|
|
55
|
-
ca_cert: null,
|
|
55
|
+
prn: 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
|
-
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
|
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 | |
|
|
8
|
+
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
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** | | |
|
|
12
12
|
| **namespace** | **String** | | |
|
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
require 'pulp_ansible_client'
|
|
18
18
|
|
|
19
19
|
instance = PulpAnsibleClient::AnsibleRole.new(
|
|
20
|
-
repository: null,
|
|
21
|
-
pulp_labels: null,
|
|
22
20
|
artifact: null,
|
|
21
|
+
pulp_labels: null,
|
|
22
|
+
repository: 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
|
-
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
8
|
-
| **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
7
|
| **pulp_href** | **String** | | [optional][readonly] |
|
|
10
|
-
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
11
|
-
| **artifact** | **String** | Artifact file representing the physical content | |
|
|
12
|
-
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
13
8
|
| **vuln_report** | **String** | | [optional][readonly] |
|
|
9
|
+
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
10
|
+
| **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
|
|
11
|
+
| **artifact** | **String** | Artifact file representing the physical content | |
|
|
12
|
+
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
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
|
-
pulp_last_updated: null,
|
|
26
24
|
pulp_href: null,
|
|
27
|
-
pulp_labels: null,
|
|
28
|
-
artifact: null,
|
|
29
|
-
pulp_created: null,
|
|
30
25
|
vuln_report: null,
|
|
26
|
+
pulp_created: null,
|
|
27
|
+
pulp_last_updated: null,
|
|
28
|
+
artifact: null,
|
|
29
|
+
pulp_labels: null,
|
|
30
|
+
prn: null,
|
|
31
31
|
version: null,
|
|
32
32
|
name: null,
|
|
33
33
|
namespace: null
|
|
@@ -34,12 +34,12 @@ 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
|
-
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
|
38
|
-
pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
39
|
-
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
|
40
|
-
upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
|
|
41
37
|
file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
|
|
38
|
+
upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
|
|
42
39
|
file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
|
|
40
|
+
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
|
41
|
+
pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
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.
|
|
45
45
|
expected_version: 'expected_version_example' # String | The version of the collection.
|
|
@@ -77,12 +77,12 @@ 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
|
-
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
|
81
|
-
| **pulp_labels** | [**Hash<String, String>**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
82
|
-
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
|
83
|
-
| **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
|
|
84
80
|
| **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional] |
|
|
81
|
+
| **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
|
|
85
82
|
| **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
|
|
83
|
+
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
|
84
|
+
| **pulp_labels** | [**Hash<String, String>**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
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] |
|
|
88
88
|
| **expected_version** | **String** | The version of the collection. | [optional] |
|
|
@@ -526,11 +526,11 @@ end
|
|
|
526
526
|
|
|
527
527
|
## partial_update
|
|
528
528
|
|
|
529
|
-
> <
|
|
529
|
+
> <AnsibleAnsibleDistributionResponse> partial_update(ansible_ansible_distribution_href, patchedansible_ansible_distribution, opts)
|
|
530
530
|
|
|
531
531
|
Update an ansible distribution
|
|
532
532
|
|
|
533
|
-
|
|
533
|
+
Update the entity partially and trigger an asynchronous task if necessary
|
|
534
534
|
|
|
535
535
|
### Examples
|
|
536
536
|
|
|
@@ -564,7 +564,7 @@ end
|
|
|
564
564
|
|
|
565
565
|
This returns an Array which contains the response data, status code and headers.
|
|
566
566
|
|
|
567
|
-
> <Array(<
|
|
567
|
+
> <Array(<AnsibleAnsibleDistributionResponse>, Integer, Hash)> partial_update_with_http_info(ansible_ansible_distribution_href, patchedansible_ansible_distribution, opts)
|
|
568
568
|
|
|
569
569
|
```ruby
|
|
570
570
|
begin
|
|
@@ -572,7 +572,7 @@ begin
|
|
|
572
572
|
data, status_code, headers = api_instance.partial_update_with_http_info(ansible_ansible_distribution_href, patchedansible_ansible_distribution, opts)
|
|
573
573
|
p status_code # => 2xx
|
|
574
574
|
p headers # => { ... }
|
|
575
|
-
p data # => <
|
|
575
|
+
p data # => <AnsibleAnsibleDistributionResponse>
|
|
576
576
|
rescue PulpAnsibleClient::ApiError => e
|
|
577
577
|
puts "Error when calling DistributionsAnsibleApi->partial_update_with_http_info: #{e}"
|
|
578
578
|
end
|
|
@@ -588,7 +588,7 @@ end
|
|
|
588
588
|
|
|
589
589
|
### Return type
|
|
590
590
|
|
|
591
|
-
[**
|
|
591
|
+
[**AnsibleAnsibleDistributionResponse**](AnsibleAnsibleDistributionResponse.md)
|
|
592
592
|
|
|
593
593
|
### Authorization
|
|
594
594
|
|
|
@@ -908,11 +908,11 @@ end
|
|
|
908
908
|
|
|
909
909
|
## update
|
|
910
910
|
|
|
911
|
-
> <
|
|
911
|
+
> <AnsibleAnsibleDistributionResponse> update(ansible_ansible_distribution_href, ansible_ansible_distribution, opts)
|
|
912
912
|
|
|
913
913
|
Update an ansible distribution
|
|
914
914
|
|
|
915
|
-
|
|
915
|
+
Update the entity and trigger an asynchronous task if necessary
|
|
916
916
|
|
|
917
917
|
### Examples
|
|
918
918
|
|
|
@@ -946,7 +946,7 @@ end
|
|
|
946
946
|
|
|
947
947
|
This returns an Array which contains the response data, status code and headers.
|
|
948
948
|
|
|
949
|
-
> <Array(<
|
|
949
|
+
> <Array(<AnsibleAnsibleDistributionResponse>, Integer, Hash)> update_with_http_info(ansible_ansible_distribution_href, ansible_ansible_distribution, opts)
|
|
950
950
|
|
|
951
951
|
```ruby
|
|
952
952
|
begin
|
|
@@ -954,7 +954,7 @@ begin
|
|
|
954
954
|
data, status_code, headers = api_instance.update_with_http_info(ansible_ansible_distribution_href, ansible_ansible_distribution, opts)
|
|
955
955
|
p status_code # => 2xx
|
|
956
956
|
p headers # => { ... }
|
|
957
|
-
p data # => <
|
|
957
|
+
p data # => <AnsibleAnsibleDistributionResponse>
|
|
958
958
|
rescue PulpAnsibleClient::ApiError => e
|
|
959
959
|
puts "Error when calling DistributionsAnsibleApi->update_with_http_info: #{e}"
|
|
960
960
|
end
|
|
@@ -970,7 +970,7 @@ end
|
|
|
970
970
|
|
|
971
971
|
### Return type
|
|
972
972
|
|
|
973
|
-
[**
|
|
973
|
+
[**AnsibleAnsibleDistributionResponse**](AnsibleAnsibleDistributionResponse.md)
|
|
974
974
|
|
|
975
975
|
### Authorization
|
|
976
976
|
|
|
@@ -4,26 +4,26 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **name** | **String** | A unique name for this remote. | [optional] |
|
|
7
8
|
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
8
|
-
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
9
9
|
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [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
|
-
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
12
|
-
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
|
13
|
-
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
14
|
-
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [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
|
-
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
17
|
-
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
|
18
10
|
| **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
|
|
11
|
+
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
|
12
|
+
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
13
|
+
| **url** | **String** | The URL of an external content source. | [optional] |
|
|
19
14
|
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
20
|
-
| **
|
|
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] |
|
|
21
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] |
|
|
22
|
-
| **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
|
|
23
17
|
| **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] |
|
|
24
|
-
| **
|
|
25
|
-
| **
|
|
26
|
-
| **
|
|
18
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
19
|
+
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
20
|
+
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
21
|
+
| **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
|
|
22
|
+
| **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
23
|
+
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
24
|
+
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
25
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
26
|
+
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
|
27
27
|
| **metadata_only** | **Boolean** | If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. | [optional] |
|
|
28
28
|
| **git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional] |
|
|
29
29
|
|
|
@@ -33,26 +33,26 @@
|
|
|
33
33
|
require 'pulp_ansible_client'
|
|
34
34
|
|
|
35
35
|
instance = PulpAnsibleClient::PatchedansibleGitRemote.new(
|
|
36
|
+
name: null,
|
|
36
37
|
proxy_password: null,
|
|
37
|
-
tls_validation: null,
|
|
38
38
|
password: null,
|
|
39
|
-
total_timeout: null,
|
|
40
|
-
download_concurrency: null,
|
|
41
|
-
username: null,
|
|
42
|
-
proxy_url: null,
|
|
43
|
-
client_cert: null,
|
|
44
|
-
sock_connect_timeout: null,
|
|
45
|
-
headers: null,
|
|
46
|
-
max_retries: null,
|
|
47
39
|
proxy_username: null,
|
|
40
|
+
username: null,
|
|
41
|
+
ca_cert: null,
|
|
42
|
+
url: null,
|
|
48
43
|
rate_limit: null,
|
|
49
|
-
|
|
44
|
+
sock_connect_timeout: null,
|
|
50
45
|
connect_timeout: null,
|
|
51
|
-
client_key: null,
|
|
52
46
|
sock_read_timeout: null,
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
47
|
+
pulp_labels: null,
|
|
48
|
+
proxy_url: null,
|
|
49
|
+
headers: null,
|
|
50
|
+
client_key: null,
|
|
51
|
+
total_timeout: null,
|
|
52
|
+
client_cert: null,
|
|
53
|
+
tls_validation: null,
|
|
54
|
+
download_concurrency: null,
|
|
55
|
+
max_retries: null,
|
|
56
56
|
metadata_only: null,
|
|
57
57
|
git_ref: null
|
|
58
58
|
)
|
|
@@ -532,11 +532,11 @@ end
|
|
|
532
532
|
|
|
533
533
|
## partial_update
|
|
534
534
|
|
|
535
|
-
> <
|
|
535
|
+
> <AnsibleCollectionRemoteResponse> partial_update(ansible_collection_remote_href, patchedansible_collection_remote, opts)
|
|
536
536
|
|
|
537
537
|
Update a collection remote
|
|
538
538
|
|
|
539
|
-
|
|
539
|
+
Update the entity partially and trigger an asynchronous task if necessary
|
|
540
540
|
|
|
541
541
|
### Examples
|
|
542
542
|
|
|
@@ -570,7 +570,7 @@ end
|
|
|
570
570
|
|
|
571
571
|
This returns an Array which contains the response data, status code and headers.
|
|
572
572
|
|
|
573
|
-
> <Array(<
|
|
573
|
+
> <Array(<AnsibleCollectionRemoteResponse>, Integer, Hash)> partial_update_with_http_info(ansible_collection_remote_href, patchedansible_collection_remote, opts)
|
|
574
574
|
|
|
575
575
|
```ruby
|
|
576
576
|
begin
|
|
@@ -578,7 +578,7 @@ begin
|
|
|
578
578
|
data, status_code, headers = api_instance.partial_update_with_http_info(ansible_collection_remote_href, patchedansible_collection_remote, opts)
|
|
579
579
|
p status_code # => 2xx
|
|
580
580
|
p headers # => { ... }
|
|
581
|
-
p data # => <
|
|
581
|
+
p data # => <AnsibleCollectionRemoteResponse>
|
|
582
582
|
rescue PulpAnsibleClient::ApiError => e
|
|
583
583
|
puts "Error when calling RemotesCollectionApi->partial_update_with_http_info: #{e}"
|
|
584
584
|
end
|
|
@@ -594,7 +594,7 @@ end
|
|
|
594
594
|
|
|
595
595
|
### Return type
|
|
596
596
|
|
|
597
|
-
[**
|
|
597
|
+
[**AnsibleCollectionRemoteResponse**](AnsibleCollectionRemoteResponse.md)
|
|
598
598
|
|
|
599
599
|
### Authorization
|
|
600
600
|
|
|
@@ -914,11 +914,11 @@ end
|
|
|
914
914
|
|
|
915
915
|
## update
|
|
916
916
|
|
|
917
|
-
> <
|
|
917
|
+
> <AnsibleCollectionRemoteResponse> update(ansible_collection_remote_href, ansible_collection_remote, opts)
|
|
918
918
|
|
|
919
919
|
Update a collection remote
|
|
920
920
|
|
|
921
|
-
|
|
921
|
+
Update the entity and trigger an asynchronous task if necessary
|
|
922
922
|
|
|
923
923
|
### Examples
|
|
924
924
|
|
|
@@ -952,7 +952,7 @@ end
|
|
|
952
952
|
|
|
953
953
|
This returns an Array which contains the response data, status code and headers.
|
|
954
954
|
|
|
955
|
-
> <Array(<
|
|
955
|
+
> <Array(<AnsibleCollectionRemoteResponse>, Integer, Hash)> update_with_http_info(ansible_collection_remote_href, ansible_collection_remote, opts)
|
|
956
956
|
|
|
957
957
|
```ruby
|
|
958
958
|
begin
|
|
@@ -960,7 +960,7 @@ begin
|
|
|
960
960
|
data, status_code, headers = api_instance.update_with_http_info(ansible_collection_remote_href, ansible_collection_remote, opts)
|
|
961
961
|
p status_code # => 2xx
|
|
962
962
|
p headers # => { ... }
|
|
963
|
-
p data # => <
|
|
963
|
+
p data # => <AnsibleCollectionRemoteResponse>
|
|
964
964
|
rescue PulpAnsibleClient::ApiError => e
|
|
965
965
|
puts "Error when calling RemotesCollectionApi->update_with_http_info: #{e}"
|
|
966
966
|
end
|
|
@@ -976,7 +976,7 @@ end
|
|
|
976
976
|
|
|
977
977
|
### Return type
|
|
978
978
|
|
|
979
|
-
[**
|
|
979
|
+
[**AnsibleCollectionRemoteResponse**](AnsibleCollectionRemoteResponse.md)
|
|
980
980
|
|
|
981
981
|
### Authorization
|
|
982
982
|
|