pulpcore_client 3.105.2 → 3.106.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 +8 -4
- data/docs/ArtifactDistributionResponse.md +16 -12
- data/docs/DataRepair7272.md +18 -0
- data/docs/DataRepair7465.md +18 -0
- data/docs/Datarepair7272Api.md +82 -0
- data/docs/Datarepair7465Api.md +82 -0
- data/docs/DistributionResponse.md +5 -1
- data/docs/OpenPGPDistributionResponse.md +2 -0
- data/docs/OpenPGPKeyring.md +2 -0
- data/docs/OpenPGPKeyringResponse.md +2 -0
- data/docs/PatchedOpenPGPKeyring.md +2 -0
- data/docs/RepositoriesApi.md +18 -2
- data/docs/RepositoriesOpenpgpKeyringApi.md +18 -2
- data/docs/RepositoryResponse.md +2 -0
- data/lib/pulpcore_client/api/datarepair7272_api.rb +93 -0
- data/lib/pulpcore_client/api/datarepair7465_api.rb +93 -0
- data/lib/pulpcore_client/api/repositories_api.rb +27 -3
- data/lib/pulpcore_client/api/repositories_openpgp_keyring_api.rb +27 -3
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +72 -51
- data/lib/pulpcore_client/models/data_repair7272.rb +217 -0
- data/lib/pulpcore_client/models/data_repair7465.rb +217 -0
- data/lib/pulpcore_client/models/distribution_response.rb +27 -6
- data/lib/pulpcore_client/models/open_pgp_distribution.rb +1 -1
- data/lib/pulpcore_client/models/open_pgp_distribution_response.rb +12 -2
- data/lib/pulpcore_client/models/open_pgp_keyring.rb +27 -1
- data/lib/pulpcore_client/models/open_pgp_keyring_response.rb +27 -1
- data/lib/pulpcore_client/models/patched_open_pgp_distribution.rb +1 -1
- data/lib/pulpcore_client/models/patched_open_pgp_keyring.rb +27 -1
- data/lib/pulpcore_client/models/repository_response.rb +27 -1
- data/lib/pulpcore_client/version.rb +1 -1
- data/lib/pulpcore_client.rb +4 -0
- data/spec/api/datarepair7272_api_spec.rb +48 -0
- data/spec/api/datarepair7465_api_spec.rb +48 -0
- data/spec/api/repositories_api_spec.rb +9 -1
- data/spec/api/repositories_openpgp_keyring_api_spec.rb +9 -1
- data/spec/models/artifact_distribution_response_spec.rb +20 -8
- data/spec/models/data_repair7272_spec.rb +36 -0
- data/spec/models/data_repair7465_spec.rb +36 -0
- data/spec/models/distribution_response_spec.rb +12 -0
- data/spec/models/open_pgp_distribution_response_spec.rb +6 -0
- data/spec/models/open_pgp_keyring_response_spec.rb +6 -0
- data/spec/models/open_pgp_keyring_spec.rb +6 -0
- data/spec/models/patched_open_pgp_keyring_spec.rb +6 -0
- data/spec/models/repository_response_spec.rb +6 -0
- metadata +17 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a6a12c7ddbd30934e53e9a24857e2e356bee45076060952f67cdbb7aa49f3d9f
|
|
4
|
+
data.tar.gz: 6b120d7aefd3a6a9eaf719a8044055ba806451b526d9e7a3e4f563b8c4db8d6a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2b856f28e26efea5f64b8230c769c59440bda8d93a59a7c1a519167a8e4719f0a20b164903d7abfa213a2feec5009b8d496cb3dc8332d6a14b47044e666ecc7a
|
|
7
|
+
data.tar.gz: 9e3f44ee5e05dda08781e0fb8e9275551451974a23b52e751483883790355bfe012ffea658f89ba6c6fb7191031a90af83969e7f2595f69baf2edb75dca56d7b
|
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: 3.
|
|
10
|
+
- Package version: 3.106.0
|
|
11
11
|
- Generator version: 7.10.0
|
|
12
12
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
13
13
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
|
@@ -25,16 +25,16 @@ gem build pulpcore_client.gemspec
|
|
|
25
25
|
Then either install the gem locally:
|
|
26
26
|
|
|
27
27
|
```shell
|
|
28
|
-
gem install ./pulpcore_client-3.
|
|
28
|
+
gem install ./pulpcore_client-3.106.0.gem
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
(for development, run `gem install --dev ./pulpcore_client-3.
|
|
31
|
+
(for development, run `gem install --dev ./pulpcore_client-3.106.0.gem` to install the development dependencies)
|
|
32
32
|
|
|
33
33
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
34
34
|
|
|
35
35
|
Finally add this to the Gemfile:
|
|
36
36
|
|
|
37
|
-
gem 'pulpcore_client', '~> 3.
|
|
37
|
+
gem 'pulpcore_client', '~> 3.106.0'
|
|
38
38
|
|
|
39
39
|
### Install from Git
|
|
40
40
|
|
|
@@ -179,6 +179,8 @@ Class | Method | HTTP request | Description
|
|
|
179
179
|
*PulpcoreClient::ContentguardsRbacApi* | [**read**](docs/ContentguardsRbacApi.md#read) | **GET** {r_b_a_c_content_guard_href} | Inspect a rbac content guard
|
|
180
180
|
*PulpcoreClient::ContentguardsRbacApi* | [**remove_role**](docs/ContentguardsRbacApi.md#remove_role) | **POST** {r_b_a_c_content_guard_href}remove_role/ | Remove a role
|
|
181
181
|
*PulpcoreClient::ContentguardsRbacApi* | [**update**](docs/ContentguardsRbacApi.md#update) | **PUT** {r_b_a_c_content_guard_href} | Update a rbac content guard
|
|
182
|
+
*PulpcoreClient::Datarepair7272Api* | [**post**](docs/Datarepair7272Api.md#post) | **POST** /pulp/api/v3/datarepair/7272/ | Repair Repository Version Data (Issue #7272)
|
|
183
|
+
*PulpcoreClient::Datarepair7465Api* | [**post**](docs/Datarepair7465Api.md#post) | **POST** /pulp/api/v3/datarepair/7465/ | Add Repository Version Content IDs (Issue #7465)
|
|
182
184
|
*PulpcoreClient::DistributionsApi* | [**list**](docs/DistributionsApi.md#list) | **GET** /pulp/api/v3/distributions/ | List distributions
|
|
183
185
|
*PulpcoreClient::DistributionsArtifactsApi* | [**list**](docs/DistributionsArtifactsApi.md#list) | **GET** /pulp/api/v3/distributions/core/artifacts/ | List artifact distributions
|
|
184
186
|
*PulpcoreClient::DistributionsArtifactsApi* | [**read**](docs/DistributionsArtifactsApi.md#read) | **GET** {artifact_distribution_href} | Inspect an artifact distribution
|
|
@@ -353,6 +355,8 @@ Class | Method | HTTP request | Description
|
|
|
353
355
|
- [PulpcoreClient::ContentRedirectContentGuardResponse](docs/ContentRedirectContentGuardResponse.md)
|
|
354
356
|
- [PulpcoreClient::ContentSettingsResponse](docs/ContentSettingsResponse.md)
|
|
355
357
|
- [PulpcoreClient::ContentSummaryResponse](docs/ContentSummaryResponse.md)
|
|
358
|
+
- [PulpcoreClient::DataRepair7272](docs/DataRepair7272.md)
|
|
359
|
+
- [PulpcoreClient::DataRepair7465](docs/DataRepair7465.md)
|
|
356
360
|
- [PulpcoreClient::DatabaseConnectionResponse](docs/DatabaseConnectionResponse.md)
|
|
357
361
|
- [PulpcoreClient::DistributionResponse](docs/DistributionResponse.md)
|
|
358
362
|
- [PulpcoreClient::Domain](docs/Domain.md)
|
|
@@ -5,16 +5,18 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
|
|
8
|
-
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
9
8
|
| **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional][readonly] |
|
|
10
|
-
| **
|
|
11
|
-
| **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
|
|
9
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
12
10
|
| **no_content_change_since** | **String** | Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes. | [optional][readonly] |
|
|
11
|
+
| **repository_version** | **String** | RepositoryVersion to be served | [optional] |
|
|
13
12
|
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
|
|
14
|
-
| **
|
|
15
|
-
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
16
|
-
| **content_guard** | **String** | An optional content-guard. | [optional] |
|
|
13
|
+
| **pulp_href** | **String** | | [optional][readonly] |
|
|
17
14
|
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
15
|
+
| **content_guard_prn** | **String** | The Pulp Resource Name (PRN) of the associated optional content guard. | [optional][readonly] |
|
|
16
|
+
| **content_guard** | **String** | An optional content-guard. | [optional] |
|
|
17
|
+
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
18
|
+
| **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\") | |
|
|
19
|
+
| **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
|
|
18
20
|
|
|
19
21
|
## Example
|
|
20
22
|
|
|
@@ -23,16 +25,18 @@ require 'pulpcore_client'
|
|
|
23
25
|
|
|
24
26
|
instance = PulpcoreClient::ArtifactDistributionResponse.new(
|
|
25
27
|
hidden: null,
|
|
26
|
-
pulp_labels: null,
|
|
27
28
|
base_url: null,
|
|
28
|
-
|
|
29
|
-
pulp_last_updated: null,
|
|
29
|
+
pulp_labels: null,
|
|
30
30
|
no_content_change_since: null,
|
|
31
|
+
repository_version: null,
|
|
31
32
|
name: null,
|
|
32
|
-
|
|
33
|
-
|
|
33
|
+
pulp_href: null,
|
|
34
|
+
prn: null,
|
|
35
|
+
content_guard_prn: null,
|
|
34
36
|
content_guard: null,
|
|
35
|
-
|
|
37
|
+
pulp_created: null,
|
|
38
|
+
base_path: null,
|
|
39
|
+
pulp_last_updated: null
|
|
36
40
|
)
|
|
37
41
|
```
|
|
38
42
|
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# PulpcoreClient::DataRepair7272
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **dry_run** | **Boolean** | If true, only report issues without fixing them. If false (default), repair the detected issues. | [optional][default to false] |
|
|
8
|
+
|
|
9
|
+
## Example
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
require 'pulpcore_client'
|
|
13
|
+
|
|
14
|
+
instance = PulpcoreClient::DataRepair7272.new(
|
|
15
|
+
dry_run: null
|
|
16
|
+
)
|
|
17
|
+
```
|
|
18
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# PulpcoreClient::DataRepair7465
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **dry_run** | **Boolean** | If true, only report issues without fixing them. If false (default), repair the detected issues. | [optional][default to false] |
|
|
8
|
+
|
|
9
|
+
## Example
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
require 'pulpcore_client'
|
|
13
|
+
|
|
14
|
+
instance = PulpcoreClient::DataRepair7465.new(
|
|
15
|
+
dry_run: null
|
|
16
|
+
)
|
|
17
|
+
```
|
|
18
|
+
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
# PulpcoreClient::Datarepair7272Api
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost:24817*
|
|
4
|
+
|
|
5
|
+
| Method | HTTP request | Description |
|
|
6
|
+
| ------ | ------------ | ----------- |
|
|
7
|
+
| [**post**](Datarepair7272Api.md#post) | **POST** /pulp/api/v3/datarepair/7272/ | Repair Repository Version Data (Issue #7272) |
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
## post
|
|
11
|
+
|
|
12
|
+
> <AsyncOperationResponse> post(data_repair7272, opts)
|
|
13
|
+
|
|
14
|
+
Repair Repository Version Data (Issue #7272)
|
|
15
|
+
|
|
16
|
+
Trigger an asynchronous task that repairs repository version content_ids cache and content count mismatches (Issue #7272). This task fixes two types of data corruption: 1) Mismatch between RepositoryVersion.content_ids cache and actual RepositoryContent relationships, and 2) Mismatch between RepositoryVersionContentDetails count and actual RepositoryContent count.
|
|
17
|
+
|
|
18
|
+
### Examples
|
|
19
|
+
|
|
20
|
+
```ruby
|
|
21
|
+
require 'time'
|
|
22
|
+
require 'pulpcore_client'
|
|
23
|
+
# setup authorization
|
|
24
|
+
PulpcoreClient.configure do |config|
|
|
25
|
+
# Configure HTTP basic authorization: basicAuth
|
|
26
|
+
config.username = 'YOUR USERNAME'
|
|
27
|
+
config.password = 'YOUR PASSWORD'
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
api_instance = PulpcoreClient::Datarepair7272Api.new
|
|
31
|
+
data_repair7272 = PulpcoreClient::DataRepair7272.new # DataRepair7272 |
|
|
32
|
+
opts = {
|
|
33
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
begin
|
|
37
|
+
# Repair Repository Version Data (Issue #7272)
|
|
38
|
+
result = api_instance.post(data_repair7272, opts)
|
|
39
|
+
p result
|
|
40
|
+
rescue PulpcoreClient::ApiError => e
|
|
41
|
+
puts "Error when calling Datarepair7272Api->post: #{e}"
|
|
42
|
+
end
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
#### Using the post_with_http_info variant
|
|
46
|
+
|
|
47
|
+
This returns an Array which contains the response data, status code and headers.
|
|
48
|
+
|
|
49
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> post_with_http_info(data_repair7272, opts)
|
|
50
|
+
|
|
51
|
+
```ruby
|
|
52
|
+
begin
|
|
53
|
+
# Repair Repository Version Data (Issue #7272)
|
|
54
|
+
data, status_code, headers = api_instance.post_with_http_info(data_repair7272, opts)
|
|
55
|
+
p status_code # => 2xx
|
|
56
|
+
p headers # => { ... }
|
|
57
|
+
p data # => <AsyncOperationResponse>
|
|
58
|
+
rescue PulpcoreClient::ApiError => e
|
|
59
|
+
puts "Error when calling Datarepair7272Api->post_with_http_info: #{e}"
|
|
60
|
+
end
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
### Parameters
|
|
64
|
+
|
|
65
|
+
| Name | Type | Description | Notes |
|
|
66
|
+
| ---- | ---- | ----------- | ----- |
|
|
67
|
+
| **data_repair7272** | [**DataRepair7272**](DataRepair7272.md) | | |
|
|
68
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
69
|
+
|
|
70
|
+
### Return type
|
|
71
|
+
|
|
72
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
|
73
|
+
|
|
74
|
+
### Authorization
|
|
75
|
+
|
|
76
|
+
[basicAuth](../README.md#basicAuth)
|
|
77
|
+
|
|
78
|
+
### HTTP request headers
|
|
79
|
+
|
|
80
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
81
|
+
- **Accept**: application/json
|
|
82
|
+
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
# PulpcoreClient::Datarepair7465Api
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost:24817*
|
|
4
|
+
|
|
5
|
+
| Method | HTTP request | Description |
|
|
6
|
+
| ------ | ------------ | ----------- |
|
|
7
|
+
| [**post**](Datarepair7465Api.md#post) | **POST** /pulp/api/v3/datarepair/7465/ | Add Repository Version Content IDs (Issue #7465) |
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
## post
|
|
11
|
+
|
|
12
|
+
> <AsyncOperationResponse> post(data_repair7465, opts)
|
|
13
|
+
|
|
14
|
+
Add Repository Version Content IDs (Issue #7465)
|
|
15
|
+
|
|
16
|
+
Trigger an asynchronous task that adds missing repository version content_ids cache to all repository versions (Issue #7465).
|
|
17
|
+
|
|
18
|
+
### Examples
|
|
19
|
+
|
|
20
|
+
```ruby
|
|
21
|
+
require 'time'
|
|
22
|
+
require 'pulpcore_client'
|
|
23
|
+
# setup authorization
|
|
24
|
+
PulpcoreClient.configure do |config|
|
|
25
|
+
# Configure HTTP basic authorization: basicAuth
|
|
26
|
+
config.username = 'YOUR USERNAME'
|
|
27
|
+
config.password = 'YOUR PASSWORD'
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
api_instance = PulpcoreClient::Datarepair7465Api.new
|
|
31
|
+
data_repair7465 = PulpcoreClient::DataRepair7465.new # DataRepair7465 |
|
|
32
|
+
opts = {
|
|
33
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
begin
|
|
37
|
+
# Add Repository Version Content IDs (Issue #7465)
|
|
38
|
+
result = api_instance.post(data_repair7465, opts)
|
|
39
|
+
p result
|
|
40
|
+
rescue PulpcoreClient::ApiError => e
|
|
41
|
+
puts "Error when calling Datarepair7465Api->post: #{e}"
|
|
42
|
+
end
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
#### Using the post_with_http_info variant
|
|
46
|
+
|
|
47
|
+
This returns an Array which contains the response data, status code and headers.
|
|
48
|
+
|
|
49
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> post_with_http_info(data_repair7465, opts)
|
|
50
|
+
|
|
51
|
+
```ruby
|
|
52
|
+
begin
|
|
53
|
+
# Add Repository Version Content IDs (Issue #7465)
|
|
54
|
+
data, status_code, headers = api_instance.post_with_http_info(data_repair7465, opts)
|
|
55
|
+
p status_code # => 2xx
|
|
56
|
+
p headers # => { ... }
|
|
57
|
+
p data # => <AsyncOperationResponse>
|
|
58
|
+
rescue PulpcoreClient::ApiError => e
|
|
59
|
+
puts "Error when calling Datarepair7465Api->post_with_http_info: #{e}"
|
|
60
|
+
end
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
### Parameters
|
|
64
|
+
|
|
65
|
+
| Name | Type | Description | Notes |
|
|
66
|
+
| ---- | ---- | ----------- | ----- |
|
|
67
|
+
| **data_repair7465** | [**DataRepair7465**](DataRepair7465.md) | | |
|
|
68
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
69
|
+
|
|
70
|
+
### Return type
|
|
71
|
+
|
|
72
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
|
73
|
+
|
|
74
|
+
### Authorization
|
|
75
|
+
|
|
76
|
+
[basicAuth](../README.md#basicAuth)
|
|
77
|
+
|
|
78
|
+
### HTTP request headers
|
|
79
|
+
|
|
80
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
81
|
+
- **Accept**: application/json
|
|
82
|
+
|
|
@@ -11,11 +11,13 @@
|
|
|
11
11
|
| **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | |
|
|
12
12
|
| **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional][readonly] |
|
|
13
13
|
| **content_guard** | **String** | An optional content-guard. | [optional] |
|
|
14
|
+
| **content_guard_prn** | **String** | The Pulp Resource Name (PRN) of the associated optional content guard. | [optional][readonly] |
|
|
14
15
|
| **no_content_change_since** | **String** | Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes. | [optional][readonly] |
|
|
15
16
|
| **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
|
|
16
17
|
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
17
18
|
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
|
|
18
19
|
| **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
|
|
20
|
+
| **repository_version** | **String** | RepositoryVersion to be served | [optional] |
|
|
19
21
|
|
|
20
22
|
## Example
|
|
21
23
|
|
|
@@ -30,11 +32,13 @@ instance = PulpcoreClient::DistributionResponse.new(
|
|
|
30
32
|
base_path: null,
|
|
31
33
|
base_url: null,
|
|
32
34
|
content_guard: null,
|
|
35
|
+
content_guard_prn: null,
|
|
33
36
|
no_content_change_since: null,
|
|
34
37
|
hidden: null,
|
|
35
38
|
pulp_labels: null,
|
|
36
39
|
name: null,
|
|
37
|
-
repository: null
|
|
40
|
+
repository: null,
|
|
41
|
+
repository_version: null
|
|
38
42
|
)
|
|
39
43
|
```
|
|
40
44
|
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
| **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | |
|
|
12
12
|
| **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional][readonly] |
|
|
13
13
|
| **content_guard** | **String** | An optional content-guard. | [optional] |
|
|
14
|
+
| **content_guard_prn** | **String** | The Pulp Resource Name (PRN) of the associated optional content guard. | [optional][readonly] |
|
|
14
15
|
| **no_content_change_since** | **String** | Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes. | [optional][readonly] |
|
|
15
16
|
| **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
|
|
16
17
|
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
@@ -31,6 +32,7 @@ instance = PulpcoreClient::OpenPGPDistributionResponse.new(
|
|
|
31
32
|
base_path: null,
|
|
32
33
|
base_url: null,
|
|
33
34
|
content_guard: null,
|
|
35
|
+
content_guard_prn: null,
|
|
34
36
|
no_content_change_since: null,
|
|
35
37
|
hidden: null,
|
|
36
38
|
pulp_labels: null,
|
data/docs/OpenPGPKeyring.md
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
| **name** | **String** | A unique name for this repository. | |
|
|
9
9
|
| **description** | **String** | An optional description. | [optional] |
|
|
10
10
|
| **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
|
|
11
|
+
| **retain_checkpoints** | **Integer** | Retain X checkpoint publications for the repository. Default is null which retains all checkpoints. | [optional] |
|
|
11
12
|
| **remote** | **String** | An optional remote to use by default when syncing. | [optional] |
|
|
12
13
|
|
|
13
14
|
## Example
|
|
@@ -20,6 +21,7 @@ instance = PulpcoreClient::OpenPGPKeyring.new(
|
|
|
20
21
|
name: null,
|
|
21
22
|
description: null,
|
|
22
23
|
retain_repo_versions: null,
|
|
24
|
+
retain_checkpoints: null,
|
|
23
25
|
remote: null
|
|
24
26
|
)
|
|
25
27
|
```
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
| **name** | **String** | A unique name for this repository. | |
|
|
15
15
|
| **description** | **String** | An optional description. | [optional] |
|
|
16
16
|
| **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
|
|
17
|
+
| **retain_checkpoints** | **Integer** | Retain X checkpoint publications for the repository. Default is null which retains all checkpoints. | [optional] |
|
|
17
18
|
| **remote** | **String** | An optional remote to use by default when syncing. | [optional] |
|
|
18
19
|
|
|
19
20
|
## Example
|
|
@@ -32,6 +33,7 @@ instance = PulpcoreClient::OpenPGPKeyringResponse.new(
|
|
|
32
33
|
name: null,
|
|
33
34
|
description: null,
|
|
34
35
|
retain_repo_versions: null,
|
|
36
|
+
retain_checkpoints: null,
|
|
35
37
|
remote: null
|
|
36
38
|
)
|
|
37
39
|
```
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
| **name** | **String** | A unique name for this repository. | [optional] |
|
|
9
9
|
| **description** | **String** | An optional description. | [optional] |
|
|
10
10
|
| **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
|
|
11
|
+
| **retain_checkpoints** | **Integer** | Retain X checkpoint publications for the repository. Default is null which retains all checkpoints. | [optional] |
|
|
11
12
|
| **remote** | **String** | An optional remote to use by default when syncing. | [optional] |
|
|
12
13
|
|
|
13
14
|
## Example
|
|
@@ -20,6 +21,7 @@ instance = PulpcoreClient::PatchedOpenPGPKeyring.new(
|
|
|
20
21
|
name: null,
|
|
21
22
|
description: null,
|
|
22
23
|
retain_repo_versions: null,
|
|
24
|
+
retain_checkpoints: null,
|
|
23
25
|
remote: null
|
|
24
26
|
)
|
|
25
27
|
```
|
data/docs/RepositoriesApi.md
CHANGED
|
@@ -42,7 +42,7 @@ opts = {
|
|
|
42
42
|
name__regex: 'name__regex_example', # String | Filter results where name matches regex value
|
|
43
43
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
|
44
44
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
45
|
-
ordering: ['-description'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
45
|
+
ordering: ['-description'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `retain_checkpoints` - Retain checkpoints * `-retain_checkpoints` - Retain checkpoints (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
46
46
|
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
47
47
|
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
48
48
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
@@ -51,6 +51,14 @@ opts = {
|
|
|
51
51
|
pulp_type__in: ['core.openpgp'], # Array<String> | Multiple values may be separated by commas. * `core.openpgp` - core.openpgp * `file.file` - file.file
|
|
52
52
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
|
53
53
|
remote: 'remote_example', # String |
|
|
54
|
+
retain_checkpoints: 56, # Integer | Filter results where retain_checkpoints matches value
|
|
55
|
+
retain_checkpoints__gt: 56, # Integer | Filter results where retain_checkpoints is greater than value
|
|
56
|
+
retain_checkpoints__gte: 56, # Integer | Filter results where retain_checkpoints is greater than or equal to value
|
|
57
|
+
retain_checkpoints__isnull: true, # Boolean | Filter results where retain_checkpoints has a null value
|
|
58
|
+
retain_checkpoints__lt: 56, # Integer | Filter results where retain_checkpoints is less than value
|
|
59
|
+
retain_checkpoints__lte: 56, # Integer | Filter results where retain_checkpoints is less than or equal to value
|
|
60
|
+
retain_checkpoints__ne: 56, # Integer | Filter results where retain_checkpoints not equal to value
|
|
61
|
+
retain_checkpoints__range: [37], # Array<Integer> | Filter results where retain_checkpoints is between two comma separated values
|
|
54
62
|
retain_repo_versions: 56, # Integer | Filter results where retain_repo_versions matches value
|
|
55
63
|
retain_repo_versions__gt: 56, # Integer | Filter results where retain_repo_versions is greater than value
|
|
56
64
|
retain_repo_versions__gte: 56, # Integer | Filter results where retain_repo_versions is greater than or equal to value
|
|
@@ -108,7 +116,7 @@ end
|
|
|
108
116
|
| **name__regex** | **String** | Filter results where name matches regex value | [optional] |
|
|
109
117
|
| **name__startswith** | **String** | Filter results where name starts with value | [optional] |
|
|
110
118
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
|
111
|
-
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
|
119
|
+
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `retain_checkpoints` - Retain checkpoints * `-retain_checkpoints` - Retain checkpoints (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
|
112
120
|
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
113
121
|
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
114
122
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
@@ -117,6 +125,14 @@ end
|
|
|
117
125
|
| **pulp_type__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. * `core.openpgp` - core.openpgp * `file.file` - file.file | [optional] |
|
|
118
126
|
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
|
119
127
|
| **remote** | **String** | | [optional] |
|
|
128
|
+
| **retain_checkpoints** | **Integer** | Filter results where retain_checkpoints matches value | [optional] |
|
|
129
|
+
| **retain_checkpoints__gt** | **Integer** | Filter results where retain_checkpoints is greater than value | [optional] |
|
|
130
|
+
| **retain_checkpoints__gte** | **Integer** | Filter results where retain_checkpoints is greater than or equal to value | [optional] |
|
|
131
|
+
| **retain_checkpoints__isnull** | **Boolean** | Filter results where retain_checkpoints has a null value | [optional] |
|
|
132
|
+
| **retain_checkpoints__lt** | **Integer** | Filter results where retain_checkpoints is less than value | [optional] |
|
|
133
|
+
| **retain_checkpoints__lte** | **Integer** | Filter results where retain_checkpoints is less than or equal to value | [optional] |
|
|
134
|
+
| **retain_checkpoints__ne** | **Integer** | Filter results where retain_checkpoints not equal to value | [optional] |
|
|
135
|
+
| **retain_checkpoints__range** | [**Array<Integer>**](Integer.md) | Filter results where retain_checkpoints is between two comma separated values | [optional] |
|
|
120
136
|
| **retain_repo_versions** | **Integer** | Filter results where retain_repo_versions matches value | [optional] |
|
|
121
137
|
| **retain_repo_versions__gt** | **Integer** | Filter results where retain_repo_versions is greater than value | [optional] |
|
|
122
138
|
| **retain_repo_versions__gte** | **Integer** | Filter results where retain_repo_versions is greater than or equal to value | [optional] |
|
|
@@ -278,13 +278,21 @@ opts = {
|
|
|
278
278
|
name__regex: 'name__regex_example', # String | Filter results where name matches regex value
|
|
279
279
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
|
280
280
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
281
|
-
ordering: ['-description'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
281
|
+
ordering: ['-description'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `retain_checkpoints` - Retain checkpoints * `-retain_checkpoints` - Retain checkpoints (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
282
282
|
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
283
283
|
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
284
284
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
285
285
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
|
286
286
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
|
287
287
|
remote: 'remote_example', # String |
|
|
288
|
+
retain_checkpoints: 56, # Integer | Filter results where retain_checkpoints matches value
|
|
289
|
+
retain_checkpoints__gt: 56, # Integer | Filter results where retain_checkpoints is greater than value
|
|
290
|
+
retain_checkpoints__gte: 56, # Integer | Filter results where retain_checkpoints is greater than or equal to value
|
|
291
|
+
retain_checkpoints__isnull: true, # Boolean | Filter results where retain_checkpoints has a null value
|
|
292
|
+
retain_checkpoints__lt: 56, # Integer | Filter results where retain_checkpoints is less than value
|
|
293
|
+
retain_checkpoints__lte: 56, # Integer | Filter results where retain_checkpoints is less than or equal to value
|
|
294
|
+
retain_checkpoints__ne: 56, # Integer | Filter results where retain_checkpoints not equal to value
|
|
295
|
+
retain_checkpoints__range: [37], # Array<Integer> | Filter results where retain_checkpoints is between two comma separated values
|
|
288
296
|
retain_repo_versions: 56, # Integer | Filter results where retain_repo_versions matches value
|
|
289
297
|
retain_repo_versions__gt: 56, # Integer | Filter results where retain_repo_versions is greater than value
|
|
290
298
|
retain_repo_versions__gte: 56, # Integer | Filter results where retain_repo_versions is greater than or equal to value
|
|
@@ -342,13 +350,21 @@ end
|
|
|
342
350
|
| **name__regex** | **String** | Filter results where name matches regex value | [optional] |
|
|
343
351
|
| **name__startswith** | **String** | Filter results where name starts with value | [optional] |
|
|
344
352
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
|
345
|
-
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
|
353
|
+
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `retain_checkpoints` - Retain checkpoints * `-retain_checkpoints` - Retain checkpoints (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
|
346
354
|
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
347
355
|
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
348
356
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
349
357
|
| **pulp_label_select** | **String** | Filter labels by search string | [optional] |
|
|
350
358
|
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
|
351
359
|
| **remote** | **String** | | [optional] |
|
|
360
|
+
| **retain_checkpoints** | **Integer** | Filter results where retain_checkpoints matches value | [optional] |
|
|
361
|
+
| **retain_checkpoints__gt** | **Integer** | Filter results where retain_checkpoints is greater than value | [optional] |
|
|
362
|
+
| **retain_checkpoints__gte** | **Integer** | Filter results where retain_checkpoints is greater than or equal to value | [optional] |
|
|
363
|
+
| **retain_checkpoints__isnull** | **Boolean** | Filter results where retain_checkpoints has a null value | [optional] |
|
|
364
|
+
| **retain_checkpoints__lt** | **Integer** | Filter results where retain_checkpoints is less than value | [optional] |
|
|
365
|
+
| **retain_checkpoints__lte** | **Integer** | Filter results where retain_checkpoints is less than or equal to value | [optional] |
|
|
366
|
+
| **retain_checkpoints__ne** | **Integer** | Filter results where retain_checkpoints not equal to value | [optional] |
|
|
367
|
+
| **retain_checkpoints__range** | [**Array<Integer>**](Integer.md) | Filter results where retain_checkpoints is between two comma separated values | [optional] |
|
|
352
368
|
| **retain_repo_versions** | **Integer** | Filter results where retain_repo_versions matches value | [optional] |
|
|
353
369
|
| **retain_repo_versions__gt** | **Integer** | Filter results where retain_repo_versions is greater than value | [optional] |
|
|
354
370
|
| **retain_repo_versions__gte** | **Integer** | Filter results where retain_repo_versions is greater than or equal to value | [optional] |
|
data/docs/RepositoryResponse.md
CHANGED
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
| **name** | **String** | A unique name for this repository. | |
|
|
15
15
|
| **description** | **String** | An optional description. | [optional] |
|
|
16
16
|
| **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
|
|
17
|
+
| **retain_checkpoints** | **Integer** | Retain X checkpoint publications for the repository. Default is null which retains all checkpoints. | [optional] |
|
|
17
18
|
| **remote** | **String** | An optional remote to use by default when syncing. | [optional] |
|
|
18
19
|
|
|
19
20
|
## Example
|
|
@@ -32,6 +33,7 @@ instance = PulpcoreClient::RepositoryResponse.new(
|
|
|
32
33
|
name: null,
|
|
33
34
|
description: null,
|
|
34
35
|
retain_repo_versions: null,
|
|
36
|
+
retain_checkpoints: null,
|
|
35
37
|
remote: null
|
|
36
38
|
)
|
|
37
39
|
```
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Pulp 3 API
|
|
3
|
+
|
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: v3
|
|
7
|
+
Contact: pulp-list@redhat.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.10.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'cgi'
|
|
14
|
+
|
|
15
|
+
module PulpcoreClient
|
|
16
|
+
class Datarepair7272Api
|
|
17
|
+
attr_accessor :api_client
|
|
18
|
+
|
|
19
|
+
def initialize(api_client = ApiClient.default)
|
|
20
|
+
@api_client = api_client
|
|
21
|
+
end
|
|
22
|
+
# Repair Repository Version Data (Issue #7272)
|
|
23
|
+
# Trigger an asynchronous task that repairs repository version content_ids cache and content count mismatches (Issue #7272). This task fixes two types of data corruption: 1) Mismatch between RepositoryVersion.content_ids cache and actual RepositoryContent relationships, and 2) Mismatch between RepositoryVersionContentDetails count and actual RepositoryContent count.
|
|
24
|
+
# @param data_repair7272 [DataRepair7272]
|
|
25
|
+
# @param [Hash] opts the optional parameters
|
|
26
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
27
|
+
# @return [AsyncOperationResponse]
|
|
28
|
+
def post(data_repair7272, opts = {})
|
|
29
|
+
data, _status_code, _headers = post_with_http_info(data_repair7272, opts)
|
|
30
|
+
data
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
# Repair Repository Version Data (Issue #7272)
|
|
34
|
+
# Trigger an asynchronous task that repairs repository version content_ids cache and content count mismatches (Issue #7272). This task fixes two types of data corruption: 1) Mismatch between RepositoryVersion.content_ids cache and actual RepositoryContent relationships, and 2) Mismatch between RepositoryVersionContentDetails count and actual RepositoryContent count.
|
|
35
|
+
# @param data_repair7272 [DataRepair7272]
|
|
36
|
+
# @param [Hash] opts the optional parameters
|
|
37
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
38
|
+
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
39
|
+
def post_with_http_info(data_repair7272, opts = {})
|
|
40
|
+
if @api_client.config.debugging
|
|
41
|
+
@api_client.config.logger.debug 'Calling API: Datarepair7272Api.post ...'
|
|
42
|
+
end
|
|
43
|
+
# verify the required parameter 'data_repair7272' is set
|
|
44
|
+
if @api_client.config.client_side_validation && data_repair7272.nil?
|
|
45
|
+
fail ArgumentError, "Missing the required parameter 'data_repair7272' when calling Datarepair7272Api.post"
|
|
46
|
+
end
|
|
47
|
+
# resource path
|
|
48
|
+
local_var_path = '/pulp/api/v3/datarepair/7272/'
|
|
49
|
+
|
|
50
|
+
# query parameters
|
|
51
|
+
query_params = opts[:query_params] || {}
|
|
52
|
+
|
|
53
|
+
# header parameters
|
|
54
|
+
header_params = opts[:header_params] || {}
|
|
55
|
+
# HTTP header 'Accept' (if needed)
|
|
56
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
57
|
+
# HTTP header 'Content-Type'
|
|
58
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
59
|
+
if !content_type.nil?
|
|
60
|
+
header_params['Content-Type'] = content_type
|
|
61
|
+
end
|
|
62
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
63
|
+
|
|
64
|
+
# form parameters
|
|
65
|
+
form_params = opts[:form_params] || {}
|
|
66
|
+
|
|
67
|
+
# http body (model)
|
|
68
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(data_repair7272)
|
|
69
|
+
|
|
70
|
+
# return_type
|
|
71
|
+
return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
|
|
72
|
+
|
|
73
|
+
# auth_names
|
|
74
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
|
75
|
+
|
|
76
|
+
new_options = opts.merge(
|
|
77
|
+
:operation => :"Datarepair7272Api.post",
|
|
78
|
+
:header_params => header_params,
|
|
79
|
+
:query_params => query_params,
|
|
80
|
+
:form_params => form_params,
|
|
81
|
+
:body => post_body,
|
|
82
|
+
:auth_names => auth_names,
|
|
83
|
+
:return_type => return_type
|
|
84
|
+
)
|
|
85
|
+
|
|
86
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
87
|
+
if @api_client.config.debugging
|
|
88
|
+
@api_client.config.logger.debug "API called: Datarepair7272Api#post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
89
|
+
end
|
|
90
|
+
return data, status_code, headers
|
|
91
|
+
end
|
|
92
|
+
end
|
|
93
|
+
end
|