pulp_ansible_client 0.8.1 → 0.9.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 +15 -15
- data/docs/AnsibleCollectionRemote.md +7 -5
- data/docs/AnsibleCollectionRemoteResponse.md +7 -5
- data/docs/AnsibleCollectionVersionResponse.md +3 -3
- data/docs/AnsibleRoleRemote.md +7 -5
- data/docs/AnsibleRoleRemoteResponse.md +7 -5
- data/docs/AnsibleRoleResponse.md +3 -3
- data/docs/PatchedansibleCollectionRemote.md +7 -5
- data/docs/PatchedansibleRoleRemote.md +7 -5
- data/docs/{PulpAnsibleGalaxyApiV2VersionsApi.md → PulpAnsibleApiV2CollectionsVersionsApi.md} +4 -4
- data/docs/{PulpAnsibleGalaxyV3Api.md → PulpAnsibleApiV3Api.md} +4 -4
- data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +61 -0
- data/docs/PulpAnsibleApiV3CollectionsAllApi.md +67 -0
- data/docs/{PulpAnsibleGalaxyApiCollectionsApi.md → PulpAnsibleApiV3CollectionsApi.md} +12 -12
- data/docs/{PulpAnsibleGalaxyApiV3VersionsApi.md → PulpAnsibleApiV3CollectionsVersionsApi.md} +7 -7
- data/docs/{PulpAnsibleGalaxyApiV3CollectionsDocsBlobApi.md → PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md} +4 -4
- data/docs/{PulpAnsibleGalaxyApiV3CollectionsApi.md → PulpAnsibleArtifactsCollectionsV3Api.md} +4 -4
- data/lib/pulp_ansible_client/api/{pulp_ansible_galaxy_api_v2_versions_api.rb → pulp_ansible_api_v2_collections_versions_api.rb} +7 -7
- data/lib/pulp_ansible_client/api/{pulp_ansible_galaxy_v3_api.rb → pulp_ansible_api_v3_api.rb} +4 -4
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collection_versions_all_api.rb +88 -0
- data/lib/pulp_ansible_client/api/{pulp_ansible_galaxy_api_v3_all_api.rb → pulp_ansible_api_v3_collections_all_api.rb} +9 -75
- data/lib/pulp_ansible_client/api/{pulp_ansible_galaxy_api_collections_api.rb → pulp_ansible_api_v3_collections_api.rb} +17 -17
- data/lib/pulp_ansible_client/api/{pulp_ansible_galaxy_api_v3_versions_api.rb → pulp_ansible_api_v3_collections_versions_api.rb} +12 -12
- data/lib/pulp_ansible_client/api/{pulp_ansible_galaxy_api_v3_collections_docs_blob_api.rb → pulp_ansible_api_v3_collections_versions_docs_blob_api.rb} +7 -7
- data/lib/pulp_ansible_client/api/{pulp_ansible_galaxy_api_v3_collections_api.rb → pulp_ansible_artifacts_collections_v3_api.rb} +5 -5
- data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +18 -6
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +18 -6
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_role_remote.rb +18 -6
- data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +18 -6
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +11 -11
- data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +18 -6
- data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +18 -6
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/lib/pulp_ansible_client.rb +8 -7
- data/spec/api/{pulp_ansible_galaxy_api_v2_versions_api_spec.rb → pulp_ansible_api_v2_collections_versions_api_spec.rb} +6 -6
- data/spec/api/{pulp_ansible_galaxy_v3_api_spec.rb → pulp_ansible_api_v3_api_spec.rb} +6 -6
- data/spec/api/pulp_ansible_api_v3_collection_versions_all_api_spec.rb +48 -0
- data/spec/api/{pulp_ansible_galaxy_api_v3_all_api_spec.rb → pulp_ansible_api_v3_collections_all_api_spec.rb} +8 -21
- data/spec/api/{pulp_ansible_galaxy_api_collections_api_spec.rb → pulp_ansible_api_v3_collections_api_spec.rb} +7 -7
- data/spec/api/{pulp_ansible_galaxy_api_v3_versions_api_spec.rb → pulp_ansible_api_v3_collections_versions_api_spec.rb} +6 -6
- data/spec/api/{pulp_ansible_galaxy_api_v3_collections_docs_blob_api_spec.rb → pulp_ansible_api_v3_collections_versions_docs_blob_api_spec.rb} +6 -6
- data/spec/api/{pulp_ansible_galaxy_api_v3_collections_api_spec.rb → pulp_ansible_artifacts_collections_v3_api_spec.rb} +6 -6
- 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 +3 -3
- data/spec/models/ansible_role_remote_response_spec.rb +6 -0
- data/spec/models/ansible_role_remote_spec.rb +6 -0
- data/spec/models/ansible_role_response_spec.rb +3 -3
- data/spec/models/patchedansible_collection_remote_spec.rb +6 -0
- data/spec/models/patchedansible_role_remote_spec.rb +6 -0
- metadata +33 -29
- data/docs/PulpAnsibleGalaxyApiV3AllApi.md +0 -120
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 76853a432d0c5fbb33cbb969aa81ee5700360c5d713c2d6be5b4464bafcaf2be
|
|
4
|
+
data.tar.gz: cf8e06914acd2a8cd607f90702f6a752d0063bfee13715f496f1a7be7431ef6d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 948d57086cc1de8366c3f60ca91506be640883382e9e43f05756e6abf00f988101e0296c2faa1512132bb8b285b50071245766595a917a1098e4d4fd7ea9fb4d
|
|
7
|
+
data.tar.gz: 75305bb318a339e1c23351bb8cefe0dbdfbb799a6f488967bcb9a0158329ef9b8c6bb995d4216376c3ab87c3987ba1c34ee00b09e8bec484551e6e3850ac9ece
|
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.9.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.9.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.9.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.9.0'
|
|
37
37
|
|
|
38
38
|
### Install from Git
|
|
39
39
|
|
|
@@ -112,17 +112,17 @@ Class | Method | HTTP request | Description
|
|
|
112
112
|
*PulpAnsibleClient::DistributionsAnsibleApi* | [**update**](docs/DistributionsAnsibleApi.md#update) | **PUT** {ansible_ansible_distribution_href} | Update an ansible distribution
|
|
113
113
|
*PulpAnsibleClient::GalaxyDetailApi* | [**get**](docs/GalaxyDetailApi.md#get) | **GET** {ansible_collection_href} |
|
|
114
114
|
*PulpAnsibleClient::PulpAnsibleApiApi* | [**get**](docs/PulpAnsibleApiApi.md#get) | **GET** /pulp_ansible/galaxy/{path}/api/ |
|
|
115
|
-
*PulpAnsibleClient::
|
|
116
|
-
*PulpAnsibleClient::
|
|
117
|
-
*PulpAnsibleClient::
|
|
118
|
-
*PulpAnsibleClient::
|
|
119
|
-
*PulpAnsibleClient::
|
|
120
|
-
*PulpAnsibleClient::
|
|
121
|
-
*PulpAnsibleClient::
|
|
122
|
-
*PulpAnsibleClient::
|
|
123
|
-
*PulpAnsibleClient::
|
|
124
|
-
*PulpAnsibleClient::
|
|
125
|
-
*PulpAnsibleClient::
|
|
115
|
+
*PulpAnsibleClient::PulpAnsibleApiV2CollectionsVersionsApi* | [**get**](docs/PulpAnsibleApiV2CollectionsVersionsApi.md#get) | **GET** /pulp_ansible/galaxy/{path}/api/v2/collections/{namespace}/{name}/versions/{version}/ |
|
|
116
|
+
*PulpAnsibleClient::PulpAnsibleApiV3Api* | [**read**](docs/PulpAnsibleApiV3Api.md#read) | **GET** /pulp_ansible/galaxy/{path}/api/v3/ |
|
|
117
|
+
*PulpAnsibleClient::PulpAnsibleApiV3CollectionVersionsAllApi* | [**list**](docs/PulpAnsibleApiV3CollectionVersionsAllApi.md#list) | **GET** /pulp_ansible/galaxy/{path}/api/v3/collection_versions/all/ |
|
|
118
|
+
*PulpAnsibleClient::PulpAnsibleApiV3CollectionsApi* | [**list**](docs/PulpAnsibleApiV3CollectionsApi.md#list) | **GET** /pulp_ansible/galaxy/{path}/api/v3/collections/ |
|
|
119
|
+
*PulpAnsibleClient::PulpAnsibleApiV3CollectionsApi* | [**read**](docs/PulpAnsibleApiV3CollectionsApi.md#read) | **GET** /pulp_ansible/galaxy/{path}/api/v3/collections/{namespace}/{name}/ |
|
|
120
|
+
*PulpAnsibleClient::PulpAnsibleApiV3CollectionsApi* | [**update**](docs/PulpAnsibleApiV3CollectionsApi.md#update) | **PATCH** /pulp_ansible/galaxy/{path}/api/v3/collections/{namespace}/{name}/ |
|
|
121
|
+
*PulpAnsibleClient::PulpAnsibleApiV3CollectionsAllApi* | [**list**](docs/PulpAnsibleApiV3CollectionsAllApi.md#list) | **GET** /pulp_ansible/galaxy/{path}/api/v3/collections/all/ |
|
|
122
|
+
*PulpAnsibleClient::PulpAnsibleApiV3CollectionsVersionsApi* | [**list**](docs/PulpAnsibleApiV3CollectionsVersionsApi.md#list) | **GET** /pulp_ansible/galaxy/{path}/api/v3/collections/{namespace}/{name}/versions/ |
|
|
123
|
+
*PulpAnsibleClient::PulpAnsibleApiV3CollectionsVersionsApi* | [**read**](docs/PulpAnsibleApiV3CollectionsVersionsApi.md#read) | **GET** /pulp_ansible/galaxy/{path}/api/v3/collections/{namespace}/{name}/versions/{version}/ |
|
|
124
|
+
*PulpAnsibleClient::PulpAnsibleApiV3CollectionsVersionsDocsBlobApi* | [**read**](docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md#read) | **GET** /pulp_ansible/galaxy/{path}/api/v3/collections/{namespace}/{name}/versions/{version}/docs-blob/ |
|
|
125
|
+
*PulpAnsibleClient::PulpAnsibleArtifactsCollectionsV3Api* | [**create**](docs/PulpAnsibleArtifactsCollectionsV3Api.md#create) | **POST** /pulp_ansible/galaxy/{path}/api/v3/artifacts/collections/ | Upload a collection
|
|
126
126
|
*PulpAnsibleClient::PulpAnsibleTagsApi* | [**list**](docs/PulpAnsibleTagsApi.md#list) | **GET** /pulp/api/v3/pulp_ansible/tags/ | List tags
|
|
127
127
|
*PulpAnsibleClient::RemotesCollectionApi* | [**create**](docs/RemotesCollectionApi.md#create) | **POST** /pulp/api/v3/remotes/ansible/collection/ | Create a collection remote
|
|
128
128
|
*PulpAnsibleClient::RemotesCollectionApi* | [**delete**](docs/RemotesCollectionApi.md#delete) | **DELETE** {ansible_collection_remote_href} | Delete a collection remote
|
|
@@ -16,12 +16,13 @@ Name | Type | Description | Notes
|
|
|
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
18
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
|
19
|
-
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
|
19
|
+
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
|
20
|
+
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
|
20
21
|
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. | [optional]
|
|
21
|
-
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
|
|
22
|
-
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
|
23
|
-
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
|
24
|
-
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
|
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
|
+
**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]
|
|
24
|
+
**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]
|
|
25
|
+
**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]
|
|
25
26
|
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
|
26
27
|
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
|
27
28
|
**requirements_file** | **String** | The string version of Collection requirements yaml. | [optional]
|
|
@@ -47,6 +48,7 @@ instance = PulpAnsibleClient::AnsibleCollectionRemote.new(name: null,
|
|
|
47
48
|
password: null,
|
|
48
49
|
pulp_labels: null,
|
|
49
50
|
download_concurrency: null,
|
|
51
|
+
max_retries: null,
|
|
50
52
|
policy: null,
|
|
51
53
|
total_timeout: null,
|
|
52
54
|
connect_timeout: null,
|
|
@@ -14,12 +14,13 @@ Name | Type | Description | Notes
|
|
|
14
14
|
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
|
15
15
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
|
16
16
|
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
|
17
|
-
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
|
17
|
+
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
|
18
|
+
**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
19
|
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. | [optional]
|
|
19
|
-
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
|
|
20
|
-
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
|
21
|
-
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
|
22
|
-
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
|
20
|
+
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
|
21
|
+
**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
|
+
**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]
|
|
23
|
+
**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]
|
|
23
24
|
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
|
24
25
|
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
|
25
26
|
**requirements_file** | **String** | The string version of Collection requirements yaml. | [optional]
|
|
@@ -43,6 +44,7 @@ instance = PulpAnsibleClient::AnsibleCollectionRemoteResponse.new(pulp_href: nul
|
|
|
43
44
|
pulp_labels: null,
|
|
44
45
|
pulp_last_updated: null,
|
|
45
46
|
download_concurrency: null,
|
|
47
|
+
max_retries: null,
|
|
46
48
|
policy: null,
|
|
47
49
|
total_timeout: null,
|
|
48
50
|
connect_timeout: null,
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
8
7
|
**artifact** | **String** | Artifact file representing the physical content |
|
|
9
8
|
**pulp_href** | **String** | | [optional] [readonly]
|
|
9
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
10
10
|
**md5** | **String** | The MD5 checksum if available. | [optional] [readonly]
|
|
11
11
|
**sha1** | **String** | The SHA-1 checksum if available. | [optional] [readonly]
|
|
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(
|
|
41
|
-
artifact: null,
|
|
40
|
+
instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(artifact: null,
|
|
42
41
|
pulp_href: null,
|
|
42
|
+
pulp_created: null,
|
|
43
43
|
md5: null,
|
|
44
44
|
sha1: null,
|
|
45
45
|
sha224: null,
|
data/docs/AnsibleRoleRemote.md
CHANGED
|
@@ -16,12 +16,13 @@ Name | Type | Description | Notes
|
|
|
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
18
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
|
19
|
-
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
|
19
|
+
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
|
20
|
+
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
|
20
21
|
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. | [optional]
|
|
21
|
-
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
|
|
22
|
-
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
|
23
|
-
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
|
24
|
-
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
|
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
|
+
**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]
|
|
24
|
+
**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]
|
|
25
|
+
**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]
|
|
25
26
|
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
|
26
27
|
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
|
27
28
|
|
|
@@ -43,6 +44,7 @@ instance = PulpAnsibleClient::AnsibleRoleRemote.new(name: null,
|
|
|
43
44
|
password: null,
|
|
44
45
|
pulp_labels: null,
|
|
45
46
|
download_concurrency: null,
|
|
47
|
+
max_retries: null,
|
|
46
48
|
policy: null,
|
|
47
49
|
total_timeout: null,
|
|
48
50
|
connect_timeout: null,
|
|
@@ -14,12 +14,13 @@ Name | Type | Description | Notes
|
|
|
14
14
|
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
|
15
15
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
|
16
16
|
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
|
17
|
-
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
|
17
|
+
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
|
18
|
+
**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
19
|
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. | [optional]
|
|
19
|
-
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
|
|
20
|
-
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
|
21
|
-
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
|
22
|
-
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
|
20
|
+
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
|
21
|
+
**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
|
+
**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]
|
|
23
|
+
**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]
|
|
23
24
|
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
|
24
25
|
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
|
25
26
|
|
|
@@ -39,6 +40,7 @@ instance = PulpAnsibleClient::AnsibleRoleRemoteResponse.new(pulp_href: null,
|
|
|
39
40
|
pulp_labels: null,
|
|
40
41
|
pulp_last_updated: null,
|
|
41
42
|
download_concurrency: null,
|
|
43
|
+
max_retries: null,
|
|
42
44
|
policy: null,
|
|
43
45
|
total_timeout: null,
|
|
44
46
|
connect_timeout: null,
|
data/docs/AnsibleRoleResponse.md
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
8
7
|
**artifact** | **String** | Artifact file representing the physical content |
|
|
9
8
|
**pulp_href** | **String** | | [optional] [readonly]
|
|
9
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [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(
|
|
20
|
-
artifact: null,
|
|
19
|
+
instance = PulpAnsibleClient::AnsibleRoleResponse.new(artifact: null,
|
|
21
20
|
pulp_href: null,
|
|
21
|
+
pulp_created: null,
|
|
22
22
|
version: null,
|
|
23
23
|
name: null,
|
|
24
24
|
namespace: null)
|
|
@@ -16,12 +16,13 @@ Name | Type | Description | Notes
|
|
|
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
18
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
|
19
|
-
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
|
19
|
+
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
|
20
|
+
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
|
20
21
|
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. | [optional]
|
|
21
|
-
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
|
|
22
|
-
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
|
23
|
-
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
|
24
|
-
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
|
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
|
+
**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]
|
|
24
|
+
**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]
|
|
25
|
+
**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]
|
|
25
26
|
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
|
26
27
|
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
|
27
28
|
**requirements_file** | **String** | The string version of Collection requirements yaml. | [optional]
|
|
@@ -47,6 +48,7 @@ instance = PulpAnsibleClient::PatchedansibleCollectionRemote.new(name: null,
|
|
|
47
48
|
password: null,
|
|
48
49
|
pulp_labels: null,
|
|
49
50
|
download_concurrency: null,
|
|
51
|
+
max_retries: null,
|
|
50
52
|
policy: null,
|
|
51
53
|
total_timeout: null,
|
|
52
54
|
connect_timeout: null,
|
|
@@ -16,12 +16,13 @@ Name | Type | Description | Notes
|
|
|
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
18
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
|
19
|
-
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
|
19
|
+
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
|
20
|
+
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
|
20
21
|
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. | [optional]
|
|
21
|
-
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
|
|
22
|
-
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
|
23
|
-
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
|
24
|
-
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
|
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
|
+
**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]
|
|
24
|
+
**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]
|
|
25
|
+
**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]
|
|
25
26
|
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
|
26
27
|
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
|
27
28
|
|
|
@@ -43,6 +44,7 @@ instance = PulpAnsibleClient::PatchedansibleRoleRemote.new(name: null,
|
|
|
43
44
|
password: null,
|
|
44
45
|
pulp_labels: null,
|
|
45
46
|
download_concurrency: null,
|
|
47
|
+
max_retries: null,
|
|
46
48
|
policy: null,
|
|
47
49
|
total_timeout: null,
|
|
48
50
|
connect_timeout: null,
|
data/docs/{PulpAnsibleGalaxyApiV2VersionsApi.md → PulpAnsibleApiV2CollectionsVersionsApi.md}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
# PulpAnsibleClient::
|
|
1
|
+
# PulpAnsibleClient::PulpAnsibleApiV2CollectionsVersionsApi
|
|
2
2
|
|
|
3
3
|
All URIs are relative to *http://pulp*
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
|
-
[**get**](
|
|
7
|
+
[**get**](PulpAnsibleApiV2CollectionsVersionsApi.md#get) | **GET** /pulp_ansible/galaxy/{path}/api/v2/collections/{namespace}/{name}/versions/{version}/ |
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -22,7 +22,7 @@ Return a response to the \"GET\" action.
|
|
|
22
22
|
# load the gem
|
|
23
23
|
require 'pulp_ansible_client'
|
|
24
24
|
|
|
25
|
-
api_instance = PulpAnsibleClient::
|
|
25
|
+
api_instance = PulpAnsibleClient::PulpAnsibleApiV2CollectionsVersionsApi.new
|
|
26
26
|
name = 'name_example' # String |
|
|
27
27
|
namespace = 'namespace_example' # String |
|
|
28
28
|
path = 'path_example' # String |
|
|
@@ -35,7 +35,7 @@ opts = {
|
|
|
35
35
|
begin
|
|
36
36
|
api_instance.get(name, namespace, path, version, opts)
|
|
37
37
|
rescue PulpAnsibleClient::ApiError => e
|
|
38
|
-
puts "Exception when calling
|
|
38
|
+
puts "Exception when calling PulpAnsibleApiV2CollectionsVersionsApi->get: #{e}"
|
|
39
39
|
end
|
|
40
40
|
```
|
|
41
41
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
# PulpAnsibleClient::
|
|
1
|
+
# PulpAnsibleClient::PulpAnsibleApiV3Api
|
|
2
2
|
|
|
3
3
|
All URIs are relative to *http://pulp*
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
|
-
[**read**](
|
|
7
|
+
[**read**](PulpAnsibleApiV3Api.md#read) | **GET** /pulp_ansible/galaxy/{path}/api/v3/ |
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -22,7 +22,7 @@ ViewSet for Repository Metadata.
|
|
|
22
22
|
# load the gem
|
|
23
23
|
require 'pulp_ansible_client'
|
|
24
24
|
|
|
25
|
-
api_instance = PulpAnsibleClient::
|
|
25
|
+
api_instance = PulpAnsibleClient::PulpAnsibleApiV3Api.new
|
|
26
26
|
path = 'path_example' # String |
|
|
27
27
|
opts = {
|
|
28
28
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
@@ -33,7 +33,7 @@ begin
|
|
|
33
33
|
result = api_instance.read(path, opts)
|
|
34
34
|
p result
|
|
35
35
|
rescue PulpAnsibleClient::ApiError => e
|
|
36
|
-
puts "Exception when calling
|
|
36
|
+
puts "Exception when calling PulpAnsibleApiV3Api->read: #{e}"
|
|
37
37
|
end
|
|
38
38
|
```
|
|
39
39
|
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# PulpAnsibleClient::PulpAnsibleApiV3CollectionVersionsAllApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://pulp*
|
|
4
|
+
|
|
5
|
+
Method | HTTP request | Description
|
|
6
|
+
------------- | ------------- | -------------
|
|
7
|
+
[**list**](PulpAnsibleApiV3CollectionVersionsAllApi.md#list) | **GET** /pulp_ansible/galaxy/{path}/api/v3/collection_versions/all/ |
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
## list
|
|
12
|
+
|
|
13
|
+
> Array<UnpaginatedCollectionVersionResponse> list(path, opts)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
Returns paginated CollectionVersions list.
|
|
18
|
+
|
|
19
|
+
### Example
|
|
20
|
+
|
|
21
|
+
```ruby
|
|
22
|
+
# load the gem
|
|
23
|
+
require 'pulp_ansible_client'
|
|
24
|
+
|
|
25
|
+
api_instance = PulpAnsibleClient::PulpAnsibleApiV3CollectionVersionsAllApi.new
|
|
26
|
+
path = 'path_example' # String |
|
|
27
|
+
opts = {
|
|
28
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
29
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
begin
|
|
33
|
+
result = api_instance.list(path, opts)
|
|
34
|
+
p result
|
|
35
|
+
rescue PulpAnsibleClient::ApiError => e
|
|
36
|
+
puts "Exception when calling PulpAnsibleApiV3CollectionVersionsAllApi->list: #{e}"
|
|
37
|
+
end
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
### Parameters
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
Name | Type | Description | Notes
|
|
44
|
+
------------- | ------------- | ------------- | -------------
|
|
45
|
+
**path** | **String**| |
|
|
46
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
47
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
48
|
+
|
|
49
|
+
### Return type
|
|
50
|
+
|
|
51
|
+
[**Array<UnpaginatedCollectionVersionResponse>**](UnpaginatedCollectionVersionResponse.md)
|
|
52
|
+
|
|
53
|
+
### Authorization
|
|
54
|
+
|
|
55
|
+
No authorization required
|
|
56
|
+
|
|
57
|
+
### HTTP request headers
|
|
58
|
+
|
|
59
|
+
- **Content-Type**: Not defined
|
|
60
|
+
- **Accept**: application/json
|
|
61
|
+
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
# PulpAnsibleClient::PulpAnsibleApiV3CollectionsAllApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://pulp*
|
|
4
|
+
|
|
5
|
+
Method | HTTP request | Description
|
|
6
|
+
------------- | ------------- | -------------
|
|
7
|
+
[**list**](PulpAnsibleApiV3CollectionsAllApi.md#list) | **GET** /pulp_ansible/galaxy/{path}/api/v3/collections/all/ |
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
## list
|
|
12
|
+
|
|
13
|
+
> Array<CollectionResponse> list(path, opts)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
Unpaginated ViewSet for Collections.
|
|
18
|
+
|
|
19
|
+
### Example
|
|
20
|
+
|
|
21
|
+
```ruby
|
|
22
|
+
# load the gem
|
|
23
|
+
require 'pulp_ansible_client'
|
|
24
|
+
|
|
25
|
+
api_instance = PulpAnsibleClient::PulpAnsibleApiV3CollectionsAllApi.new
|
|
26
|
+
path = 'path_example' # String |
|
|
27
|
+
opts = {
|
|
28
|
+
deprecated: true, # Boolean |
|
|
29
|
+
name: 'name_example', # String |
|
|
30
|
+
namespace: 'namespace_example', # String |
|
|
31
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
32
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
begin
|
|
36
|
+
result = api_instance.list(path, opts)
|
|
37
|
+
p result
|
|
38
|
+
rescue PulpAnsibleClient::ApiError => e
|
|
39
|
+
puts "Exception when calling PulpAnsibleApiV3CollectionsAllApi->list: #{e}"
|
|
40
|
+
end
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
### Parameters
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
Name | Type | Description | Notes
|
|
47
|
+
------------- | ------------- | ------------- | -------------
|
|
48
|
+
**path** | **String**| |
|
|
49
|
+
**deprecated** | **Boolean**| | [optional]
|
|
50
|
+
**name** | **String**| | [optional]
|
|
51
|
+
**namespace** | **String**| | [optional]
|
|
52
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
53
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
54
|
+
|
|
55
|
+
### Return type
|
|
56
|
+
|
|
57
|
+
[**Array<CollectionResponse>**](CollectionResponse.md)
|
|
58
|
+
|
|
59
|
+
### Authorization
|
|
60
|
+
|
|
61
|
+
No authorization required
|
|
62
|
+
|
|
63
|
+
### HTTP request headers
|
|
64
|
+
|
|
65
|
+
- **Content-Type**: Not defined
|
|
66
|
+
- **Accept**: application/json
|
|
67
|
+
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
# PulpAnsibleClient::
|
|
1
|
+
# PulpAnsibleClient::PulpAnsibleApiV3CollectionsApi
|
|
2
2
|
|
|
3
3
|
All URIs are relative to *http://pulp*
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
|
-
[**list**](
|
|
8
|
-
[**read**](
|
|
9
|
-
[**update**](
|
|
7
|
+
[**list**](PulpAnsibleApiV3CollectionsApi.md#list) | **GET** /pulp_ansible/galaxy/{path}/api/v3/collections/ |
|
|
8
|
+
[**read**](PulpAnsibleApiV3CollectionsApi.md#read) | **GET** /pulp_ansible/galaxy/{path}/api/v3/collections/{namespace}/{name}/ |
|
|
9
|
+
[**update**](PulpAnsibleApiV3CollectionsApi.md#update) | **PATCH** /pulp_ansible/galaxy/{path}/api/v3/collections/{namespace}/{name}/ |
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
@@ -24,10 +24,10 @@ ViewSet for Collections.
|
|
|
24
24
|
# load the gem
|
|
25
25
|
require 'pulp_ansible_client'
|
|
26
26
|
|
|
27
|
-
api_instance = PulpAnsibleClient::
|
|
27
|
+
api_instance = PulpAnsibleClient::PulpAnsibleApiV3CollectionsApi.new
|
|
28
28
|
path = 'path_example' # String |
|
|
29
29
|
opts = {
|
|
30
|
-
deprecated:
|
|
30
|
+
deprecated: true, # Boolean |
|
|
31
31
|
limit: 56, # Integer | Number of results to return per page.
|
|
32
32
|
name: 'name_example', # String |
|
|
33
33
|
namespace: 'namespace_example', # String |
|
|
@@ -40,7 +40,7 @@ begin
|
|
|
40
40
|
result = api_instance.list(path, opts)
|
|
41
41
|
p result
|
|
42
42
|
rescue PulpAnsibleClient::ApiError => e
|
|
43
|
-
puts "Exception when calling
|
|
43
|
+
puts "Exception when calling PulpAnsibleApiV3CollectionsApi->list: #{e}"
|
|
44
44
|
end
|
|
45
45
|
```
|
|
46
46
|
|
|
@@ -50,7 +50,7 @@ end
|
|
|
50
50
|
Name | Type | Description | Notes
|
|
51
51
|
------------- | ------------- | ------------- | -------------
|
|
52
52
|
**path** | **String**| |
|
|
53
|
-
**deprecated** | **
|
|
53
|
+
**deprecated** | **Boolean**| | [optional]
|
|
54
54
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
55
55
|
**name** | **String**| | [optional]
|
|
56
56
|
**namespace** | **String**| | [optional]
|
|
@@ -86,7 +86,7 @@ ViewSet for Collections.
|
|
|
86
86
|
# load the gem
|
|
87
87
|
require 'pulp_ansible_client'
|
|
88
88
|
|
|
89
|
-
api_instance = PulpAnsibleClient::
|
|
89
|
+
api_instance = PulpAnsibleClient::PulpAnsibleApiV3CollectionsApi.new
|
|
90
90
|
name = 'name_example' # String |
|
|
91
91
|
namespace = 'namespace_example' # String |
|
|
92
92
|
path = 'path_example' # String |
|
|
@@ -99,7 +99,7 @@ begin
|
|
|
99
99
|
result = api_instance.read(name, namespace, path, opts)
|
|
100
100
|
p result
|
|
101
101
|
rescue PulpAnsibleClient::ApiError => e
|
|
102
|
-
puts "Exception when calling
|
|
102
|
+
puts "Exception when calling PulpAnsibleApiV3CollectionsApi->read: #{e}"
|
|
103
103
|
end
|
|
104
104
|
```
|
|
105
105
|
|
|
@@ -142,7 +142,7 @@ Update a Collection object.
|
|
|
142
142
|
# load the gem
|
|
143
143
|
require 'pulp_ansible_client'
|
|
144
144
|
|
|
145
|
-
api_instance = PulpAnsibleClient::
|
|
145
|
+
api_instance = PulpAnsibleClient::PulpAnsibleApiV3CollectionsApi.new
|
|
146
146
|
name = 'name_example' # String |
|
|
147
147
|
namespace = 'namespace_example' # String |
|
|
148
148
|
path = 'path_example' # String |
|
|
@@ -152,7 +152,7 @@ begin
|
|
|
152
152
|
result = api_instance.update(name, namespace, path, body)
|
|
153
153
|
p result
|
|
154
154
|
rescue PulpAnsibleClient::ApiError => e
|
|
155
|
-
puts "Exception when calling
|
|
155
|
+
puts "Exception when calling PulpAnsibleApiV3CollectionsApi->update: #{e}"
|
|
156
156
|
end
|
|
157
157
|
```
|
|
158
158
|
|
data/docs/{PulpAnsibleGalaxyApiV3VersionsApi.md → PulpAnsibleApiV3CollectionsVersionsApi.md}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
# PulpAnsibleClient::
|
|
1
|
+
# PulpAnsibleClient::PulpAnsibleApiV3CollectionsVersionsApi
|
|
2
2
|
|
|
3
3
|
All URIs are relative to *http://pulp*
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
|
-
[**list**](
|
|
8
|
-
[**read**](
|
|
7
|
+
[**list**](PulpAnsibleApiV3CollectionsVersionsApi.md#list) | **GET** /pulp_ansible/galaxy/{path}/api/v3/collections/{namespace}/{name}/versions/ |
|
|
8
|
+
[**read**](PulpAnsibleApiV3CollectionsVersionsApi.md#read) | **GET** /pulp_ansible/galaxy/{path}/api/v3/collections/{namespace}/{name}/versions/{version}/ |
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -23,7 +23,7 @@ Returns paginated CollectionVersions list.
|
|
|
23
23
|
# load the gem
|
|
24
24
|
require 'pulp_ansible_client'
|
|
25
25
|
|
|
26
|
-
api_instance = PulpAnsibleClient::
|
|
26
|
+
api_instance = PulpAnsibleClient::PulpAnsibleApiV3CollectionsVersionsApi.new
|
|
27
27
|
name = 'name_example' # String |
|
|
28
28
|
namespace = 'namespace_example' # String |
|
|
29
29
|
path = 'path_example' # String |
|
|
@@ -47,7 +47,7 @@ begin
|
|
|
47
47
|
result = api_instance.list(name, namespace, path, opts)
|
|
48
48
|
p result
|
|
49
49
|
rescue PulpAnsibleClient::ApiError => e
|
|
50
|
-
puts "Exception when calling
|
|
50
|
+
puts "Exception when calling PulpAnsibleApiV3CollectionsVersionsApi->list: #{e}"
|
|
51
51
|
end
|
|
52
52
|
```
|
|
53
53
|
|
|
@@ -101,7 +101,7 @@ Returns a CollectionVersion object.
|
|
|
101
101
|
# load the gem
|
|
102
102
|
require 'pulp_ansible_client'
|
|
103
103
|
|
|
104
|
-
api_instance = PulpAnsibleClient::
|
|
104
|
+
api_instance = PulpAnsibleClient::PulpAnsibleApiV3CollectionsVersionsApi.new
|
|
105
105
|
name = 'name_example' # String |
|
|
106
106
|
namespace = 'namespace_example' # String |
|
|
107
107
|
path = 'path_example' # String |
|
|
@@ -115,7 +115,7 @@ begin
|
|
|
115
115
|
result = api_instance.read(name, namespace, path, version, opts)
|
|
116
116
|
p result
|
|
117
117
|
rescue PulpAnsibleClient::ApiError => e
|
|
118
|
-
puts "Exception when calling
|
|
118
|
+
puts "Exception when calling PulpAnsibleApiV3CollectionsVersionsApi->read: #{e}"
|
|
119
119
|
end
|
|
120
120
|
```
|
|
121
121
|
|