pulp_ansible_client 0.29.10 → 0.30.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/AnsibleCollectionRemote.md +3 -1
- data/docs/AnsibleCollectionRemoteResponse.md +2 -0
- data/docs/AnsibleCollectionVersionResponse.md +8 -8
- data/docs/AnsibleGitRemote.md +28 -28
- data/docs/AnsibleGitRemoteResponse.md +28 -28
- data/docs/AnsibleRoleResponse.md +8 -8
- data/docs/ContentCollectionVersionsApi.md +2 -2
- data/docs/PatchedansibleCollectionRemote.md +3 -1
- data/docs/PatchedansibleGitRemote.md +28 -28
- data/docs/RemotesCollectionApi.md +2 -2
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +3 -3
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +3 -3
- data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +30 -4
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +27 -1
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +35 -35
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +247 -247
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +162 -162
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +35 -35
- data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +30 -4
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +243 -243
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/content_collection_versions_api_spec.rb +1 -1
- data/spec/api/remotes_collection_api_spec.rb +1 -1
- data/spec/models/ansible_collection_remote_response_spec.rb +6 -0
- data/spec/models/ansible_collection_remote_spec.rb +6 -0
- data/spec/models/ansible_collection_version_response_spec.rb +7 -7
- data/spec/models/ansible_git_remote_response_spec.rb +20 -20
- data/spec/models/ansible_git_remote_spec.rb +20 -20
- data/spec/models/ansible_role_response_spec.rb +7 -7
- data/spec/models/patchedansible_collection_remote_spec.rb +6 -0
- data/spec/models/patchedansible_git_remote_spec.rb +20 -20
- metadata +127 -127
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 69511481e10d7f28eab496afea266d5064709054981e02a28ecb955e4b1cebe4
|
|
4
|
+
data.tar.gz: 5c477534ef344055ee7a4e24d9e57991ad7838076ea78d00fdf669d9886d4c08
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 052f4827feee35d35d2eb19f39a927d234c3339e21a3dd405030723b889e550ee2bf33a714b684df8be681ebf44df7892325e62b716e9871032a0b8a3dda3cb6
|
|
7
|
+
data.tar.gz: 242a126efd98422f4e3b50c361691a527d023fd5309efead414d6e58713bd8494a5469e87a21b3695252b25aa5dcd57e2a5394a072a2d2885dc6a7db2f422e90
|
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.30.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.30.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.30.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.30.0'
|
|
38
38
|
|
|
39
39
|
### Install from Git
|
|
40
40
|
|
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
| **token** | **String** | The token key to use for authentication. See https://docs.ansible.com/ansible/latest/user_guide/collections_using.html#configuring-the-ansible-galaxy-clientfor more details | [optional] |
|
|
31
31
|
| **sync_dependencies** | **Boolean** | Sync dependencies for collections specified via requirements file | [optional] |
|
|
32
32
|
| **signed_only** | **Boolean** | Sync only collections that have a signature | [optional] |
|
|
33
|
+
| **sync_highest_versions** | **Integer** | The number of highest versions of each collection to sync. Unset or null syncs all versions. 1 syncs only the highest version. | [optional] |
|
|
33
34
|
|
|
34
35
|
## Example
|
|
35
36
|
|
|
@@ -62,7 +63,8 @@ instance = PulpAnsibleClient::AnsibleCollectionRemote.new(
|
|
|
62
63
|
auth_url: null,
|
|
63
64
|
token: null,
|
|
64
65
|
sync_dependencies: null,
|
|
65
|
-
signed_only: null
|
|
66
|
+
signed_only: null,
|
|
67
|
+
sync_highest_versions: null
|
|
66
68
|
)
|
|
67
69
|
```
|
|
68
70
|
|
|
@@ -29,6 +29,7 @@
|
|
|
29
29
|
| **auth_url** | **String** | The URL to receive a session token from, e.g. used with Automation Hub. | [optional] |
|
|
30
30
|
| **sync_dependencies** | **Boolean** | Sync dependencies for collections specified via requirements file | [optional] |
|
|
31
31
|
| **signed_only** | **Boolean** | Sync only collections that have a signature | [optional] |
|
|
32
|
+
| **sync_highest_versions** | **Integer** | The number of highest versions of each collection to sync. Unset or null syncs all versions. 1 syncs only the highest version. | [optional] |
|
|
32
33
|
| **last_sync_task** | **String** | | [optional][readonly] |
|
|
33
34
|
|
|
34
35
|
## Example
|
|
@@ -62,6 +63,7 @@ instance = PulpAnsibleClient::AnsibleCollectionRemoteResponse.new(
|
|
|
62
63
|
auth_url: null,
|
|
63
64
|
sync_dependencies: null,
|
|
64
65
|
signed_only: null,
|
|
66
|
+
sync_highest_versions: null,
|
|
65
67
|
last_sync_task: null
|
|
66
68
|
)
|
|
67
69
|
```
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
8
|
-
| **vuln_report** | **String** | | [optional][readonly] |
|
|
9
7
|
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
|
10
|
-
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
11
8
|
| **pulp_href** | **String** | | [optional][readonly] |
|
|
12
|
-
| **
|
|
9
|
+
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
13
10
|
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
11
|
+
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
12
|
+
| **vuln_report** | **String** | | [optional][readonly] |
|
|
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
|
-
pulp_created: null,
|
|
42
|
-
vuln_report: null,
|
|
43
41
|
artifact: null,
|
|
44
|
-
prn: null,
|
|
45
42
|
pulp_href: null,
|
|
46
|
-
|
|
43
|
+
pulp_created: null,
|
|
47
44
|
pulp_labels: null,
|
|
45
|
+
prn: null,
|
|
46
|
+
vuln_report: 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
|
+
| **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] |
|
|
8
|
+
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
9
|
+
| **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] |
|
|
7
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] |
|
|
8
|
-
| **
|
|
9
|
-
| **
|
|
12
|
+
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
13
|
+
| **url** | **String** | The URL of an external content source. | |
|
|
14
|
+
| **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] |
|
|
15
|
+
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
16
|
+
| **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
|
|
17
|
+
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
10
18
|
| **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
11
19
|
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
20
|
+
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
12
21
|
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
13
|
-
| **
|
|
14
|
-
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
|
15
|
-
| **url** | **String** | The URL of an external content source. | |
|
|
16
|
-
| **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] |
|
|
22
|
+
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
17
23
|
| **name** | **String** | A unique name for this remote. | |
|
|
18
|
-
| **
|
|
19
|
-
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
20
|
-
| **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
|
|
24
|
+
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
|
21
25
|
| **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
|
-
| **
|
|
23
|
-
| **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
|
|
24
|
-
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
25
|
-
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
26
|
-
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
26
|
+
| **client_key** | **String** | A PEM encoded private key used for authentication. | [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
|
+
sock_connect_timeout: null,
|
|
37
|
+
rate_limit: null,
|
|
38
|
+
download_concurrency: null,
|
|
39
|
+
client_cert: null,
|
|
36
40
|
max_retries: null,
|
|
37
|
-
|
|
38
|
-
|
|
41
|
+
proxy_password: null,
|
|
42
|
+
url: null,
|
|
43
|
+
total_timeout: null,
|
|
44
|
+
ca_cert: null,
|
|
45
|
+
proxy_username: null,
|
|
46
|
+
headers: null,
|
|
39
47
|
sock_read_timeout: null,
|
|
40
48
|
proxy_url: null,
|
|
49
|
+
password: null,
|
|
41
50
|
pulp_labels: null,
|
|
42
|
-
|
|
43
|
-
username: null,
|
|
44
|
-
url: null,
|
|
45
|
-
total_timeout: null,
|
|
51
|
+
tls_validation: null,
|
|
46
52
|
name: null,
|
|
47
|
-
|
|
48
|
-
proxy_password: null,
|
|
49
|
-
client_key: null,
|
|
53
|
+
username: null,
|
|
50
54
|
connect_timeout: null,
|
|
51
|
-
|
|
52
|
-
proxy_username: null,
|
|
53
|
-
download_concurrency: null,
|
|
54
|
-
rate_limit: null,
|
|
55
|
-
ca_cert: null,
|
|
55
|
+
client_key: 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
|
-
| **hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFieldsInner>**](AnsibleCollectionRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional] |
|
|
8
|
-
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
|
9
|
-
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
10
7
|
| **pulp_href** | **String** | | [optional][readonly] |
|
|
11
|
-
| **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] |
|
|
12
|
-
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
13
|
-
| **pulp_last_updated** | **Time** | Timestamp of the most recent update of the remote. | [optional][readonly] |
|
|
14
|
-
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
15
8
|
| **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] |
|
|
9
|
+
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
10
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
11
|
+
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
12
|
+
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
13
|
+
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
|
16
14
|
| **url** | **String** | The URL of an external content source. | |
|
|
17
15
|
| **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
|
-
| **
|
|
19
|
-
| **
|
|
20
|
-
| **
|
|
16
|
+
| **pulp_last_updated** | **Time** | Timestamp of the most recent update of the remote. | [optional][readonly] |
|
|
17
|
+
| **hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFieldsInner>**](AnsibleCollectionRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional] |
|
|
18
|
+
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
19
|
+
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
20
|
+
| **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
21
|
+
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
22
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
21
23
|
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
24
|
+
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
25
|
+
| **name** | **String** | A unique name for this remote. | |
|
|
22
26
|
| **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
|
-
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
24
|
-
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
25
|
-
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
26
|
-
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [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
|
-
hidden_fields: null,
|
|
37
|
-
max_retries: null,
|
|
38
|
-
tls_validation: null,
|
|
39
36
|
pulp_href: null,
|
|
40
|
-
sock_read_timeout: null,
|
|
41
|
-
proxy_url: null,
|
|
42
|
-
pulp_last_updated: null,
|
|
43
|
-
pulp_labels: null,
|
|
44
37
|
sock_connect_timeout: null,
|
|
38
|
+
rate_limit: null,
|
|
39
|
+
download_concurrency: null,
|
|
40
|
+
client_cert: null,
|
|
41
|
+
pulp_created: null,
|
|
42
|
+
max_retries: null,
|
|
45
43
|
url: null,
|
|
46
44
|
total_timeout: null,
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
45
|
+
pulp_last_updated: null,
|
|
46
|
+
hidden_fields: null,
|
|
47
|
+
ca_cert: null,
|
|
48
|
+
headers: null,
|
|
49
|
+
sock_read_timeout: null,
|
|
50
|
+
proxy_url: null,
|
|
51
|
+
pulp_labels: null,
|
|
50
52
|
prn: null,
|
|
53
|
+
tls_validation: null,
|
|
54
|
+
name: null,
|
|
51
55
|
connect_timeout: null,
|
|
52
|
-
headers: null,
|
|
53
|
-
download_concurrency: null,
|
|
54
|
-
rate_limit: null,
|
|
55
|
-
ca_cert: null,
|
|
56
56
|
metadata_only: null,
|
|
57
57
|
git_ref: null
|
|
58
58
|
)
|
data/docs/AnsibleRoleResponse.md
CHANGED
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
8
|
-
| **vuln_report** | **String** | | [optional][readonly] |
|
|
9
7
|
| **artifact** | **String** | Artifact file representing the physical content | |
|
|
10
|
-
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
11
8
|
| **pulp_href** | **String** | | [optional][readonly] |
|
|
12
|
-
| **
|
|
9
|
+
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
13
10
|
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
11
|
+
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
12
|
+
| **vuln_report** | **String** | | [optional][readonly] |
|
|
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
|
-
pulp_created: null,
|
|
25
|
-
vuln_report: null,
|
|
26
24
|
artifact: null,
|
|
27
|
-
prn: null,
|
|
28
25
|
pulp_href: null,
|
|
29
|
-
|
|
26
|
+
pulp_created: null,
|
|
30
27
|
pulp_labels: null,
|
|
28
|
+
prn: null,
|
|
29
|
+
vuln_report: null,
|
|
30
|
+
pulp_last_updated: null,
|
|
31
31
|
version: null,
|
|
32
32
|
name: null,
|
|
33
33
|
namespace: null
|
|
@@ -38,10 +38,10 @@ opts = {
|
|
|
38
38
|
downloader_config: PulpAnsibleClient::RemoteNetworkConfig.new, # RemoteNetworkConfig | Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
|
|
39
39
|
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
|
40
40
|
file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
|
|
41
|
+
file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
|
|
41
42
|
pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
42
43
|
upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
|
|
43
44
|
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
|
44
|
-
file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
|
|
45
45
|
expected_name: 'expected_name_example', # String | The name of the collection.
|
|
46
46
|
expected_namespace: 'expected_namespace_example', # String | The namespace of the collection.
|
|
47
47
|
expected_version: 'expected_version_example' # String | The version of the collection.
|
|
@@ -83,10 +83,10 @@ end
|
|
|
83
83
|
| **downloader_config** | [**RemoteNetworkConfig**](RemoteNetworkConfig.md) | Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url. | [optional] |
|
|
84
84
|
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
|
85
85
|
| **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional] |
|
|
86
|
+
| **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
|
|
86
87
|
| **pulp_labels** | [**Hash<String, String>**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
87
88
|
| **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
|
|
88
89
|
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
|
89
|
-
| **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
|
|
90
90
|
| **expected_name** | **String** | The name of the collection. | [optional] |
|
|
91
91
|
| **expected_namespace** | **String** | The namespace of the collection. | [optional] |
|
|
92
92
|
| **expected_version** | **String** | The version of the collection. | [optional] |
|
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
| **token** | **String** | The token key to use for authentication. See https://docs.ansible.com/ansible/latest/user_guide/collections_using.html#configuring-the-ansible-galaxy-clientfor more details | [optional] |
|
|
31
31
|
| **sync_dependencies** | **Boolean** | Sync dependencies for collections specified via requirements file | [optional] |
|
|
32
32
|
| **signed_only** | **Boolean** | Sync only collections that have a signature | [optional] |
|
|
33
|
+
| **sync_highest_versions** | **Integer** | The number of highest versions of each collection to sync. Unset or null syncs all versions. 1 syncs only the highest version. | [optional] |
|
|
33
34
|
|
|
34
35
|
## Example
|
|
35
36
|
|
|
@@ -62,7 +63,8 @@ instance = PulpAnsibleClient::PatchedansibleCollectionRemote.new(
|
|
|
62
63
|
auth_url: null,
|
|
63
64
|
token: null,
|
|
64
65
|
sync_dependencies: null,
|
|
65
|
-
signed_only: null
|
|
66
|
+
signed_only: null,
|
|
67
|
+
sync_highest_versions: null
|
|
66
68
|
)
|
|
67
69
|
```
|
|
68
70
|
|
|
@@ -4,26 +4,26 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **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] |
|
|
8
|
+
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
9
|
+
| **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] |
|
|
7
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] |
|
|
8
|
-
| **
|
|
9
|
-
| **
|
|
12
|
+
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
13
|
+
| **url** | **String** | The URL of an external content source. | [optional] |
|
|
14
|
+
| **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] |
|
|
15
|
+
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
16
|
+
| **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
|
|
17
|
+
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
10
18
|
| **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
11
19
|
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
20
|
+
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
12
21
|
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
13
|
-
| **
|
|
14
|
-
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
|
15
|
-
| **url** | **String** | The URL of an external content source. | [optional] |
|
|
16
|
-
| **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] |
|
|
22
|
+
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
17
23
|
| **name** | **String** | A unique name for this remote. | [optional] |
|
|
18
|
-
| **
|
|
19
|
-
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
20
|
-
| **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
|
|
24
|
+
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
|
21
25
|
| **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
|
-
| **
|
|
23
|
-
| **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
|
|
24
|
-
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
25
|
-
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
26
|
-
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
26
|
+
| **client_key** | **String** | A PEM encoded private key used for authentication. | [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
|
+
sock_connect_timeout: null,
|
|
37
|
+
rate_limit: null,
|
|
38
|
+
download_concurrency: null,
|
|
39
|
+
client_cert: null,
|
|
36
40
|
max_retries: null,
|
|
37
|
-
|
|
38
|
-
|
|
41
|
+
proxy_password: null,
|
|
42
|
+
url: null,
|
|
43
|
+
total_timeout: null,
|
|
44
|
+
ca_cert: null,
|
|
45
|
+
proxy_username: null,
|
|
46
|
+
headers: null,
|
|
39
47
|
sock_read_timeout: null,
|
|
40
48
|
proxy_url: null,
|
|
49
|
+
password: null,
|
|
41
50
|
pulp_labels: null,
|
|
42
|
-
|
|
43
|
-
username: null,
|
|
44
|
-
url: null,
|
|
45
|
-
total_timeout: null,
|
|
51
|
+
tls_validation: null,
|
|
46
52
|
name: null,
|
|
47
|
-
|
|
48
|
-
proxy_password: null,
|
|
49
|
-
client_key: null,
|
|
53
|
+
username: null,
|
|
50
54
|
connect_timeout: null,
|
|
51
|
-
|
|
52
|
-
proxy_username: null,
|
|
53
|
-
download_concurrency: null,
|
|
54
|
-
rate_limit: null,
|
|
55
|
-
ca_cert: null,
|
|
55
|
+
client_key: null,
|
|
56
56
|
metadata_only: null,
|
|
57
57
|
git_ref: null
|
|
58
58
|
)
|
|
@@ -276,7 +276,7 @@ opts = {
|
|
|
276
276
|
name__regex: 'name__regex_example', # String | Filter results where name matches regex value
|
|
277
277
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
|
278
278
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
279
|
-
ordering: ['-auth_url'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `requirements_file` - Requirements file * `-requirements_file` - Requirements file (descending) * `auth_url` - Auth url * `-auth_url` - Auth url (descending) * `token` - Token * `-token` - Token (descending) * `sync_dependencies` - Sync dependencies * `-sync_dependencies` - Sync dependencies (descending) * `signed_only` - Signed only * `-signed_only` - Signed only (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
279
|
+
ordering: ['-auth_url'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `requirements_file` - Requirements file * `-requirements_file` - Requirements file (descending) * `auth_url` - Auth url * `-auth_url` - Auth url (descending) * `token` - Token * `-token` - Token (descending) * `sync_dependencies` - Sync dependencies * `-sync_dependencies` - Sync dependencies (descending) * `signed_only` - Signed only * `-signed_only` - Signed only (descending) * `sync_highest_versions` - Sync highest versions * `-sync_highest_versions` - Sync highest versions (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
280
280
|
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
281
281
|
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
282
282
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
@@ -340,7 +340,7 @@ end
|
|
|
340
340
|
| **name__regex** | **String** | Filter results where name matches regex value | [optional] |
|
|
341
341
|
| **name__startswith** | **String** | Filter results where name starts with value | [optional] |
|
|
342
342
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
|
343
|
-
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `requirements_file` - Requirements file * `-requirements_file` - Requirements file (descending) * `auth_url` - Auth url * `-auth_url` - Auth url (descending) * `token` - Token * `-token` - Token (descending) * `sync_dependencies` - Sync dependencies * `-sync_dependencies` - Sync dependencies (descending) * `signed_only` - Signed only * `-signed_only` - Signed only (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
|
343
|
+
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `requirements_file` - Requirements file * `-requirements_file` - Requirements file (descending) * `auth_url` - Auth url * `-auth_url` - Auth url (descending) * `token` - Token * `-token` - Token (descending) * `sync_dependencies` - Sync dependencies * `-sync_dependencies` - Sync dependencies (descending) * `signed_only` - Signed only * `-signed_only` - Signed only (descending) * `sync_highest_versions` - Sync highest versions * `-sync_highest_versions` - Sync highest versions (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
|
344
344
|
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
345
345
|
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
346
346
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
@@ -27,10 +27,10 @@ module PulpAnsibleClient
|
|
|
27
27
|
# @option opts [RemoteNetworkConfig] :downloader_config Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
|
|
28
28
|
# @option opts [String] :artifact Artifact file representing the physical content
|
|
29
29
|
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
|
30
|
+
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
30
31
|
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
31
32
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
32
33
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
33
|
-
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
34
34
|
# @option opts [String] :expected_name The name of the collection.
|
|
35
35
|
# @option opts [String] :expected_namespace The namespace of the collection.
|
|
36
36
|
# @option opts [String] :expected_version The version of the collection.
|
|
@@ -48,10 +48,10 @@ module PulpAnsibleClient
|
|
|
48
48
|
# @option opts [RemoteNetworkConfig] :downloader_config Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url.
|
|
49
49
|
# @option opts [String] :artifact Artifact file representing the physical content
|
|
50
50
|
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
|
51
|
+
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
51
52
|
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
52
53
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
53
54
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
54
|
-
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
55
55
|
# @option opts [String] :expected_name The name of the collection.
|
|
56
56
|
# @option opts [String] :expected_namespace The namespace of the collection.
|
|
57
57
|
# @option opts [String] :expected_version The version of the collection.
|
|
@@ -111,10 +111,10 @@ module PulpAnsibleClient
|
|
|
111
111
|
form_params['downloader_config'] = opts[:'downloader_config'] if !opts[:'downloader_config'].nil?
|
|
112
112
|
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
|
113
113
|
form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
|
|
114
|
+
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
|
114
115
|
form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
|
|
115
116
|
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
|
116
117
|
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
|
117
|
-
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
|
118
118
|
form_params['expected_name'] = opts[:'expected_name'] if !opts[:'expected_name'].nil?
|
|
119
119
|
form_params['expected_namespace'] = opts[:'expected_namespace'] if !opts[:'expected_namespace'].nil?
|
|
120
120
|
form_params['expected_version'] = opts[:'expected_version'] if !opts[:'expected_version'].nil?
|
|
@@ -248,7 +248,7 @@ module PulpAnsibleClient
|
|
|
248
248
|
# @option opts [String] :name__regex Filter results where name matches regex value
|
|
249
249
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
250
250
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
251
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `requirements_file` - Requirements file * `-requirements_file` - Requirements file (descending) * `auth_url` - Auth url * `-auth_url` - Auth url (descending) * `token` - Token * `-token` - Token (descending) * `sync_dependencies` - Sync dependencies * `-sync_dependencies` - Sync dependencies (descending) * `signed_only` - Signed only * `-signed_only` - Signed only (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
251
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `requirements_file` - Requirements file * `-requirements_file` - Requirements file (descending) * `auth_url` - Auth url * `-auth_url` - Auth url (descending) * `token` - Token * `-token` - Token (descending) * `sync_dependencies` - Sync dependencies * `-sync_dependencies` - Sync dependencies (descending) * `signed_only` - Signed only * `-signed_only` - Signed only (descending) * `sync_highest_versions` - Sync highest versions * `-sync_highest_versions` - Sync highest versions (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
252
252
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
253
253
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
254
254
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
@@ -288,7 +288,7 @@ module PulpAnsibleClient
|
|
|
288
288
|
# @option opts [String] :name__regex Filter results where name matches regex value
|
|
289
289
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
290
290
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
291
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `requirements_file` - Requirements file * `-requirements_file` - Requirements file (descending) * `auth_url` - Auth url * `-auth_url` - Auth url (descending) * `token` - Token * `-token` - Token (descending) * `sync_dependencies` - Sync dependencies * `-sync_dependencies` - Sync dependencies (descending) * `signed_only` - Signed only * `-signed_only` - Signed only (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
291
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `requirements_file` - Requirements file * `-requirements_file` - Requirements file (descending) * `auth_url` - Auth url * `-auth_url` - Auth url (descending) * `token` - Token * `-token` - Token (descending) * `sync_dependencies` - Sync dependencies * `-sync_dependencies` - Sync dependencies (descending) * `signed_only` - Signed only * `-signed_only` - Signed only (descending) * `sync_highest_versions` - Sync highest versions * `-sync_highest_versions` - Sync highest versions (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
292
292
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
293
293
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
294
294
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
@@ -312,7 +312,7 @@ module PulpAnsibleClient
|
|
|
312
312
|
if @api_client.config.debugging
|
|
313
313
|
@api_client.config.logger.debug 'Calling API: RemotesCollectionApi.list ...'
|
|
314
314
|
end
|
|
315
|
-
allowable_values = ["-auth_url", "-ca_cert", "-client_cert", "-client_key", "-connect_timeout", "-download_concurrency", "-headers", "-max_retries", "-name", "-password", "-pk", "-policy", "-proxy_password", "-proxy_url", "-proxy_username", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-rate_limit", "-requirements_file", "-signed_only", "-sock_connect_timeout", "-sock_read_timeout", "-sync_dependencies", "-tls_validation", "-token", "-total_timeout", "-url", "-username", "auth_url", "ca_cert", "client_cert", "client_key", "connect_timeout", "download_concurrency", "headers", "max_retries", "name", "password", "pk", "policy", "proxy_password", "proxy_url", "proxy_username", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "rate_limit", "requirements_file", "signed_only", "sock_connect_timeout", "sock_read_timeout", "sync_dependencies", "tls_validation", "token", "total_timeout", "url", "username"]
|
|
315
|
+
allowable_values = ["-auth_url", "-ca_cert", "-client_cert", "-client_key", "-connect_timeout", "-download_concurrency", "-headers", "-max_retries", "-name", "-password", "-pk", "-policy", "-proxy_password", "-proxy_url", "-proxy_username", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-rate_limit", "-requirements_file", "-signed_only", "-sock_connect_timeout", "-sock_read_timeout", "-sync_dependencies", "-sync_highest_versions", "-tls_validation", "-token", "-total_timeout", "-url", "-username", "auth_url", "ca_cert", "client_cert", "client_key", "connect_timeout", "download_concurrency", "headers", "max_retries", "name", "password", "pk", "policy", "proxy_password", "proxy_url", "proxy_username", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "rate_limit", "requirements_file", "signed_only", "sock_connect_timeout", "sock_read_timeout", "sync_dependencies", "sync_highest_versions", "tls_validation", "token", "total_timeout", "url", "username"]
|
|
316
316
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
317
317
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
|
318
318
|
end
|