pulp_ansible_client 0.22.6 → 0.22.8
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/AnsibleAnsibleDistribution.md +5 -3
- data/docs/AnsibleAnsibleDistributionResponse.md +12 -4
- data/docs/AnsibleCollectionVersion.md +4 -4
- data/docs/AnsibleCollectionVersionResponse.md +4 -4
- data/docs/AnsibleGitRemote.md +23 -23
- data/docs/AnsibleGitRemoteResponse.md +22 -22
- data/docs/AnsibleRoleResponse.md +6 -6
- data/docs/ContentCollectionVersionsApi.md +4 -4
- data/docs/PatchedansibleAnsibleDistribution.md +5 -3
- data/docs/PatchedansibleGitRemote.md +23 -23
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +6 -6
- data/lib/pulp_ansible_client/models/ansible_ansible_distribution.rb +28 -16
- data/lib/pulp_ansible_client/models/ansible_ansible_distribution_response.rb +62 -20
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +21 -21
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +17 -17
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +196 -196
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +125 -125
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +21 -21
- data/lib/pulp_ansible_client/models/patchedansible_ansible_distribution.rb +28 -16
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +191 -191
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/content_collection_versions_api_spec.rb +2 -2
- data/spec/models/ansible_ansible_distribution_response_spec.rb +28 -4
- data/spec/models/ansible_ansible_distribution_spec.rb +10 -4
- data/spec/models/ansible_collection_version_response_spec.rb +3 -3
- data/spec/models/ansible_collection_version_spec.rb +4 -4
- data/spec/models/ansible_git_remote_response_spec.rb +18 -18
- data/spec/models/ansible_git_remote_spec.rb +20 -20
- data/spec/models/ansible_role_response_spec.rb +3 -3
- data/spec/models/patchedansible_ansible_distribution_spec.rb +10 -4
- data/spec/models/patchedansible_git_remote_spec.rb +20 -20
- metadata +128 -128
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 13713308b35445817b2d678d3c2058d41e2aa71641584d09eac00b05595c33ad
|
|
4
|
+
data.tar.gz: d9555b4d4d7d25a6113dae853932de81924d0d51172bc4f42cc081bdbbf64258
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5a65d5b7e4f5b8b91110cd93dcbfa64235d269b6105db404d007f863ff30b0e115331d19018cb1de8f9dec5662ad6f23ac9fc015831710b73a92dc863e2eb262
|
|
7
|
+
data.tar.gz: a66557a3365e473649e2a8634fda3fc070d6ce0d2b70a876d5a464806b2c1bd1050c03c1e9e69a681c7261f3abacb6b4953f66eabed655a3ce093814aa9185ab
|
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.8
|
|
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.8.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.8.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.8'
|
|
37
37
|
|
|
38
38
|
### Install from Git
|
|
39
39
|
|
|
@@ -6,10 +6,11 @@ Name | Type | Description | Notes
|
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
|
8
8
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
|
9
|
+
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
|
10
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
9
11
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
10
12
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
11
13
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
|
12
|
-
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
13
14
|
|
|
14
15
|
## Code Sample
|
|
15
16
|
|
|
@@ -18,10 +19,11 @@ require 'PulpAnsibleClient'
|
|
|
18
19
|
|
|
19
20
|
instance = PulpAnsibleClient::AnsibleAnsibleDistribution.new(base_path: null,
|
|
20
21
|
content_guard: null,
|
|
22
|
+
hidden: null,
|
|
23
|
+
pulp_labels: null,
|
|
21
24
|
name: null,
|
|
22
25
|
repository: null,
|
|
23
|
-
repository_version: null
|
|
24
|
-
pulp_labels: null)
|
|
26
|
+
repository_version: null)
|
|
25
27
|
```
|
|
26
28
|
|
|
27
29
|
|
|
@@ -5,14 +5,18 @@
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
|
8
|
+
**prn** | **String** | The Pulp Resource Name (PRN). | [optional] [readonly]
|
|
8
9
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
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]
|
|
9
11
|
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
|
10
12
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
|
13
|
+
**no_content_change_since** | **String** | Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes. | [optional] [readonly]
|
|
14
|
+
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
|
15
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
11
16
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
12
17
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
13
|
-
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
|
14
18
|
**client_url** | **String** | The URL of a Collection content source. | [optional] [readonly]
|
|
15
|
-
**
|
|
19
|
+
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
|
16
20
|
|
|
17
21
|
## Code Sample
|
|
18
22
|
|
|
@@ -20,14 +24,18 @@ Name | Type | Description | Notes
|
|
|
20
24
|
require 'PulpAnsibleClient'
|
|
21
25
|
|
|
22
26
|
instance = PulpAnsibleClient::AnsibleAnsibleDistributionResponse.new(pulp_href: null,
|
|
27
|
+
prn: null,
|
|
23
28
|
pulp_created: null,
|
|
29
|
+
pulp_last_updated: null,
|
|
24
30
|
base_path: null,
|
|
25
31
|
content_guard: null,
|
|
32
|
+
no_content_change_since: null,
|
|
33
|
+
hidden: null,
|
|
34
|
+
pulp_labels: null,
|
|
26
35
|
name: null,
|
|
27
36
|
repository: null,
|
|
28
|
-
repository_version: null,
|
|
29
37
|
client_url: null,
|
|
30
|
-
|
|
38
|
+
repository_version: null)
|
|
31
39
|
```
|
|
32
40
|
|
|
33
41
|
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**artifact** | **String** | Artifact file representing the physical content | [optional]
|
|
8
|
-
**repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
|
|
9
|
-
**upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional]
|
|
10
8
|
**file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional]
|
|
11
9
|
**file** | **File** | An uploaded file that may be turned into the content unit. | [optional]
|
|
10
|
+
**repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
|
|
11
|
+
**upload** | **String** | An uncommitted upload that may be turned 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(artifact: null,
|
|
22
|
-
repository: null,
|
|
23
|
-
upload: null,
|
|
24
22
|
file_url: null,
|
|
25
23
|
file: null,
|
|
24
|
+
repository: null,
|
|
25
|
+
upload: 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
|
-
**
|
|
7
|
+
**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]
|
|
8
8
|
**prn** | **String** | The Pulp Resource Name (PRN). | [optional] [readonly]
|
|
9
9
|
**artifact** | **String** | Artifact file representing the physical content | [optional]
|
|
10
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
|
10
11
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
11
|
-
**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]
|
|
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(
|
|
42
|
+
instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(pulp_last_updated: null,
|
|
43
43
|
prn: null,
|
|
44
44
|
artifact: null,
|
|
45
|
+
pulp_href: null,
|
|
45
46
|
pulp_created: null,
|
|
46
|
-
pulp_last_updated: 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
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
7
8
|
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
|
8
|
-
**proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
|
9
|
-
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
|
10
|
-
**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]
|
|
11
9
|
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
|
10
|
+
**url** | **String** | The URL of an external content source. |
|
|
12
11
|
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
|
13
12
|
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
|
14
|
-
**
|
|
15
|
-
**proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
|
|
16
|
-
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
13
|
+
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
|
17
14
|
**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
|
+
**client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
|
|
18
16
|
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
|
19
|
-
**
|
|
20
|
-
**
|
|
17
|
+
**proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [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]
|
|
21
19
|
**name** | **String** | A unique name for this remote. |
|
|
22
|
-
**
|
|
23
|
-
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
|
20
|
+
**proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
|
|
24
21
|
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
|
25
|
-
**
|
|
22
|
+
**password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
|
26
23
|
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
|
24
|
+
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
|
25
|
+
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
|
26
|
+
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
|
27
27
|
**metadata_only** | **Boolean** | If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. | [optional]
|
|
28
28
|
**git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional]
|
|
29
29
|
|
|
@@ -32,26 +32,26 @@ Name | Type | Description | Notes
|
|
|
32
32
|
```ruby
|
|
33
33
|
require 'PulpAnsibleClient'
|
|
34
34
|
|
|
35
|
-
instance = PulpAnsibleClient::AnsibleGitRemote.new(
|
|
36
|
-
|
|
37
|
-
username: null,
|
|
38
|
-
connect_timeout: null,
|
|
35
|
+
instance = PulpAnsibleClient::AnsibleGitRemote.new(pulp_labels: null,
|
|
36
|
+
sock_read_timeout: null,
|
|
39
37
|
headers: null,
|
|
38
|
+
url: null,
|
|
40
39
|
client_cert: null,
|
|
41
40
|
tls_validation: null,
|
|
42
|
-
|
|
43
|
-
proxy_username: null,
|
|
44
|
-
pulp_labels: null,
|
|
41
|
+
username: null,
|
|
45
42
|
sock_connect_timeout: null,
|
|
43
|
+
client_key: null,
|
|
46
44
|
ca_cert: null,
|
|
47
|
-
|
|
48
|
-
|
|
45
|
+
proxy_password: null,
|
|
46
|
+
connect_timeout: null,
|
|
49
47
|
name: null,
|
|
50
|
-
|
|
51
|
-
rate_limit: null,
|
|
48
|
+
proxy_username: null,
|
|
52
49
|
proxy_url: null,
|
|
53
|
-
|
|
50
|
+
password: null,
|
|
54
51
|
total_timeout: null,
|
|
52
|
+
rate_limit: null,
|
|
53
|
+
download_concurrency: null,
|
|
54
|
+
max_retries: 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
|
-
**
|
|
7
|
+
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
|
8
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
9
9
|
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
|
10
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
11
|
-
**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
10
|
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
|
13
|
-
**
|
|
11
|
+
**url** | **String** | The URL of an external content source. |
|
|
14
12
|
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
|
15
13
|
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
|
16
|
-
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
17
14
|
**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]
|
|
18
|
-
**
|
|
15
|
+
**prn** | **String** | The Pulp Resource Name (PRN). | [optional] [readonly]
|
|
16
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
19
17
|
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
|
20
|
-
**
|
|
21
|
-
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
|
18
|
+
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
|
22
19
|
**name** | **String** | A unique name for this remote. |
|
|
23
|
-
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
|
24
20
|
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
|
25
|
-
**
|
|
21
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
|
26
22
|
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
|
23
|
+
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
|
24
|
+
**hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFields>**](AnsibleCollectionRemoteResponseHiddenFields.md) | List of hidden (write only) fields | [optional] [readonly]
|
|
25
|
+
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
|
26
|
+
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
|
27
27
|
**metadata_only** | **Boolean** | If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. | [optional]
|
|
28
28
|
**git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional]
|
|
29
29
|
|
|
@@ -32,26 +32,26 @@ Name | Type | Description | Notes
|
|
|
32
32
|
```ruby
|
|
33
33
|
require 'PulpAnsibleClient'
|
|
34
34
|
|
|
35
|
-
instance = PulpAnsibleClient::AnsibleGitRemoteResponse.new(
|
|
36
|
-
|
|
35
|
+
instance = PulpAnsibleClient::AnsibleGitRemoteResponse.new(pulp_last_updated: null,
|
|
36
|
+
pulp_labels: null,
|
|
37
37
|
sock_read_timeout: null,
|
|
38
|
-
pulp_created: null,
|
|
39
|
-
connect_timeout: null,
|
|
40
38
|
headers: null,
|
|
41
|
-
|
|
39
|
+
url: null,
|
|
42
40
|
client_cert: null,
|
|
43
41
|
tls_validation: null,
|
|
44
|
-
pulp_labels: null,
|
|
45
42
|
sock_connect_timeout: null,
|
|
46
|
-
|
|
43
|
+
prn: null,
|
|
44
|
+
pulp_created: null,
|
|
47
45
|
ca_cert: null,
|
|
48
|
-
|
|
49
|
-
max_retries: null,
|
|
46
|
+
connect_timeout: null,
|
|
50
47
|
name: null,
|
|
51
|
-
rate_limit: null,
|
|
52
48
|
proxy_url: null,
|
|
53
|
-
|
|
49
|
+
pulp_href: null,
|
|
54
50
|
total_timeout: null,
|
|
51
|
+
rate_limit: null,
|
|
52
|
+
hidden_fields: null,
|
|
53
|
+
download_concurrency: null,
|
|
54
|
+
max_retries: null,
|
|
55
55
|
metadata_only: null,
|
|
56
56
|
git_ref: null)
|
|
57
57
|
```
|
data/docs/AnsibleRoleResponse.md
CHANGED
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**
|
|
7
|
+
**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]
|
|
8
8
|
**artifact** | **String** | Artifact file representing the physical content |
|
|
9
|
-
**
|
|
9
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
|
10
10
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
11
|
-
**
|
|
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(
|
|
21
|
+
instance = PulpAnsibleClient::AnsibleRoleResponse.new(pulp_last_updated: null,
|
|
22
22
|
artifact: null,
|
|
23
|
-
|
|
23
|
+
pulp_href: null,
|
|
24
24
|
pulp_created: null,
|
|
25
|
-
|
|
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
|
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
|
36
|
-
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
|
37
|
-
upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
|
|
38
36
|
file_url: 'file_url_example', # String | A url that Pulp can download and turn into the content unit.
|
|
39
37
|
file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the content unit.
|
|
38
|
+
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
|
39
|
+
upload: 'upload_example', # String | An uncommitted upload that may be turned 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
|
**artifact** | **String**| Artifact file representing the physical content | [optional]
|
|
60
|
-
**repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
|
|
61
|
-
**upload** | **String**| An uncommitted upload that may be turned into the content unit. | [optional]
|
|
62
60
|
**file_url** | **String**| A url that Pulp can download and turn into the content unit. | [optional]
|
|
63
61
|
**file** | **File**| An uploaded file that may be turned into the content unit. | [optional]
|
|
62
|
+
**repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
|
|
63
|
+
**upload** | **String**| An uncommitted upload that may be turned 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]
|
|
@@ -6,10 +6,11 @@ Name | Type | Description | Notes
|
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | [optional]
|
|
8
8
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
|
9
|
+
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
|
10
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
9
11
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
|
10
12
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
11
13
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
|
12
|
-
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
13
14
|
|
|
14
15
|
## Code Sample
|
|
15
16
|
|
|
@@ -18,10 +19,11 @@ require 'PulpAnsibleClient'
|
|
|
18
19
|
|
|
19
20
|
instance = PulpAnsibleClient::PatchedansibleAnsibleDistribution.new(base_path: null,
|
|
20
21
|
content_guard: null,
|
|
22
|
+
hidden: null,
|
|
23
|
+
pulp_labels: null,
|
|
21
24
|
name: null,
|
|
22
25
|
repository: null,
|
|
23
|
-
repository_version: null
|
|
24
|
-
pulp_labels: null)
|
|
26
|
+
repository_version: null)
|
|
25
27
|
```
|
|
26
28
|
|
|
27
29
|
|
|
@@ -4,26 +4,26 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
7
8
|
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
|
8
|
-
**proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
|
9
|
-
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
|
10
|
-
**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]
|
|
11
9
|
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
|
10
|
+
**url** | **String** | The URL of an external content source. | [optional]
|
|
12
11
|
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
|
13
12
|
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
|
14
|
-
**
|
|
15
|
-
**proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
|
|
16
|
-
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
13
|
+
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
|
17
14
|
**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
|
+
**client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
|
|
18
16
|
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
|
19
|
-
**
|
|
20
|
-
**
|
|
17
|
+
**proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [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]
|
|
21
19
|
**name** | **String** | A unique name for this remote. | [optional]
|
|
22
|
-
**
|
|
23
|
-
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
|
20
|
+
**proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
|
|
24
21
|
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
|
25
|
-
**
|
|
22
|
+
**password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
|
26
23
|
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
|
24
|
+
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
|
25
|
+
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
|
26
|
+
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
|
27
27
|
**metadata_only** | **Boolean** | If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. | [optional]
|
|
28
28
|
**git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional]
|
|
29
29
|
|
|
@@ -32,26 +32,26 @@ Name | Type | Description | Notes
|
|
|
32
32
|
```ruby
|
|
33
33
|
require 'PulpAnsibleClient'
|
|
34
34
|
|
|
35
|
-
instance = PulpAnsibleClient::PatchedansibleGitRemote.new(
|
|
36
|
-
|
|
37
|
-
username: null,
|
|
38
|
-
connect_timeout: null,
|
|
35
|
+
instance = PulpAnsibleClient::PatchedansibleGitRemote.new(pulp_labels: null,
|
|
36
|
+
sock_read_timeout: null,
|
|
39
37
|
headers: null,
|
|
38
|
+
url: null,
|
|
40
39
|
client_cert: null,
|
|
41
40
|
tls_validation: null,
|
|
42
|
-
|
|
43
|
-
proxy_username: null,
|
|
44
|
-
pulp_labels: null,
|
|
41
|
+
username: null,
|
|
45
42
|
sock_connect_timeout: null,
|
|
43
|
+
client_key: null,
|
|
46
44
|
ca_cert: null,
|
|
47
|
-
|
|
48
|
-
|
|
45
|
+
proxy_password: null,
|
|
46
|
+
connect_timeout: null,
|
|
49
47
|
name: null,
|
|
50
|
-
|
|
51
|
-
rate_limit: null,
|
|
48
|
+
proxy_username: null,
|
|
52
49
|
proxy_url: null,
|
|
53
|
-
|
|
50
|
+
password: null,
|
|
54
51
|
total_timeout: null,
|
|
52
|
+
rate_limit: null,
|
|
53
|
+
download_concurrency: null,
|
|
54
|
+
max_retries: 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 [String] :artifact Artifact file representing the physical content
|
|
26
|
-
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
27
|
-
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
28
26
|
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
|
29
27
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
28
|
+
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
29
|
+
# @option opts [String] :upload An uncommitted upload that may be turned 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 [String] :artifact Artifact file representing the physical content
|
|
43
|
-
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
44
|
-
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
45
43
|
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
|
46
44
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
45
|
+
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
46
|
+
# @option opts [String] :upload An uncommitted upload that may be turned 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['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
|
99
|
-
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
|
100
|
-
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
|
101
99
|
form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
|
|
102
100
|
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
|
101
|
+
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
|
102
|
+
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].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?
|