pulp_maven_client 0.8.2 → 0.8.3
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 -6
- data/docs/AsyncOperationResponse.md +8 -7
- data/docs/ContentArtifactApi.md +111 -61
- data/docs/ContentSummaryResponse.md +12 -11
- data/docs/DistributionsMavenApi.md +265 -130
- data/docs/MavenMavenArtifact.md +12 -11
- data/docs/MavenMavenArtifactResponse.md +24 -23
- data/docs/MavenMavenDistribution.md +20 -19
- data/docs/MavenMavenDistributionResponse.md +32 -31
- data/docs/MavenMavenRemote.md +48 -47
- data/docs/MavenMavenRemoteResponse.md +48 -47
- data/docs/MavenMavenRemoteResponseHiddenFieldsInner.md +20 -0
- data/docs/MavenMavenRepository.md +16 -15
- data/docs/MavenMavenRepositoryResponse.md +28 -27
- data/docs/PaginatedRepositoryVersionResponseList.md +14 -13
- data/docs/PaginatedmavenMavenArtifactResponseList.md +14 -13
- data/docs/PaginatedmavenMavenDistributionResponseList.md +14 -13
- data/docs/PaginatedmavenMavenRemoteResponseList.md +14 -13
- data/docs/PaginatedmavenMavenRepositoryResponseList.md +14 -13
- data/docs/PatchedmavenMavenDistribution.md +20 -19
- data/docs/PatchedmavenMavenRemote.md +48 -47
- data/docs/PatchedmavenMavenRepository.md +16 -15
- data/docs/PolicyEnum.md +4 -5
- data/docs/PulpMavenApi.md +60 -25
- data/docs/RemotesMavenApi.md +269 -132
- data/docs/Repair.md +8 -7
- data/docs/RepositoriesMavenApi.md +296 -144
- data/docs/RepositoriesMavenVersionsApi.md +152 -82
- data/docs/RepositoryAddCachedContent.md +8 -7
- data/docs/RepositoryVersionResponse.md +22 -21
- data/docs/SetLabel.md +10 -9
- data/docs/SetLabelResponse.md +10 -9
- data/docs/UnsetLabel.md +8 -7
- data/docs/UnsetLabelResponse.md +10 -9
- data/lib/pulp_maven_client/api/content_artifact_api.rb +20 -14
- data/lib/pulp_maven_client/api/distributions_maven_api.rb +61 -38
- data/lib/pulp_maven_client/api/pulp_maven_api.rb +9 -7
- data/lib/pulp_maven_client/api/remotes_maven_api.rb +76 -50
- data/lib/pulp_maven_client/api/repositories_maven_api.rb +70 -43
- data/lib/pulp_maven_client/api/repositories_maven_versions_api.rb +40 -30
- data/lib/pulp_maven_client/api_client.rb +137 -102
- data/lib/pulp_maven_client/api_error.rb +2 -1
- data/lib/pulp_maven_client/configuration.rb +162 -21
- data/lib/pulp_maven_client/models/async_operation_response.rb +32 -22
- data/lib/pulp_maven_client/models/content_summary_response.rb +36 -22
- data/lib/pulp_maven_client/models/maven_maven_artifact.rb +34 -22
- data/lib/pulp_maven_client/models/maven_maven_artifact_response.rb +34 -24
- data/lib/pulp_maven_client/models/maven_maven_distribution.rb +34 -22
- data/lib/pulp_maven_client/models/maven_maven_distribution_response.rb +36 -24
- data/lib/pulp_maven_client/models/maven_maven_remote.rb +57 -38
- data/lib/pulp_maven_client/models/maven_maven_remote_response.rb +60 -41
- data/lib/pulp_maven_client/models/{maven_maven_remote_response_hidden_fields.rb → maven_maven_remote_response_hidden_fields_inner.rb} +37 -25
- data/lib/pulp_maven_client/models/maven_maven_repository.rb +32 -37
- data/lib/pulp_maven_client/models/maven_maven_repository_response.rb +34 -39
- data/lib/pulp_maven_client/models/paginated_repository_version_response_list.rb +34 -24
- data/lib/pulp_maven_client/models/paginatedmaven_maven_artifact_response_list.rb +34 -24
- data/lib/pulp_maven_client/models/paginatedmaven_maven_distribution_response_list.rb +34 -24
- data/lib/pulp_maven_client/models/paginatedmaven_maven_remote_response_list.rb +34 -24
- data/lib/pulp_maven_client/models/paginatedmaven_maven_repository_response_list.rb +34 -24
- data/lib/pulp_maven_client/models/patchedmaven_maven_distribution.rb +40 -24
- data/lib/pulp_maven_client/models/patchedmaven_maven_remote.rb +63 -40
- data/lib/pulp_maven_client/models/patchedmaven_maven_repository.rb +35 -38
- data/lib/pulp_maven_client/models/policy_enum.rb +8 -5
- data/lib/pulp_maven_client/models/repair.rb +30 -22
- data/lib/pulp_maven_client/models/repository_add_cached_content.rb +30 -22
- data/lib/pulp_maven_client/models/repository_version_response.rb +32 -24
- data/lib/pulp_maven_client/models/set_label.rb +34 -22
- data/lib/pulp_maven_client/models/set_label_response.rb +34 -22
- data/lib/pulp_maven_client/models/unset_label.rb +32 -22
- data/lib/pulp_maven_client/models/unset_label_response.rb +32 -22
- data/lib/pulp_maven_client/version.rb +2 -2
- data/lib/pulp_maven_client.rb +2 -2
- data/pulp_maven_client.gemspec +9 -6
- data/spec/api/content_artifact_api_spec.rb +4 -4
- data/spec/api/distributions_maven_api_spec.rb +9 -9
- data/spec/api/pulp_maven_api_spec.rb +3 -3
- data/spec/api/remotes_maven_api_spec.rb +16 -15
- data/spec/api/repositories_maven_api_spec.rb +10 -10
- data/spec/api/repositories_maven_versions_api_spec.rb +12 -11
- data/spec/models/async_operation_response_spec.rb +7 -12
- data/spec/models/content_summary_response_spec.rb +9 -14
- data/spec/models/maven_maven_artifact_response_spec.rb +15 -20
- data/spec/models/maven_maven_artifact_spec.rb +9 -14
- data/spec/models/maven_maven_distribution_response_spec.rb +19 -24
- data/spec/models/maven_maven_distribution_spec.rb +13 -18
- data/spec/models/{maven_maven_remote_response_hidden_fields_spec.rb → maven_maven_remote_response_hidden_fields_inner_spec.rb} +11 -16
- data/spec/models/maven_maven_remote_response_spec.rb +27 -32
- data/spec/models/maven_maven_remote_spec.rb +27 -32
- data/spec/models/maven_maven_repository_response_spec.rb +17 -22
- data/spec/models/maven_maven_repository_spec.rb +11 -16
- data/spec/models/paginated_repository_version_response_list_spec.rb +10 -15
- data/spec/models/paginatedmaven_maven_artifact_response_list_spec.rb +10 -15
- data/spec/models/paginatedmaven_maven_distribution_response_list_spec.rb +10 -15
- data/spec/models/paginatedmaven_maven_remote_response_list_spec.rb +10 -15
- data/spec/models/paginatedmaven_maven_repository_response_list_spec.rb +10 -15
- data/spec/models/patchedmaven_maven_distribution_spec.rb +13 -18
- data/spec/models/patchedmaven_maven_remote_spec.rb +27 -32
- data/spec/models/patchedmaven_maven_repository_spec.rb +11 -16
- data/spec/models/policy_enum_spec.rb +6 -11
- data/spec/models/repair_spec.rb +7 -12
- data/spec/models/repository_add_cached_content_spec.rb +7 -12
- data/spec/models/repository_version_response_spec.rb +14 -19
- data/spec/models/set_label_response_spec.rb +8 -13
- data/spec/models/set_label_spec.rb +8 -13
- data/spec/models/unset_label_response_spec.rb +8 -13
- data/spec/models/unset_label_spec.rb +7 -12
- data/spec/spec_helper.rb +1 -1
- metadata +67 -43
- data/docs/MavenMavenRemoteResponseHiddenFields.md +0 -19
- data/spec/api_client_spec.rb +0 -188
- data/spec/configuration_spec.rb +0 -42
@@ -2,22 +2,23 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
7
|
-
**count** | **Integer** | |
|
8
|
-
**_next** | **String** | | [optional]
|
9
|
-
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<MavenMavenArtifactResponse>**](MavenMavenArtifactResponse.md) | |
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **count** | **Integer** | | |
|
8
|
+
| **_next** | **String** | | [optional] |
|
9
|
+
| **previous** | **String** | | [optional] |
|
10
|
+
| **results** | [**Array<MavenMavenArtifactResponse>**](MavenMavenArtifactResponse.md) | | |
|
11
11
|
|
12
|
-
##
|
12
|
+
## Example
|
13
13
|
|
14
14
|
```ruby
|
15
|
-
require '
|
15
|
+
require 'pulp_maven_client'
|
16
16
|
|
17
|
-
instance = PulpMavenClient::PaginatedmavenMavenArtifactResponseList.new(
|
18
|
-
|
19
|
-
|
20
|
-
|
17
|
+
instance = PulpMavenClient::PaginatedmavenMavenArtifactResponseList.new(
|
18
|
+
count: 123,
|
19
|
+
_next: http://api.example.org/accounts/?offset=400&limit=100,
|
20
|
+
previous: http://api.example.org/accounts/?offset=200&limit=100,
|
21
|
+
results: null
|
22
|
+
)
|
21
23
|
```
|
22
24
|
|
23
|
-
|
@@ -2,22 +2,23 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
7
|
-
**count** | **Integer** | |
|
8
|
-
**_next** | **String** | | [optional]
|
9
|
-
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<MavenMavenDistributionResponse>**](MavenMavenDistributionResponse.md) | |
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **count** | **Integer** | | |
|
8
|
+
| **_next** | **String** | | [optional] |
|
9
|
+
| **previous** | **String** | | [optional] |
|
10
|
+
| **results** | [**Array<MavenMavenDistributionResponse>**](MavenMavenDistributionResponse.md) | | |
|
11
11
|
|
12
|
-
##
|
12
|
+
## Example
|
13
13
|
|
14
14
|
```ruby
|
15
|
-
require '
|
15
|
+
require 'pulp_maven_client'
|
16
16
|
|
17
|
-
instance = PulpMavenClient::PaginatedmavenMavenDistributionResponseList.new(
|
18
|
-
|
19
|
-
|
20
|
-
|
17
|
+
instance = PulpMavenClient::PaginatedmavenMavenDistributionResponseList.new(
|
18
|
+
count: 123,
|
19
|
+
_next: http://api.example.org/accounts/?offset=400&limit=100,
|
20
|
+
previous: http://api.example.org/accounts/?offset=200&limit=100,
|
21
|
+
results: null
|
22
|
+
)
|
21
23
|
```
|
22
24
|
|
23
|
-
|
@@ -2,22 +2,23 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
7
|
-
**count** | **Integer** | |
|
8
|
-
**_next** | **String** | | [optional]
|
9
|
-
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<MavenMavenRemoteResponse>**](MavenMavenRemoteResponse.md) | |
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **count** | **Integer** | | |
|
8
|
+
| **_next** | **String** | | [optional] |
|
9
|
+
| **previous** | **String** | | [optional] |
|
10
|
+
| **results** | [**Array<MavenMavenRemoteResponse>**](MavenMavenRemoteResponse.md) | | |
|
11
11
|
|
12
|
-
##
|
12
|
+
## Example
|
13
13
|
|
14
14
|
```ruby
|
15
|
-
require '
|
15
|
+
require 'pulp_maven_client'
|
16
16
|
|
17
|
-
instance = PulpMavenClient::PaginatedmavenMavenRemoteResponseList.new(
|
18
|
-
|
19
|
-
|
20
|
-
|
17
|
+
instance = PulpMavenClient::PaginatedmavenMavenRemoteResponseList.new(
|
18
|
+
count: 123,
|
19
|
+
_next: http://api.example.org/accounts/?offset=400&limit=100,
|
20
|
+
previous: http://api.example.org/accounts/?offset=200&limit=100,
|
21
|
+
results: null
|
22
|
+
)
|
21
23
|
```
|
22
24
|
|
23
|
-
|
@@ -2,22 +2,23 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
7
|
-
**count** | **Integer** | |
|
8
|
-
**_next** | **String** | | [optional]
|
9
|
-
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<MavenMavenRepositoryResponse>**](MavenMavenRepositoryResponse.md) | |
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **count** | **Integer** | | |
|
8
|
+
| **_next** | **String** | | [optional] |
|
9
|
+
| **previous** | **String** | | [optional] |
|
10
|
+
| **results** | [**Array<MavenMavenRepositoryResponse>**](MavenMavenRepositoryResponse.md) | | |
|
11
11
|
|
12
|
-
##
|
12
|
+
## Example
|
13
13
|
|
14
14
|
```ruby
|
15
|
-
require '
|
15
|
+
require 'pulp_maven_client'
|
16
16
|
|
17
|
-
instance = PulpMavenClient::PaginatedmavenMavenRepositoryResponseList.new(
|
18
|
-
|
19
|
-
|
20
|
-
|
17
|
+
instance = PulpMavenClient::PaginatedmavenMavenRepositoryResponseList.new(
|
18
|
+
count: 123,
|
19
|
+
_next: http://api.example.org/accounts/?offset=400&limit=100,
|
20
|
+
previous: http://api.example.org/accounts/?offset=200&limit=100,
|
21
|
+
results: null
|
22
|
+
)
|
21
23
|
```
|
22
24
|
|
23
|
-
|
@@ -2,28 +2,29 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
7
|
-
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | [optional]
|
8
|
-
**content_guard** | **String** | An optional content-guard. | [optional]
|
9
|
-
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional]
|
10
|
-
**pulp_labels** | **Hash<String, String>** | | [optional]
|
11
|
-
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
12
|
-
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
13
|
-
**remote** | **String** | Remote that can be used to fetch content when using pull-through caching. | [optional]
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | [optional] |
|
8
|
+
| **content_guard** | **String** | An optional content-guard. | [optional] |
|
9
|
+
| **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
|
10
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
11
|
+
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional] |
|
12
|
+
| **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
|
13
|
+
| **remote** | **String** | Remote that can be used to fetch content when using pull-through caching. | [optional] |
|
14
14
|
|
15
|
-
##
|
15
|
+
## Example
|
16
16
|
|
17
17
|
```ruby
|
18
|
-
require '
|
18
|
+
require 'pulp_maven_client'
|
19
19
|
|
20
|
-
instance = PulpMavenClient::PatchedmavenMavenDistribution.new(
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
20
|
+
instance = PulpMavenClient::PatchedmavenMavenDistribution.new(
|
21
|
+
base_path: null,
|
22
|
+
content_guard: null,
|
23
|
+
hidden: null,
|
24
|
+
pulp_labels: null,
|
25
|
+
name: null,
|
26
|
+
repository: null,
|
27
|
+
remote: null
|
28
|
+
)
|
27
29
|
```
|
28
30
|
|
29
|
-
|
@@ -2,56 +2,57 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
7
|
-
**name** | **String** | A unique name for this remote. | [optional]
|
8
|
-
**url** | **String** | The URL of an external content source. | [optional]
|
9
|
-
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
10
|
-
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
11
|
-
**client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
|
12
|
-
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
13
|
-
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
14
|
-
**proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
|
15
|
-
**proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
16
|
-
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
17
|
-
**password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
18
|
-
**pulp_labels** | **Hash<String, String>** | | [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]
|
21
|
-
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. * `immediate` -
|
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]
|
26
|
-
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
27
|
-
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **name** | **String** | A unique name for this remote. | [optional] |
|
8
|
+
| **url** | **String** | The URL of an external content source. | [optional] |
|
9
|
+
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
10
|
+
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
11
|
+
| **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
|
12
|
+
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
13
|
+
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
14
|
+
| **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
|
15
|
+
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
16
|
+
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
17
|
+
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
18
|
+
| **pulp_labels** | **Hash<String, String>** | | [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] |
|
21
|
+
| **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. * `immediate` - When syncing, download all metadata and content now. | [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] |
|
26
|
+
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
27
|
+
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
28
28
|
|
29
|
-
##
|
29
|
+
## Example
|
30
30
|
|
31
31
|
```ruby
|
32
|
-
require '
|
32
|
+
require 'pulp_maven_client'
|
33
33
|
|
34
|
-
instance = PulpMavenClient::PatchedmavenMavenRemote.new(
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
34
|
+
instance = PulpMavenClient::PatchedmavenMavenRemote.new(
|
35
|
+
name: null,
|
36
|
+
url: null,
|
37
|
+
ca_cert: null,
|
38
|
+
client_cert: null,
|
39
|
+
client_key: null,
|
40
|
+
tls_validation: null,
|
41
|
+
proxy_url: null,
|
42
|
+
proxy_username: null,
|
43
|
+
proxy_password: null,
|
44
|
+
username: null,
|
45
|
+
password: null,
|
46
|
+
pulp_labels: null,
|
47
|
+
download_concurrency: null,
|
48
|
+
max_retries: null,
|
49
|
+
policy: null,
|
50
|
+
total_timeout: null,
|
51
|
+
connect_timeout: null,
|
52
|
+
sock_connect_timeout: null,
|
53
|
+
sock_read_timeout: null,
|
54
|
+
headers: null,
|
55
|
+
rate_limit: null
|
56
|
+
)
|
55
57
|
```
|
56
58
|
|
57
|
-
|
@@ -2,24 +2,25 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
7
|
-
**pulp_labels** | **Hash<String, String>** | | [optional]
|
8
|
-
**name** | **String** | A unique name for this repository. | [optional]
|
9
|
-
**description** | **String** | An optional description. | [optional]
|
10
|
-
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
|
11
|
-
**remote** | **String** | An optional remote to use by default when syncing. | [optional]
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
8
|
+
| **name** | **String** | A unique name for this repository. | [optional] |
|
9
|
+
| **description** | **String** | An optional description. | [optional] |
|
10
|
+
| **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
|
11
|
+
| **remote** | **String** | An optional remote to use by default when syncing. | [optional] |
|
12
12
|
|
13
|
-
##
|
13
|
+
## Example
|
14
14
|
|
15
15
|
```ruby
|
16
|
-
require '
|
16
|
+
require 'pulp_maven_client'
|
17
17
|
|
18
|
-
instance = PulpMavenClient::PatchedmavenMavenRepository.new(
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
18
|
+
instance = PulpMavenClient::PatchedmavenMavenRepository.new(
|
19
|
+
pulp_labels: null,
|
20
|
+
name: null,
|
21
|
+
description: null,
|
22
|
+
retain_repo_versions: null,
|
23
|
+
remote: null
|
24
|
+
)
|
23
25
|
```
|
24
26
|
|
25
|
-
|
data/docs/PolicyEnum.md
CHANGED
@@ -2,15 +2,14 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
7
|
|
8
|
-
##
|
8
|
+
## Example
|
9
9
|
|
10
10
|
```ruby
|
11
|
-
require '
|
11
|
+
require 'pulp_maven_client'
|
12
12
|
|
13
13
|
instance = PulpMavenClient::PolicyEnum.new()
|
14
14
|
```
|
15
15
|
|
16
|
-
|
data/docs/PulpMavenApi.md
CHANGED
@@ -2,11 +2,10 @@
|
|
2
2
|
|
3
3
|
All URIs are relative to *http://localhost:24817*
|
4
4
|
|
5
|
-
Method | HTTP request | Description
|
6
|
-
|
7
|
-
[**get**](PulpMavenApi.md#get) | **GET** /pulp/maven/{name}/{path} |
|
8
|
-
[**put**](PulpMavenApi.md#put) | **PUT** /pulp/maven/{name}/{path} |
|
9
|
-
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
7
|
+
| [**get**](PulpMavenApi.md#get) | **GET** /pulp/maven/{name}/{path} | |
|
8
|
+
| [**put**](PulpMavenApi.md#put) | **PUT** /pulp/maven/{name}/{path} | |
|
10
9
|
|
11
10
|
|
12
11
|
## get
|
@@ -17,36 +16,54 @@ Method | HTTP request | Description
|
|
17
16
|
|
18
17
|
Responds to GET requests about manifests by reference
|
19
18
|
|
20
|
-
###
|
19
|
+
### Examples
|
21
20
|
|
22
21
|
```ruby
|
23
|
-
|
22
|
+
require 'time'
|
24
23
|
require 'pulp_maven_client'
|
25
24
|
|
26
25
|
api_instance = PulpMavenClient::PulpMavenApi.new
|
27
26
|
name = 'name_example' # String |
|
28
27
|
path = 'path_example' # String |
|
29
28
|
opts = {
|
30
|
-
fields: ['
|
31
|
-
exclude_fields: ['
|
29
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
30
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
32
31
|
}
|
33
32
|
|
34
33
|
begin
|
34
|
+
|
35
35
|
api_instance.get(name, path, opts)
|
36
36
|
rescue PulpMavenClient::ApiError => e
|
37
|
-
puts "
|
37
|
+
puts "Error when calling PulpMavenApi->get: #{e}"
|
38
38
|
end
|
39
39
|
```
|
40
40
|
|
41
|
-
|
41
|
+
#### Using the get_with_http_info variant
|
42
|
+
|
43
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
42
44
|
|
45
|
+
> <Array(nil, Integer, Hash)> get_with_http_info(name, path, opts)
|
46
|
+
|
47
|
+
```ruby
|
48
|
+
begin
|
49
|
+
|
50
|
+
data, status_code, headers = api_instance.get_with_http_info(name, path, opts)
|
51
|
+
p status_code # => 2xx
|
52
|
+
p headers # => { ... }
|
53
|
+
p data # => nil
|
54
|
+
rescue PulpMavenClient::ApiError => e
|
55
|
+
puts "Error when calling PulpMavenApi->get_with_http_info: #{e}"
|
56
|
+
end
|
57
|
+
```
|
58
|
+
|
59
|
+
### Parameters
|
43
60
|
|
44
|
-
Name | Type | Description
|
45
|
-
|
46
|
-
**name** | **String
|
47
|
-
**path** | **String
|
48
|
-
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
49
|
-
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
61
|
+
| Name | Type | Description | Notes |
|
62
|
+
| ---- | ---- | ----------- | ----- |
|
63
|
+
| **name** | **String** | | |
|
64
|
+
| **path** | **String** | | |
|
65
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
66
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
50
67
|
|
51
68
|
### Return type
|
52
69
|
|
@@ -70,10 +87,10 @@ No authorization required
|
|
70
87
|
|
71
88
|
ViewSet for interacting with maven deploy API
|
72
89
|
|
73
|
-
###
|
90
|
+
### Examples
|
74
91
|
|
75
92
|
```ruby
|
76
|
-
|
93
|
+
require 'time'
|
77
94
|
require 'pulp_maven_client'
|
78
95
|
|
79
96
|
api_instance = PulpMavenClient::PulpMavenApi.new
|
@@ -81,19 +98,37 @@ name = 'name_example' # String |
|
|
81
98
|
path = 'path_example' # String |
|
82
99
|
|
83
100
|
begin
|
101
|
+
|
84
102
|
api_instance.put(name, path)
|
85
103
|
rescue PulpMavenClient::ApiError => e
|
86
|
-
puts "
|
104
|
+
puts "Error when calling PulpMavenApi->put: #{e}"
|
87
105
|
end
|
88
106
|
```
|
89
107
|
|
90
|
-
|
108
|
+
#### Using the put_with_http_info variant
|
109
|
+
|
110
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
111
|
+
|
112
|
+
> <Array(nil, Integer, Hash)> put_with_http_info(name, path)
|
113
|
+
|
114
|
+
```ruby
|
115
|
+
begin
|
116
|
+
|
117
|
+
data, status_code, headers = api_instance.put_with_http_info(name, path)
|
118
|
+
p status_code # => 2xx
|
119
|
+
p headers # => { ... }
|
120
|
+
p data # => nil
|
121
|
+
rescue PulpMavenClient::ApiError => e
|
122
|
+
puts "Error when calling PulpMavenApi->put_with_http_info: #{e}"
|
123
|
+
end
|
124
|
+
```
|
91
125
|
|
126
|
+
### Parameters
|
92
127
|
|
93
|
-
Name | Type | Description
|
94
|
-
|
95
|
-
**name** | **String
|
96
|
-
**path** | **String
|
128
|
+
| Name | Type | Description | Notes |
|
129
|
+
| ---- | ---- | ----------- | ----- |
|
130
|
+
| **name** | **String** | | |
|
131
|
+
| **path** | **String** | | |
|
97
132
|
|
98
133
|
### Return type
|
99
134
|
|