pulp_ansible_client 0.14.0 → 0.14.1
Sign up to get free protection for your applications and to get access to all the features.
- 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 +28 -28
- data/docs/AnsibleGitRemoteResponse.md +22 -22
- data/docs/AnsibleRoleResponse.md +3 -3
- data/docs/ContentCollectionVersionsApi.md +3 -3
- data/docs/DistributionsAnsibleApi.md +2 -0
- data/docs/PatchedansibleGitRemote.md +28 -28
- data/docs/RepositoriesAnsibleApi.md +2 -0
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +3 -3
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +3 -0
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +3 -0
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +1 -1
- data/lib/pulp_ansible_client/api_client.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +10 -10
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +210 -210
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +120 -120
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +10 -10
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +210 -210
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/pulp_ansible_client.gemspec +3 -3
- data/spec/api/content_collection_versions_api_spec.rb +1 -1
- data/spec/api/distributions_ansible_api_spec.rb +1 -0
- data/spec/api/repositories_ansible_api_spec.rb +1 -0
- data/spec/models/ansible_collection_version_response_spec.rb +2 -2
- data/spec/models/ansible_collection_version_spec.rb +3 -3
- data/spec/models/ansible_git_remote_response_spec.rb +18 -18
- data/spec/models/ansible_git_remote_spec.rb +17 -17
- data/spec/models/ansible_role_response_spec.rb +2 -2
- data/spec/models/patchedansible_git_remote_spec.rb +17 -17
- metadata +105 -106
- data/git_push.sh +0 -58
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: df696be2d37d3abc4c4967446a1c009dc5719c400ec4e9e9f4e79c9fdde2ec00
|
4
|
+
data.tar.gz: 593e51739e90f9eef04d73777475f2c2e749f4f795cd53040be2485d35d1bf30
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 50783163738b163ae0b56e60708dcf79562a636038ed79457c1c15ee62099f11c4a1c4c1d772e05846dfe7e07f167e8f2bf778d2c56910d038b496fdb9ac60d0
|
7
|
+
data.tar.gz: de67e0e0a18696eea2b59e69293df8220c5810a0e38b552b7d9e44e818e4aae066087290d12ad7e44bc8b16486e36dacaa1a959f2fed9787b31915009c7d1f5d
|
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.14.
|
10
|
+
- Package version: 0.14.1
|
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.14.
|
27
|
+
gem install ./pulp_ansible_client-0.14.1.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_ansible_client-0.14.
|
30
|
+
(for development, run `gem install --dev ./pulp_ansible_client-0.14.1.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.14.
|
36
|
+
gem 'pulp_ansible_client', '~> 0.14.1'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -4,9 +4,9 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
|
7
8
|
**file** | **File** | An uploaded file that may be turned into the artifact of the content unit. | [optional]
|
8
9
|
**upload** | **String** | An uncommitted upload that may be turned into the artifact of the content unit. | [optional]
|
9
|
-
**repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
|
10
10
|
**name** | **String** | The name of the collection. |
|
11
11
|
**namespace** | **String** | The namespace of the collection. |
|
12
12
|
**version** | **String** | The version of the collection. |
|
@@ -16,9 +16,9 @@ Name | Type | Description | Notes
|
|
16
16
|
```ruby
|
17
17
|
require 'PulpAnsibleClient'
|
18
18
|
|
19
|
-
instance = PulpAnsibleClient::AnsibleCollectionVersion.new(
|
19
|
+
instance = PulpAnsibleClient::AnsibleCollectionVersion.new(repository: null,
|
20
|
+
file: null,
|
20
21
|
upload: null,
|
21
|
-
repository: null,
|
22
22
|
name: null,
|
23
23
|
namespace: null,
|
24
24
|
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 | [optional]
|
8
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
+
**artifact** | **String** | Artifact file representing the physical content | [optional]
|
9
9
|
**pulp_created** | **DateTime** | Timestamp of creation. | [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_href: null,
|
41
|
+
artifact: null,
|
42
42
|
pulp_created: null,
|
43
43
|
md5: null,
|
44
44
|
sha1: null,
|
data/docs/AnsibleGitRemote.md
CHANGED
@@ -4,26 +4,26 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**
|
8
|
-
**
|
9
|
-
**
|
7
|
+
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
8
|
+
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
9
|
+
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
10
|
+
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
10
11
|
**name** | **String** | A unique name for this remote. |
|
11
|
-
**
|
12
|
-
**
|
12
|
+
**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]
|
13
|
+
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
13
14
|
**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
|
-
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
15
15
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
16
|
-
**
|
16
|
+
**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
17
|
**client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
|
18
|
-
**url** | **String** | The URL of an external content source. |
|
19
18
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
20
|
-
**
|
21
|
-
**
|
22
|
-
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
23
|
-
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
24
|
-
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
19
|
+
**password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
20
|
+
**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
21
|
**proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
26
|
-
**
|
22
|
+
**url** | **String** | The URL of an external content source. |
|
23
|
+
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
24
|
+
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
25
|
+
**proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
|
26
|
+
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [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
|
-
|
37
|
-
|
35
|
+
instance = PulpAnsibleClient::AnsibleGitRemote.new(sock_connect_timeout: null,
|
36
|
+
headers: null,
|
37
|
+
rate_limit: null,
|
38
|
+
ca_cert: null,
|
38
39
|
name: null,
|
39
|
-
|
40
|
-
|
40
|
+
connect_timeout: null,
|
41
|
+
username: null,
|
41
42
|
sock_read_timeout: null,
|
42
|
-
headers: null,
|
43
43
|
download_concurrency: null,
|
44
|
-
|
44
|
+
max_retries: null,
|
45
45
|
client_key: null,
|
46
|
-
url: null,
|
47
46
|
pulp_labels: null,
|
48
|
-
|
49
|
-
|
50
|
-
ca_cert: null,
|
51
|
-
username: null,
|
52
|
-
tls_validation: null,
|
47
|
+
password: null,
|
48
|
+
total_timeout: null,
|
53
49
|
proxy_password: null,
|
54
|
-
|
50
|
+
url: null,
|
51
|
+
client_cert: null,
|
52
|
+
tls_validation: null,
|
53
|
+
proxy_username: null,
|
54
|
+
proxy_url: null,
|
55
55
|
metadata_only: null,
|
56
56
|
git_ref: null)
|
57
57
|
```
|
@@ -4,24 +4,24 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**
|
8
|
-
**
|
7
|
+
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
8
|
+
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
9
|
+
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
10
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
11
|
+
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
9
12
|
**name** | **String** | A unique name for this remote. |
|
10
|
-
**
|
11
|
-
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
13
|
+
**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]
|
12
14
|
**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
|
-
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
14
15
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
16
|
+
**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
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
18
|
+
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
15
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]
|
16
20
|
**url** | **String** | The URL of an external content source. |
|
17
21
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
18
|
-
**
|
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
|
-
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
22
|
+
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
21
23
|
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
22
|
-
**
|
23
|
-
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
24
|
-
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
24
|
+
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [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
|
**git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional]
|
27
27
|
|
@@ -30,24 +30,24 @@ Name | Type | Description | Notes
|
|
30
30
|
```ruby
|
31
31
|
require 'PulpAnsibleClient'
|
32
32
|
|
33
|
-
instance = PulpAnsibleClient::AnsibleGitRemoteResponse.new(
|
34
|
-
|
33
|
+
instance = PulpAnsibleClient::AnsibleGitRemoteResponse.new(sock_connect_timeout: null,
|
34
|
+
headers: null,
|
35
|
+
rate_limit: null,
|
36
|
+
pulp_href: null,
|
37
|
+
ca_cert: null,
|
35
38
|
name: null,
|
36
|
-
|
37
|
-
max_retries: null,
|
39
|
+
connect_timeout: null,
|
38
40
|
sock_read_timeout: null,
|
39
|
-
headers: null,
|
40
41
|
download_concurrency: null,
|
42
|
+
max_retries: null,
|
43
|
+
pulp_labels: null,
|
44
|
+
pulp_last_updated: null,
|
41
45
|
total_timeout: null,
|
42
46
|
url: null,
|
43
47
|
pulp_created: null,
|
44
|
-
|
45
|
-
sock_connect_timeout: null,
|
46
|
-
ca_cert: null,
|
48
|
+
client_cert: null,
|
47
49
|
tls_validation: null,
|
48
|
-
|
49
|
-
pulp_last_updated: null,
|
50
|
-
rate_limit: null,
|
50
|
+
proxy_url: null,
|
51
51
|
metadata_only: null,
|
52
52
|
git_ref: null)
|
53
53
|
```
|
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_href** | **String** | | [optional] [readonly]
|
8
|
+
**artifact** | **String** | Artifact file representing the physical content |
|
9
9
|
**pulp_created** | **DateTime** | Timestamp of creation. | [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_href: null,
|
20
|
+
artifact: null,
|
21
21
|
pulp_created: null,
|
22
22
|
version: null,
|
23
23
|
name: null,
|
@@ -35,9 +35,9 @@ 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
|
+
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
38
39
|
file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the artifact of the content unit.
|
39
|
-
upload: 'upload_example'
|
40
|
-
repository: 'repository_example' # String | A URI of a repository the new content unit should be associated with.
|
40
|
+
upload: 'upload_example' # String | An uncommitted upload that may be turned into the artifact of the content unit.
|
41
41
|
}
|
42
42
|
|
43
43
|
begin
|
@@ -57,9 +57,9 @@ Name | Type | Description | Notes
|
|
57
57
|
**name** | **String**| The name of the collection. |
|
58
58
|
**namespace** | **String**| The namespace of the collection. |
|
59
59
|
**version** | **String**| The version of the collection. |
|
60
|
+
**repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
|
60
61
|
**file** | **File**| An uploaded file that may be turned into the artifact of the content unit. | [optional]
|
61
62
|
**upload** | **String**| An uncommitted upload that may be turned into the artifact of the content unit. | [optional]
|
62
|
-
**repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
|
63
63
|
|
64
64
|
### Return type
|
65
65
|
|
@@ -154,6 +154,7 @@ opts = {
|
|
154
154
|
offset: 56, # Integer | The initial index from which to return the results.
|
155
155
|
ordering: ['ordering_example'], # Array<String> | Ordering
|
156
156
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
157
|
+
with_content: 'with_content_example', # String | Filter distributions based on the content served by them
|
157
158
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
158
159
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
159
160
|
}
|
@@ -185,6 +186,7 @@ Name | Type | Description | Notes
|
|
185
186
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
186
187
|
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
187
188
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
189
|
+
**with_content** | **String**| Filter distributions based on the content served by them | [optional]
|
188
190
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
189
191
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
190
192
|
|
@@ -4,26 +4,26 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**
|
8
|
-
**
|
9
|
-
**
|
7
|
+
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
8
|
+
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
9
|
+
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
10
|
+
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
10
11
|
**name** | **String** | A unique name for this remote. | [optional]
|
11
|
-
**
|
12
|
-
**
|
12
|
+
**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]
|
13
|
+
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
13
14
|
**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
|
-
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
15
15
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
16
|
-
**
|
16
|
+
**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
17
|
**client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
|
18
|
-
**url** | **String** | The URL of an external content source. | [optional]
|
19
18
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
20
|
-
**
|
21
|
-
**
|
22
|
-
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
23
|
-
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
24
|
-
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
19
|
+
**password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
20
|
+
**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
21
|
**proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
26
|
-
**
|
22
|
+
**url** | **String** | The URL of an external content source. | [optional]
|
23
|
+
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
24
|
+
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
25
|
+
**proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
|
26
|
+
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [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
|
-
|
37
|
-
|
35
|
+
instance = PulpAnsibleClient::PatchedansibleGitRemote.new(sock_connect_timeout: null,
|
36
|
+
headers: null,
|
37
|
+
rate_limit: null,
|
38
|
+
ca_cert: null,
|
38
39
|
name: null,
|
39
|
-
|
40
|
-
|
40
|
+
connect_timeout: null,
|
41
|
+
username: null,
|
41
42
|
sock_read_timeout: null,
|
42
|
-
headers: null,
|
43
43
|
download_concurrency: null,
|
44
|
-
|
44
|
+
max_retries: null,
|
45
45
|
client_key: null,
|
46
|
-
url: null,
|
47
46
|
pulp_labels: null,
|
48
|
-
|
49
|
-
|
50
|
-
ca_cert: null,
|
51
|
-
username: null,
|
52
|
-
tls_validation: null,
|
47
|
+
password: null,
|
48
|
+
total_timeout: null,
|
53
49
|
proxy_password: null,
|
54
|
-
|
50
|
+
url: null,
|
51
|
+
client_cert: null,
|
52
|
+
tls_validation: null,
|
53
|
+
proxy_username: null,
|
54
|
+
proxy_url: null,
|
55
55
|
metadata_only: null,
|
56
56
|
git_ref: null)
|
57
57
|
```
|
@@ -153,6 +153,7 @@ opts = {
|
|
153
153
|
offset: 56, # Integer | The initial index from which to return the results.
|
154
154
|
ordering: ['ordering_example'], # Array<String> | Ordering
|
155
155
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
156
|
+
remote: 'remote_example', # String | Foreign Key referenced by HREF
|
156
157
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
157
158
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
158
159
|
}
|
@@ -180,6 +181,7 @@ Name | Type | Description | Notes
|
|
180
181
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
181
182
|
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
182
183
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
184
|
+
**remote** | [**String**](.md)| Foreign Key referenced by HREF | [optional]
|
183
185
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
184
186
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
185
187
|
|
@@ -25,9 +25,9 @@ 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 [String] :repository A URI of a repository the new content unit should be associated with.
|
28
29
|
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
29
30
|
# @option opts [String] :upload An uncommitted upload that may be turned into the artifact of the content unit.
|
30
|
-
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
31
31
|
# @return [AsyncOperationResponse]
|
32
32
|
def create(name, namespace, version, opts = {})
|
33
33
|
data, _status_code, _headers = create_with_http_info(name, namespace, version, opts)
|
@@ -40,9 +40,9 @@ module PulpAnsibleClient
|
|
40
40
|
# @param namespace [String] The namespace of the collection.
|
41
41
|
# @param version [String] The version of the collection.
|
42
42
|
# @param [Hash] opts the optional parameters
|
43
|
+
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
43
44
|
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
44
45
|
# @option opts [String] :upload An uncommitted upload that may be turned into the artifact of the content unit.
|
45
|
-
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
46
46
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
47
47
|
def create_with_http_info(name, namespace, version, opts = {})
|
48
48
|
if @api_client.config.debugging
|
@@ -102,9 +102,9 @@ module PulpAnsibleClient
|
|
102
102
|
form_params['name'] = name
|
103
103
|
form_params['namespace'] = namespace
|
104
104
|
form_params['version'] = version
|
105
|
+
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
105
106
|
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
106
107
|
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
107
|
-
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
108
108
|
|
109
109
|
# http body (model)
|
110
110
|
post_body = opts[:body]
|
@@ -161,6 +161,7 @@ module PulpAnsibleClient
|
|
161
161
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
162
162
|
# @option opts [Array<String>] :ordering Ordering
|
163
163
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
164
|
+
# @option opts [String] :with_content Filter distributions based on the content served by them
|
164
165
|
# @option opts [String] :fields A list of fields to include in the response.
|
165
166
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
166
167
|
# @return [PaginatedansibleAnsibleDistributionResponseList]
|
@@ -185,6 +186,7 @@ module PulpAnsibleClient
|
|
185
186
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
186
187
|
# @option opts [Array<String>] :ordering Ordering
|
187
188
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
189
|
+
# @option opts [String] :with_content Filter distributions based on the content served by them
|
188
190
|
# @option opts [String] :fields A list of fields to include in the response.
|
189
191
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
190
192
|
# @return [Array<(PaginatedansibleAnsibleDistributionResponseList, Integer, Hash)>] PaginatedansibleAnsibleDistributionResponseList data, response status code and response headers
|
@@ -214,6 +216,7 @@ module PulpAnsibleClient
|
|
214
216
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
215
217
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
216
218
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
219
|
+
query_params[:'with_content'] = opts[:'with_content'] if !opts[:'with_content'].nil?
|
217
220
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
218
221
|
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
219
222
|
|
@@ -157,6 +157,7 @@ module PulpAnsibleClient
|
|
157
157
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
158
158
|
# @option opts [Array<String>] :ordering Ordering
|
159
159
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
160
|
+
# @option opts [String] :remote Foreign Key referenced by HREF
|
160
161
|
# @option opts [String] :fields A list of fields to include in the response.
|
161
162
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
162
163
|
# @return [PaginatedansibleAnsibleRepositoryResponseList]
|
@@ -177,6 +178,7 @@ module PulpAnsibleClient
|
|
177
178
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
178
179
|
# @option opts [Array<String>] :ordering Ordering
|
179
180
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
181
|
+
# @option opts [String] :remote Foreign Key referenced by HREF
|
180
182
|
# @option opts [String] :fields A list of fields to include in the response.
|
181
183
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
182
184
|
# @return [Array<(PaginatedansibleAnsibleRepositoryResponseList, Integer, Hash)>] PaginatedansibleAnsibleRepositoryResponseList data, response status code and response headers
|
@@ -202,6 +204,7 @@ module PulpAnsibleClient
|
|
202
204
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
203
205
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
204
206
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
207
|
+
query_params[:'remote'] = opts[:'remote'] if !opts[:'remote'].nil?
|
205
208
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
206
209
|
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
207
210
|
|
@@ -142,7 +142,7 @@ module PulpAnsibleClient
|
|
142
142
|
if @api_client.config.client_side_validation && ansible_ansible_repository_href.nil?
|
143
143
|
fail ArgumentError, "Missing the required parameter 'ansible_ansible_repository_href' when calling RepositoriesAnsibleVersionsApi.list"
|
144
144
|
end
|
145
|
-
allowable_values = ["-added_memberships", "-base_version", "-complete", "-counts", "-distribution", "-group_roles", "-number", "-pk", "-publication", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-removed_memberships", "-repository", "-user_roles", "-versions", "added_memberships", "base_version", "complete", "counts", "distribution", "group_roles", "number", "pk", "publication", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "removed_memberships", "repository", "user_roles", "versions"]
|
145
|
+
allowable_values = ["-added_memberships", "-base_version", "-complete", "-counts", "-distribution", "-group_roles", "-info", "-number", "-pk", "-publication", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-removed_memberships", "-repository", "-user_roles", "-versions", "added_memberships", "base_version", "complete", "counts", "distribution", "group_roles", "info", "number", "pk", "publication", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "removed_memberships", "repository", "user_roles", "versions"]
|
146
146
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
147
147
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
148
148
|
end
|
@@ -154,7 +154,7 @@ module PulpAnsibleClient
|
|
154
154
|
case value
|
155
155
|
when ::File, ::Tempfile
|
156
156
|
# TODO hardcode to application/octet-stream, need better way to detect content type
|
157
|
-
data[key] = Faraday::
|
157
|
+
data[key] = Faraday::FilePart.new(value.path, 'application/octet-stream', value.path)
|
158
158
|
when ::Array, nil
|
159
159
|
# let Faraday handle Array and nil parameters
|
160
160
|
data[key] = value
|
@@ -15,15 +15,15 @@ require 'date'
|
|
15
15
|
module PulpAnsibleClient
|
16
16
|
# A serializer for CollectionVersion Content.
|
17
17
|
class AnsibleCollectionVersion
|
18
|
+
# A URI of a repository the new content unit should be associated with.
|
19
|
+
attr_accessor :repository
|
20
|
+
|
18
21
|
# An uploaded file that may be turned into the artifact of the content unit.
|
19
22
|
attr_accessor :file
|
20
23
|
|
21
24
|
# An uncommitted upload that may be turned into the artifact of the content unit.
|
22
25
|
attr_accessor :upload
|
23
26
|
|
24
|
-
# A URI of a repository the new content unit should be associated with.
|
25
|
-
attr_accessor :repository
|
26
|
-
|
27
27
|
# The name of the collection.
|
28
28
|
attr_accessor :name
|
29
29
|
|
@@ -36,9 +36,9 @@ module PulpAnsibleClient
|
|
36
36
|
# Attribute mapping from ruby-style variable name to JSON key.
|
37
37
|
def self.attribute_map
|
38
38
|
{
|
39
|
+
:'repository' => :'repository',
|
39
40
|
:'file' => :'file',
|
40
41
|
:'upload' => :'upload',
|
41
|
-
:'repository' => :'repository',
|
42
42
|
:'name' => :'name',
|
43
43
|
:'namespace' => :'namespace',
|
44
44
|
:'version' => :'version'
|
@@ -48,9 +48,9 @@ module PulpAnsibleClient
|
|
48
48
|
# Attribute type mapping.
|
49
49
|
def self.openapi_types
|
50
50
|
{
|
51
|
+
:'repository' => :'String',
|
51
52
|
:'file' => :'File',
|
52
53
|
:'upload' => :'String',
|
53
|
-
:'repository' => :'String',
|
54
54
|
:'name' => :'String',
|
55
55
|
:'namespace' => :'String',
|
56
56
|
:'version' => :'String'
|
@@ -78,6 +78,10 @@ module PulpAnsibleClient
|
|
78
78
|
h[k.to_sym] = v
|
79
79
|
}
|
80
80
|
|
81
|
+
if attributes.key?(:'repository')
|
82
|
+
self.repository = attributes[:'repository']
|
83
|
+
end
|
84
|
+
|
81
85
|
if attributes.key?(:'file')
|
82
86
|
self.file = attributes[:'file']
|
83
87
|
end
|
@@ -86,10 +90,6 @@ module PulpAnsibleClient
|
|
86
90
|
self.upload = attributes[:'upload']
|
87
91
|
end
|
88
92
|
|
89
|
-
if attributes.key?(:'repository')
|
90
|
-
self.repository = attributes[:'repository']
|
91
|
-
end
|
92
|
-
|
93
93
|
if attributes.key?(:'name')
|
94
94
|
self.name = attributes[:'name']
|
95
95
|
end
|
@@ -220,9 +220,9 @@ module PulpAnsibleClient
|
|
220
220
|
def ==(o)
|
221
221
|
return true if self.equal?(o)
|
222
222
|
self.class == o.class &&
|
223
|
+
repository == o.repository &&
|
223
224
|
file == o.file &&
|
224
225
|
upload == o.upload &&
|
225
|
-
repository == o.repository &&
|
226
226
|
name == o.name &&
|
227
227
|
namespace == o.namespace &&
|
228
228
|
version == o.version
|
@@ -237,7 +237,7 @@ module PulpAnsibleClient
|
|
237
237
|
# Calculates hash code according to all attributes.
|
238
238
|
# @return [Integer] Hash code
|
239
239
|
def hash
|
240
|
-
[file, upload,
|
240
|
+
[repository, file, upload, name, namespace, version].hash
|
241
241
|
end
|
242
242
|
|
243
243
|
# Builds the object from hash
|