pulp_ansible_client 0.6.2 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +9 -6
- data/docs/AnsibleAnsibleRepository.md +6 -2
- data/docs/AnsibleAnsibleRepositoryResponse.md +5 -1
- data/docs/AnsibleCollectionRemote.md +4 -0
- data/docs/AnsibleCollectionRemoteResponse.md +4 -0
- data/docs/AnsibleCollectionVersion.md +7 -1
- data/docs/AnsibleCollectionVersionResponse.md +10 -4
- data/docs/{RepositorySyncURL.md → AnsibleRepositorySyncURL.md} +5 -3
- data/docs/AnsibleRoleRemote.md +5 -1
- data/docs/AnsibleRoleRemoteResponse.md +5 -1
- data/docs/AnsibleRoleResponse.md +3 -3
- data/docs/CollectionResponse.md +1 -1
- data/docs/CollectionVersionResponse.md +6 -0
- data/docs/DistributionsAnsibleApi.md +8 -0
- data/docs/PatchedansibleAnsibleRepository.md +6 -2
- data/docs/PatchedansibleCollectionRemote.md +4 -0
- data/docs/PatchedansibleRoleRemote.md +5 -1
- data/docs/PulpAnsibleGalaxyApiCollectionsApi.md +6 -4
- data/docs/PulpAnsibleGalaxyApiV3AllApi.md +138 -0
- data/docs/PulpAnsibleGalaxyV3Api.md +61 -0
- data/docs/RemotesCollectionApi.md +8 -0
- data/docs/RemotesRoleApi.md +8 -0
- data/docs/{PatchedCollection.md → RepoMetadataResponse.md} +3 -3
- data/docs/RepositoriesAnsibleApi.md +12 -4
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +12 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_collections_api.rb +12 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_all_api.rb +190 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_v3_api.rb +88 -0
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +12 -0
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +12 -0
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +21 -9
- data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +25 -5
- data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +25 -5
- data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +21 -1
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +21 -1
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +60 -4
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +69 -13
- data/lib/pulp_ansible_client/models/{repository_sync_url.rb → ansible_repository_sync_url.rb} +20 -8
- data/lib/pulp_ansible_client/models/ansible_role_remote.rb +25 -5
- data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +25 -5
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +10 -10
- data/lib/pulp_ansible_client/models/collection_response.rb +0 -5
- data/lib/pulp_ansible_client/models/collection_version_response.rb +56 -1
- data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +25 -5
- data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +21 -1
- data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +25 -5
- data/lib/pulp_ansible_client/models/{patched_collection.rb → repo_metadata_response.rb} +16 -11
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/lib/pulp_ansible_client.rb +4 -2
- data/spec/api/distributions_ansible_api_spec.rb +4 -0
- data/spec/api/pulp_ansible_galaxy_api_collections_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_galaxy_api_v3_all_api_spec.rb +73 -0
- data/spec/api/pulp_ansible_galaxy_v3_api_spec.rb +48 -0
- data/spec/api/remotes_collection_api_spec.rb +4 -0
- data/spec/api/remotes_role_api_spec.rb +4 -0
- data/spec/api/repositories_ansible_api_spec.rb +5 -1
- data/spec/models/ansible_ansible_repository_response_spec.rb +12 -0
- data/spec/models/ansible_ansible_repository_spec.rb +12 -0
- data/spec/models/ansible_collection_remote_response_spec.rb +12 -0
- data/spec/models/ansible_collection_remote_spec.rb +12 -0
- data/spec/models/ansible_collection_version_response_spec.rb +21 -3
- data/spec/models/ansible_collection_version_spec.rb +18 -0
- data/spec/models/{repository_sync_url_spec.rb → ansible_repository_sync_url_spec.rb} +12 -6
- data/spec/models/ansible_role_remote_response_spec.rb +12 -0
- data/spec/models/ansible_role_remote_spec.rb +12 -0
- data/spec/models/ansible_role_response_spec.rb +3 -3
- data/spec/models/collection_version_response_spec.rb +18 -0
- data/spec/models/patchedansible_ansible_repository_spec.rb +12 -0
- data/spec/models/patchedansible_collection_remote_spec.rb +12 -0
- data/spec/models/patchedansible_role_remote_spec.rb +12 -0
- data/spec/models/{patched_collection_spec.rb → repo_metadata_response_spec.rb} +7 -7
- metadata +18 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1fe57dff708b85b3e6a11b5d139c02f37cc2e4f74a674ccb2ea6feaed7b6d020
|
4
|
+
data.tar.gz: 1ec7fb95119056518e0f199bd36b55f4f865785866a0334143b214447d44b932
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 783ab9797912e9291bf70ea0322410c38b62c8144cea976a821bca7a41084f92fb6249f8b6557cd89619d4ba5bb2edaa7a6dfd0a1e38c0cf407a6e446aa973f9
|
7
|
+
data.tar.gz: 9318b9f75e44d0012a10293d23f652e29bda12cee17d3705c3870e194cefc1388d118911ebe8b4a0d248fd3edde388430df74f0bd6c7d3c47e016bd60ceab100
|
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.7.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.7.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.7.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.7.0'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -116,10 +116,13 @@ Class | Method | HTTP request | Description
|
|
116
116
|
*PulpAnsibleClient::PulpAnsibleGalaxyApiCollectionsApi* | [**read**](docs/PulpAnsibleGalaxyApiCollectionsApi.md#read) | **GET** /pulp_ansible/galaxy/{path}/api/v3/collections/{namespace}/{name}/ |
|
117
117
|
*PulpAnsibleClient::PulpAnsibleGalaxyApiCollectionsApi* | [**update**](docs/PulpAnsibleGalaxyApiCollectionsApi.md#update) | **PATCH** /pulp_ansible/galaxy/{path}/api/v3/collections/{namespace}/{name}/ |
|
118
118
|
*PulpAnsibleClient::PulpAnsibleGalaxyApiV2VersionsApi* | [**get**](docs/PulpAnsibleGalaxyApiV2VersionsApi.md#get) | **GET** /pulp_ansible/galaxy/{path}/api/v2/collections/{namespace}/{name}/versions/{version}/ |
|
119
|
+
*PulpAnsibleClient::PulpAnsibleGalaxyApiV3AllApi* | [**list**](docs/PulpAnsibleGalaxyApiV3AllApi.md#list) | **GET** /pulp_ansible/galaxy/{path}/api/v3/collection_versions/all/ |
|
120
|
+
*PulpAnsibleClient::PulpAnsibleGalaxyApiV3AllApi* | [**list_0**](docs/PulpAnsibleGalaxyApiV3AllApi.md#list_0) | **GET** /pulp_ansible/galaxy/{path}/api/v3/collections/all/ |
|
119
121
|
*PulpAnsibleClient::PulpAnsibleGalaxyApiV3CollectionsApi* | [**create**](docs/PulpAnsibleGalaxyApiV3CollectionsApi.md#create) | **POST** /pulp_ansible/galaxy/{path}/api/v3/artifacts/collections/ | Upload a collection
|
120
122
|
*PulpAnsibleClient::PulpAnsibleGalaxyApiV3CollectionsDocsBlobApi* | [**read**](docs/PulpAnsibleGalaxyApiV3CollectionsDocsBlobApi.md#read) | **GET** /pulp_ansible/galaxy/{path}/api/v3/collections/{namespace}/{name}/versions/{version}/docs-blob/ |
|
121
123
|
*PulpAnsibleClient::PulpAnsibleGalaxyApiV3VersionsApi* | [**list**](docs/PulpAnsibleGalaxyApiV3VersionsApi.md#list) | **GET** /pulp_ansible/galaxy/{path}/api/v3/collections/{namespace}/{name}/versions/ |
|
122
124
|
*PulpAnsibleClient::PulpAnsibleGalaxyApiV3VersionsApi* | [**read**](docs/PulpAnsibleGalaxyApiV3VersionsApi.md#read) | **GET** /pulp_ansible/galaxy/{path}/api/v3/collections/{namespace}/{name}/versions/{version}/ |
|
125
|
+
*PulpAnsibleClient::PulpAnsibleGalaxyV3Api* | [**read**](docs/PulpAnsibleGalaxyV3Api.md#read) | **GET** /pulp_ansible/galaxy/{path}/api/v3/ |
|
123
126
|
*PulpAnsibleClient::PulpAnsibleTagsApi* | [**list**](docs/PulpAnsibleTagsApi.md#list) | **GET** /pulp/api/v3/pulp_ansible/tags/ | List tags
|
124
127
|
*PulpAnsibleClient::RemotesCollectionApi* | [**create**](docs/RemotesCollectionApi.md#create) | **POST** /pulp/api/v3/remotes/ansible/collection/ | Create a collection remote
|
125
128
|
*PulpAnsibleClient::RemotesCollectionApi* | [**delete**](docs/RemotesCollectionApi.md#delete) | **DELETE** {ansible_collection_remote_href} | Delete a collection remote
|
@@ -160,6 +163,7 @@ Class | Method | HTTP request | Description
|
|
160
163
|
- [PulpAnsibleClient::AnsibleCollectionResponse](docs/AnsibleCollectionResponse.md)
|
161
164
|
- [PulpAnsibleClient::AnsibleCollectionVersion](docs/AnsibleCollectionVersion.md)
|
162
165
|
- [PulpAnsibleClient::AnsibleCollectionVersionResponse](docs/AnsibleCollectionVersionResponse.md)
|
166
|
+
- [PulpAnsibleClient::AnsibleRepositorySyncURL](docs/AnsibleRepositorySyncURL.md)
|
163
167
|
- [PulpAnsibleClient::AnsibleRole](docs/AnsibleRole.md)
|
164
168
|
- [PulpAnsibleClient::AnsibleRoleRemote](docs/AnsibleRoleRemote.md)
|
165
169
|
- [PulpAnsibleClient::AnsibleRoleRemoteResponse](docs/AnsibleRoleRemoteResponse.md)
|
@@ -200,14 +204,13 @@ Class | Method | HTTP request | Description
|
|
200
204
|
- [PulpAnsibleClient::PaginatedansibleCollectionVersionResponseList](docs/PaginatedansibleCollectionVersionResponseList.md)
|
201
205
|
- [PulpAnsibleClient::PaginatedansibleRoleRemoteResponseList](docs/PaginatedansibleRoleRemoteResponseList.md)
|
202
206
|
- [PulpAnsibleClient::PaginatedansibleRoleResponseList](docs/PaginatedansibleRoleResponseList.md)
|
203
|
-
- [PulpAnsibleClient::PatchedCollection](docs/PatchedCollection.md)
|
204
207
|
- [PulpAnsibleClient::PatchedansibleAnsibleDistribution](docs/PatchedansibleAnsibleDistribution.md)
|
205
208
|
- [PulpAnsibleClient::PatchedansibleAnsibleRepository](docs/PatchedansibleAnsibleRepository.md)
|
206
209
|
- [PulpAnsibleClient::PatchedansibleCollectionRemote](docs/PatchedansibleCollectionRemote.md)
|
207
210
|
- [PulpAnsibleClient::PatchedansibleRoleRemote](docs/PatchedansibleRoleRemote.md)
|
208
211
|
- [PulpAnsibleClient::PolicyEnum](docs/PolicyEnum.md)
|
212
|
+
- [PulpAnsibleClient::RepoMetadataResponse](docs/RepoMetadataResponse.md)
|
209
213
|
- [PulpAnsibleClient::RepositoryAddRemoveContent](docs/RepositoryAddRemoveContent.md)
|
210
|
-
- [PulpAnsibleClient::RepositorySyncURL](docs/RepositorySyncURL.md)
|
211
214
|
- [PulpAnsibleClient::RepositoryVersion](docs/RepositoryVersion.md)
|
212
215
|
- [PulpAnsibleClient::RepositoryVersionResponse](docs/RepositoryVersionResponse.md)
|
213
216
|
- [PulpAnsibleClient::TagResponse](docs/TagResponse.md)
|
@@ -4,18 +4,22 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
7
8
|
**name** | **String** | A unique name for this repository. |
|
8
9
|
**description** | **String** | An optional description. | [optional]
|
9
10
|
**remote** | **String** | | [optional]
|
11
|
+
**last_synced_metadata_time** | **DateTime** | Last synced metadata time. | [optional]
|
10
12
|
|
11
13
|
## Code Sample
|
12
14
|
|
13
15
|
```ruby
|
14
16
|
require 'PulpAnsibleClient'
|
15
17
|
|
16
|
-
instance = PulpAnsibleClient::AnsibleAnsibleRepository.new(
|
18
|
+
instance = PulpAnsibleClient::AnsibleAnsibleRepository.new(pulp_labels: null,
|
19
|
+
name: null,
|
17
20
|
description: null,
|
18
|
-
remote: null
|
21
|
+
remote: null,
|
22
|
+
last_synced_metadata_time: null)
|
19
23
|
```
|
20
24
|
|
21
25
|
|
@@ -7,10 +7,12 @@ Name | Type | Description | Notes
|
|
7
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
8
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
9
|
**versions_href** | **String** | | [optional] [readonly]
|
10
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
10
11
|
**latest_version_href** | **String** | | [optional] [readonly]
|
11
12
|
**name** | **String** | A unique name for this repository. |
|
12
13
|
**description** | **String** | An optional description. | [optional]
|
13
14
|
**remote** | **String** | | [optional]
|
15
|
+
**last_synced_metadata_time** | **DateTime** | Last synced metadata time. | [optional]
|
14
16
|
|
15
17
|
## Code Sample
|
16
18
|
|
@@ -20,10 +22,12 @@ require 'PulpAnsibleClient'
|
|
20
22
|
instance = PulpAnsibleClient::AnsibleAnsibleRepositoryResponse.new(pulp_href: null,
|
21
23
|
pulp_created: null,
|
22
24
|
versions_href: null,
|
25
|
+
pulp_labels: null,
|
23
26
|
latest_version_href: null,
|
24
27
|
name: null,
|
25
28
|
description: null,
|
26
|
-
remote: null
|
29
|
+
remote: null,
|
30
|
+
last_synced_metadata_time: null)
|
27
31
|
```
|
28
32
|
|
29
33
|
|
@@ -13,12 +13,14 @@ Name | Type | Description | Notes
|
|
13
13
|
**proxy_url** | **String** | The proxy URL. Format: scheme://user:password@host:port | [optional]
|
14
14
|
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
15
15
|
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
16
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
16
17
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
17
18
|
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. | [optional]
|
18
19
|
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
|
19
20
|
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
20
21
|
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
21
22
|
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
23
|
+
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
22
24
|
**requirements_file** | **String** | The string version of Collection requirements yaml. | [optional]
|
23
25
|
**auth_url** | **String** | The URL to receive a session token from, e.g. used with Automation Hub. | [optional]
|
24
26
|
**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]
|
@@ -37,12 +39,14 @@ instance = PulpAnsibleClient::AnsibleCollectionRemote.new(name: null,
|
|
37
39
|
proxy_url: null,
|
38
40
|
username: null,
|
39
41
|
password: null,
|
42
|
+
pulp_labels: null,
|
40
43
|
download_concurrency: null,
|
41
44
|
policy: null,
|
42
45
|
total_timeout: null,
|
43
46
|
connect_timeout: null,
|
44
47
|
sock_connect_timeout: null,
|
45
48
|
sock_read_timeout: null,
|
49
|
+
rate_limit: null,
|
46
50
|
requirements_file: null,
|
47
51
|
auth_url: null,
|
48
52
|
token: null)
|
@@ -15,6 +15,7 @@ Name | Type | Description | Notes
|
|
15
15
|
**proxy_url** | **String** | The proxy URL. Format: scheme://user:password@host:port | [optional]
|
16
16
|
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
17
17
|
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
18
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
18
19
|
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
19
20
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
20
21
|
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. | [optional]
|
@@ -22,6 +23,7 @@ Name | Type | Description | Notes
|
|
22
23
|
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
23
24
|
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
24
25
|
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
26
|
+
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
25
27
|
**requirements_file** | **String** | The string version of Collection requirements yaml. | [optional]
|
26
28
|
**auth_url** | **String** | The URL to receive a session token from, e.g. used with Automation Hub. | [optional]
|
27
29
|
**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]
|
@@ -42,6 +44,7 @@ instance = PulpAnsibleClient::AnsibleCollectionRemoteResponse.new(pulp_href: nul
|
|
42
44
|
proxy_url: null,
|
43
45
|
username: null,
|
44
46
|
password: null,
|
47
|
+
pulp_labels: null,
|
45
48
|
pulp_last_updated: null,
|
46
49
|
download_concurrency: null,
|
47
50
|
policy: null,
|
@@ -49,6 +52,7 @@ instance = PulpAnsibleClient::AnsibleCollectionRemoteResponse.new(pulp_href: nul
|
|
49
52
|
connect_timeout: null,
|
50
53
|
sock_connect_timeout: null,
|
51
54
|
sock_read_timeout: null,
|
55
|
+
rate_limit: null,
|
52
56
|
requirements_file: null,
|
53
57
|
auth_url: null,
|
54
58
|
token: null)
|
@@ -11,6 +11,8 @@ Name | Type | Description | Notes
|
|
11
11
|
**dependencies** | [**Object**](.md) | A dict declaring Collections that this collection requires to be installed for it to be usable. |
|
12
12
|
**description** | **String** | A short summary description of the collection. |
|
13
13
|
**docs_blob** | [**Object**](.md) | A JSON field holding the various documentation blobs in the collection. |
|
14
|
+
**manifest** | [**Object**](.md) | A JSON field holding MANIFEST.json data. |
|
15
|
+
**files** | [**Object**](.md) | A JSON field holding FILES.json data. |
|
14
16
|
**documentation** | **String** | The URL to any online docs. |
|
15
17
|
**homepage** | **String** | The URL to the homepage of the collection/project. |
|
16
18
|
**issues** | **String** | The URL to the collection issue tracker. |
|
@@ -19,6 +21,7 @@ Name | Type | Description | Notes
|
|
19
21
|
**namespace** | **String** | The namespace of the collection. |
|
20
22
|
**repository** | **String** | The URL of the originating SCM repository. |
|
21
23
|
**version** | **String** | The version of the collection. |
|
24
|
+
**requires_ansible** | **String** | The version of Ansible required to use the collection. Multiple versions can be separated with a comma. | [optional]
|
22
25
|
|
23
26
|
## Code Sample
|
24
27
|
|
@@ -32,6 +35,8 @@ instance = PulpAnsibleClient::AnsibleCollectionVersion.new(artifact: null,
|
|
32
35
|
dependencies: null,
|
33
36
|
description: null,
|
34
37
|
docs_blob: null,
|
38
|
+
manifest: null,
|
39
|
+
files: null,
|
35
40
|
documentation: null,
|
36
41
|
homepage: null,
|
37
42
|
issues: null,
|
@@ -39,7 +44,8 @@ instance = PulpAnsibleClient::AnsibleCollectionVersion.new(artifact: null,
|
|
39
44
|
name: null,
|
40
45
|
namespace: null,
|
41
46
|
repository: null,
|
42
|
-
version: null
|
47
|
+
version: null,
|
48
|
+
requires_ansible: null)
|
43
49
|
```
|
44
50
|
|
45
51
|
|
@@ -4,9 +4,9 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
7
8
|
**artifact** | **String** | Artifact file representing the physical content |
|
8
9
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
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]
|
@@ -19,6 +19,8 @@ Name | Type | Description | Notes
|
|
19
19
|
**dependencies** | [**Object**](.md) | A dict declaring Collections that this collection requires to be installed for it to be usable. |
|
20
20
|
**description** | **String** | A short summary description of the collection. |
|
21
21
|
**docs_blob** | [**Object**](.md) | A JSON field holding the various documentation blobs in the collection. |
|
22
|
+
**manifest** | [**Object**](.md) | A JSON field holding MANIFEST.json data. |
|
23
|
+
**files** | [**Object**](.md) | A JSON field holding FILES.json data. |
|
22
24
|
**documentation** | **String** | The URL to any online docs. |
|
23
25
|
**homepage** | **String** | The URL to the homepage of the collection/project. |
|
24
26
|
**issues** | **String** | The URL to the collection issue tracker. |
|
@@ -28,15 +30,16 @@ Name | Type | Description | Notes
|
|
28
30
|
**repository** | **String** | The URL of the originating SCM repository. |
|
29
31
|
**tags** | [**Array<AnsibleTagResponse>**](AnsibleTagResponse.md) | | [optional] [readonly]
|
30
32
|
**version** | **String** | The version of the collection. |
|
33
|
+
**requires_ansible** | **String** | The version of Ansible required to use the collection. Multiple versions can be separated with a comma. | [optional]
|
31
34
|
|
32
35
|
## Code Sample
|
33
36
|
|
34
37
|
```ruby
|
35
38
|
require 'PulpAnsibleClient'
|
36
39
|
|
37
|
-
instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(
|
40
|
+
instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(pulp_href: null,
|
41
|
+
artifact: null,
|
38
42
|
pulp_created: null,
|
39
|
-
pulp_href: null,
|
40
43
|
md5: null,
|
41
44
|
sha1: null,
|
42
45
|
sha224: null,
|
@@ -49,6 +52,8 @@ instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(artifact: nul
|
|
49
52
|
dependencies: null,
|
50
53
|
description: null,
|
51
54
|
docs_blob: null,
|
55
|
+
manifest: null,
|
56
|
+
files: null,
|
52
57
|
documentation: null,
|
53
58
|
homepage: null,
|
54
59
|
issues: null,
|
@@ -57,7 +62,8 @@ instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(artifact: nul
|
|
57
62
|
namespace: null,
|
58
63
|
repository: null,
|
59
64
|
tags: null,
|
60
|
-
version: null
|
65
|
+
version: null,
|
66
|
+
requires_ansible: null)
|
61
67
|
```
|
62
68
|
|
63
69
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# PulpAnsibleClient::
|
1
|
+
# PulpAnsibleClient::AnsibleRepositorySyncURL
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -6,14 +6,16 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**remote** | **String** | A remote to sync from. This will override a remote set on repository. | [optional]
|
8
8
|
**mirror** | **Boolean** | If ``True``, synchronization will remove all content that is not present in the remote repository. If ``False``, sync will be additive only. | [optional] [default to false]
|
9
|
+
**optimize** | **Boolean** | Whether to optimize sync or not. | [optional] [default to true]
|
9
10
|
|
10
11
|
## Code Sample
|
11
12
|
|
12
13
|
```ruby
|
13
14
|
require 'PulpAnsibleClient'
|
14
15
|
|
15
|
-
instance = PulpAnsibleClient::
|
16
|
-
mirror: null
|
16
|
+
instance = PulpAnsibleClient::AnsibleRepositorySyncURL.new(remote: null,
|
17
|
+
mirror: null,
|
18
|
+
optimize: null)
|
17
19
|
```
|
18
20
|
|
19
21
|
|
data/docs/AnsibleRoleRemote.md
CHANGED
@@ -13,12 +13,14 @@ Name | Type | Description | Notes
|
|
13
13
|
**proxy_url** | **String** | The proxy URL. Format: scheme://user:password@host:port | [optional]
|
14
14
|
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
15
15
|
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
16
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
16
17
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
17
18
|
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. | [optional]
|
18
19
|
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
|
19
20
|
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
20
21
|
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
21
22
|
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
23
|
+
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
22
24
|
|
23
25
|
## Code Sample
|
24
26
|
|
@@ -34,12 +36,14 @@ instance = PulpAnsibleClient::AnsibleRoleRemote.new(name: null,
|
|
34
36
|
proxy_url: null,
|
35
37
|
username: null,
|
36
38
|
password: null,
|
39
|
+
pulp_labels: null,
|
37
40
|
download_concurrency: null,
|
38
41
|
policy: null,
|
39
42
|
total_timeout: null,
|
40
43
|
connect_timeout: null,
|
41
44
|
sock_connect_timeout: null,
|
42
|
-
sock_read_timeout: null
|
45
|
+
sock_read_timeout: null,
|
46
|
+
rate_limit: null)
|
43
47
|
```
|
44
48
|
|
45
49
|
|
@@ -15,6 +15,7 @@ Name | Type | Description | Notes
|
|
15
15
|
**proxy_url** | **String** | The proxy URL. Format: scheme://user:password@host:port | [optional]
|
16
16
|
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
17
17
|
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
18
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
18
19
|
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
19
20
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
20
21
|
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. | [optional]
|
@@ -22,6 +23,7 @@ Name | Type | Description | Notes
|
|
22
23
|
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
23
24
|
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
24
25
|
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
26
|
+
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
25
27
|
|
26
28
|
## Code Sample
|
27
29
|
|
@@ -39,13 +41,15 @@ instance = PulpAnsibleClient::AnsibleRoleRemoteResponse.new(pulp_href: null,
|
|
39
41
|
proxy_url: null,
|
40
42
|
username: null,
|
41
43
|
password: null,
|
44
|
+
pulp_labels: null,
|
42
45
|
pulp_last_updated: null,
|
43
46
|
download_concurrency: null,
|
44
47
|
policy: null,
|
45
48
|
total_timeout: null,
|
46
49
|
connect_timeout: null,
|
47
50
|
sock_connect_timeout: null,
|
48
|
-
sock_read_timeout: null
|
51
|
+
sock_read_timeout: null,
|
52
|
+
rate_limit: null)
|
49
53
|
```
|
50
54
|
|
51
55
|
|
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]
|
7
8
|
**artifact** | **String** | Artifact file representing the physical content |
|
8
9
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
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_href: null,
|
20
|
+
artifact: null,
|
20
21
|
pulp_created: null,
|
21
|
-
pulp_href: null,
|
22
22
|
version: null,
|
23
23
|
name: null,
|
24
24
|
namespace: null)
|
data/docs/CollectionResponse.md
CHANGED
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**href** | **String** | | [optional] [readonly]
|
8
8
|
**namespace** | **String** | | [optional] [readonly]
|
9
9
|
**name** | **String** | | [optional] [readonly]
|
10
|
-
**deprecated** | **Boolean** | |
|
10
|
+
**deprecated** | **Boolean** | | [optional] [readonly]
|
11
11
|
**versions_url** | **String** | | [optional] [readonly]
|
12
12
|
**highest_version** | [**Object**](.md) | | [optional] [readonly]
|
13
13
|
**created_at** | **DateTime** | | [optional] [readonly]
|
@@ -8,6 +8,9 @@ Name | Type | Description | Notes
|
|
8
8
|
**href** | **String** | | [optional] [readonly]
|
9
9
|
**created_at** | **DateTime** | |
|
10
10
|
**updated_at** | **DateTime** | |
|
11
|
+
**manifest** | [**Object**](.md) | A JSON field holding MANIFEST.json data. |
|
12
|
+
**files** | [**Object**](.md) | A JSON field holding FILES.json data. |
|
13
|
+
**requires_ansible** | **String** | | [optional]
|
11
14
|
**artifact** | [**ArtifactRefResponse**](ArtifactRefResponse.md) | | [optional] [readonly]
|
12
15
|
**collection** | [**CollectionRefResponse**](CollectionRefResponse.md) | | [optional] [readonly]
|
13
16
|
**download_url** | **String** | | [optional] [readonly]
|
@@ -24,6 +27,9 @@ instance = PulpAnsibleClient::CollectionVersionResponse.new(version: null,
|
|
24
27
|
href: null,
|
25
28
|
created_at: null,
|
26
29
|
updated_at: null,
|
30
|
+
manifest: null,
|
31
|
+
files: null,
|
32
|
+
requires_ansible: null,
|
27
33
|
artifact: null,
|
28
34
|
collection: null,
|
29
35
|
download_url: null,
|
@@ -147,9 +147,13 @@ opts = {
|
|
147
147
|
base_path__in: 'base_path__in_example', # String | base_path__in
|
148
148
|
limit: 56, # Integer | Number of results to return per page.
|
149
149
|
name: 'name_example', # String | name
|
150
|
+
name__contains: 'name__contains_example', # String | name__contains
|
151
|
+
name__icontains: 'name__icontains_example', # String | name__icontains
|
150
152
|
name__in: 'name__in_example', # String | name__in
|
153
|
+
name__startswith: 'name__startswith_example', # String | name__startswith
|
151
154
|
offset: 56, # Integer | The initial index from which to return the results.
|
152
155
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
156
|
+
pulp_label_select: 'pulp_label_select_example', # String | pulp_label_select
|
153
157
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
154
158
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
155
159
|
}
|
@@ -174,9 +178,13 @@ Name | Type | Description | Notes
|
|
174
178
|
**base_path__in** | **String**| base_path__in | [optional]
|
175
179
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
176
180
|
**name** | **String**| name | [optional]
|
181
|
+
**name__contains** | **String**| name__contains | [optional]
|
182
|
+
**name__icontains** | **String**| name__icontains | [optional]
|
177
183
|
**name__in** | **String**| name__in | [optional]
|
184
|
+
**name__startswith** | **String**| name__startswith | [optional]
|
178
185
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
179
186
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
187
|
+
**pulp_label_select** | **String**| pulp_label_select | [optional]
|
180
188
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
181
189
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
182
190
|
|
@@ -4,18 +4,22 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
7
8
|
**name** | **String** | A unique name for this repository. | [optional]
|
8
9
|
**description** | **String** | An optional description. | [optional]
|
9
10
|
**remote** | **String** | | [optional]
|
11
|
+
**last_synced_metadata_time** | **DateTime** | Last synced metadata time. | [optional]
|
10
12
|
|
11
13
|
## Code Sample
|
12
14
|
|
13
15
|
```ruby
|
14
16
|
require 'PulpAnsibleClient'
|
15
17
|
|
16
|
-
instance = PulpAnsibleClient::PatchedansibleAnsibleRepository.new(
|
18
|
+
instance = PulpAnsibleClient::PatchedansibleAnsibleRepository.new(pulp_labels: null,
|
19
|
+
name: null,
|
17
20
|
description: null,
|
18
|
-
remote: null
|
21
|
+
remote: null,
|
22
|
+
last_synced_metadata_time: null)
|
19
23
|
```
|
20
24
|
|
21
25
|
|
@@ -13,12 +13,14 @@ Name | Type | Description | Notes
|
|
13
13
|
**proxy_url** | **String** | The proxy URL. Format: scheme://user:password@host:port | [optional]
|
14
14
|
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
15
15
|
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
16
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
16
17
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
17
18
|
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. | [optional]
|
18
19
|
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
|
19
20
|
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
20
21
|
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
21
22
|
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
23
|
+
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
22
24
|
**requirements_file** | **String** | The string version of Collection requirements yaml. | [optional]
|
23
25
|
**auth_url** | **String** | The URL to receive a session token from, e.g. used with Automation Hub. | [optional]
|
24
26
|
**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]
|
@@ -37,12 +39,14 @@ instance = PulpAnsibleClient::PatchedansibleCollectionRemote.new(name: null,
|
|
37
39
|
proxy_url: null,
|
38
40
|
username: null,
|
39
41
|
password: null,
|
42
|
+
pulp_labels: null,
|
40
43
|
download_concurrency: null,
|
41
44
|
policy: null,
|
42
45
|
total_timeout: null,
|
43
46
|
connect_timeout: null,
|
44
47
|
sock_connect_timeout: null,
|
45
48
|
sock_read_timeout: null,
|
49
|
+
rate_limit: null,
|
46
50
|
requirements_file: null,
|
47
51
|
auth_url: null,
|
48
52
|
token: null)
|
@@ -13,12 +13,14 @@ Name | Type | Description | Notes
|
|
13
13
|
**proxy_url** | **String** | The proxy URL. Format: scheme://user:password@host:port | [optional]
|
14
14
|
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
15
15
|
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
16
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
16
17
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
17
18
|
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. | [optional]
|
18
19
|
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
|
19
20
|
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
20
21
|
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
21
22
|
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
23
|
+
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
22
24
|
|
23
25
|
## Code Sample
|
24
26
|
|
@@ -34,12 +36,14 @@ instance = PulpAnsibleClient::PatchedansibleRoleRemote.new(name: null,
|
|
34
36
|
proxy_url: null,
|
35
37
|
username: null,
|
36
38
|
password: null,
|
39
|
+
pulp_labels: null,
|
37
40
|
download_concurrency: null,
|
38
41
|
policy: null,
|
39
42
|
total_timeout: null,
|
40
43
|
connect_timeout: null,
|
41
44
|
sock_connect_timeout: null,
|
42
|
-
sock_read_timeout: null
|
45
|
+
sock_read_timeout: null,
|
46
|
+
rate_limit: null)
|
43
47
|
```
|
44
48
|
|
45
49
|
|
@@ -27,6 +27,7 @@ require 'pulp_ansible_client'
|
|
27
27
|
api_instance = PulpAnsibleClient::PulpAnsibleGalaxyApiCollectionsApi.new
|
28
28
|
path = 'path_example' # String |
|
29
29
|
opts = {
|
30
|
+
deprecated: 'deprecated_example', # String | deprecated
|
30
31
|
limit: 56, # Integer | Number of results to return per page.
|
31
32
|
name: 'name_example', # String | name
|
32
33
|
namespace: 'namespace_example', # String | namespace
|
@@ -49,6 +50,7 @@ end
|
|
49
50
|
Name | Type | Description | Notes
|
50
51
|
------------- | ------------- | ------------- | -------------
|
51
52
|
**path** | **String**| |
|
53
|
+
**deprecated** | **String**| deprecated | [optional]
|
52
54
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
53
55
|
**name** | **String**| name | [optional]
|
54
56
|
**namespace** | **String**| namespace | [optional]
|
@@ -128,7 +130,7 @@ No authorization required
|
|
128
130
|
|
129
131
|
## update
|
130
132
|
|
131
|
-
> CollectionResponse update(name, namespace, path,
|
133
|
+
> CollectionResponse update(name, namespace, path, body)
|
132
134
|
|
133
135
|
|
134
136
|
|
@@ -144,10 +146,10 @@ api_instance = PulpAnsibleClient::PulpAnsibleGalaxyApiCollectionsApi.new
|
|
144
146
|
name = 'name_example' # String |
|
145
147
|
namespace = 'namespace_example' # String |
|
146
148
|
path = 'path_example' # String |
|
147
|
-
|
149
|
+
body = nil # Object |
|
148
150
|
|
149
151
|
begin
|
150
|
-
result = api_instance.update(name, namespace, path,
|
152
|
+
result = api_instance.update(name, namespace, path, body)
|
151
153
|
p result
|
152
154
|
rescue PulpAnsibleClient::ApiError => e
|
153
155
|
puts "Exception when calling PulpAnsibleGalaxyApiCollectionsApi->update: #{e}"
|
@@ -162,7 +164,7 @@ Name | Type | Description | Notes
|
|
162
164
|
**name** | **String**| |
|
163
165
|
**namespace** | **String**| |
|
164
166
|
**path** | **String**| |
|
165
|
-
**
|
167
|
+
**body** | **Object**| |
|
166
168
|
|
167
169
|
### Return type
|
168
170
|
|