pulp_ansible_client 0.11.0.dev1636686953 → 0.11.0.dev1636773338
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.
Potentially problematic release.
This version of pulp_ansible_client might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/AnsibleCollectionVersion.md +3 -3
- data/docs/AnsibleCollectionVersionResponse.md +3 -3
- data/docs/AnsibleGitRemote.md +26 -26
- data/docs/AnsibleGitRemoteResponse.md +24 -24
- data/docs/AnsibleRoleResponse.md +3 -3
- data/docs/ContentCollectionVersionsApi.md +3 -3
- data/docs/PatchedansibleGitRemote.md +26 -26
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +3 -3
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +152 -152
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +130 -130
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +11 -11
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +149 -149
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/content_collection_versions_api_spec.rb +1 -1
- data/spec/models/ansible_collection_version_response_spec.rb +2 -2
- data/spec/models/ansible_collection_version_spec.rb +2 -2
- data/spec/models/ansible_git_remote_response_spec.rb +14 -14
- data/spec/models/ansible_git_remote_spec.rb +19 -19
- data/spec/models/ansible_role_response_spec.rb +2 -2
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e46d1cc30254a555909bcd1fdb1036f2c6d74ff0657b42bd3789973837af7d7
|
4
|
+
data.tar.gz: bb52810107b73eb8a017f30c3c9eff8d628880c461a66ad034e8f6b8594ad1b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f3894d9e512de51c785c259ffc38686f759acb6bb4bbde8feb24d2376a3bf1b2b69f39199d5c77334ba2f1b125011480256545a40ec2f84515d0abb0d07cb11
|
7
|
+
data.tar.gz: 6f4be18895742e8ebdcfd33baa04f44ad15fdd2605b975d15c9b4aec5898b4760518c4e6fd6a0224f4961417862ce8a0666696d4b5aa43690fbbfd1f5f80fa62
|
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.11.0.
|
10
|
+
- Package version: 0.11.0.dev1636773338
|
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.11.0.
|
27
|
+
gem install ./pulp_ansible_client-0.11.0.dev1636773338.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_ansible_client-0.11.0.
|
30
|
+
(for development, run `gem install --dev ./pulp_ansible_client-0.11.0.dev1636773338.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.11.0.
|
36
|
+
gem 'pulp_ansible_client', '~> 0.11.0.dev1636773338'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -4,8 +4,8 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**file** | **File** | An uploaded file that may be turned into the artifact of the content unit. | [optional]
|
8
7
|
**repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
|
8
|
+
**file** | **File** | An uploaded file that may be turned into the artifact of the content unit. | [optional]
|
9
9
|
**name** | **String** | The name of the collection. |
|
10
10
|
**namespace** | **String** | The namespace of the collection. |
|
11
11
|
**version** | **String** | The version of the collection. |
|
@@ -15,8 +15,8 @@ Name | Type | Description | Notes
|
|
15
15
|
```ruby
|
16
16
|
require 'PulpAnsibleClient'
|
17
17
|
|
18
|
-
instance = PulpAnsibleClient::AnsibleCollectionVersion.new(
|
19
|
-
|
18
|
+
instance = PulpAnsibleClient::AnsibleCollectionVersion.new(repository: null,
|
19
|
+
file: null,
|
20
20
|
name: null,
|
21
21
|
namespace: null,
|
22
22
|
version: null)
|
@@ -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
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
8
|
+
**artifact** | **String** | Artifact file representing the physical content |
|
9
9
|
**pulp_href** | **String** | | [optional] [readonly]
|
10
10
|
**md5** | **String** | The MD5 checksum if available. | [optional] [readonly]
|
11
11
|
**sha1** | **String** | The SHA-1 checksum if available. | [optional] [readonly]
|
@@ -37,8 +37,8 @@ Name | Type | Description | Notes
|
|
37
37
|
```ruby
|
38
38
|
require 'PulpAnsibleClient'
|
39
39
|
|
40
|
-
instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(
|
41
|
-
|
40
|
+
instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(pulp_created: null,
|
41
|
+
artifact: null,
|
42
42
|
pulp_href: null,
|
43
43
|
md5: null,
|
44
44
|
sha1: null,
|
data/docs/AnsibleGitRemote.md
CHANGED
@@ -5,25 +5,25 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**url** | **String** | The URL of an external content source. |
|
8
|
-
**
|
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
|
+
**name** | **String** | A unique name for this remote. |
|
10
|
+
**client_key** | **String** | A PEM encoded private key used for authentication. | [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]
|
9
12
|
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
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
|
+
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
15
|
+
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
16
|
+
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
17
|
+
**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]
|
18
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
10
19
|
**proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
|
11
|
-
**
|
20
|
+
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
12
21
|
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
22
|
+
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
13
23
|
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
14
24
|
**proxy_password** | **String** | The password to authenticte to the proxy. | [optional]
|
15
|
-
**
|
16
|
-
**pulp_labels** | [**Object**](.md) | | [optional]
|
17
|
-
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
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
|
-
**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]
|
20
|
-
**name** | **String** | A unique name for this remote. |
|
21
|
-
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
25
|
+
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
22
26
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
23
|
-
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
24
|
-
**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]
|
25
|
-
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
26
|
-
**rate_limit** | **Integer** | Limits total download rate in requests per second | [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
|
|
29
29
|
## Code Sample
|
@@ -32,25 +32,25 @@ Name | Type | Description | Notes
|
|
32
32
|
require 'PulpAnsibleClient'
|
33
33
|
|
34
34
|
instance = PulpAnsibleClient::AnsibleGitRemote.new(url: null,
|
35
|
-
|
35
|
+
sock_connect_timeout: null,
|
36
|
+
name: null,
|
37
|
+
client_key: null,
|
38
|
+
sock_read_timeout: null,
|
36
39
|
username: null,
|
40
|
+
max_retries: null,
|
41
|
+
rate_limit: null,
|
42
|
+
total_timeout: null,
|
43
|
+
proxy_url: null,
|
44
|
+
connect_timeout: null,
|
45
|
+
pulp_labels: null,
|
37
46
|
proxy_username: null,
|
38
|
-
|
47
|
+
headers: null,
|
39
48
|
password: null,
|
49
|
+
ca_cert: null,
|
40
50
|
client_cert: null,
|
41
51
|
proxy_password: null,
|
42
|
-
|
43
|
-
pulp_labels: null,
|
44
|
-
sock_read_timeout: null,
|
45
|
-
connect_timeout: null,
|
46
|
-
sock_connect_timeout: null,
|
47
|
-
name: null,
|
48
|
-
headers: null,
|
52
|
+
tls_validation: null,
|
49
53
|
download_concurrency: null,
|
50
|
-
max_retries: null,
|
51
|
-
total_timeout: null,
|
52
|
-
ca_cert: null,
|
53
|
-
rate_limit: null,
|
54
54
|
metadata_only: null)
|
55
55
|
```
|
56
56
|
|
@@ -5,23 +5,23 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**url** | **String** | The URL of an external content source. |
|
8
|
-
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
9
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
10
|
-
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
11
|
-
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
12
|
-
**pulp_labels** | [**Object**](.md) | | [optional]
|
13
|
-
**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
|
-
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
15
|
-
**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]
|
16
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]
|
17
9
|
**name** | **String** | A unique name for this remote. |
|
18
|
-
**
|
19
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
20
|
-
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [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]
|
21
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]
|
12
|
+
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
22
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
|
+
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
15
|
+
**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]
|
16
|
+
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
17
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
18
|
+
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
19
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
23
20
|
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
24
|
-
**
|
21
|
+
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
22
|
+
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
23
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
24
|
+
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
25
25
|
**metadata_only** | **Boolean** | If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. | [optional]
|
26
26
|
|
27
27
|
## Code Sample
|
@@ -30,23 +30,23 @@ Name | Type | Description | Notes
|
|
30
30
|
require 'PulpAnsibleClient'
|
31
31
|
|
32
32
|
instance = PulpAnsibleClient::AnsibleGitRemoteResponse.new(url: null,
|
33
|
-
proxy_url: null,
|
34
|
-
pulp_href: null,
|
35
|
-
tls_validation: null,
|
36
|
-
client_cert: null,
|
37
|
-
pulp_labels: null,
|
38
|
-
sock_read_timeout: null,
|
39
|
-
pulp_last_updated: null,
|
40
|
-
connect_timeout: null,
|
41
33
|
sock_connect_timeout: null,
|
42
34
|
name: null,
|
43
|
-
|
44
|
-
pulp_created: null,
|
45
|
-
download_concurrency: null,
|
35
|
+
sock_read_timeout: null,
|
46
36
|
max_retries: null,
|
37
|
+
rate_limit: null,
|
47
38
|
total_timeout: null,
|
39
|
+
proxy_url: null,
|
40
|
+
connect_timeout: null,
|
41
|
+
pulp_last_updated: null,
|
42
|
+
pulp_labels: null,
|
43
|
+
headers: null,
|
44
|
+
pulp_created: null,
|
48
45
|
ca_cert: null,
|
49
|
-
|
46
|
+
client_cert: null,
|
47
|
+
tls_validation: null,
|
48
|
+
pulp_href: null,
|
49
|
+
download_concurrency: null,
|
50
50
|
metadata_only: null)
|
51
51
|
```
|
52
52
|
|
data/docs/AnsibleRoleResponse.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
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
8
|
+
**artifact** | **String** | Artifact file representing the physical content |
|
9
9
|
**pulp_href** | **String** | | [optional] [readonly]
|
10
10
|
**version** | **String** | |
|
11
11
|
**name** | **String** | |
|
@@ -16,8 +16,8 @@ Name | Type | Description | Notes
|
|
16
16
|
```ruby
|
17
17
|
require 'PulpAnsibleClient'
|
18
18
|
|
19
|
-
instance = PulpAnsibleClient::AnsibleRoleResponse.new(
|
20
|
-
|
19
|
+
instance = PulpAnsibleClient::AnsibleRoleResponse.new(pulp_created: null,
|
20
|
+
artifact: null,
|
21
21
|
pulp_href: null,
|
22
22
|
version: null,
|
23
23
|
name: null,
|
@@ -35,8 +35,8 @@ name = 'name_example' # String | The name of the collection.
|
|
35
35
|
namespace = 'namespace_example' # String | The namespace of the collection.
|
36
36
|
version = 'version_example' # String | The version of the collection.
|
37
37
|
opts = {
|
38
|
-
|
39
|
-
|
38
|
+
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
39
|
+
file: File.new('/path/to/file') # File | An uploaded file that may be turned into the artifact of the content unit.
|
40
40
|
}
|
41
41
|
|
42
42
|
begin
|
@@ -56,8 +56,8 @@ Name | Type | Description | Notes
|
|
56
56
|
**name** | **String**| The name of the collection. |
|
57
57
|
**namespace** | **String**| The namespace of the collection. |
|
58
58
|
**version** | **String**| The version of the collection. |
|
59
|
-
**file** | **File**| An uploaded file that may be turned into the artifact of the content unit. | [optional]
|
60
59
|
**repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
|
60
|
+
**file** | **File**| An uploaded file that may be turned into the artifact of the content unit. | [optional]
|
61
61
|
|
62
62
|
### Return type
|
63
63
|
|
@@ -5,25 +5,25 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**url** | **String** | The URL of an external content source. | [optional]
|
8
|
-
**
|
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
|
+
**name** | **String** | A unique name for this remote. | [optional]
|
10
|
+
**client_key** | **String** | A PEM encoded private key used for authentication. | [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]
|
9
12
|
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
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
|
+
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
15
|
+
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
16
|
+
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
17
|
+
**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]
|
18
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
10
19
|
**proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
|
11
|
-
**
|
20
|
+
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
12
21
|
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
22
|
+
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
13
23
|
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
14
24
|
**proxy_password** | **String** | The password to authenticte to the proxy. | [optional]
|
15
|
-
**
|
16
|
-
**pulp_labels** | [**Object**](.md) | | [optional]
|
17
|
-
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
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
|
-
**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]
|
20
|
-
**name** | **String** | A unique name for this remote. | [optional]
|
21
|
-
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
25
|
+
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
22
26
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
23
|
-
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
24
|
-
**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]
|
25
|
-
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
26
|
-
**rate_limit** | **Integer** | Limits total download rate in requests per second | [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
|
|
29
29
|
## Code Sample
|
@@ -32,25 +32,25 @@ Name | Type | Description | Notes
|
|
32
32
|
require 'PulpAnsibleClient'
|
33
33
|
|
34
34
|
instance = PulpAnsibleClient::PatchedansibleGitRemote.new(url: null,
|
35
|
-
|
35
|
+
sock_connect_timeout: null,
|
36
|
+
name: null,
|
37
|
+
client_key: null,
|
38
|
+
sock_read_timeout: null,
|
36
39
|
username: null,
|
40
|
+
max_retries: null,
|
41
|
+
rate_limit: null,
|
42
|
+
total_timeout: null,
|
43
|
+
proxy_url: null,
|
44
|
+
connect_timeout: null,
|
45
|
+
pulp_labels: null,
|
37
46
|
proxy_username: null,
|
38
|
-
|
47
|
+
headers: null,
|
39
48
|
password: null,
|
49
|
+
ca_cert: null,
|
40
50
|
client_cert: null,
|
41
51
|
proxy_password: null,
|
42
|
-
|
43
|
-
pulp_labels: null,
|
44
|
-
sock_read_timeout: null,
|
45
|
-
connect_timeout: null,
|
46
|
-
sock_connect_timeout: null,
|
47
|
-
name: null,
|
48
|
-
headers: null,
|
52
|
+
tls_validation: null,
|
49
53
|
download_concurrency: null,
|
50
|
-
max_retries: null,
|
51
|
-
total_timeout: null,
|
52
|
-
ca_cert: null,
|
53
|
-
rate_limit: null,
|
54
54
|
metadata_only: null)
|
55
55
|
```
|
56
56
|
|
@@ -25,8 +25,8 @@ module PulpAnsibleClient
|
|
25
25
|
# @param namespace [String] The namespace of the collection.
|
26
26
|
# @param version [String] The version of the collection.
|
27
27
|
# @param [Hash] opts the optional parameters
|
28
|
-
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
29
28
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
29
|
+
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
30
30
|
# @return [AsyncOperationResponse]
|
31
31
|
def create(name, namespace, version, opts = {})
|
32
32
|
data, _status_code, _headers = create_with_http_info(name, namespace, version, opts)
|
@@ -39,8 +39,8 @@ module PulpAnsibleClient
|
|
39
39
|
# @param namespace [String] The namespace of the collection.
|
40
40
|
# @param version [String] The version of the collection.
|
41
41
|
# @param [Hash] opts the optional parameters
|
42
|
-
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
43
42
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
43
|
+
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
44
44
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
45
45
|
def create_with_http_info(name, namespace, version, opts = {})
|
46
46
|
if @api_client.config.debugging
|
@@ -88,8 +88,8 @@ module PulpAnsibleClient
|
|
88
88
|
form_params['name'] = name
|
89
89
|
form_params['namespace'] = namespace
|
90
90
|
form_params['version'] = version
|
91
|
-
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
92
91
|
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
92
|
+
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
93
93
|
|
94
94
|
# http body (model)
|
95
95
|
post_body = opts[:body]
|
@@ -15,12 +15,12 @@ require 'date'
|
|
15
15
|
module PulpAnsibleClient
|
16
16
|
# A serializer for CollectionVersion Content.
|
17
17
|
class AnsibleCollectionVersion
|
18
|
-
# An uploaded file that may be turned into the artifact of the content unit.
|
19
|
-
attr_accessor :file
|
20
|
-
|
21
18
|
# A URI of a repository the new content unit should be associated with.
|
22
19
|
attr_accessor :repository
|
23
20
|
|
21
|
+
# An uploaded file that may be turned into the artifact of the content unit.
|
22
|
+
attr_accessor :file
|
23
|
+
|
24
24
|
# The name of the collection.
|
25
25
|
attr_accessor :name
|
26
26
|
|
@@ -33,8 +33,8 @@ module PulpAnsibleClient
|
|
33
33
|
# Attribute mapping from ruby-style variable name to JSON key.
|
34
34
|
def self.attribute_map
|
35
35
|
{
|
36
|
-
:'file' => :'file',
|
37
36
|
:'repository' => :'repository',
|
37
|
+
:'file' => :'file',
|
38
38
|
:'name' => :'name',
|
39
39
|
:'namespace' => :'namespace',
|
40
40
|
:'version' => :'version'
|
@@ -44,8 +44,8 @@ module PulpAnsibleClient
|
|
44
44
|
# Attribute type mapping.
|
45
45
|
def self.openapi_types
|
46
46
|
{
|
47
|
-
:'file' => :'File',
|
48
47
|
:'repository' => :'String',
|
48
|
+
:'file' => :'File',
|
49
49
|
:'name' => :'String',
|
50
50
|
:'namespace' => :'String',
|
51
51
|
:'version' => :'String'
|
@@ -73,14 +73,14 @@ module PulpAnsibleClient
|
|
73
73
|
h[k.to_sym] = v
|
74
74
|
}
|
75
75
|
|
76
|
-
if attributes.key?(:'file')
|
77
|
-
self.file = attributes[:'file']
|
78
|
-
end
|
79
|
-
|
80
76
|
if attributes.key?(:'repository')
|
81
77
|
self.repository = attributes[:'repository']
|
82
78
|
end
|
83
79
|
|
80
|
+
if attributes.key?(:'file')
|
81
|
+
self.file = attributes[:'file']
|
82
|
+
end
|
83
|
+
|
84
84
|
if attributes.key?(:'name')
|
85
85
|
self.name = attributes[:'name']
|
86
86
|
end
|
@@ -184,8 +184,8 @@ module PulpAnsibleClient
|
|
184
184
|
def ==(o)
|
185
185
|
return true if self.equal?(o)
|
186
186
|
self.class == o.class &&
|
187
|
-
file == o.file &&
|
188
187
|
repository == o.repository &&
|
188
|
+
file == o.file &&
|
189
189
|
name == o.name &&
|
190
190
|
namespace == o.namespace &&
|
191
191
|
version == o.version
|
@@ -200,7 +200,7 @@ module PulpAnsibleClient
|
|
200
200
|
# Calculates hash code according to all attributes.
|
201
201
|
# @return [Integer] Hash code
|
202
202
|
def hash
|
203
|
-
[
|
203
|
+
[repository, file, name, namespace, version].hash
|
204
204
|
end
|
205
205
|
|
206
206
|
# Builds the object from hash
|
@@ -15,12 +15,12 @@ require 'date'
|
|
15
15
|
module PulpAnsibleClient
|
16
16
|
# A serializer for CollectionVersion Content.
|
17
17
|
class AnsibleCollectionVersionResponse
|
18
|
-
# Artifact file representing the physical content
|
19
|
-
attr_accessor :artifact
|
20
|
-
|
21
18
|
# Timestamp of creation.
|
22
19
|
attr_accessor :pulp_created
|
23
20
|
|
21
|
+
# Artifact file representing the physical content
|
22
|
+
attr_accessor :artifact
|
23
|
+
|
24
24
|
attr_accessor :pulp_href
|
25
25
|
|
26
26
|
# The MD5 checksum if available.
|
@@ -97,8 +97,8 @@ module PulpAnsibleClient
|
|
97
97
|
# Attribute mapping from ruby-style variable name to JSON key.
|
98
98
|
def self.attribute_map
|
99
99
|
{
|
100
|
-
:'artifact' => :'artifact',
|
101
100
|
:'pulp_created' => :'pulp_created',
|
101
|
+
:'artifact' => :'artifact',
|
102
102
|
:'pulp_href' => :'pulp_href',
|
103
103
|
:'md5' => :'md5',
|
104
104
|
:'sha1' => :'sha1',
|
@@ -130,8 +130,8 @@ module PulpAnsibleClient
|
|
130
130
|
# Attribute type mapping.
|
131
131
|
def self.openapi_types
|
132
132
|
{
|
133
|
-
:'artifact' => :'String',
|
134
133
|
:'pulp_created' => :'DateTime',
|
134
|
+
:'artifact' => :'String',
|
135
135
|
:'pulp_href' => :'String',
|
136
136
|
:'md5' => :'String',
|
137
137
|
:'sha1' => :'String',
|
@@ -182,14 +182,14 @@ module PulpAnsibleClient
|
|
182
182
|
h[k.to_sym] = v
|
183
183
|
}
|
184
184
|
|
185
|
-
if attributes.key?(:'artifact')
|
186
|
-
self.artifact = attributes[:'artifact']
|
187
|
-
end
|
188
|
-
|
189
185
|
if attributes.key?(:'pulp_created')
|
190
186
|
self.pulp_created = attributes[:'pulp_created']
|
191
187
|
end
|
192
188
|
|
189
|
+
if attributes.key?(:'artifact')
|
190
|
+
self.artifact = attributes[:'artifact']
|
191
|
+
end
|
192
|
+
|
193
193
|
if attributes.key?(:'pulp_href')
|
194
194
|
self.pulp_href = attributes[:'pulp_href']
|
195
195
|
end
|
@@ -548,8 +548,8 @@ module PulpAnsibleClient
|
|
548
548
|
def ==(o)
|
549
549
|
return true if self.equal?(o)
|
550
550
|
self.class == o.class &&
|
551
|
-
artifact == o.artifact &&
|
552
551
|
pulp_created == o.pulp_created &&
|
552
|
+
artifact == o.artifact &&
|
553
553
|
pulp_href == o.pulp_href &&
|
554
554
|
md5 == o.md5 &&
|
555
555
|
sha1 == o.sha1 &&
|
@@ -586,7 +586,7 @@ module PulpAnsibleClient
|
|
586
586
|
# Calculates hash code according to all attributes.
|
587
587
|
# @return [Integer] Hash code
|
588
588
|
def hash
|
589
|
-
[
|
589
|
+
[pulp_created, artifact, pulp_href, md5, sha1, sha224, sha256, sha384, sha512, id, authors, contents, dependencies, description, docs_blob, manifest, files, documentation, homepage, issues, license, name, namespace, repository, tags, version, requires_ansible].hash
|
590
590
|
end
|
591
591
|
|
592
592
|
# Builds the object from hash
|