pulp_ansible_client 0.24.8 → 0.24.9
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 +28 -28
- data/docs/AnsibleRole.md +2 -2
- data/docs/AnsibleRoleResponse.md +6 -6
- data/docs/ContentCollectionVersionsApi.md +8 -8
- data/docs/PatchedansibleGitRemote.md +28 -28
- data/docs/RemotesGitApi.md +2 -2
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +12 -12
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +31 -31
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +242 -242
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +158 -158
- data/lib/pulp_ansible_client/models/ansible_role.rb +13 -13
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +33 -33
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +239 -239
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/content_collection_versions_api_spec.rb +4 -4
- data/spec/models/ansible_collection_version_response_spec.rb +6 -6
- data/spec/models/ansible_git_remote_response_spec.rb +20 -20
- data/spec/models/ansible_git_remote_spec.rb +19 -19
- data/spec/models/ansible_role_response_spec.rb +6 -6
- data/spec/models/ansible_role_spec.rb +3 -3
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- metadata +125 -125
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f11d693088e93645b5b5cda7815cc502dbdebe7fd47d9677c7f06210af0b524f
|
|
4
|
+
data.tar.gz: c81a3fa0ebc44d13076048a673ac4fed44a164a4a5f316635062af31a1c7b5a8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 14fb4ea10695dc384c6826353ed83fed344b08f7bc2f761d9be5d38f347cb6327d26d61855b030225105f9bd386906c65393e46182445cd9e32cd8530e5e0219
|
|
7
|
+
data.tar.gz: 478473b3e3560f80c067705c44751c1008d7e7e2c95ce9e6e9fc87a74b91079763e2d5a06215a302760e5272422a187c7a5dfeab4adcd1a45c69d3bd702cf1c8
|
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.9
|
|
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.9.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.9.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.9'
|
|
38
38
|
|
|
39
39
|
### Install from Git
|
|
40
40
|
|
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
8
|
+
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
|
7
9
|
| **pulp_href** | **String** | | [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
10
|
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
11
|
+
| **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] |
|
|
10
12
|
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
11
|
-
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
|
12
|
-
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
13
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
|
+
pulp_created: null,
|
|
41
|
+
artifact: null,
|
|
40
42
|
pulp_href: null,
|
|
41
|
-
pulp_last_updated: null,
|
|
42
43
|
prn: null,
|
|
44
|
+
pulp_last_updated: null,
|
|
43
45
|
pulp_labels: null,
|
|
44
|
-
artifact: null,
|
|
45
|
-
pulp_created: 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
|
-
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
8
|
-
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
9
|
-
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
10
|
-
| **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
|
-
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
12
7
|
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
13
|
-
| **
|
|
8
|
+
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
14
9
|
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
15
|
-
| **url** | **String** | The URL of an external content source. | |
|
|
16
|
-
| **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
17
|
-
| **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
18
|
-
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
|
19
|
-
| **name** | **String** | A unique name for this remote. | |
|
|
20
|
-
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
|
21
10
|
| **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
|
|
22
|
-
| **
|
|
11
|
+
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
|
12
|
+
| **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
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] |
|
|
23
14
|
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
15
|
+
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
16
|
+
| **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
17
|
+
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
24
18
|
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
25
|
-
| **
|
|
19
|
+
| **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
|
|
26
20
|
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
21
|
+
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
22
|
+
| **name** | **String** | A unique name for this remote. | |
|
|
23
|
+
| **url** | **String** | The URL of an external content source. | |
|
|
24
|
+
| **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] |
|
|
25
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
26
|
+
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
|
27
27
|
| **metadata_only** | **Boolean** | If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. | [optional] |
|
|
28
28
|
| **git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional] |
|
|
29
29
|
|
|
@@ -33,26 +33,26 @@
|
|
|
33
33
|
require 'pulp_ansible_client'
|
|
34
34
|
|
|
35
35
|
instance = PulpAnsibleClient::AnsibleGitRemote.new(
|
|
36
|
-
rate_limit: null,
|
|
37
|
-
headers: null,
|
|
38
|
-
proxy_url: null,
|
|
39
|
-
sock_read_timeout: null,
|
|
40
|
-
client_cert: null,
|
|
41
36
|
ca_cert: null,
|
|
42
|
-
|
|
37
|
+
client_cert: null,
|
|
43
38
|
proxy_password: null,
|
|
44
|
-
url: null,
|
|
45
|
-
connect_timeout: null,
|
|
46
|
-
total_timeout: null,
|
|
47
|
-
username: null,
|
|
48
|
-
name: null,
|
|
49
|
-
max_retries: null,
|
|
50
39
|
proxy_username: null,
|
|
51
|
-
|
|
40
|
+
username: null,
|
|
41
|
+
sock_read_timeout: null,
|
|
42
|
+
total_timeout: null,
|
|
52
43
|
tls_validation: null,
|
|
44
|
+
headers: null,
|
|
45
|
+
connect_timeout: null,
|
|
46
|
+
proxy_url: null,
|
|
53
47
|
password: null,
|
|
54
|
-
|
|
48
|
+
client_key: null,
|
|
55
49
|
download_concurrency: null,
|
|
50
|
+
rate_limit: null,
|
|
51
|
+
name: null,
|
|
52
|
+
url: null,
|
|
53
|
+
sock_connect_timeout: null,
|
|
54
|
+
pulp_labels: null,
|
|
55
|
+
max_retries: null,
|
|
56
56
|
metadata_only: null,
|
|
57
57
|
git_ref: null
|
|
58
58
|
)
|
|
@@ -4,26 +4,26 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **
|
|
7
|
+
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
8
|
+
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
9
|
+
| **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
10
|
+
| **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
11
|
+
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
12
|
+
| **hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFieldsInner>**](AnsibleCollectionRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional][readonly] |
|
|
8
13
|
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
14
|
+
| **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] |
|
|
15
|
+
| **pulp_href** | **String** | | [optional][readonly] |
|
|
9
16
|
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
10
|
-
| **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
17
|
| **pulp_last_updated** | **Time** | Timestamp of the most recent update of the remote. | [optional][readonly] |
|
|
12
|
-
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
13
|
-
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
14
|
-
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
15
18
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
16
|
-
| **
|
|
17
|
-
| **
|
|
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
|
-
| **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] |
|
|
19
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
20
|
+
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
20
21
|
| **name** | **String** | A unique name for this remote. | |
|
|
21
|
-
| **
|
|
22
|
-
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
23
|
-
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
22
|
+
| **url** | **String** | The URL of an external content source. | |
|
|
24
23
|
| **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] |
|
|
25
|
-
| **
|
|
26
|
-
| **
|
|
24
|
+
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
25
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
26
|
+
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
|
27
27
|
| **metadata_only** | **Boolean** | If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. | [optional] |
|
|
28
28
|
| **git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional] |
|
|
29
29
|
|
|
@@ -33,26 +33,26 @@
|
|
|
33
33
|
require 'pulp_ansible_client'
|
|
34
34
|
|
|
35
35
|
instance = PulpAnsibleClient::AnsibleGitRemoteResponse.new(
|
|
36
|
-
|
|
36
|
+
ca_cert: null,
|
|
37
|
+
client_cert: null,
|
|
38
|
+
sock_read_timeout: null,
|
|
39
|
+
total_timeout: null,
|
|
40
|
+
tls_validation: null,
|
|
41
|
+
hidden_fields: null,
|
|
37
42
|
headers: null,
|
|
43
|
+
connect_timeout: null,
|
|
44
|
+
pulp_href: null,
|
|
38
45
|
proxy_url: null,
|
|
39
|
-
sock_read_timeout: null,
|
|
40
46
|
pulp_last_updated: null,
|
|
41
|
-
prn: null,
|
|
42
|
-
client_cert: null,
|
|
43
|
-
ca_cert: null,
|
|
44
47
|
pulp_created: null,
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
connect_timeout: null,
|
|
48
|
-
total_timeout: null,
|
|
48
|
+
download_concurrency: null,
|
|
49
|
+
rate_limit: null,
|
|
49
50
|
name: null,
|
|
50
|
-
|
|
51
|
-
pulp_labels: null,
|
|
52
|
-
tls_validation: null,
|
|
51
|
+
url: null,
|
|
53
52
|
sock_connect_timeout: null,
|
|
54
|
-
|
|
55
|
-
|
|
53
|
+
prn: null,
|
|
54
|
+
pulp_labels: null,
|
|
55
|
+
max_retries: null,
|
|
56
56
|
metadata_only: null,
|
|
57
57
|
git_ref: null
|
|
58
58
|
)
|
data/docs/AnsibleRole.md
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
8
7
|
| **artifact** | **String** | Artifact file representing the physical content | |
|
|
9
8
|
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
|
9
|
+
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
10
10
|
| **version** | **String** | | |
|
|
11
11
|
| **name** | **String** | | |
|
|
12
12
|
| **namespace** | **String** | | |
|
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
require 'pulp_ansible_client'
|
|
18
18
|
|
|
19
19
|
instance = PulpAnsibleClient::AnsibleRole.new(
|
|
20
|
-
pulp_labels: null,
|
|
21
20
|
artifact: null,
|
|
22
21
|
repository: null,
|
|
22
|
+
pulp_labels: null,
|
|
23
23
|
version: null,
|
|
24
24
|
name: null,
|
|
25
25
|
namespace: null
|
data/docs/AnsibleRoleResponse.md
CHANGED
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
8
|
+
| **artifact** | **String** | Artifact file representing the physical content | |
|
|
7
9
|
| **pulp_href** | **String** | | [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
10
|
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
11
|
+
| **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] |
|
|
10
12
|
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
11
|
-
| **artifact** | **String** | Artifact file representing the physical content | |
|
|
12
|
-
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
13
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
|
+
pulp_created: null,
|
|
24
|
+
artifact: null,
|
|
23
25
|
pulp_href: null,
|
|
24
|
-
pulp_last_updated: null,
|
|
25
26
|
prn: null,
|
|
27
|
+
pulp_last_updated: null,
|
|
26
28
|
pulp_labels: null,
|
|
27
|
-
artifact: null,
|
|
28
|
-
pulp_created: null,
|
|
29
29
|
version: null,
|
|
30
30
|
name: null,
|
|
31
31
|
namespace: null
|
|
@@ -34,12 +34,12 @@ end
|
|
|
34
34
|
api_instance = PulpAnsibleClient::ContentCollectionVersionsApi.new
|
|
35
35
|
opts = {
|
|
36
36
|
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
37
|
-
upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
|
|
38
|
-
file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
|
|
39
|
-
file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
|
|
40
|
-
pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
41
37
|
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
|
38
|
+
file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
|
|
39
|
+
upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
|
|
42
40
|
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
|
41
|
+
pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
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.
|
|
@@ -77,12 +77,12 @@ end
|
|
|
77
77
|
| Name | Type | Description | Notes |
|
|
78
78
|
| ---- | ---- | ----------- | ----- |
|
|
79
79
|
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
80
|
-
| **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
|
|
81
|
-
| **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
|
|
82
|
-
| **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional] |
|
|
83
|
-
| **pulp_labels** | [**Hash<String, String>**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
84
80
|
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
|
81
|
+
| **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
|
|
82
|
+
| **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
|
|
85
83
|
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
|
84
|
+
| **pulp_labels** | [**Hash<String, String>**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
85
|
+
| **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
|
-
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
8
|
-
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
9
|
-
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
10
|
-
| **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
|
-
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
12
7
|
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
13
|
-
| **
|
|
8
|
+
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
14
9
|
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
15
|
-
| **url** | **String** | The URL of an external content source. | [optional] |
|
|
16
|
-
| **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
17
|
-
| **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
18
|
-
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
|
19
|
-
| **name** | **String** | A unique name for this remote. | [optional] |
|
|
20
|
-
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
|
21
10
|
| **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
|
|
22
|
-
| **
|
|
11
|
+
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
|
12
|
+
| **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
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] |
|
|
23
14
|
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
15
|
+
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
16
|
+
| **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
17
|
+
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
24
18
|
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
25
|
-
| **
|
|
19
|
+
| **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
|
|
26
20
|
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
21
|
+
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
22
|
+
| **name** | **String** | A unique name for this remote. | [optional] |
|
|
23
|
+
| **url** | **String** | The URL of an external content source. | [optional] |
|
|
24
|
+
| **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] |
|
|
25
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
26
|
+
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
|
27
27
|
| **metadata_only** | **Boolean** | If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. | [optional] |
|
|
28
28
|
| **git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional] |
|
|
29
29
|
|
|
@@ -33,26 +33,26 @@
|
|
|
33
33
|
require 'pulp_ansible_client'
|
|
34
34
|
|
|
35
35
|
instance = PulpAnsibleClient::PatchedansibleGitRemote.new(
|
|
36
|
-
rate_limit: null,
|
|
37
|
-
headers: null,
|
|
38
|
-
proxy_url: null,
|
|
39
|
-
sock_read_timeout: null,
|
|
40
|
-
client_cert: null,
|
|
41
36
|
ca_cert: null,
|
|
42
|
-
|
|
37
|
+
client_cert: null,
|
|
43
38
|
proxy_password: null,
|
|
44
|
-
url: null,
|
|
45
|
-
connect_timeout: null,
|
|
46
|
-
total_timeout: null,
|
|
47
|
-
username: null,
|
|
48
|
-
name: null,
|
|
49
|
-
max_retries: null,
|
|
50
39
|
proxy_username: null,
|
|
51
|
-
|
|
40
|
+
username: null,
|
|
41
|
+
sock_read_timeout: null,
|
|
42
|
+
total_timeout: null,
|
|
52
43
|
tls_validation: null,
|
|
44
|
+
headers: null,
|
|
45
|
+
connect_timeout: null,
|
|
46
|
+
proxy_url: null,
|
|
53
47
|
password: null,
|
|
54
|
-
|
|
48
|
+
client_key: null,
|
|
55
49
|
download_concurrency: null,
|
|
50
|
+
rate_limit: null,
|
|
51
|
+
name: null,
|
|
52
|
+
url: null,
|
|
53
|
+
sock_connect_timeout: null,
|
|
54
|
+
pulp_labels: null,
|
|
55
|
+
max_retries: 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
|
}
|
|
@@ -23,12 +23,12 @@ module PulpAnsibleClient
|
|
|
23
23
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
|
25
25
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
26
|
-
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
27
|
-
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
28
|
-
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
|
29
|
-
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
30
26
|
# @option opts [String] :artifact Artifact file representing the physical content
|
|
27
|
+
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
28
|
+
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
31
29
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
30
|
+
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
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.
|
|
@@ -42,12 +42,12 @@ module PulpAnsibleClient
|
|
|
42
42
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
|
43
43
|
# @param [Hash] opts the optional parameters
|
|
44
44
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
45
|
-
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
46
|
-
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
47
|
-
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
|
48
|
-
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
49
45
|
# @option opts [String] :artifact Artifact file representing the physical content
|
|
46
|
+
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
47
|
+
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
50
48
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
49
|
+
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
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.
|
|
@@ -103,12 +103,12 @@ module PulpAnsibleClient
|
|
|
103
103
|
|
|
104
104
|
# form parameters
|
|
105
105
|
form_params = opts[:form_params] || {}
|
|
106
|
-
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
|
107
|
-
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
|
108
|
-
form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
|
|
109
|
-
form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
|
|
110
106
|
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
|
107
|
+
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
|
108
|
+
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
|
111
109
|
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
|
110
|
+
form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].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?
|
|
@@ -16,23 +16,23 @@ require 'time'
|
|
|
16
16
|
module PulpAnsibleClient
|
|
17
17
|
# A serializer for CollectionVersion Content.
|
|
18
18
|
class AnsibleCollectionVersionResponse
|
|
19
|
-
|
|
19
|
+
# Timestamp of creation.
|
|
20
|
+
attr_accessor :pulp_created
|
|
20
21
|
|
|
21
|
-
#
|
|
22
|
-
attr_accessor :
|
|
22
|
+
# Artifact file representing the physical content
|
|
23
|
+
attr_accessor :artifact
|
|
24
|
+
|
|
25
|
+
attr_accessor :pulp_href
|
|
23
26
|
|
|
24
27
|
# The Pulp Resource Name (PRN).
|
|
25
28
|
attr_accessor :prn
|
|
26
29
|
|
|
30
|
+
# 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.
|
|
31
|
+
attr_accessor :pulp_last_updated
|
|
32
|
+
|
|
27
33
|
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
28
34
|
attr_accessor :pulp_labels
|
|
29
35
|
|
|
30
|
-
# Artifact file representing the physical content
|
|
31
|
-
attr_accessor :artifact
|
|
32
|
-
|
|
33
|
-
# Timestamp of creation.
|
|
34
|
-
attr_accessor :pulp_created
|
|
35
|
-
|
|
36
36
|
# The SHA-256 checksum if available.
|
|
37
37
|
attr_accessor :sha256
|
|
38
38
|
|
|
@@ -95,12 +95,12 @@ module PulpAnsibleClient
|
|
|
95
95
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
96
96
|
def self.attribute_map
|
|
97
97
|
{
|
|
98
|
+
:'pulp_created' => :'pulp_created',
|
|
99
|
+
:'artifact' => :'artifact',
|
|
98
100
|
:'pulp_href' => :'pulp_href',
|
|
99
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
|
100
101
|
:'prn' => :'prn',
|
|
102
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
101
103
|
:'pulp_labels' => :'pulp_labels',
|
|
102
|
-
:'artifact' => :'artifact',
|
|
103
|
-
:'pulp_created' => :'pulp_created',
|
|
104
104
|
:'sha256' => :'sha256',
|
|
105
105
|
:'md5' => :'md5',
|
|
106
106
|
:'sha1' => :'sha1',
|
|
@@ -132,12 +132,12 @@ module PulpAnsibleClient
|
|
|
132
132
|
# Attribute type mapping.
|
|
133
133
|
def self.openapi_types
|
|
134
134
|
{
|
|
135
|
+
:'pulp_created' => :'Time',
|
|
136
|
+
:'artifact' => :'String',
|
|
135
137
|
:'pulp_href' => :'String',
|
|
136
|
-
:'pulp_last_updated' => :'Time',
|
|
137
138
|
:'prn' => :'String',
|
|
139
|
+
:'pulp_last_updated' => :'Time',
|
|
138
140
|
:'pulp_labels' => :'Hash<String, String>',
|
|
139
|
-
:'artifact' => :'String',
|
|
140
|
-
:'pulp_created' => :'Time',
|
|
141
141
|
:'sha256' => :'String',
|
|
142
142
|
:'md5' => :'String',
|
|
143
143
|
:'sha1' => :'String',
|
|
@@ -183,32 +183,32 @@ module PulpAnsibleClient
|
|
|
183
183
|
h[k.to_sym] = v
|
|
184
184
|
}
|
|
185
185
|
|
|
186
|
-
if attributes.key?(:'
|
|
187
|
-
self.
|
|
186
|
+
if attributes.key?(:'pulp_created')
|
|
187
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
188
188
|
end
|
|
189
189
|
|
|
190
|
-
if attributes.key?(:'
|
|
191
|
-
self.
|
|
190
|
+
if attributes.key?(:'artifact')
|
|
191
|
+
self.artifact = attributes[:'artifact']
|
|
192
|
+
end
|
|
193
|
+
|
|
194
|
+
if attributes.key?(:'pulp_href')
|
|
195
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
192
196
|
end
|
|
193
197
|
|
|
194
198
|
if attributes.key?(:'prn')
|
|
195
199
|
self.prn = attributes[:'prn']
|
|
196
200
|
end
|
|
197
201
|
|
|
202
|
+
if attributes.key?(:'pulp_last_updated')
|
|
203
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
204
|
+
end
|
|
205
|
+
|
|
198
206
|
if attributes.key?(:'pulp_labels')
|
|
199
207
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
200
208
|
self.pulp_labels = value
|
|
201
209
|
end
|
|
202
210
|
end
|
|
203
211
|
|
|
204
|
-
if attributes.key?(:'artifact')
|
|
205
|
-
self.artifact = attributes[:'artifact']
|
|
206
|
-
end
|
|
207
|
-
|
|
208
|
-
if attributes.key?(:'pulp_created')
|
|
209
|
-
self.pulp_created = attributes[:'pulp_created']
|
|
210
|
-
end
|
|
211
|
-
|
|
212
212
|
if attributes.key?(:'sha256')
|
|
213
213
|
self.sha256 = attributes[:'sha256']
|
|
214
214
|
end
|
|
@@ -464,12 +464,12 @@ module PulpAnsibleClient
|
|
|
464
464
|
def ==(o)
|
|
465
465
|
return true if self.equal?(o)
|
|
466
466
|
self.class == o.class &&
|
|
467
|
+
pulp_created == o.pulp_created &&
|
|
468
|
+
artifact == o.artifact &&
|
|
467
469
|
pulp_href == o.pulp_href &&
|
|
468
|
-
pulp_last_updated == o.pulp_last_updated &&
|
|
469
470
|
prn == o.prn &&
|
|
471
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
470
472
|
pulp_labels == o.pulp_labels &&
|
|
471
|
-
artifact == o.artifact &&
|
|
472
|
-
pulp_created == o.pulp_created &&
|
|
473
473
|
sha256 == o.sha256 &&
|
|
474
474
|
md5 == o.md5 &&
|
|
475
475
|
sha1 == o.sha1 &&
|
|
@@ -501,7 +501,7 @@ module PulpAnsibleClient
|
|
|
501
501
|
# Calculates hash code according to all attributes.
|
|
502
502
|
# @return [Integer] Hash code
|
|
503
503
|
def hash
|
|
504
|
-
[
|
|
504
|
+
[pulp_created, artifact, pulp_href, prn, pulp_last_updated, pulp_labels, sha256, md5, sha1, sha224, sha384, sha512, id, authors, dependencies, description, documentation, homepage, issues, license, name, namespace, origin_repository, tags, version, requires_ansible].hash
|
|
505
505
|
end
|
|
506
506
|
|
|
507
507
|
# Builds the object from hash
|