pulp_ansible_client 0.11.1 → 0.12.0
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 +10 -4
- data/docs/AnsibleCollectionRemote.md +3 -1
- data/docs/AnsibleCollectionRemoteResponse.md +3 -1
- data/docs/AnsibleCollectionVersionResponse.md +4 -4
- data/docs/AnsibleCollectionVersionSignatureResponse.md +25 -0
- data/docs/AnsibleGitRemote.md +27 -27
- data/docs/AnsibleGitRemoteResponse.md +26 -26
- data/docs/AnsibleRepositorySignature.md +19 -0
- data/docs/AnsibleRoleResponse.md +4 -4
- data/docs/CollectionVersionResponse.md +2 -0
- data/docs/ContentCollectionSignaturesApi.md +146 -0
- data/docs/PaginatedansibleCollectionVersionSignatureResponseList.md +23 -0
- data/docs/PatchedansibleCollectionRemote.md +3 -1
- data/docs/PatchedansibleGitRemote.md +27 -27
- data/docs/RepositoriesAnsibleApi.md +55 -0
- data/docs/UnpaginatedCollectionVersionResponse.md +2 -0
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +182 -0
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +68 -0
- data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +18 -5
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +18 -5
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +14 -14
- data/lib/pulp_ansible_client/models/ansible_collection_version_signature_response.rb +258 -0
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +233 -233
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +148 -148
- data/lib/pulp_ansible_client/models/ansible_repository_signature.rb +230 -0
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +14 -14
- data/lib/pulp_ansible_client/models/collection_version_response.rb +10 -1
- data/lib/pulp_ansible_client/models/paginatedansible_collection_version_signature_response_list.rb +237 -0
- data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +18 -5
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +224 -224
- data/lib/pulp_ansible_client/models/unpaginated_collection_version_response.rb +10 -1
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/lib/pulp_ansible_client.rb +4 -0
- data/pulp_ansible_client.gemspec +1 -1
- data/spec/api/content_collection_signatures_api_spec.rb +72 -0
- data/spec/api/repositories_ansible_api_spec.rb +12 -0
- data/spec/models/ansible_collection_remote_response_spec.rb +6 -0
- data/spec/models/ansible_collection_remote_spec.rb +6 -0
- data/spec/models/ansible_collection_version_response_spec.rb +2 -2
- data/spec/models/ansible_collection_version_signature_response_spec.rb +65 -0
- data/spec/models/ansible_git_remote_response_spec.rb +18 -18
- data/spec/models/ansible_git_remote_spec.rb +19 -19
- data/spec/models/ansible_repository_signature_spec.rb +47 -0
- data/spec/models/ansible_role_response_spec.rb +2 -2
- data/spec/models/collection_version_response_spec.rb +6 -0
- data/spec/models/paginatedansible_collection_version_signature_response_list_spec.rb +59 -0
- data/spec/models/patchedansible_collection_remote_spec.rb +6 -0
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- data/spec/models/unpaginated_collection_version_response_spec.rb +6 -0
- metadata +100 -78
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b4dc1fda58333188e5da470fb10da1c8eb04cb96890590e3d27146da49f3059a
|
|
4
|
+
data.tar.gz: ce1397122f0f0f24c992eb42a875fb25dfc1153716b2865ab6bdd5c0744d2e90
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 158c53d33f315f5d79a798245b91c0100c2d4bb4e2125fb7dd473c2149ec9f8482175b9ce8e11ed0f1eec5c13af9125742e7353d96389363ae5dd9b02448fbd0
|
|
7
|
+
data.tar.gz: 3ff747ea94f1b6968c80108b0b69b953cff89d7312f7ecf374791dc21a8712aff9a150fb8662449236cdb6f4518a61690a46647a082adba70752fe7b8ea6a73d
|
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.
|
|
10
|
+
- Package version: 0.12.0
|
|
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.
|
|
27
|
+
gem install ./pulp_ansible_client-0.12.0.gem
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
(for development, run `gem install --dev ./pulp_ansible_client-0.
|
|
30
|
+
(for development, run `gem install --dev ./pulp_ansible_client-0.12.0.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.
|
|
36
|
+
gem 'pulp_ansible_client', '~> 0.12.0'
|
|
37
37
|
|
|
38
38
|
### Install from Git
|
|
39
39
|
|
|
@@ -101,6 +101,8 @@ Class | Method | HTTP request | Description
|
|
|
101
101
|
*PulpAnsibleClient::ContentCollectionDeprecationsApi* | [**create**](docs/ContentCollectionDeprecationsApi.md#create) | **POST** /pulp/api/v3/content/ansible/collection_deprecations/ | Create an ansible collection deprecated
|
|
102
102
|
*PulpAnsibleClient::ContentCollectionDeprecationsApi* | [**list**](docs/ContentCollectionDeprecationsApi.md#list) | **GET** /pulp/api/v3/content/ansible/collection_deprecations/ | List ansible collection deprecateds
|
|
103
103
|
*PulpAnsibleClient::ContentCollectionDeprecationsApi* | [**read**](docs/ContentCollectionDeprecationsApi.md#read) | **GET** {ansible_ansible_collection_deprecated_href} | Inspect an ansible collection deprecated
|
|
104
|
+
*PulpAnsibleClient::ContentCollectionSignaturesApi* | [**list**](docs/ContentCollectionSignaturesApi.md#list) | **GET** /pulp/api/v3/content/ansible/collection_signatures/ | List collection version signatures
|
|
105
|
+
*PulpAnsibleClient::ContentCollectionSignaturesApi* | [**read**](docs/ContentCollectionSignaturesApi.md#read) | **GET** {ansible_collection_version_signature_href} | Inspect a collection version signature
|
|
104
106
|
*PulpAnsibleClient::ContentCollectionVersionsApi* | [**create**](docs/ContentCollectionVersionsApi.md#create) | **POST** /pulp/api/v3/content/ansible/collection_versions/ | Create a collection version
|
|
105
107
|
*PulpAnsibleClient::ContentCollectionVersionsApi* | [**list**](docs/ContentCollectionVersionsApi.md#list) | **GET** /pulp/api/v3/content/ansible/collection_versions/ | List collection versions
|
|
106
108
|
*PulpAnsibleClient::ContentCollectionVersionsApi* | [**read**](docs/ContentCollectionVersionsApi.md#read) | **GET** {ansible_collection_version_href} | Inspect a collection version
|
|
@@ -151,6 +153,7 @@ Class | Method | HTTP request | Description
|
|
|
151
153
|
*PulpAnsibleClient::RepositoriesAnsibleApi* | [**modify**](docs/RepositoriesAnsibleApi.md#modify) | **POST** {ansible_ansible_repository_href}modify/ | Modify Repository Content
|
|
152
154
|
*PulpAnsibleClient::RepositoriesAnsibleApi* | [**partial_update**](docs/RepositoriesAnsibleApi.md#partial_update) | **PATCH** {ansible_ansible_repository_href} | Update an ansible repository
|
|
153
155
|
*PulpAnsibleClient::RepositoriesAnsibleApi* | [**read**](docs/RepositoriesAnsibleApi.md#read) | **GET** {ansible_ansible_repository_href} | Inspect an ansible repository
|
|
156
|
+
*PulpAnsibleClient::RepositoriesAnsibleApi* | [**sign**](docs/RepositoriesAnsibleApi.md#sign) | **POST** {ansible_ansible_repository_href}sign/ |
|
|
154
157
|
*PulpAnsibleClient::RepositoriesAnsibleApi* | [**sync**](docs/RepositoriesAnsibleApi.md#sync) | **POST** {ansible_ansible_repository_href}sync/ |
|
|
155
158
|
*PulpAnsibleClient::RepositoriesAnsibleApi* | [**update**](docs/RepositoriesAnsibleApi.md#update) | **PUT** {ansible_ansible_repository_href} | Update an ansible repository
|
|
156
159
|
*PulpAnsibleClient::RepositoriesAnsibleVersionsApi* | [**delete**](docs/RepositoriesAnsibleVersionsApi.md#delete) | **DELETE** {ansible_ansible_repository_version_href} | Delete a repository version
|
|
@@ -173,8 +176,10 @@ Class | Method | HTTP request | Description
|
|
|
173
176
|
- [PulpAnsibleClient::AnsibleCollectionResponse](docs/AnsibleCollectionResponse.md)
|
|
174
177
|
- [PulpAnsibleClient::AnsibleCollectionVersion](docs/AnsibleCollectionVersion.md)
|
|
175
178
|
- [PulpAnsibleClient::AnsibleCollectionVersionResponse](docs/AnsibleCollectionVersionResponse.md)
|
|
179
|
+
- [PulpAnsibleClient::AnsibleCollectionVersionSignatureResponse](docs/AnsibleCollectionVersionSignatureResponse.md)
|
|
176
180
|
- [PulpAnsibleClient::AnsibleGitRemote](docs/AnsibleGitRemote.md)
|
|
177
181
|
- [PulpAnsibleClient::AnsibleGitRemoteResponse](docs/AnsibleGitRemoteResponse.md)
|
|
182
|
+
- [PulpAnsibleClient::AnsibleRepositorySignature](docs/AnsibleRepositorySignature.md)
|
|
178
183
|
- [PulpAnsibleClient::AnsibleRepositorySyncURL](docs/AnsibleRepositorySyncURL.md)
|
|
179
184
|
- [PulpAnsibleClient::AnsibleRole](docs/AnsibleRole.md)
|
|
180
185
|
- [PulpAnsibleClient::AnsibleRoleRemote](docs/AnsibleRoleRemote.md)
|
|
@@ -214,6 +219,7 @@ Class | Method | HTTP request | Description
|
|
|
214
219
|
- [PulpAnsibleClient::PaginatedansibleCollectionRemoteResponseList](docs/PaginatedansibleCollectionRemoteResponseList.md)
|
|
215
220
|
- [PulpAnsibleClient::PaginatedansibleCollectionResponseList](docs/PaginatedansibleCollectionResponseList.md)
|
|
216
221
|
- [PulpAnsibleClient::PaginatedansibleCollectionVersionResponseList](docs/PaginatedansibleCollectionVersionResponseList.md)
|
|
222
|
+
- [PulpAnsibleClient::PaginatedansibleCollectionVersionSignatureResponseList](docs/PaginatedansibleCollectionVersionSignatureResponseList.md)
|
|
217
223
|
- [PulpAnsibleClient::PaginatedansibleGitRemoteResponseList](docs/PaginatedansibleGitRemoteResponseList.md)
|
|
218
224
|
- [PulpAnsibleClient::PaginatedansibleRoleRemoteResponseList](docs/PaginatedansibleRoleRemoteResponseList.md)
|
|
219
225
|
- [PulpAnsibleClient::PaginatedansibleRoleResponseList](docs/PaginatedansibleRoleResponseList.md)
|
|
@@ -29,6 +29,7 @@ Name | Type | Description | Notes
|
|
|
29
29
|
**auth_url** | **String** | The URL to receive a session token from, e.g. used with Automation Hub. | [optional]
|
|
30
30
|
**token** | **String** | The token key to use for authentication. See https://docs.ansible.com/ansible/latest/user_guide/collections_using.html#configuring-the-ansible-galaxy-clientfor more details | [optional]
|
|
31
31
|
**sync_dependencies** | **Boolean** | Sync dependencies for collections specified via requirements file | [optional] [default to true]
|
|
32
|
+
**signed_only** | **Boolean** | Sync only collections that have a signature | [optional] [default to false]
|
|
32
33
|
|
|
33
34
|
## Code Sample
|
|
34
35
|
|
|
@@ -59,7 +60,8 @@ instance = PulpAnsibleClient::AnsibleCollectionRemote.new(name: null,
|
|
|
59
60
|
requirements_file: null,
|
|
60
61
|
auth_url: null,
|
|
61
62
|
token: null,
|
|
62
|
-
sync_dependencies: null
|
|
63
|
+
sync_dependencies: null,
|
|
64
|
+
signed_only: null)
|
|
63
65
|
```
|
|
64
66
|
|
|
65
67
|
|
|
@@ -27,6 +27,7 @@ Name | Type | Description | Notes
|
|
|
27
27
|
**auth_url** | **String** | The URL to receive a session token from, e.g. used with Automation Hub. | [optional]
|
|
28
28
|
**token** | **String** | The token key to use for authentication. See https://docs.ansible.com/ansible/latest/user_guide/collections_using.html#configuring-the-ansible-galaxy-clientfor more details | [optional]
|
|
29
29
|
**sync_dependencies** | **Boolean** | Sync dependencies for collections specified via requirements file | [optional] [default to true]
|
|
30
|
+
**signed_only** | **Boolean** | Sync only collections that have a signature | [optional] [default to false]
|
|
30
31
|
|
|
31
32
|
## Code Sample
|
|
32
33
|
|
|
@@ -55,7 +56,8 @@ instance = PulpAnsibleClient::AnsibleCollectionRemoteResponse.new(pulp_href: nul
|
|
|
55
56
|
requirements_file: null,
|
|
56
57
|
auth_url: null,
|
|
57
58
|
token: null,
|
|
58
|
-
sync_dependencies: null
|
|
59
|
+
sync_dependencies: null,
|
|
60
|
+
signed_only: null)
|
|
59
61
|
```
|
|
60
62
|
|
|
61
63
|
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
|
8
|
-
**artifact** | **String** | Artifact file representing the physical content | [optional]
|
|
9
7
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
8
|
+
**artifact** | **String** | Artifact file representing the physical content | [optional]
|
|
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]
|
|
12
12
|
**sha224** | **String** | The SHA-224 checksum if available. | [optional] [readonly]
|
|
@@ -37,9 +37,9 @@ Name | Type | Description | Notes
|
|
|
37
37
|
```ruby
|
|
38
38
|
require 'PulpAnsibleClient'
|
|
39
39
|
|
|
40
|
-
instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(
|
|
40
|
+
instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(pulp_created: null,
|
|
41
41
|
artifact: null,
|
|
42
|
-
|
|
42
|
+
pulp_href: null,
|
|
43
43
|
md5: null,
|
|
44
44
|
sha1: null,
|
|
45
45
|
sha224: null,
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# PulpAnsibleClient::AnsibleCollectionVersionSignatureResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
|
8
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
9
|
+
**signed_collection** | **String** | The content this signature is pointing to. |
|
|
10
|
+
**pubkey_fingerprint** | **String** | The fingerprint of the public key. |
|
|
11
|
+
**signing_service** | **String** | The signing service used to create the signature. |
|
|
12
|
+
|
|
13
|
+
## Code Sample
|
|
14
|
+
|
|
15
|
+
```ruby
|
|
16
|
+
require 'PulpAnsibleClient'
|
|
17
|
+
|
|
18
|
+
instance = PulpAnsibleClient::AnsibleCollectionVersionSignatureResponse.new(pulp_href: null,
|
|
19
|
+
pulp_created: null,
|
|
20
|
+
signed_collection: null,
|
|
21
|
+
pubkey_fingerprint: null,
|
|
22
|
+
signing_service: null)
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
|
data/docs/AnsibleGitRemote.md
CHANGED
|
@@ -4,26 +4,26 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**url** | **String** | The URL of an external content source. |
|
|
8
|
+
**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]
|
|
9
|
+
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
|
7
10
|
**proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
|
|
8
|
-
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
|
9
|
-
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
|
10
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
|
+
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
|
13
|
+
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
|
11
14
|
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
|
12
|
-
**
|
|
13
|
-
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
|
15
|
+
**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
16
|
**client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
|
|
15
|
-
**
|
|
16
|
-
**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
|
-
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
|
17
|
+
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
|
18
18
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
|
19
|
-
**
|
|
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
|
+
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
|
20
21
|
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
|
21
|
-
**
|
|
22
|
+
**proxy_password** | **String** | The password to authenticte to the proxy. | [optional]
|
|
22
23
|
**name** | **String** | A unique name for this remote. |
|
|
23
|
-
**
|
|
24
|
-
**
|
|
25
|
-
**
|
|
26
|
-
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
|
24
|
+
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
|
25
|
+
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
|
26
|
+
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
|
27
27
|
**metadata_only** | **Boolean** | If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. | [optional]
|
|
28
28
|
**git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional]
|
|
29
29
|
|
|
@@ -32,26 +32,26 @@ Name | Type | Description | Notes
|
|
|
32
32
|
```ruby
|
|
33
33
|
require 'PulpAnsibleClient'
|
|
34
34
|
|
|
35
|
-
instance = PulpAnsibleClient::AnsibleGitRemote.new(
|
|
36
|
-
|
|
37
|
-
|
|
35
|
+
instance = PulpAnsibleClient::AnsibleGitRemote.new(url: null,
|
|
36
|
+
total_timeout: null,
|
|
37
|
+
client_cert: null,
|
|
38
|
+
proxy_username: null,
|
|
38
39
|
connect_timeout: null,
|
|
40
|
+
ca_cert: null,
|
|
41
|
+
proxy_url: null,
|
|
39
42
|
tls_validation: null,
|
|
40
|
-
|
|
41
|
-
rate_limit: null,
|
|
43
|
+
sock_read_timeout: null,
|
|
42
44
|
client_key: null,
|
|
43
|
-
|
|
44
|
-
sock_connect_timeout: null,
|
|
45
|
-
download_concurrency: null,
|
|
45
|
+
password: null,
|
|
46
46
|
pulp_labels: null,
|
|
47
|
-
|
|
47
|
+
sock_connect_timeout: null,
|
|
48
|
+
rate_limit: null,
|
|
48
49
|
headers: null,
|
|
49
|
-
|
|
50
|
+
proxy_password: null,
|
|
50
51
|
name: null,
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
password: null,
|
|
52
|
+
username: null,
|
|
53
|
+
max_retries: null,
|
|
54
|
+
download_concurrency: 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
|
-
**
|
|
9
|
-
**
|
|
7
|
+
**url** | **String** | The URL of an external content source. |
|
|
8
|
+
**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]
|
|
9
|
+
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
|
10
|
+
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
|
11
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
10
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
|
+
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
|
14
|
+
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
|
11
15
|
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
|
12
|
-
**
|
|
13
|
-
**
|
|
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
|
-
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
|
16
|
+
**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]
|
|
17
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
|
16
18
|
**pulp_labels** | [**Object**](.md) | | [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
|
+
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
|
17
21
|
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
|
18
|
-
**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]
|
|
19
22
|
**name** | **String** | A unique name for this remote. |
|
|
20
|
-
**
|
|
21
|
-
**
|
|
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
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
24
|
-
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [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
|
+
**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
|
**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
|
-
|
|
35
|
-
|
|
33
|
+
instance = PulpAnsibleClient::AnsibleGitRemoteResponse.new(url: null,
|
|
34
|
+
total_timeout: null,
|
|
35
|
+
client_cert: null,
|
|
36
|
+
pulp_last_updated: null,
|
|
37
|
+
pulp_created: null,
|
|
36
38
|
connect_timeout: null,
|
|
39
|
+
ca_cert: null,
|
|
40
|
+
proxy_url: null,
|
|
37
41
|
tls_validation: null,
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
sock_connect_timeout: null,
|
|
41
|
-
download_concurrency: null,
|
|
42
|
+
sock_read_timeout: null,
|
|
43
|
+
pulp_href: null,
|
|
42
44
|
pulp_labels: null,
|
|
45
|
+
sock_connect_timeout: null,
|
|
46
|
+
rate_limit: null,
|
|
43
47
|
headers: null,
|
|
44
|
-
sock_read_timeout: null,
|
|
45
48
|
name: null,
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
total_timeout: null,
|
|
49
|
-
pulp_created: null,
|
|
50
|
-
ca_cert: null,
|
|
49
|
+
max_retries: null,
|
|
50
|
+
download_concurrency: null,
|
|
51
51
|
metadata_only: null,
|
|
52
52
|
git_ref: null)
|
|
53
53
|
```
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# PulpAnsibleClient::AnsibleRepositorySignature
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**content_units** | [**Array<AnyType>**](AnyType.md) | List of collection version hrefs to sign, use * to sign all content in repository |
|
|
8
|
+
**signing_service** | **String** | A signing service to use to sign the collections |
|
|
9
|
+
|
|
10
|
+
## Code Sample
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'PulpAnsibleClient'
|
|
14
|
+
|
|
15
|
+
instance = PulpAnsibleClient::AnsibleRepositorySignature.new(content_units: null,
|
|
16
|
+
signing_service: null)
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
|
data/docs/AnsibleRoleResponse.md
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
|
8
|
-
**artifact** | **String** | Artifact file representing the physical content |
|
|
9
7
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
8
|
+
**artifact** | **String** | Artifact file representing the physical content |
|
|
9
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
|
10
10
|
**version** | **String** | |
|
|
11
11
|
**name** | **String** | |
|
|
12
12
|
**namespace** | **String** | |
|
|
@@ -16,9 +16,9 @@ Name | Type | Description | Notes
|
|
|
16
16
|
```ruby
|
|
17
17
|
require 'PulpAnsibleClient'
|
|
18
18
|
|
|
19
|
-
instance = PulpAnsibleClient::AnsibleRoleResponse.new(
|
|
19
|
+
instance = PulpAnsibleClient::AnsibleRoleResponse.new(pulp_created: null,
|
|
20
20
|
artifact: null,
|
|
21
|
-
|
|
21
|
+
pulp_href: null,
|
|
22
22
|
version: null,
|
|
23
23
|
name: null,
|
|
24
24
|
namespace: null)
|
|
@@ -14,6 +14,7 @@ Name | Type | Description | Notes
|
|
|
14
14
|
**download_url** | **String** | | [optional] [readonly]
|
|
15
15
|
**name** | **String** | | [optional] [readonly]
|
|
16
16
|
**namespace** | [**CollectionNamespaceResponse**](CollectionNamespaceResponse.md) | | [optional] [readonly]
|
|
17
|
+
**signatures** | **String** | | [optional] [readonly]
|
|
17
18
|
**metadata** | [**CollectionMetadataResponse**](CollectionMetadataResponse.md) | | [optional] [readonly]
|
|
18
19
|
**git_url** | **String** | | [optional] [readonly]
|
|
19
20
|
**git_commit_sha** | **String** | | [optional] [readonly]
|
|
@@ -35,6 +36,7 @@ instance = PulpAnsibleClient::CollectionVersionResponse.new(version: null,
|
|
|
35
36
|
download_url: null,
|
|
36
37
|
name: null,
|
|
37
38
|
namespace: null,
|
|
39
|
+
signatures: null,
|
|
38
40
|
metadata: null,
|
|
39
41
|
git_url: null,
|
|
40
42
|
git_commit_sha: null,
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
# PulpAnsibleClient::ContentCollectionSignaturesApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://pulp*
|
|
4
|
+
|
|
5
|
+
Method | HTTP request | Description
|
|
6
|
+
------------- | ------------- | -------------
|
|
7
|
+
[**list**](ContentCollectionSignaturesApi.md#list) | **GET** /pulp/api/v3/content/ansible/collection_signatures/ | List collection version signatures
|
|
8
|
+
[**read**](ContentCollectionSignaturesApi.md#read) | **GET** {ansible_collection_version_signature_href} | Inspect a collection version signature
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
## list
|
|
13
|
+
|
|
14
|
+
> PaginatedansibleCollectionVersionSignatureResponseList list(opts)
|
|
15
|
+
|
|
16
|
+
List collection version signatures
|
|
17
|
+
|
|
18
|
+
ViewSet for looking at signature objects for CollectionVersion content.
|
|
19
|
+
|
|
20
|
+
### Example
|
|
21
|
+
|
|
22
|
+
```ruby
|
|
23
|
+
# load the gem
|
|
24
|
+
require 'pulp_ansible_client'
|
|
25
|
+
# setup authorization
|
|
26
|
+
PulpAnsibleClient.configure do |config|
|
|
27
|
+
# Configure HTTP basic authorization: basicAuth
|
|
28
|
+
config.username = 'YOUR USERNAME'
|
|
29
|
+
config.password = 'YOUR PASSWORD'
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
api_instance = PulpAnsibleClient::ContentCollectionSignaturesApi.new
|
|
33
|
+
opts = {
|
|
34
|
+
limit: 56, # Integer | Number of results to return per page.
|
|
35
|
+
offset: 56, # Integer | The initial index from which to return the results.
|
|
36
|
+
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
|
37
|
+
pubkey_fingerprint: 'pubkey_fingerprint_example', # String | Filter results where pubkey_fingerprint matches value
|
|
38
|
+
pubkey_fingerprint__in: ['pubkey_fingerprint__in_example'], # Array<String> | Filter results where pubkey_fingerprint is in a comma-separated list of values
|
|
39
|
+
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
|
40
|
+
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
|
41
|
+
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
|
|
42
|
+
signed_collection: 'signed_collection_example', # String | Filter results where signed_collection matches value
|
|
43
|
+
signing_service: 'signing_service_example', # String | Filter results where signing_service matches value
|
|
44
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
45
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
begin
|
|
49
|
+
#List collection version signatures
|
|
50
|
+
result = api_instance.list(opts)
|
|
51
|
+
p result
|
|
52
|
+
rescue PulpAnsibleClient::ApiError => e
|
|
53
|
+
puts "Exception when calling ContentCollectionSignaturesApi->list: #{e}"
|
|
54
|
+
end
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
### Parameters
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
Name | Type | Description | Notes
|
|
61
|
+
------------- | ------------- | ------------- | -------------
|
|
62
|
+
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
63
|
+
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
64
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
|
65
|
+
**pubkey_fingerprint** | **String**| Filter results where pubkey_fingerprint matches value | [optional]
|
|
66
|
+
**pubkey_fingerprint__in** | [**Array<String>**](String.md)| Filter results where pubkey_fingerprint is in a comma-separated list of values | [optional]
|
|
67
|
+
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
|
68
|
+
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
|
69
|
+
**repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
|
|
70
|
+
**signed_collection** | [**String**](.md)| Filter results where signed_collection matches value | [optional]
|
|
71
|
+
**signing_service** | [**String**](.md)| Filter results where signing_service matches value | [optional]
|
|
72
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
73
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
74
|
+
|
|
75
|
+
### Return type
|
|
76
|
+
|
|
77
|
+
[**PaginatedansibleCollectionVersionSignatureResponseList**](PaginatedansibleCollectionVersionSignatureResponseList.md)
|
|
78
|
+
|
|
79
|
+
### Authorization
|
|
80
|
+
|
|
81
|
+
[basicAuth](../README.md#basicAuth)
|
|
82
|
+
|
|
83
|
+
### HTTP request headers
|
|
84
|
+
|
|
85
|
+
- **Content-Type**: Not defined
|
|
86
|
+
- **Accept**: application/json
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
## read
|
|
90
|
+
|
|
91
|
+
> AnsibleCollectionVersionSignatureResponse read(ansible_collection_version_signature_href, opts)
|
|
92
|
+
|
|
93
|
+
Inspect a collection version signature
|
|
94
|
+
|
|
95
|
+
ViewSet for looking at signature objects for CollectionVersion content.
|
|
96
|
+
|
|
97
|
+
### Example
|
|
98
|
+
|
|
99
|
+
```ruby
|
|
100
|
+
# load the gem
|
|
101
|
+
require 'pulp_ansible_client'
|
|
102
|
+
# setup authorization
|
|
103
|
+
PulpAnsibleClient.configure do |config|
|
|
104
|
+
# Configure HTTP basic authorization: basicAuth
|
|
105
|
+
config.username = 'YOUR USERNAME'
|
|
106
|
+
config.password = 'YOUR PASSWORD'
|
|
107
|
+
end
|
|
108
|
+
|
|
109
|
+
api_instance = PulpAnsibleClient::ContentCollectionSignaturesApi.new
|
|
110
|
+
ansible_collection_version_signature_href = 'ansible_collection_version_signature_href_example' # String |
|
|
111
|
+
opts = {
|
|
112
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
113
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
begin
|
|
117
|
+
#Inspect a collection version signature
|
|
118
|
+
result = api_instance.read(ansible_collection_version_signature_href, opts)
|
|
119
|
+
p result
|
|
120
|
+
rescue PulpAnsibleClient::ApiError => e
|
|
121
|
+
puts "Exception when calling ContentCollectionSignaturesApi->read: #{e}"
|
|
122
|
+
end
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
### Parameters
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
Name | Type | Description | Notes
|
|
129
|
+
------------- | ------------- | ------------- | -------------
|
|
130
|
+
**ansible_collection_version_signature_href** | **String**| |
|
|
131
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
132
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
133
|
+
|
|
134
|
+
### Return type
|
|
135
|
+
|
|
136
|
+
[**AnsibleCollectionVersionSignatureResponse**](AnsibleCollectionVersionSignatureResponse.md)
|
|
137
|
+
|
|
138
|
+
### Authorization
|
|
139
|
+
|
|
140
|
+
[basicAuth](../README.md#basicAuth)
|
|
141
|
+
|
|
142
|
+
### HTTP request headers
|
|
143
|
+
|
|
144
|
+
- **Content-Type**: Not defined
|
|
145
|
+
- **Accept**: application/json
|
|
146
|
+
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# PulpAnsibleClient::PaginatedansibleCollectionVersionSignatureResponseList
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**count** | **Integer** | | [optional]
|
|
8
|
+
**_next** | **String** | | [optional]
|
|
9
|
+
**previous** | **String** | | [optional]
|
|
10
|
+
**results** | [**Array<AnsibleCollectionVersionSignatureResponse>**](AnsibleCollectionVersionSignatureResponse.md) | | [optional]
|
|
11
|
+
|
|
12
|
+
## Code Sample
|
|
13
|
+
|
|
14
|
+
```ruby
|
|
15
|
+
require 'PulpAnsibleClient'
|
|
16
|
+
|
|
17
|
+
instance = PulpAnsibleClient::PaginatedansibleCollectionVersionSignatureResponseList.new(count: 123,
|
|
18
|
+
_next: http://api.example.org/accounts/?offset=400&limit=100,
|
|
19
|
+
previous: http://api.example.org/accounts/?offset=200&limit=100,
|
|
20
|
+
results: null)
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
|
|
@@ -29,6 +29,7 @@ Name | Type | Description | Notes
|
|
|
29
29
|
**auth_url** | **String** | The URL to receive a session token from, e.g. used with Automation Hub. | [optional]
|
|
30
30
|
**token** | **String** | The token key to use for authentication. See https://docs.ansible.com/ansible/latest/user_guide/collections_using.html#configuring-the-ansible-galaxy-clientfor more details | [optional]
|
|
31
31
|
**sync_dependencies** | **Boolean** | Sync dependencies for collections specified via requirements file | [optional] [default to true]
|
|
32
|
+
**signed_only** | **Boolean** | Sync only collections that have a signature | [optional] [default to false]
|
|
32
33
|
|
|
33
34
|
## Code Sample
|
|
34
35
|
|
|
@@ -59,7 +60,8 @@ instance = PulpAnsibleClient::PatchedansibleCollectionRemote.new(name: null,
|
|
|
59
60
|
requirements_file: null,
|
|
60
61
|
auth_url: null,
|
|
61
62
|
token: null,
|
|
62
|
-
sync_dependencies: null
|
|
63
|
+
sync_dependencies: null,
|
|
64
|
+
signed_only: null)
|
|
63
65
|
```
|
|
64
66
|
|
|
65
67
|
|