pulpcore_client 3.86.0 → 3.87.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 +7 -8
- data/docs/{ApiAppStatusResponse.md → AppStatusResponse.md} +2 -2
- data/docs/ArtifactDistributionResponse.md +14 -14
- data/docs/Purge.md +1 -1
- data/docs/StatusResponse.md +3 -3
- data/docs/TasksApi.md +2 -2
- data/docs/WorkersApi.md +10 -10
- data/lib/pulpcore_client/api/tasks_api.rb +2 -2
- data/lib/pulpcore_client/api/workers_api.rb +7 -7
- data/lib/pulpcore_client/models/{api_app_status_response.rb → app_status_response.rb} +3 -4
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +64 -64
- data/lib/pulpcore_client/models/purge.rb +1 -1
- data/lib/pulpcore_client/models/status_response.rb +3 -3
- data/lib/pulpcore_client/version.rb +1 -1
- data/lib/pulpcore_client.rb +1 -2
- data/spec/api/tasks_api_spec.rb +1 -1
- data/spec/api/workers_api_spec.rb +3 -3
- data/spec/models/{api_app_status_response_spec.rb → app_status_response_spec.rb} +6 -6
- data/spec/models/artifact_distribution_response_spec.rb +10 -10
- metadata +197 -201
- data/docs/ContentAppStatusResponse.md +0 -22
- data/lib/pulpcore_client/models/content_app_status_response.rb +0 -238
- data/spec/models/content_app_status_response_spec.rb +0 -48
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de43354d2b2fde846499596c4080e066c068cbd1962d46669ce50c10ab0e052f
|
4
|
+
data.tar.gz: 8b7ed9c3bdeb1c021501c8aaa78b2c4f1379ce4b92a3828e0c141937d85ad124
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6ad8ed33afa056689f7ade6611ab1ae1f89c98a89f3860e6dc48eefe3e8f7b2c51fc67ea08ee5447884b6b0aeae2a5ee95905de59806a59f90c47a900cff0d8
|
7
|
+
data.tar.gz: e72480a3b04afc909208732d93049e9a0a10c6f4b3b00949e75ba1845ae8854df346cc74260604358c1952d39031df20dbc8d11aeb1dcc3f218f81aaff4c9a35
|
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.87.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.87.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.87.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.87.0'
|
38
38
|
|
39
39
|
### Install from Git
|
40
40
|
|
@@ -334,21 +334,20 @@ Class | Method | HTTP request | Description
|
|
334
334
|
*PulpcoreClient::VulnReportApi* | [**delete**](docs/VulnReportApi.md#delete) | **DELETE** {vulnerability_report_href} | Delete a vulnerability report
|
335
335
|
*PulpcoreClient::VulnReportApi* | [**list**](docs/VulnReportApi.md#list) | **GET** /pulp/api/v3/vuln_report/ | List vulnerability reports
|
336
336
|
*PulpcoreClient::VulnReportApi* | [**read**](docs/VulnReportApi.md#read) | **GET** {vulnerability_report_href} | Inspect a vulnerability report
|
337
|
-
*PulpcoreClient::WorkersApi* | [**list**](docs/WorkersApi.md#list) | **GET** /pulp/api/v3/workers/ | List
|
338
|
-
*PulpcoreClient::WorkersApi* | [**read**](docs/WorkersApi.md#read) | **GET** {worker_href} | Inspect
|
337
|
+
*PulpcoreClient::WorkersApi* | [**list**](docs/WorkersApi.md#list) | **GET** /pulp/api/v3/workers/ | List app statuss
|
338
|
+
*PulpcoreClient::WorkersApi* | [**read**](docs/WorkersApi.md#read) | **GET** {worker_href} | Inspect an app status
|
339
339
|
|
340
340
|
|
341
341
|
## Documentation for Models
|
342
342
|
|
343
343
|
- [PulpcoreClient::AccessPolicy](docs/AccessPolicy.md)
|
344
344
|
- [PulpcoreClient::AccessPolicyResponse](docs/AccessPolicyResponse.md)
|
345
|
-
- [PulpcoreClient::
|
345
|
+
- [PulpcoreClient::AppStatusResponse](docs/AppStatusResponse.md)
|
346
346
|
- [PulpcoreClient::ArtifactDistributionResponse](docs/ArtifactDistributionResponse.md)
|
347
347
|
- [PulpcoreClient::ArtifactResponse](docs/ArtifactResponse.md)
|
348
348
|
- [PulpcoreClient::AsyncOperationResponse](docs/AsyncOperationResponse.md)
|
349
349
|
- [PulpcoreClient::CompositeContentGuard](docs/CompositeContentGuard.md)
|
350
350
|
- [PulpcoreClient::CompositeContentGuardResponse](docs/CompositeContentGuardResponse.md)
|
351
|
-
- [PulpcoreClient::ContentAppStatusResponse](docs/ContentAppStatusResponse.md)
|
352
351
|
- [PulpcoreClient::ContentGuardResponse](docs/ContentGuardResponse.md)
|
353
352
|
- [PulpcoreClient::ContentRedirectContentGuard](docs/ContentRedirectContentGuard.md)
|
354
353
|
- [PulpcoreClient::ContentRedirectContentGuardResponse](docs/ContentRedirectContentGuardResponse.md)
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# PulpcoreClient::
|
1
|
+
# PulpcoreClient::AppStatusResponse
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -13,7 +13,7 @@
|
|
13
13
|
```ruby
|
14
14
|
require 'pulpcore_client'
|
15
15
|
|
16
|
-
instance = PulpcoreClient::
|
16
|
+
instance = PulpcoreClient::AppStatusResponse.new(
|
17
17
|
name: null,
|
18
18
|
last_heartbeat: null,
|
19
19
|
versions: null
|
@@ -4,17 +4,17 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **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] |
|
8
|
-
| **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional][readonly] |
|
9
|
-
| **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
|
10
7
|
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
|
11
|
-
| **
|
12
|
-
| **
|
8
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
9
|
+
| **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\") | |
|
10
|
+
| **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] |
|
13
11
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
12
|
+
| **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
|
14
13
|
| **content_guard** | **String** | An optional content-guard. | [optional] |
|
15
|
-
| **
|
14
|
+
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
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] |
|
16
16
|
| **pulp_href** | **String** | | [optional][readonly] |
|
17
|
-
| **
|
17
|
+
| **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional][readonly] |
|
18
18
|
|
19
19
|
## Example
|
20
20
|
|
@@ -22,17 +22,17 @@
|
|
22
22
|
require 'pulpcore_client'
|
23
23
|
|
24
24
|
instance = PulpcoreClient::ArtifactDistributionResponse.new(
|
25
|
-
pulp_last_updated: null,
|
26
|
-
base_url: null,
|
27
|
-
hidden: null,
|
28
25
|
name: null,
|
29
|
-
|
30
|
-
|
26
|
+
pulp_labels: null,
|
27
|
+
base_path: null,
|
28
|
+
pulp_last_updated: null,
|
31
29
|
pulp_created: null,
|
30
|
+
hidden: null,
|
32
31
|
content_guard: null,
|
33
|
-
|
32
|
+
prn: null,
|
33
|
+
no_content_change_since: null,
|
34
34
|
pulp_href: null,
|
35
|
-
|
35
|
+
base_url: null
|
36
36
|
)
|
37
37
|
```
|
38
38
|
|
data/docs/Purge.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **finished_before** | **Time** | Purge tasks completed earlier than this timestamp. Format '%Y-%m-%d[T%H:%M:%S]' | [optional][default to '2025-07-
|
7
|
+
| **finished_before** | **Time** | Purge tasks completed earlier than this timestamp. Format '%Y-%m-%d[T%H:%M:%S]' | [optional][default to '2025-07-30'] |
|
8
8
|
| **states** | [**Array<StatesEnum>**](StatesEnum.md) | List of task-states to be purged. Only 'final' states are allowed. | [optional] |
|
9
9
|
|
10
10
|
## Example
|
data/docs/StatusResponse.md
CHANGED
@@ -5,9 +5,9 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **versions** | [**Array<VersionResponse>**](VersionResponse.md) | Version information of Pulp components | |
|
8
|
-
| **online_workers** | [**Array<
|
9
|
-
| **online_api_apps** | [**Array<
|
10
|
-
| **online_content_apps** | [**Array<
|
8
|
+
| **online_workers** | [**Array<AppStatusResponse>**](AppStatusResponse.md) | List of online workers known to the application. An online worker is actively heartbeating and can respond to new work. | |
|
9
|
+
| **online_api_apps** | [**Array<AppStatusResponse>**](AppStatusResponse.md) | List of online api apps known to the application. An online api app is actively heartbeating and can serve the rest api to clients. | |
|
10
|
+
| **online_content_apps** | [**Array<AppStatusResponse>**](AppStatusResponse.md) | List of online content apps known to the application. An online content app is actively heartbeating and can serve data to clients. | |
|
11
11
|
| **database_connection** | [**DatabaseConnectionResponse**](DatabaseConnectionResponse.md) | Database connection information | |
|
12
12
|
| **redis_connection** | [**RedisConnectionResponse**](RedisConnectionResponse.md) | Redis connection information | [optional] |
|
13
13
|
| **storage** | [**StorageResponse**](StorageResponse.md) | Storage information | [optional] |
|
data/docs/TasksApi.md
CHANGED
@@ -242,7 +242,7 @@ opts = {
|
|
242
242
|
unblocked_at__lt: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where unblocked_at is less than value
|
243
243
|
unblocked_at__lte: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where unblocked_at is less than or equal to value
|
244
244
|
unblocked_at__range: [Time.now], # Array<Time> | Filter results where unblocked_at is between two comma separated values
|
245
|
-
worker: '
|
245
|
+
worker: 'worker_example', # String |
|
246
246
|
worker__in: ['inner_example'], # Array<String> | Filter results where worker is in a comma-separated list of values
|
247
247
|
worker__isnull: true, # Boolean | Filter results where worker has a null value
|
248
248
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
@@ -335,7 +335,7 @@ end
|
|
335
335
|
| **unblocked_at__lt** | **Time** | Filter results where unblocked_at is less than value | [optional] |
|
336
336
|
| **unblocked_at__lte** | **Time** | Filter results where unblocked_at is less than or equal to value | [optional] |
|
337
337
|
| **unblocked_at__range** | [**Array<Time>**](Time.md) | Filter results where unblocked_at is between two comma separated values | [optional] |
|
338
|
-
| **worker** | **String** |
|
338
|
+
| **worker** | **String** | | [optional] |
|
339
339
|
| **worker__in** | [**Array<String>**](String.md) | Filter results where worker is in a comma-separated list of values | [optional] |
|
340
340
|
| **worker__isnull** | **Boolean** | Filter results where worker has a null value | [optional] |
|
341
341
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
data/docs/WorkersApi.md
CHANGED
@@ -4,15 +4,15 @@ All URIs are relative to *http://localhost:24817*
|
|
4
4
|
|
5
5
|
| Method | HTTP request | Description |
|
6
6
|
| ------ | ------------ | ----------- |
|
7
|
-
| [**list**](WorkersApi.md#list) | **GET** /pulp/api/v3/workers/ | List
|
8
|
-
| [**read**](WorkersApi.md#read) | **GET** {worker_href} | Inspect
|
7
|
+
| [**list**](WorkersApi.md#list) | **GET** /pulp/api/v3/workers/ | List app statuss |
|
8
|
+
| [**read**](WorkersApi.md#read) | **GET** {worker_href} | Inspect an app status |
|
9
9
|
|
10
10
|
|
11
11
|
## list
|
12
12
|
|
13
13
|
> <PaginatedWorkerResponseList> list(opts)
|
14
14
|
|
15
|
-
List
|
15
|
+
List app statuss
|
16
16
|
|
17
17
|
A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
18
18
|
|
@@ -51,7 +51,7 @@ opts = {
|
|
51
51
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
52
52
|
offset: 56, # Integer | The initial index from which to return the results.
|
53
53
|
online: true, # Boolean |
|
54
|
-
ordering: ['-
|
54
|
+
ordering: ['-app_type'], # 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) * `app_type` - App type * `-app_type` - App type (descending) * `name` - Name * `-name` - Name (descending) * `versions` - Versions * `-versions` - Versions (descending) * `ttl` - Ttl * `-ttl` - Ttl (descending) * `last_heartbeat` - Last heartbeat * `-last_heartbeat` - Last heartbeat (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
55
55
|
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
56
56
|
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
57
57
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
@@ -61,7 +61,7 @@ opts = {
|
|
61
61
|
}
|
62
62
|
|
63
63
|
begin
|
64
|
-
# List
|
64
|
+
# List app statuss
|
65
65
|
result = api_instance.list(opts)
|
66
66
|
p result
|
67
67
|
rescue PulpcoreClient::ApiError => e
|
@@ -77,7 +77,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
77
77
|
|
78
78
|
```ruby
|
79
79
|
begin
|
80
|
-
# List
|
80
|
+
# List app statuss
|
81
81
|
data, status_code, headers = api_instance.list_with_http_info(opts)
|
82
82
|
p status_code # => 2xx
|
83
83
|
p headers # => { ... }
|
@@ -112,7 +112,7 @@ end
|
|
112
112
|
| **name__startswith** | **String** | Filter results where name starts with value | [optional] |
|
113
113
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
114
114
|
| **online** | **Boolean** | | [optional] |
|
115
|
-
| **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) * `name` - Name * `-name` - Name (descending) * `
|
115
|
+
| **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) * `app_type` - App type * `-app_type` - App type (descending) * `name` - Name * `-name` - Name (descending) * `versions` - Versions * `-versions` - Versions (descending) * `ttl` - Ttl * `-ttl` - Ttl (descending) * `last_heartbeat` - Last heartbeat * `-last_heartbeat` - Last heartbeat (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
116
116
|
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
117
117
|
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
118
118
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
@@ -138,7 +138,7 @@ end
|
|
138
138
|
|
139
139
|
> <WorkerResponse> read(worker_href, opts)
|
140
140
|
|
141
|
-
Inspect
|
141
|
+
Inspect an app status
|
142
142
|
|
143
143
|
A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
144
144
|
|
@@ -163,7 +163,7 @@ opts = {
|
|
163
163
|
}
|
164
164
|
|
165
165
|
begin
|
166
|
-
# Inspect
|
166
|
+
# Inspect an app status
|
167
167
|
result = api_instance.read(worker_href, opts)
|
168
168
|
p result
|
169
169
|
rescue PulpcoreClient::ApiError => e
|
@@ -179,7 +179,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
179
179
|
|
180
180
|
```ruby
|
181
181
|
begin
|
182
|
-
# Inspect
|
182
|
+
# Inspect an app status
|
183
183
|
data, status_code, headers = api_instance.read_with_http_info(worker_href, opts)
|
184
184
|
p status_code # => 2xx
|
185
185
|
p headers # => { ... }
|
@@ -218,7 +218,7 @@ module PulpcoreClient
|
|
218
218
|
# @option opts [Time] :unblocked_at__lt Filter results where unblocked_at is less than value
|
219
219
|
# @option opts [Time] :unblocked_at__lte Filter results where unblocked_at is less than or equal to value
|
220
220
|
# @option opts [Array<Time>] :unblocked_at__range Filter results where unblocked_at is between two comma separated values
|
221
|
-
# @option opts [String] :worker
|
221
|
+
# @option opts [String] :worker
|
222
222
|
# @option opts [Array<String>] :worker__in Filter results where worker is in a comma-separated list of values
|
223
223
|
# @option opts [Boolean] :worker__isnull Filter results where worker has a null value
|
224
224
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
@@ -287,7 +287,7 @@ module PulpcoreClient
|
|
287
287
|
# @option opts [Time] :unblocked_at__lt Filter results where unblocked_at is less than value
|
288
288
|
# @option opts [Time] :unblocked_at__lte Filter results where unblocked_at is less than or equal to value
|
289
289
|
# @option opts [Array<Time>] :unblocked_at__range Filter results where unblocked_at is between two comma separated values
|
290
|
-
# @option opts [String] :worker
|
290
|
+
# @option opts [String] :worker
|
291
291
|
# @option opts [Array<String>] :worker__in Filter results where worker is in a comma-separated list of values
|
292
292
|
# @option opts [Boolean] :worker__isnull Filter results where worker has a null value
|
293
293
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
@@ -19,7 +19,7 @@ module PulpcoreClient
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
|
-
# List
|
22
|
+
# List app statuss
|
23
23
|
# A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
25
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
@@ -43,7 +43,7 @@ module PulpcoreClient
|
|
43
43
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
44
44
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
45
45
|
# @option opts [Boolean] :online
|
46
|
-
# @option opts [Array<String>] :ordering 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) * `name` - Name * `-name` - Name (descending) * `
|
46
|
+
# @option opts [Array<String>] :ordering 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) * `app_type` - App type * `-app_type` - App type (descending) * `name` - Name * `-name` - Name (descending) * `versions` - Versions * `-versions` - Versions (descending) * `ttl` - Ttl * `-ttl` - Ttl (descending) * `last_heartbeat` - Last heartbeat * `-last_heartbeat` - Last heartbeat (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
47
47
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
48
48
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
49
49
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
@@ -56,7 +56,7 @@ module PulpcoreClient
|
|
56
56
|
data
|
57
57
|
end
|
58
58
|
|
59
|
-
# List
|
59
|
+
# List app statuss
|
60
60
|
# A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
61
61
|
# @param [Hash] opts the optional parameters
|
62
62
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
@@ -80,7 +80,7 @@ module PulpcoreClient
|
|
80
80
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
81
81
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
82
82
|
# @option opts [Boolean] :online
|
83
|
-
# @option opts [Array<String>] :ordering 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) * `name` - Name * `-name` - Name (descending) * `
|
83
|
+
# @option opts [Array<String>] :ordering 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) * `app_type` - App type * `-app_type` - App type (descending) * `name` - Name * `-name` - Name (descending) * `versions` - Versions * `-versions` - Versions (descending) * `ttl` - Ttl * `-ttl` - Ttl (descending) * `last_heartbeat` - Last heartbeat * `-last_heartbeat` - Last heartbeat (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
84
84
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
85
85
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
86
86
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
@@ -92,7 +92,7 @@ module PulpcoreClient
|
|
92
92
|
if @api_client.config.debugging
|
93
93
|
@api_client.config.logger.debug 'Calling API: WorkersApi.list ...'
|
94
94
|
end
|
95
|
-
allowable_values = ["-last_heartbeat", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-versions", "last_heartbeat", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "versions"]
|
95
|
+
allowable_values = ["-app_type", "-last_heartbeat", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-ttl", "-versions", "app_type", "last_heartbeat", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "ttl", "versions"]
|
96
96
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
97
97
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
98
98
|
end
|
@@ -164,7 +164,7 @@ module PulpcoreClient
|
|
164
164
|
return data, status_code, headers
|
165
165
|
end
|
166
166
|
|
167
|
-
# Inspect
|
167
|
+
# Inspect an app status
|
168
168
|
# A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
169
169
|
# @param worker_href [String]
|
170
170
|
# @param [Hash] opts the optional parameters
|
@@ -177,7 +177,7 @@ module PulpcoreClient
|
|
177
177
|
data
|
178
178
|
end
|
179
179
|
|
180
|
-
# Inspect
|
180
|
+
# Inspect an app status
|
181
181
|
# A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
182
182
|
# @param worker_href [String]
|
183
183
|
# @param [Hash] opts the optional parameters
|
@@ -14,8 +14,7 @@ require 'date'
|
|
14
14
|
require 'time'
|
15
15
|
|
16
16
|
module PulpcoreClient
|
17
|
-
|
18
|
-
class ApiAppStatusResponse
|
17
|
+
class AppStatusResponse
|
19
18
|
# The name of the worker.
|
20
19
|
attr_accessor :name
|
21
20
|
|
@@ -58,13 +57,13 @@ module PulpcoreClient
|
|
58
57
|
# @param [Hash] attributes Model attributes in the form of hash
|
59
58
|
def initialize(attributes = {})
|
60
59
|
if (!attributes.is_a?(Hash))
|
61
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpcoreClient::
|
60
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpcoreClient::AppStatusResponse` initialize method"
|
62
61
|
end
|
63
62
|
|
64
63
|
# check to see if the attribute exists and convert string to symbol for hash key
|
65
64
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
66
65
|
if (!self.class.attribute_map.key?(k.to_sym))
|
67
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpcoreClient::
|
66
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpcoreClient::AppStatusResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
68
67
|
end
|
69
68
|
h[k.to_sym] = v
|
70
69
|
}
|
@@ -16,51 +16,51 @@ require 'time'
|
|
16
16
|
module PulpcoreClient
|
17
17
|
# A serializer for ArtifactDistribution.
|
18
18
|
class ArtifactDistributionResponse
|
19
|
-
# 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.
|
20
|
-
attr_accessor :pulp_last_updated
|
21
|
-
|
22
|
-
# The URL for accessing the publication as defined by this distribution.
|
23
|
-
attr_accessor :base_url
|
24
|
-
|
25
|
-
# Whether this distribution should be shown in the content app.
|
26
|
-
attr_accessor :hidden
|
27
|
-
|
28
19
|
# A unique name. Ex, `rawhide` and `stable`.
|
29
20
|
attr_accessor :name
|
30
21
|
|
31
|
-
|
32
|
-
attr_accessor :no_content_change_since
|
22
|
+
attr_accessor :pulp_labels
|
33
23
|
|
34
|
-
# The
|
35
|
-
attr_accessor :
|
24
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
25
|
+
attr_accessor :base_path
|
26
|
+
|
27
|
+
# 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.
|
28
|
+
attr_accessor :pulp_last_updated
|
36
29
|
|
37
30
|
# Timestamp of creation.
|
38
31
|
attr_accessor :pulp_created
|
39
32
|
|
33
|
+
# Whether this distribution should be shown in the content app.
|
34
|
+
attr_accessor :hidden
|
35
|
+
|
40
36
|
# An optional content-guard.
|
41
37
|
attr_accessor :content_guard
|
42
38
|
|
43
|
-
# The
|
44
|
-
attr_accessor :
|
39
|
+
# The Pulp Resource Name (PRN).
|
40
|
+
attr_accessor :prn
|
41
|
+
|
42
|
+
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
43
|
+
attr_accessor :no_content_change_since
|
45
44
|
|
46
45
|
attr_accessor :pulp_href
|
47
46
|
|
48
|
-
|
47
|
+
# The URL for accessing the publication as defined by this distribution.
|
48
|
+
attr_accessor :base_url
|
49
49
|
|
50
50
|
# Attribute mapping from ruby-style variable name to JSON key.
|
51
51
|
def self.attribute_map
|
52
52
|
{
|
53
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
54
|
-
:'base_url' => :'base_url',
|
55
|
-
:'hidden' => :'hidden',
|
56
53
|
:'name' => :'name',
|
57
|
-
:'
|
58
|
-
:'
|
54
|
+
:'pulp_labels' => :'pulp_labels',
|
55
|
+
:'base_path' => :'base_path',
|
56
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
59
57
|
:'pulp_created' => :'pulp_created',
|
58
|
+
:'hidden' => :'hidden',
|
60
59
|
:'content_guard' => :'content_guard',
|
61
|
-
:'
|
60
|
+
:'prn' => :'prn',
|
61
|
+
:'no_content_change_since' => :'no_content_change_since',
|
62
62
|
:'pulp_href' => :'pulp_href',
|
63
|
-
:'
|
63
|
+
:'base_url' => :'base_url'
|
64
64
|
}
|
65
65
|
end
|
66
66
|
|
@@ -72,17 +72,17 @@ module PulpcoreClient
|
|
72
72
|
# Attribute type mapping.
|
73
73
|
def self.openapi_types
|
74
74
|
{
|
75
|
-
:'pulp_last_updated' => :'Time',
|
76
|
-
:'base_url' => :'String',
|
77
|
-
:'hidden' => :'Boolean',
|
78
75
|
:'name' => :'String',
|
79
|
-
:'
|
80
|
-
:'
|
76
|
+
:'pulp_labels' => :'Hash<String, String>',
|
77
|
+
:'base_path' => :'String',
|
78
|
+
:'pulp_last_updated' => :'Time',
|
81
79
|
:'pulp_created' => :'Time',
|
80
|
+
:'hidden' => :'Boolean',
|
82
81
|
:'content_guard' => :'String',
|
83
|
-
:'
|
82
|
+
:'prn' => :'String',
|
83
|
+
:'no_content_change_since' => :'String',
|
84
84
|
:'pulp_href' => :'String',
|
85
|
-
:'
|
85
|
+
:'base_url' => :'String'
|
86
86
|
}
|
87
87
|
end
|
88
88
|
|
@@ -108,56 +108,56 @@ module PulpcoreClient
|
|
108
108
|
h[k.to_sym] = v
|
109
109
|
}
|
110
110
|
|
111
|
-
if attributes.key?(:'pulp_last_updated')
|
112
|
-
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
113
|
-
end
|
114
|
-
|
115
|
-
if attributes.key?(:'base_url')
|
116
|
-
self.base_url = attributes[:'base_url']
|
117
|
-
end
|
118
|
-
|
119
|
-
if attributes.key?(:'hidden')
|
120
|
-
self.hidden = attributes[:'hidden']
|
121
|
-
else
|
122
|
-
self.hidden = false
|
123
|
-
end
|
124
|
-
|
125
111
|
if attributes.key?(:'name')
|
126
112
|
self.name = attributes[:'name']
|
127
113
|
else
|
128
114
|
self.name = nil
|
129
115
|
end
|
130
116
|
|
131
|
-
if attributes.key?(:'
|
132
|
-
|
117
|
+
if attributes.key?(:'pulp_labels')
|
118
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
119
|
+
self.pulp_labels = value
|
120
|
+
end
|
133
121
|
end
|
134
122
|
|
135
|
-
if attributes.key?(:'
|
136
|
-
self.
|
123
|
+
if attributes.key?(:'base_path')
|
124
|
+
self.base_path = attributes[:'base_path']
|
125
|
+
else
|
126
|
+
self.base_path = nil
|
127
|
+
end
|
128
|
+
|
129
|
+
if attributes.key?(:'pulp_last_updated')
|
130
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
137
131
|
end
|
138
132
|
|
139
133
|
if attributes.key?(:'pulp_created')
|
140
134
|
self.pulp_created = attributes[:'pulp_created']
|
141
135
|
end
|
142
136
|
|
137
|
+
if attributes.key?(:'hidden')
|
138
|
+
self.hidden = attributes[:'hidden']
|
139
|
+
else
|
140
|
+
self.hidden = false
|
141
|
+
end
|
142
|
+
|
143
143
|
if attributes.key?(:'content_guard')
|
144
144
|
self.content_guard = attributes[:'content_guard']
|
145
145
|
end
|
146
146
|
|
147
|
-
if attributes.key?(:'
|
148
|
-
self.
|
149
|
-
|
150
|
-
|
147
|
+
if attributes.key?(:'prn')
|
148
|
+
self.prn = attributes[:'prn']
|
149
|
+
end
|
150
|
+
|
151
|
+
if attributes.key?(:'no_content_change_since')
|
152
|
+
self.no_content_change_since = attributes[:'no_content_change_since']
|
151
153
|
end
|
152
154
|
|
153
155
|
if attributes.key?(:'pulp_href')
|
154
156
|
self.pulp_href = attributes[:'pulp_href']
|
155
157
|
end
|
156
158
|
|
157
|
-
if attributes.key?(:'
|
158
|
-
|
159
|
-
self.pulp_labels = value
|
160
|
-
end
|
159
|
+
if attributes.key?(:'base_url')
|
160
|
+
self.base_url = attributes[:'base_url']
|
161
161
|
end
|
162
162
|
end
|
163
163
|
|
@@ -191,17 +191,17 @@ module PulpcoreClient
|
|
191
191
|
def ==(o)
|
192
192
|
return true if self.equal?(o)
|
193
193
|
self.class == o.class &&
|
194
|
-
pulp_last_updated == o.pulp_last_updated &&
|
195
|
-
base_url == o.base_url &&
|
196
|
-
hidden == o.hidden &&
|
197
194
|
name == o.name &&
|
198
|
-
|
199
|
-
|
195
|
+
pulp_labels == o.pulp_labels &&
|
196
|
+
base_path == o.base_path &&
|
197
|
+
pulp_last_updated == o.pulp_last_updated &&
|
200
198
|
pulp_created == o.pulp_created &&
|
199
|
+
hidden == o.hidden &&
|
201
200
|
content_guard == o.content_guard &&
|
202
|
-
|
201
|
+
prn == o.prn &&
|
202
|
+
no_content_change_since == o.no_content_change_since &&
|
203
203
|
pulp_href == o.pulp_href &&
|
204
|
-
|
204
|
+
base_url == o.base_url
|
205
205
|
end
|
206
206
|
|
207
207
|
# @see the `==` method
|
@@ -213,7 +213,7 @@ module PulpcoreClient
|
|
213
213
|
# Calculates hash code according to all attributes.
|
214
214
|
# @return [Integer] Hash code
|
215
215
|
def hash
|
216
|
-
[
|
216
|
+
[name, pulp_labels, base_path, pulp_last_updated, pulp_created, hidden, content_guard, prn, no_content_change_since, pulp_href, base_url].hash
|
217
217
|
end
|
218
218
|
|
219
219
|
# Builds the object from hash
|
@@ -67,9 +67,9 @@ module PulpcoreClient
|
|
67
67
|
def self.openapi_types
|
68
68
|
{
|
69
69
|
:'versions' => :'Array<VersionResponse>',
|
70
|
-
:'online_workers' => :'Array<
|
71
|
-
:'online_api_apps' => :'Array<
|
72
|
-
:'online_content_apps' => :'Array<
|
70
|
+
:'online_workers' => :'Array<AppStatusResponse>',
|
71
|
+
:'online_api_apps' => :'Array<AppStatusResponse>',
|
72
|
+
:'online_content_apps' => :'Array<AppStatusResponse>',
|
73
73
|
:'database_connection' => :'DatabaseConnectionResponse',
|
74
74
|
:'redis_connection' => :'RedisConnectionResponse',
|
75
75
|
:'storage' => :'StorageResponse',
|