pulp_ansible_client 0.24.11 → 0.24.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/AnsibleCollectionVersionResponse.md +6 -6
- data/docs/AnsibleGitRemote.md +28 -28
- data/docs/AnsibleGitRemoteResponse.md +24 -24
- data/docs/AnsibleRole.md +2 -2
- data/docs/AnsibleRoleResponse.md +6 -6
- data/docs/ContentCollectionVersionsApi.md +6 -6
- data/docs/PatchedansibleGitRemote.md +28 -28
- data/docs/RemotesGitApi.md +2 -2
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +9 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +2 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +2 -2
- data/lib/pulp_ansible_client/models/ansible_ansible_namespace_metadata.rb +3 -3
- data/lib/pulp_ansible_client/models/ansible_ansible_namespace_metadata_response.rb +3 -3
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +28 -28
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +252 -252
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +149 -149
- data/lib/pulp_ansible_client/models/ansible_role.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +30 -30
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +244 -244
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/content_collection_versions_api_spec.rb +3 -3
- data/spec/models/ansible_collection_version_response_spec.rb +6 -6
- data/spec/models/ansible_git_remote_response_spec.rb +19 -19
- data/spec/models/ansible_git_remote_spec.rb +20 -20
- 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 +20 -20
- metadata +124 -124
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 31562a67b7985e9547c34ef99e408fbdf4be29cb45a6e478b6b1986dbb5b7887
|
|
4
|
+
data.tar.gz: 5f7cd758691f82c99e6ce6a2da50430b4a677a2e77646f649ec17097638df3bc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9715165e4b8a0bf8e7a94684bc18cfc9d97e21222a97f1c638cfc432572748114a458eba602385e7fdcdd9acec02272fbbb2e434ee486543e76c7b5f132607e1
|
|
7
|
+
data.tar.gz: 0bf61b1895c980bc163e7395205d30d701538e27ec6a85c3b0d15a0027e911f7d49f7d8c8202c6c11304b66cada5916592697aac55217e06b0d70bf9fa2c44e2
|
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.24.
|
|
10
|
+
- Package version: 0.24.13
|
|
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.24.
|
|
28
|
+
gem install ./pulp_ansible_client-0.24.13.gem
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
(for development, run `gem install --dev ./pulp_ansible_client-0.24.
|
|
31
|
+
(for development, run `gem install --dev ./pulp_ansible_client-0.24.13.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.24.
|
|
37
|
+
gem 'pulp_ansible_client', '~> 0.24.13'
|
|
38
38
|
|
|
39
39
|
### Install from Git
|
|
40
40
|
|
|
@@ -4,12 +4,12 @@
|
|
|
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_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
10
|
-
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
11
8
|
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
|
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] |
|
|
12
11
|
| **pulp_href** | **String** | | [optional][readonly] |
|
|
12
|
+
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
13
13
|
| **sha256** | **String** | The SHA-256 checksum if available. | [optional][readonly] |
|
|
14
14
|
| **md5** | **String** | The MD5 checksum if available. | [optional][readonly] |
|
|
15
15
|
| **sha1** | **String** | The SHA-1 checksum if available. | [optional][readonly] |
|
|
@@ -37,12 +37,12 @@
|
|
|
37
37
|
require 'pulp_ansible_client'
|
|
38
38
|
|
|
39
39
|
instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(
|
|
40
|
-
prn: null,
|
|
41
|
-
pulp_last_updated: null,
|
|
42
40
|
pulp_labels: null,
|
|
43
|
-
pulp_created: null,
|
|
44
41
|
artifact: null,
|
|
42
|
+
pulp_created: null,
|
|
43
|
+
pulp_last_updated: null,
|
|
45
44
|
pulp_href: null,
|
|
45
|
+
prn: null,
|
|
46
46
|
sha256: null,
|
|
47
47
|
md5: null,
|
|
48
48
|
sha1: null,
|
data/docs/AnsibleGitRemote.md
CHANGED
|
@@ -4,26 +4,26 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **
|
|
8
|
-
| **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
9
|
-
| **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] |
|
|
7
|
+
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
10
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
|
+
| **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
|
|
11
10
|
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
|
12
|
-
| **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
13
|
-
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
14
|
-
| **url** | **String** | The URL of an external content source. | |
|
|
15
|
-
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
16
|
-
| **name** | **String** | A unique name for this remote. | |
|
|
17
11
|
| **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
|
|
18
|
-
| **
|
|
19
|
-
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
20
|
-
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
21
|
-
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
22
|
-
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
23
|
-
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
12
|
+
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
24
13
|
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
14
|
+
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
15
|
+
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
25
16
|
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
17
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
18
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
19
|
+
| **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] |
|
|
20
|
+
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
21
|
+
| **name** | **String** | A unique name for this remote. | |
|
|
22
|
+
| **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
23
|
+
| **url** | **String** | The URL of an external content source. | |
|
|
26
24
|
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
|
25
|
+
| **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] |
|
|
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::AnsibleGitRemote.new(
|
|
36
|
-
|
|
37
|
-
sock_read_timeout: null,
|
|
38
|
-
connect_timeout: null,
|
|
36
|
+
proxy_password: null,
|
|
39
37
|
sock_connect_timeout: null,
|
|
38
|
+
client_key: null,
|
|
40
39
|
max_retries: null,
|
|
41
|
-
total_timeout: null,
|
|
42
|
-
rate_limit: null,
|
|
43
|
-
url: null,
|
|
44
|
-
download_concurrency: null,
|
|
45
|
-
name: null,
|
|
46
40
|
proxy_username: null,
|
|
47
|
-
|
|
48
|
-
proxy_password: null,
|
|
49
|
-
ca_cert: null,
|
|
50
|
-
pulp_labels: null,
|
|
51
|
-
tls_validation: null,
|
|
52
|
-
proxy_url: null,
|
|
41
|
+
rate_limit: null,
|
|
53
42
|
client_cert: null,
|
|
43
|
+
headers: null,
|
|
44
|
+
proxy_url: null,
|
|
54
45
|
password: null,
|
|
46
|
+
pulp_labels: null,
|
|
47
|
+
download_concurrency: null,
|
|
48
|
+
connect_timeout: null,
|
|
49
|
+
tls_validation: null,
|
|
50
|
+
name: null,
|
|
51
|
+
sock_read_timeout: null,
|
|
52
|
+
url: null,
|
|
55
53
|
username: null,
|
|
54
|
+
total_timeout: null,
|
|
55
|
+
ca_cert: 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
|
-
| **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] |
|
|
7
|
+
| **hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFieldsInner>**](AnsibleCollectionRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional][readonly] |
|
|
8
|
+
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
10
9
|
| **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] |
|
|
11
10
|
| **pulp_last_updated** | **Time** | Timestamp of the most recent update of the remote. | [optional][readonly] |
|
|
12
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] |
|
|
13
|
-
| **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
14
12
|
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
15
|
-
| **
|
|
13
|
+
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
14
|
+
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
15
|
+
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
16
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
16
17
|
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
18
|
+
| **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] |
|
|
19
|
+
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
17
20
|
| **name** | **String** | A unique name for this remote. | |
|
|
18
|
-
| **
|
|
19
|
-
| **
|
|
21
|
+
| **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] |
|
|
22
|
+
| **url** | **String** | The URL of an external content source. | |
|
|
23
|
+
| **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
24
|
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
21
|
-
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
22
|
-
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
23
|
-
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
24
|
-
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
25
25
|
| **pulp_href** | **String** | | [optional][readonly] |
|
|
26
|
-
| **
|
|
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
|
-
connect_timeout: null,
|
|
36
|
+
hidden_fields: null,
|
|
37
|
+
pulp_created: null,
|
|
39
38
|
sock_connect_timeout: null,
|
|
40
39
|
pulp_last_updated: null,
|
|
41
40
|
max_retries: null,
|
|
42
|
-
total_timeout: null,
|
|
43
41
|
rate_limit: null,
|
|
44
|
-
|
|
42
|
+
client_cert: null,
|
|
43
|
+
headers: null,
|
|
44
|
+
proxy_url: null,
|
|
45
|
+
pulp_labels: null,
|
|
45
46
|
download_concurrency: null,
|
|
47
|
+
connect_timeout: null,
|
|
48
|
+
tls_validation: null,
|
|
46
49
|
name: null,
|
|
47
|
-
|
|
48
|
-
|
|
50
|
+
sock_read_timeout: null,
|
|
51
|
+
url: null,
|
|
52
|
+
total_timeout: null,
|
|
49
53
|
ca_cert: null,
|
|
50
|
-
pulp_labels: null,
|
|
51
|
-
pulp_created: null,
|
|
52
|
-
tls_validation: null,
|
|
53
|
-
proxy_url: null,
|
|
54
54
|
pulp_href: null,
|
|
55
|
-
|
|
55
|
+
prn: null,
|
|
56
56
|
metadata_only: null,
|
|
57
57
|
git_ref: null
|
|
58
58
|
)
|
data/docs/AnsibleRole.md
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
8
|
-
| **artifact** | **String** | Artifact file representing the physical content | |
|
|
9
8
|
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
|
9
|
+
| **artifact** | **String** | Artifact file representing the physical content | |
|
|
10
10
|
| **version** | **String** | | |
|
|
11
11
|
| **name** | **String** | | |
|
|
12
12
|
| **namespace** | **String** | | |
|
|
@@ -18,8 +18,8 @@ require 'pulp_ansible_client'
|
|
|
18
18
|
|
|
19
19
|
instance = PulpAnsibleClient::AnsibleRole.new(
|
|
20
20
|
pulp_labels: null,
|
|
21
|
-
artifact: null,
|
|
22
21
|
repository: null,
|
|
22
|
+
artifact: null,
|
|
23
23
|
version: null,
|
|
24
24
|
name: null,
|
|
25
25
|
namespace: null
|
data/docs/AnsibleRoleResponse.md
CHANGED
|
@@ -4,12 +4,12 @@
|
|
|
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_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
10
|
-
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
11
8
|
| **artifact** | **String** | Artifact file representing the physical content | |
|
|
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] |
|
|
12
11
|
| **pulp_href** | **String** | | [optional][readonly] |
|
|
12
|
+
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
13
13
|
| **version** | **String** | | |
|
|
14
14
|
| **name** | **String** | | |
|
|
15
15
|
| **namespace** | **String** | | |
|
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
require 'pulp_ansible_client'
|
|
21
21
|
|
|
22
22
|
instance = PulpAnsibleClient::AnsibleRoleResponse.new(
|
|
23
|
-
prn: null,
|
|
24
|
-
pulp_last_updated: null,
|
|
25
23
|
pulp_labels: null,
|
|
26
|
-
pulp_created: null,
|
|
27
24
|
artifact: null,
|
|
25
|
+
pulp_created: null,
|
|
26
|
+
pulp_last_updated: null,
|
|
28
27
|
pulp_href: null,
|
|
28
|
+
prn: null,
|
|
29
29
|
version: null,
|
|
30
30
|
name: null,
|
|
31
31
|
namespace: null
|
|
@@ -36,10 +36,10 @@ opts = {
|
|
|
36
36
|
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
37
37
|
upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
|
|
38
38
|
pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
39
|
-
file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
|
|
40
|
-
file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
|
|
41
|
-
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
|
42
39
|
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
|
40
|
+
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
|
41
|
+
file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
|
|
42
|
+
file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
|
|
43
43
|
expected_name: 'expected_name_example', # String | The name of the collection.
|
|
44
44
|
expected_namespace: 'expected_namespace_example', # String | The namespace of the collection.
|
|
45
45
|
expected_version: 'expected_version_example' # String | The version of the collection.
|
|
@@ -79,10 +79,10 @@ end
|
|
|
79
79
|
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
80
80
|
| **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
|
|
81
81
|
| **pulp_labels** | [**Hash<String, String>**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
82
|
-
| **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional] |
|
|
83
|
-
| **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
|
|
84
|
-
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
|
85
82
|
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
|
83
|
+
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
|
84
|
+
| **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
|
|
85
|
+
| **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional] |
|
|
86
86
|
| **expected_name** | **String** | The name of the collection. | [optional] |
|
|
87
87
|
| **expected_namespace** | **String** | The namespace of the collection. | [optional] |
|
|
88
88
|
| **expected_version** | **String** | The version of the collection. | [optional] |
|
|
@@ -4,26 +4,26 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **
|
|
8
|
-
| **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
9
|
-
| **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] |
|
|
7
|
+
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
10
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
|
+
| **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
|
|
11
10
|
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
|
12
|
-
| **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
13
|
-
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
14
|
-
| **url** | **String** | The URL of an external content source. | [optional] |
|
|
15
|
-
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
16
|
-
| **name** | **String** | A unique name for this remote. | [optional] |
|
|
17
11
|
| **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
|
|
18
|
-
| **
|
|
19
|
-
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
20
|
-
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
21
|
-
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
22
|
-
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
23
|
-
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
12
|
+
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
24
13
|
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
14
|
+
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
15
|
+
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
25
16
|
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
17
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
18
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
19
|
+
| **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] |
|
|
20
|
+
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
21
|
+
| **name** | **String** | A unique name for this remote. | [optional] |
|
|
22
|
+
| **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
23
|
+
| **url** | **String** | The URL of an external content source. | [optional] |
|
|
26
24
|
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
|
25
|
+
| **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] |
|
|
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::PatchedansibleGitRemote.new(
|
|
36
|
-
|
|
37
|
-
sock_read_timeout: null,
|
|
38
|
-
connect_timeout: null,
|
|
36
|
+
proxy_password: null,
|
|
39
37
|
sock_connect_timeout: null,
|
|
38
|
+
client_key: null,
|
|
40
39
|
max_retries: null,
|
|
41
|
-
total_timeout: null,
|
|
42
|
-
rate_limit: null,
|
|
43
|
-
url: null,
|
|
44
|
-
download_concurrency: null,
|
|
45
|
-
name: null,
|
|
46
40
|
proxy_username: null,
|
|
47
|
-
|
|
48
|
-
proxy_password: null,
|
|
49
|
-
ca_cert: null,
|
|
50
|
-
pulp_labels: null,
|
|
51
|
-
tls_validation: null,
|
|
52
|
-
proxy_url: null,
|
|
41
|
+
rate_limit: null,
|
|
53
42
|
client_cert: null,
|
|
43
|
+
headers: null,
|
|
44
|
+
proxy_url: null,
|
|
54
45
|
password: null,
|
|
46
|
+
pulp_labels: null,
|
|
47
|
+
download_concurrency: null,
|
|
48
|
+
connect_timeout: null,
|
|
49
|
+
tls_validation: null,
|
|
50
|
+
name: null,
|
|
51
|
+
sock_read_timeout: null,
|
|
52
|
+
url: null,
|
|
55
53
|
username: null,
|
|
54
|
+
total_timeout: null,
|
|
55
|
+
ca_cert: null,
|
|
56
56
|
metadata_only: null,
|
|
57
57
|
git_ref: null
|
|
58
58
|
)
|
data/docs/RemotesGitApi.md
CHANGED
|
@@ -115,7 +115,7 @@ PulpAnsibleClient.configure do |config|
|
|
|
115
115
|
end
|
|
116
116
|
|
|
117
117
|
api_instance = PulpAnsibleClient::RemotesGitApi.new
|
|
118
|
-
ansible_git_remote = PulpAnsibleClient::AnsibleGitRemote.new({
|
|
118
|
+
ansible_git_remote = PulpAnsibleClient::AnsibleGitRemote.new({name: 'name_example', url: 'url_example'}) # AnsibleGitRemote |
|
|
119
119
|
opts = {
|
|
120
120
|
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
121
121
|
}
|
|
@@ -926,7 +926,7 @@ end
|
|
|
926
926
|
|
|
927
927
|
api_instance = PulpAnsibleClient::RemotesGitApi.new
|
|
928
928
|
ansible_git_remote_href = 'ansible_git_remote_href_example' # String |
|
|
929
|
-
ansible_git_remote = PulpAnsibleClient::AnsibleGitRemote.new({
|
|
929
|
+
ansible_git_remote = PulpAnsibleClient::AnsibleGitRemote.new({name: 'name_example', url: 'url_example'}) # AnsibleGitRemote |
|
|
930
930
|
opts = {
|
|
931
931
|
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
932
932
|
}
|
|
@@ -25,10 +25,10 @@ module PulpAnsibleClient
|
|
|
25
25
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
26
26
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
27
27
|
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
28
|
-
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
|
29
|
-
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
30
|
-
# @option opts [String] :artifact Artifact file representing the physical content
|
|
31
28
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
29
|
+
# @option opts [String] :artifact Artifact file representing the physical content
|
|
30
|
+
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
31
|
+
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
|
32
32
|
# @option opts [String] :expected_name The name of the collection.
|
|
33
33
|
# @option opts [String] :expected_namespace The namespace of the collection.
|
|
34
34
|
# @option opts [String] :expected_version The version of the collection.
|
|
@@ -44,10 +44,10 @@ module PulpAnsibleClient
|
|
|
44
44
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
45
45
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
46
46
|
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
47
|
-
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
|
48
|
-
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
49
|
-
# @option opts [String] :artifact Artifact file representing the physical content
|
|
50
47
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
48
|
+
# @option opts [String] :artifact Artifact file representing the physical content
|
|
49
|
+
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
50
|
+
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
|
51
51
|
# @option opts [String] :expected_name The name of the collection.
|
|
52
52
|
# @option opts [String] :expected_namespace The namespace of the collection.
|
|
53
53
|
# @option opts [String] :expected_version The version of the collection.
|
|
@@ -105,10 +105,10 @@ module PulpAnsibleClient
|
|
|
105
105
|
form_params = opts[:form_params] || {}
|
|
106
106
|
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
|
107
107
|
form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
|
|
108
|
-
form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
|
|
109
|
-
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
|
110
|
-
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
|
111
108
|
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
|
109
|
+
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
|
110
|
+
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
|
111
|
+
form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
|
|
112
112
|
form_params['expected_name'] = opts[:'expected_name'] if !opts[:'expected_name'].nil?
|
|
113
113
|
form_params['expected_namespace'] = opts[:'expected_namespace'] if !opts[:'expected_namespace'].nil?
|
|
114
114
|
form_params['expected_version'] = opts[:'expected_version'] if !opts[:'expected_version'].nil?
|
data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb
CHANGED
|
@@ -74,7 +74,7 @@ module PulpAnsibleClient
|
|
|
74
74
|
fail ArgumentError, 'invalid value for "name" when calling PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.create, the character length must be great than or equal to 3.'
|
|
75
75
|
end
|
|
76
76
|
|
|
77
|
-
pattern = Regexp.new(/^(?!.*__)[a-z]
|
|
77
|
+
pattern = Regexp.new(/^(?!.*__)[a-z][0-9a-z_]*$/)
|
|
78
78
|
if @api_client.config.client_side_validation && name !~ pattern
|
|
79
79
|
fail ArgumentError, "invalid value for 'name' when calling PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.create, must conform to the pattern #{pattern}."
|
|
80
80
|
end
|
|
@@ -438,7 +438,7 @@ module PulpAnsibleClient
|
|
|
438
438
|
fail ArgumentError, 'invalid value for "opts[:"name2"]" when calling PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.partial_update, the character length must be great than or equal to 3.'
|
|
439
439
|
end
|
|
440
440
|
|
|
441
|
-
pattern = Regexp.new(/^(?!.*__)[a-z]
|
|
441
|
+
pattern = Regexp.new(/^(?!.*__)[a-z][0-9a-z_]*$/)
|
|
442
442
|
if @api_client.config.client_side_validation && !opts[:'name2'].nil? && opts[:'name2'] !~ pattern
|
|
443
443
|
fail ArgumentError, "invalid value for 'opts[:\"name2\"]' when calling PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.partial_update, must conform to the pattern #{pattern}."
|
|
444
444
|
end
|
|
@@ -68,7 +68,7 @@ module PulpAnsibleClient
|
|
|
68
68
|
fail ArgumentError, 'invalid value for "name" when calling PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.create, the character length must be great than or equal to 3.'
|
|
69
69
|
end
|
|
70
70
|
|
|
71
|
-
pattern = Regexp.new(/^(?!.*__)[a-z]
|
|
71
|
+
pattern = Regexp.new(/^(?!.*__)[a-z][0-9a-z_]*$/)
|
|
72
72
|
if @api_client.config.client_side_validation && name !~ pattern
|
|
73
73
|
fail ArgumentError, "invalid value for 'name' when calling PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.create, must conform to the pattern #{pattern}."
|
|
74
74
|
end
|
|
@@ -414,7 +414,7 @@ module PulpAnsibleClient
|
|
|
414
414
|
fail ArgumentError, 'invalid value for "opts[:"name2"]" when calling PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.partial_update, the character length must be great than or equal to 3.'
|
|
415
415
|
end
|
|
416
416
|
|
|
417
|
-
pattern = Regexp.new(/^(?!.*__)[a-z]
|
|
417
|
+
pattern = Regexp.new(/^(?!.*__)[a-z][0-9a-z_]*$/)
|
|
418
418
|
if @api_client.config.client_side_validation && !opts[:'name2'].nil? && opts[:'name2'] !~ pattern
|
|
419
419
|
fail ArgumentError, "invalid value for 'opts[:\"name2\"]' when calling PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.partial_update, must conform to the pattern #{pattern}."
|
|
420
420
|
end
|
|
@@ -139,7 +139,7 @@ module PulpAnsibleClient
|
|
|
139
139
|
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 3.')
|
|
140
140
|
end
|
|
141
141
|
|
|
142
|
-
pattern = Regexp.new(/^(?!.*__)[a-z]
|
|
142
|
+
pattern = Regexp.new(/^(?!.*__)[a-z][0-9a-z_]*$/)
|
|
143
143
|
if @name !~ pattern
|
|
144
144
|
invalid_properties.push("invalid value for \"name\", must conform to the pattern #{pattern}.")
|
|
145
145
|
end
|
|
@@ -166,7 +166,7 @@ module PulpAnsibleClient
|
|
|
166
166
|
return false if @name.nil?
|
|
167
167
|
return false if @name.to_s.length > 64
|
|
168
168
|
return false if @name.to_s.length < 3
|
|
169
|
-
return false if @name !~ Regexp.new(/^(?!.*__)[a-z]
|
|
169
|
+
return false if @name !~ Regexp.new(/^(?!.*__)[a-z][0-9a-z_]*$/)
|
|
170
170
|
return false if !@company.nil? && @company.to_s.length > 64
|
|
171
171
|
return false if !@email.nil? && @email.to_s.length > 256
|
|
172
172
|
return false if !@description.nil? && @description.to_s.length > 256
|
|
@@ -188,7 +188,7 @@ module PulpAnsibleClient
|
|
|
188
188
|
fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 3.'
|
|
189
189
|
end
|
|
190
190
|
|
|
191
|
-
pattern = Regexp.new(/^(?!.*__)[a-z]
|
|
191
|
+
pattern = Regexp.new(/^(?!.*__)[a-z][0-9a-z_]*$/)
|
|
192
192
|
if name !~ pattern
|
|
193
193
|
fail ArgumentError, "invalid value for \"name\", must conform to the pattern #{pattern}."
|
|
194
194
|
end
|
|
@@ -164,7 +164,7 @@ module PulpAnsibleClient
|
|
|
164
164
|
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 3.')
|
|
165
165
|
end
|
|
166
166
|
|
|
167
|
-
pattern = Regexp.new(/^(?!.*__)[a-z]
|
|
167
|
+
pattern = Regexp.new(/^(?!.*__)[a-z][0-9a-z_]*$/)
|
|
168
168
|
if @name !~ pattern
|
|
169
169
|
invalid_properties.push("invalid value for \"name\", must conform to the pattern #{pattern}.")
|
|
170
170
|
end
|
|
@@ -195,7 +195,7 @@ module PulpAnsibleClient
|
|
|
195
195
|
return false if @name.nil?
|
|
196
196
|
return false if @name.to_s.length > 64
|
|
197
197
|
return false if @name.to_s.length < 3
|
|
198
|
-
return false if @name !~ Regexp.new(/^(?!.*__)[a-z]
|
|
198
|
+
return false if @name !~ Regexp.new(/^(?!.*__)[a-z][0-9a-z_]*$/)
|
|
199
199
|
return false if !@company.nil? && @company.to_s.length > 64
|
|
200
200
|
return false if !@email.nil? && @email.to_s.length > 256
|
|
201
201
|
return false if !@description.nil? && @description.to_s.length > 256
|
|
@@ -218,7 +218,7 @@ module PulpAnsibleClient
|
|
|
218
218
|
fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 3.'
|
|
219
219
|
end
|
|
220
220
|
|
|
221
|
-
pattern = Regexp.new(/^(?!.*__)[a-z]
|
|
221
|
+
pattern = Regexp.new(/^(?!.*__)[a-z][0-9a-z_]*$/)
|
|
222
222
|
if name !~ pattern
|
|
223
223
|
fail ArgumentError, "invalid value for \"name\", must conform to the pattern #{pattern}."
|
|
224
224
|
end
|