pulp_ansible_client 0.22.5 → 0.22.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/AnsibleCollectionVersion.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 +3 -3
- data/docs/AnsibleRoleResponse.md +6 -6
- data/docs/ContentCollectionVersionsApi.md +4 -4
- data/docs/PatchedansibleGitRemote.md +28 -28
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +6 -6
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +21 -21
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +24 -24
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +231 -231
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +139 -139
- data/lib/pulp_ansible_client/models/ansible_role.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +24 -24
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +226 -226
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/content_collection_versions_api_spec.rb +2 -2
- data/spec/models/ansible_collection_version_response_spec.rb +5 -5
- data/spec/models/ansible_collection_version_spec.rb +4 -4
- data/spec/models/ansible_git_remote_response_spec.rb +20 -20
- data/spec/models/ansible_git_remote_spec.rb +18 -18
- data/spec/models/ansible_role_response_spec.rb +5 -5
- data/spec/models/ansible_role_spec.rb +2 -2
- data/spec/models/patchedansible_git_remote_spec.rb +18 -18
- 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: db797ed2b1224564f0ed14938f4267f984ee5b06caba85be9f302db8fbbdecb1
|
|
4
|
+
data.tar.gz: 3d2366a775676edae742aad9dffcb4718aef19156210d220b3e26686c3255f95
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f22074f09602fc73e54bd1eee3985d1af18b760e91f8a14472a29b4caadbd3eb3c756a2fc39f81ed662cd09775305a228c7d5f67b95b78234ff040adefcb1c68
|
|
7
|
+
data.tar.gz: 67d5978577313d30c0c74926e960944a04a516e644d71b804da1125a0d65ef23581ca939956c3ac6c7b0522397a348e3179182dfc07d20ac40baf3864019ff98
|
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.22.
|
|
10
|
+
- Package version: 0.22.7
|
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
12
12
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
|
13
13
|
|
|
@@ -24,16 +24,16 @@ gem build pulp_ansible_client.gemspec
|
|
|
24
24
|
Then either install the gem locally:
|
|
25
25
|
|
|
26
26
|
```shell
|
|
27
|
-
gem install ./pulp_ansible_client-0.22.
|
|
27
|
+
gem install ./pulp_ansible_client-0.22.7.gem
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
(for development, run `gem install --dev ./pulp_ansible_client-0.22.
|
|
30
|
+
(for development, run `gem install --dev ./pulp_ansible_client-0.22.7.gem` to install the development dependencies)
|
|
31
31
|
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
33
33
|
|
|
34
34
|
Finally add this to the Gemfile:
|
|
35
35
|
|
|
36
|
-
gem 'pulp_ansible_client', '~> 0.22.
|
|
36
|
+
gem 'pulp_ansible_client', '~> 0.22.7'
|
|
37
37
|
|
|
38
38
|
### Install from Git
|
|
39
39
|
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**file** | **File** | An uploaded file that may be turned into the content unit. | [optional]
|
|
8
|
-
**artifact** | **String** | Artifact file representing the physical content | [optional]
|
|
9
8
|
**upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional]
|
|
10
|
-
**file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional]
|
|
11
9
|
**repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
|
|
10
|
+
**artifact** | **String** | Artifact file representing the physical content | [optional]
|
|
11
|
+
**file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional]
|
|
12
12
|
**expected_name** | **String** | The name of the collection. | [optional]
|
|
13
13
|
**expected_namespace** | **String** | The namespace of the collection. | [optional]
|
|
14
14
|
**expected_version** | **String** | The version of the collection. | [optional]
|
|
@@ -19,10 +19,10 @@ Name | Type | Description | Notes
|
|
|
19
19
|
require 'PulpAnsibleClient'
|
|
20
20
|
|
|
21
21
|
instance = PulpAnsibleClient::AnsibleCollectionVersion.new(file: null,
|
|
22
|
-
artifact: null,
|
|
23
22
|
upload: null,
|
|
24
|
-
file_url: null,
|
|
25
23
|
repository: null,
|
|
24
|
+
artifact: null,
|
|
25
|
+
file_url: null,
|
|
26
26
|
expected_name: null,
|
|
27
27
|
expected_namespace: null,
|
|
28
28
|
expected_version: null)
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**
|
|
8
|
-
**pulp_last_updated** | **DateTime** | 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]
|
|
7
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
|
9
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
10
9
|
**artifact** | **String** | Artifact file representing the physical content | [optional]
|
|
11
|
-
**
|
|
10
|
+
**pulp_last_updated** | **DateTime** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional] [readonly]
|
|
11
|
+
**prn** | **String** | The Pulp Resource Name (PRN). | [optional] [readonly]
|
|
12
12
|
**sha256** | **String** | The SHA-256 checksum if available. | [optional] [readonly]
|
|
13
13
|
**md5** | **String** | The MD5 checksum if available. | [optional] [readonly]
|
|
14
14
|
**sha1** | **String** | The SHA-1 checksum if available. | [optional] [readonly]
|
|
@@ -39,11 +39,11 @@ Name | Type | Description | Notes
|
|
|
39
39
|
```ruby
|
|
40
40
|
require 'PulpAnsibleClient'
|
|
41
41
|
|
|
42
|
-
instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(
|
|
43
|
-
pulp_last_updated: null,
|
|
42
|
+
instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(pulp_href: null,
|
|
44
43
|
pulp_created: null,
|
|
45
44
|
artifact: null,
|
|
46
|
-
|
|
45
|
+
pulp_last_updated: null,
|
|
46
|
+
prn: null,
|
|
47
47
|
sha256: null,
|
|
48
48
|
md5: null,
|
|
49
49
|
sha1: null,
|
data/docs/AnsibleGitRemote.md
CHANGED
|
@@ -4,26 +4,26 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**
|
|
8
|
-
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
9
|
-
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [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
|
-
**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]
|
|
7
|
+
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
|
12
8
|
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
|
13
|
-
**
|
|
9
|
+
**proxy_username** | **String** | The username to authenticte to the proxy. | [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]
|
|
14
11
|
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
|
15
|
-
**
|
|
12
|
+
**url** | **String** | The URL of an external content source. |
|
|
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]
|
|
16
14
|
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
|
17
|
-
**
|
|
18
|
-
**proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
|
19
|
-
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
|
20
|
-
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
|
15
|
+
**name** | **String** | A unique name for this remote. |
|
|
21
16
|
**password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
|
22
|
-
**
|
|
17
|
+
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
|
18
|
+
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
|
23
19
|
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
|
24
|
-
**
|
|
20
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
25
21
|
**client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
|
|
26
|
-
**
|
|
22
|
+
**proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
|
23
|
+
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
|
24
|
+
**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]
|
|
25
|
+
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
|
26
|
+
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value 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
|
|
|
@@ -32,26 +32,26 @@ Name | Type | Description | Notes
|
|
|
32
32
|
```ruby
|
|
33
33
|
require 'PulpAnsibleClient'
|
|
34
34
|
|
|
35
|
-
instance = PulpAnsibleClient::AnsibleGitRemote.new(
|
|
36
|
-
pulp_labels: null,
|
|
37
|
-
ca_cert: null,
|
|
38
|
-
total_timeout: null,
|
|
39
|
-
sock_read_timeout: null,
|
|
35
|
+
instance = PulpAnsibleClient::AnsibleGitRemote.new(tls_validation: null,
|
|
40
36
|
username: null,
|
|
41
|
-
|
|
37
|
+
proxy_username: null,
|
|
38
|
+
sock_read_timeout: null,
|
|
42
39
|
sock_connect_timeout: null,
|
|
43
|
-
|
|
40
|
+
url: null,
|
|
41
|
+
total_timeout: null,
|
|
44
42
|
max_retries: null,
|
|
45
|
-
|
|
46
|
-
proxy_password: null,
|
|
47
|
-
rate_limit: null,
|
|
48
|
-
tls_validation: null,
|
|
43
|
+
name: null,
|
|
49
44
|
password: null,
|
|
50
|
-
|
|
45
|
+
rate_limit: null,
|
|
46
|
+
client_cert: null,
|
|
51
47
|
headers: null,
|
|
52
|
-
|
|
48
|
+
pulp_labels: null,
|
|
53
49
|
client_key: null,
|
|
54
|
-
|
|
50
|
+
proxy_password: null,
|
|
51
|
+
proxy_url: null,
|
|
52
|
+
connect_timeout: null,
|
|
53
|
+
ca_cert: null,
|
|
54
|
+
download_concurrency: null,
|
|
55
55
|
metadata_only: null,
|
|
56
56
|
git_ref: null)
|
|
57
57
|
```
|
|
@@ -4,26 +4,26 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**
|
|
8
|
-
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
9
|
-
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [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
|
-
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
|
7
|
+
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
|
12
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]
|
|
13
|
-
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
|
14
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
15
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]
|
|
16
|
-
**
|
|
10
|
+
**url** | **String** | The URL of an external content source. |
|
|
17
11
|
**hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFields>**](AnsibleCollectionRemoteResponseHiddenFields.md) | List of hidden (write only) fields | [optional] [readonly]
|
|
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]
|
|
18
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]
|
|
14
|
+
**name** | **String** | A unique name for this remote. |
|
|
15
|
+
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
|
19
16
|
**prn** | **String** | The Pulp Resource Name (PRN). | [optional] [readonly]
|
|
20
|
-
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
|
21
17
|
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
|
22
|
-
**
|
|
23
|
-
**url** | **String** | The URL of an external content source. |
|
|
24
|
-
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
|
18
|
+
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
|
25
19
|
**pulp_href** | **String** | | [optional] [readonly]
|
|
20
|
+
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
|
21
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
22
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
23
|
+
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
|
26
24
|
**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]
|
|
25
|
+
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
|
26
|
+
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value 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
|
|
|
@@ -32,26 +32,26 @@ Name | Type | Description | Notes
|
|
|
32
32
|
```ruby
|
|
33
33
|
require 'PulpAnsibleClient'
|
|
34
34
|
|
|
35
|
-
instance = PulpAnsibleClient::AnsibleGitRemoteResponse.new(
|
|
36
|
-
pulp_labels: null,
|
|
37
|
-
ca_cert: null,
|
|
38
|
-
total_timeout: null,
|
|
39
|
-
pulp_last_updated: null,
|
|
35
|
+
instance = PulpAnsibleClient::AnsibleGitRemoteResponse.new(tls_validation: null,
|
|
40
36
|
sock_read_timeout: null,
|
|
41
|
-
client_cert: null,
|
|
42
|
-
pulp_created: null,
|
|
43
37
|
sock_connect_timeout: null,
|
|
44
|
-
|
|
38
|
+
url: null,
|
|
45
39
|
hidden_fields: null,
|
|
40
|
+
total_timeout: null,
|
|
46
41
|
max_retries: null,
|
|
42
|
+
name: null,
|
|
43
|
+
pulp_last_updated: null,
|
|
47
44
|
prn: null,
|
|
48
|
-
download_concurrency: null,
|
|
49
45
|
rate_limit: null,
|
|
50
|
-
|
|
51
|
-
url: null,
|
|
52
|
-
headers: null,
|
|
46
|
+
client_cert: null,
|
|
53
47
|
pulp_href: null,
|
|
48
|
+
headers: null,
|
|
49
|
+
pulp_labels: null,
|
|
50
|
+
pulp_created: null,
|
|
51
|
+
proxy_url: null,
|
|
54
52
|
connect_timeout: null,
|
|
53
|
+
ca_cert: null,
|
|
54
|
+
download_concurrency: null,
|
|
55
55
|
metadata_only: null,
|
|
56
56
|
git_ref: null)
|
|
57
57
|
```
|
data/docs/AnsibleRole.md
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**artifact** | **String** | Artifact file representing the physical content |
|
|
8
7
|
**repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
|
|
8
|
+
**artifact** | **String** | Artifact file representing the physical content |
|
|
9
9
|
**version** | **String** | |
|
|
10
10
|
**name** | **String** | |
|
|
11
11
|
**namespace** | **String** | |
|
|
@@ -15,8 +15,8 @@ Name | Type | Description | Notes
|
|
|
15
15
|
```ruby
|
|
16
16
|
require 'PulpAnsibleClient'
|
|
17
17
|
|
|
18
|
-
instance = PulpAnsibleClient::AnsibleRole.new(
|
|
19
|
-
|
|
18
|
+
instance = PulpAnsibleClient::AnsibleRole.new(repository: null,
|
|
19
|
+
artifact: null,
|
|
20
20
|
version: null,
|
|
21
21
|
name: null,
|
|
22
22
|
namespace: null)
|
data/docs/AnsibleRoleResponse.md
CHANGED
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**
|
|
8
|
-
**pulp_last_updated** | **DateTime** | 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]
|
|
7
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
|
9
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
10
9
|
**artifact** | **String** | Artifact file representing the physical content |
|
|
11
|
-
**
|
|
10
|
+
**pulp_last_updated** | **DateTime** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional] [readonly]
|
|
11
|
+
**prn** | **String** | The Pulp Resource Name (PRN). | [optional] [readonly]
|
|
12
12
|
**version** | **String** | |
|
|
13
13
|
**name** | **String** | |
|
|
14
14
|
**namespace** | **String** | |
|
|
@@ -18,11 +18,11 @@ Name | Type | Description | Notes
|
|
|
18
18
|
```ruby
|
|
19
19
|
require 'PulpAnsibleClient'
|
|
20
20
|
|
|
21
|
-
instance = PulpAnsibleClient::AnsibleRoleResponse.new(
|
|
22
|
-
pulp_last_updated: null,
|
|
21
|
+
instance = PulpAnsibleClient::AnsibleRoleResponse.new(pulp_href: null,
|
|
23
22
|
pulp_created: null,
|
|
24
23
|
artifact: null,
|
|
25
|
-
|
|
24
|
+
pulp_last_updated: null,
|
|
25
|
+
prn: null,
|
|
26
26
|
version: null,
|
|
27
27
|
name: null,
|
|
28
28
|
namespace: null)
|
|
@@ -33,10 +33,10 @@ end
|
|
|
33
33
|
api_instance = PulpAnsibleClient::ContentCollectionVersionsApi.new
|
|
34
34
|
opts = {
|
|
35
35
|
file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the content unit.
|
|
36
|
-
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
|
37
36
|
upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
|
|
38
|
-
file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
|
|
39
37
|
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
|
38
|
+
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
|
39
|
+
file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
|
|
40
40
|
expected_name: 'expected_name_example', # String | The name of the collection.
|
|
41
41
|
expected_namespace: 'expected_namespace_example', # String | The namespace of the collection.
|
|
42
42
|
expected_version: 'expected_version_example' # String | The version of the collection.
|
|
@@ -57,10 +57,10 @@ end
|
|
|
57
57
|
Name | Type | Description | Notes
|
|
58
58
|
------------- | ------------- | ------------- | -------------
|
|
59
59
|
**file** | **File**| An uploaded file that may be turned into the content unit. | [optional]
|
|
60
|
-
**artifact** | **String**| Artifact file representing the physical content | [optional]
|
|
61
60
|
**upload** | **String**| An uncommitted upload that may be turned into the content unit. | [optional]
|
|
62
|
-
**file_url** | **String**| A url that Pulp can download and turn into the content unit. | [optional]
|
|
63
61
|
**repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
|
|
62
|
+
**artifact** | **String**| Artifact file representing the physical content | [optional]
|
|
63
|
+
**file_url** | **String**| A url that Pulp can download and turn into the content unit. | [optional]
|
|
64
64
|
**expected_name** | **String**| The name of the collection. | [optional]
|
|
65
65
|
**expected_namespace** | **String**| The namespace of the collection. | [optional]
|
|
66
66
|
**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
|
-
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
9
|
-
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [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
|
-
**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]
|
|
7
|
+
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
|
12
8
|
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
|
13
|
-
**
|
|
9
|
+
**proxy_username** | **String** | The username to authenticte to the proxy. | [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]
|
|
14
11
|
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
|
15
|
-
**
|
|
12
|
+
**url** | **String** | The URL of an external content source. | [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]
|
|
16
14
|
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
|
17
|
-
**
|
|
18
|
-
**proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
|
19
|
-
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
|
20
|
-
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
|
15
|
+
**name** | **String** | A unique name for this remote. | [optional]
|
|
21
16
|
**password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
|
22
|
-
**
|
|
17
|
+
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
|
18
|
+
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
|
23
19
|
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
|
24
|
-
**
|
|
20
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
25
21
|
**client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
|
|
26
|
-
**
|
|
22
|
+
**proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
|
23
|
+
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
|
24
|
+
**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]
|
|
25
|
+
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
|
26
|
+
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value 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
|
|
|
@@ -32,26 +32,26 @@ Name | Type | Description | Notes
|
|
|
32
32
|
```ruby
|
|
33
33
|
require 'PulpAnsibleClient'
|
|
34
34
|
|
|
35
|
-
instance = PulpAnsibleClient::PatchedansibleGitRemote.new(
|
|
36
|
-
pulp_labels: null,
|
|
37
|
-
ca_cert: null,
|
|
38
|
-
total_timeout: null,
|
|
39
|
-
sock_read_timeout: null,
|
|
35
|
+
instance = PulpAnsibleClient::PatchedansibleGitRemote.new(tls_validation: null,
|
|
40
36
|
username: null,
|
|
41
|
-
|
|
37
|
+
proxy_username: null,
|
|
38
|
+
sock_read_timeout: null,
|
|
42
39
|
sock_connect_timeout: null,
|
|
43
|
-
|
|
40
|
+
url: null,
|
|
41
|
+
total_timeout: null,
|
|
44
42
|
max_retries: null,
|
|
45
|
-
|
|
46
|
-
proxy_password: null,
|
|
47
|
-
rate_limit: null,
|
|
48
|
-
tls_validation: null,
|
|
43
|
+
name: null,
|
|
49
44
|
password: null,
|
|
50
|
-
|
|
45
|
+
rate_limit: null,
|
|
46
|
+
client_cert: null,
|
|
51
47
|
headers: null,
|
|
52
|
-
|
|
48
|
+
pulp_labels: null,
|
|
53
49
|
client_key: null,
|
|
54
|
-
|
|
50
|
+
proxy_password: null,
|
|
51
|
+
proxy_url: null,
|
|
52
|
+
connect_timeout: null,
|
|
53
|
+
ca_cert: null,
|
|
54
|
+
download_concurrency: null,
|
|
55
55
|
metadata_only: null,
|
|
56
56
|
git_ref: null)
|
|
57
57
|
```
|
|
@@ -23,10 +23,10 @@ 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 [File] :file An uploaded file that may be turned into the content unit.
|
|
26
|
-
# @option opts [String] :artifact Artifact file representing the physical content
|
|
27
26
|
# @option opts [String] :upload An uncommitted upload 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
27
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
28
|
+
# @option opts [String] :artifact Artifact file representing the physical content
|
|
29
|
+
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
|
30
30
|
# @option opts [String] :expected_name The name of the collection.
|
|
31
31
|
# @option opts [String] :expected_namespace The namespace of the collection.
|
|
32
32
|
# @option opts [String] :expected_version The version of the collection.
|
|
@@ -40,10 +40,10 @@ module PulpAnsibleClient
|
|
|
40
40
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
|
41
41
|
# @param [Hash] opts the optional parameters
|
|
42
42
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
43
|
-
# @option opts [String] :artifact Artifact file representing the physical content
|
|
44
43
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
45
|
-
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
|
46
44
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
45
|
+
# @option opts [String] :artifact Artifact file representing the physical content
|
|
46
|
+
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
|
47
47
|
# @option opts [String] :expected_name The name of the collection.
|
|
48
48
|
# @option opts [String] :expected_namespace The namespace of the collection.
|
|
49
49
|
# @option opts [String] :expected_version The version of the collection.
|
|
@@ -96,10 +96,10 @@ module PulpAnsibleClient
|
|
|
96
96
|
# form parameters
|
|
97
97
|
form_params = opts[:form_params] || {}
|
|
98
98
|
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
|
99
|
-
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
|
100
99
|
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
|
101
|
-
form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
|
|
102
100
|
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
|
101
|
+
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
|
102
|
+
form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
|
|
103
103
|
form_params['expected_name'] = opts[:'expected_name'] if !opts[:'expected_name'].nil?
|
|
104
104
|
form_params['expected_namespace'] = opts[:'expected_namespace'] if !opts[:'expected_namespace'].nil?
|
|
105
105
|
form_params['expected_version'] = opts[:'expected_version'] if !opts[:'expected_version'].nil?
|
|
@@ -18,18 +18,18 @@ module PulpAnsibleClient
|
|
|
18
18
|
# An uploaded file that may be turned into the content unit.
|
|
19
19
|
attr_accessor :file
|
|
20
20
|
|
|
21
|
-
# Artifact file representing the physical content
|
|
22
|
-
attr_accessor :artifact
|
|
23
|
-
|
|
24
21
|
# An uncommitted upload that may be turned into the content unit.
|
|
25
22
|
attr_accessor :upload
|
|
26
23
|
|
|
27
|
-
# A url that Pulp can download and turn into the content unit.
|
|
28
|
-
attr_accessor :file_url
|
|
29
|
-
|
|
30
24
|
# A URI of a repository the new content unit should be associated with.
|
|
31
25
|
attr_accessor :repository
|
|
32
26
|
|
|
27
|
+
# Artifact file representing the physical content
|
|
28
|
+
attr_accessor :artifact
|
|
29
|
+
|
|
30
|
+
# A url that Pulp can download and turn into the content unit.
|
|
31
|
+
attr_accessor :file_url
|
|
32
|
+
|
|
33
33
|
# The name of the collection.
|
|
34
34
|
attr_accessor :expected_name
|
|
35
35
|
|
|
@@ -43,10 +43,10 @@ module PulpAnsibleClient
|
|
|
43
43
|
def self.attribute_map
|
|
44
44
|
{
|
|
45
45
|
:'file' => :'file',
|
|
46
|
-
:'artifact' => :'artifact',
|
|
47
46
|
:'upload' => :'upload',
|
|
48
|
-
:'file_url' => :'file_url',
|
|
49
47
|
:'repository' => :'repository',
|
|
48
|
+
:'artifact' => :'artifact',
|
|
49
|
+
:'file_url' => :'file_url',
|
|
50
50
|
:'expected_name' => :'expected_name',
|
|
51
51
|
:'expected_namespace' => :'expected_namespace',
|
|
52
52
|
:'expected_version' => :'expected_version'
|
|
@@ -57,10 +57,10 @@ module PulpAnsibleClient
|
|
|
57
57
|
def self.openapi_types
|
|
58
58
|
{
|
|
59
59
|
:'file' => :'File',
|
|
60
|
-
:'artifact' => :'String',
|
|
61
60
|
:'upload' => :'String',
|
|
62
|
-
:'file_url' => :'String',
|
|
63
61
|
:'repository' => :'String',
|
|
62
|
+
:'artifact' => :'String',
|
|
63
|
+
:'file_url' => :'String',
|
|
64
64
|
:'expected_name' => :'String',
|
|
65
65
|
:'expected_namespace' => :'String',
|
|
66
66
|
:'expected_version' => :'String'
|
|
@@ -92,22 +92,22 @@ module PulpAnsibleClient
|
|
|
92
92
|
self.file = attributes[:'file']
|
|
93
93
|
end
|
|
94
94
|
|
|
95
|
-
if attributes.key?(:'artifact')
|
|
96
|
-
self.artifact = attributes[:'artifact']
|
|
97
|
-
end
|
|
98
|
-
|
|
99
95
|
if attributes.key?(:'upload')
|
|
100
96
|
self.upload = attributes[:'upload']
|
|
101
97
|
end
|
|
102
98
|
|
|
103
|
-
if attributes.key?(:'file_url')
|
|
104
|
-
self.file_url = attributes[:'file_url']
|
|
105
|
-
end
|
|
106
|
-
|
|
107
99
|
if attributes.key?(:'repository')
|
|
108
100
|
self.repository = attributes[:'repository']
|
|
109
101
|
end
|
|
110
102
|
|
|
103
|
+
if attributes.key?(:'artifact')
|
|
104
|
+
self.artifact = attributes[:'artifact']
|
|
105
|
+
end
|
|
106
|
+
|
|
107
|
+
if attributes.key?(:'file_url')
|
|
108
|
+
self.file_url = attributes[:'file_url']
|
|
109
|
+
end
|
|
110
|
+
|
|
111
111
|
if attributes.key?(:'expected_name')
|
|
112
112
|
self.expected_name = attributes[:'expected_name']
|
|
113
113
|
end
|
|
@@ -227,10 +227,10 @@ module PulpAnsibleClient
|
|
|
227
227
|
return true if self.equal?(o)
|
|
228
228
|
self.class == o.class &&
|
|
229
229
|
file == o.file &&
|
|
230
|
-
artifact == o.artifact &&
|
|
231
230
|
upload == o.upload &&
|
|
232
|
-
file_url == o.file_url &&
|
|
233
231
|
repository == o.repository &&
|
|
232
|
+
artifact == o.artifact &&
|
|
233
|
+
file_url == o.file_url &&
|
|
234
234
|
expected_name == o.expected_name &&
|
|
235
235
|
expected_namespace == o.expected_namespace &&
|
|
236
236
|
expected_version == o.expected_version
|
|
@@ -245,7 +245,7 @@ module PulpAnsibleClient
|
|
|
245
245
|
# Calculates hash code according to all attributes.
|
|
246
246
|
# @return [Integer] Hash code
|
|
247
247
|
def hash
|
|
248
|
-
[file,
|
|
248
|
+
[file, upload, repository, artifact, file_url, expected_name, expected_namespace, expected_version].hash
|
|
249
249
|
end
|
|
250
250
|
|
|
251
251
|
# Builds the object from hash
|