pulpcore_client 3.49.19 → 3.50.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 +5 -5
- data/docs/AccessPoliciesApi.md +1 -1
- data/docs/ArtifactDistributionResponse.md +7 -7
- data/docs/ArtifactsApi.md +1 -1
- data/docs/ContentApi.md +1 -1
- data/docs/ContentguardsApi.md +1 -1
- data/docs/ContentguardsCompositeApi.md +1 -1
- data/docs/ContentguardsContentRedirectApi.md +1 -1
- data/docs/ContentguardsHeaderApi.md +1 -1
- data/docs/ContentguardsRbacApi.md +1 -1
- data/docs/DistributionsApi.md +1 -1
- data/docs/DistributionsArtifactsApi.md +1 -1
- data/docs/DomainsApi.md +1 -1
- data/docs/ExportersFilesystemApi.md +1 -1
- data/docs/ExportersFilesystemExportsApi.md +1 -1
- data/docs/ExportersPulpApi.md +1 -1
- data/docs/ExportersPulpExportsApi.md +1 -1
- data/docs/GroupsApi.md +1 -1
- data/docs/GroupsRolesApi.md +1 -1
- data/docs/GroupsUsersApi.md +1 -1
- data/docs/ImportersPulpApi.md +1 -1
- data/docs/ImportersPulpImportCheckApi.md +1 -1
- data/docs/ImportersPulpImportsApi.md +1 -1
- data/docs/OrphansApi.md +1 -1
- data/docs/OrphansCleanupApi.md +1 -1
- data/docs/PublicationsApi.md +1 -1
- data/docs/RemotesApi.md +1 -1
- data/docs/RepairApi.md +1 -1
- data/docs/RepositoriesApi.md +1 -1
- data/docs/RepositoriesReclaimSpaceApi.md +1 -1
- data/docs/RepositoryVersionsApi.md +1 -1
- data/docs/RolesApi.md +1 -1
- data/docs/SigningServicesApi.md +1 -1
- data/docs/StatusApi.md +1 -1
- data/docs/TaskGroupsApi.md +1 -1
- data/docs/TaskSchedulesApi.md +1 -1
- data/docs/TasksApi.md +3 -3
- data/docs/UploadsApi.md +1 -1
- data/docs/UpstreamPulpsApi.md +1 -1
- data/docs/UsersApi.md +1 -1
- data/docs/UsersRolesApi.md +1 -1
- data/docs/WorkersApi.md +1 -1
- data/lib/pulpcore_client/api/tasks_api.rb +2 -2
- data/lib/pulpcore_client/configuration.rb +2 -2
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +29 -29
- data/lib/pulpcore_client/models/remote_response.rb +20 -20
- data/lib/pulpcore_client/version.rb +1 -1
- data/spec/api/tasks_api_spec.rb +1 -1
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/artifact_distribution_response_spec.rb +7 -7
- metadata +162 -162
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1bf78a3433ee9299c0e939b686d9d4ca6463efc0e3c055e4faee42cd677c7e83
|
|
4
|
+
data.tar.gz: f3deb817aeda6d58209cb0afdb9ba6df64b484e63fc11e30633ae6425a96b895
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2d2e8d594fd4446e25f3dee256387d55819192f7a6fbf1794f6975c0467bf09919eefa0ed5c3677728ebf6f666c921cf05b299a119256606f48c4c532396f311
|
|
7
|
+
data.tar.gz: 3ddaf5e89d7491967e39b07a74e4154fb8256ce8c7dd16b96044f98062f22e1666f9c7d3a8e402121b78fd5d947e779049981936578d1f178cf7f365132062ba
|
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.50.0
|
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
12
12
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
|
13
13
|
|
|
@@ -24,16 +24,16 @@ gem build pulpcore_client.gemspec
|
|
|
24
24
|
Then either install the gem locally:
|
|
25
25
|
|
|
26
26
|
```shell
|
|
27
|
-
gem install ./pulpcore_client-3.
|
|
27
|
+
gem install ./pulpcore_client-3.50.0.gem
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
(for development, run `gem install --dev ./pulpcore_client-3.
|
|
30
|
+
(for development, run `gem install --dev ./pulpcore_client-3.50.0.gem` to install the development dependencies)
|
|
31
31
|
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
33
33
|
|
|
34
34
|
Finally add this to the Gemfile:
|
|
35
35
|
|
|
36
|
-
gem 'pulpcore_client', '~> 3.
|
|
36
|
+
gem 'pulpcore_client', '~> 3.50.0'
|
|
37
37
|
|
|
38
38
|
### Install from Git
|
|
39
39
|
|
|
@@ -98,7 +98,7 @@ end
|
|
|
98
98
|
|
|
99
99
|
## Documentation for API Endpoints
|
|
100
100
|
|
|
101
|
-
All URIs are relative to *http://
|
|
101
|
+
All URIs are relative to *http://pulp*
|
|
102
102
|
|
|
103
103
|
Class | Method | HTTP request | Description
|
|
104
104
|
------------ | ------------- | ------------- | -------------
|
data/docs/AccessPoliciesApi.md
CHANGED
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
8
|
-
**base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
|
|
9
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
|
10
8
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
|
9
|
+
**base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
|
|
10
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
11
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
11
12
|
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
|
12
13
|
**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\") |
|
|
13
|
-
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
14
14
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
15
15
|
**pulp_last_updated** | **DateTime** | 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]
|
|
16
16
|
|
|
@@ -19,13 +19,13 @@ Name | Type | Description | Notes
|
|
|
19
19
|
```ruby
|
|
20
20
|
require 'PulpcoreClient'
|
|
21
21
|
|
|
22
|
-
instance = PulpcoreClient::ArtifactDistributionResponse.new(
|
|
23
|
-
base_url: null,
|
|
24
|
-
pulp_href: null,
|
|
22
|
+
instance = PulpcoreClient::ArtifactDistributionResponse.new(pulp_href: null,
|
|
25
23
|
content_guard: null,
|
|
24
|
+
base_url: null,
|
|
25
|
+
pulp_labels: null,
|
|
26
|
+
name: null,
|
|
26
27
|
hidden: null,
|
|
27
28
|
base_path: null,
|
|
28
|
-
pulp_labels: null,
|
|
29
29
|
pulp_created: null,
|
|
30
30
|
pulp_last_updated: null)
|
|
31
31
|
```
|
data/docs/ArtifactsApi.md
CHANGED
data/docs/ContentApi.md
CHANGED
data/docs/ContentguardsApi.md
CHANGED
data/docs/DistributionsApi.md
CHANGED
data/docs/DomainsApi.md
CHANGED
data/docs/ExportersPulpApi.md
CHANGED
data/docs/GroupsApi.md
CHANGED
data/docs/GroupsRolesApi.md
CHANGED
data/docs/GroupsUsersApi.md
CHANGED
data/docs/ImportersPulpApi.md
CHANGED
data/docs/OrphansApi.md
CHANGED
data/docs/OrphansCleanupApi.md
CHANGED
data/docs/PublicationsApi.md
CHANGED
data/docs/RemotesApi.md
CHANGED
data/docs/RepairApi.md
CHANGED
data/docs/RepositoriesApi.md
CHANGED
data/docs/RolesApi.md
CHANGED
data/docs/SigningServicesApi.md
CHANGED
data/docs/StatusApi.md
CHANGED
data/docs/TaskGroupsApi.md
CHANGED
data/docs/TaskSchedulesApi.md
CHANGED
data/docs/TasksApi.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# PulpcoreClient::TasksApi
|
|
2
2
|
|
|
3
|
-
All URIs are relative to *http://
|
|
3
|
+
All URIs are relative to *http://pulp*
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
@@ -170,7 +170,7 @@ opts = {
|
|
|
170
170
|
q: 'q_example', # String |
|
|
171
171
|
reserved_resources: 'reserved_resources_example', # String |
|
|
172
172
|
reserved_resources__in: ['reserved_resources__in_example'], # Array<String> | Multiple values may be separated by commas.
|
|
173
|
-
reserved_resources_record: ['reserved_resources_record_example'], # Array<String> |
|
|
173
|
+
reserved_resources_record: ['reserved_resources_record_example'], # Array<String> | Deprecated, will be removed in pulpcore 3.55. Use reserved_resources instead.
|
|
174
174
|
shared_resources: 'shared_resources_example', # String |
|
|
175
175
|
shared_resources__in: ['shared_resources__in_example'], # Array<String> | Multiple values may be separated by commas.
|
|
176
176
|
started_at: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where started_at matches value
|
|
@@ -229,7 +229,7 @@ Name | Type | Description | Notes
|
|
|
229
229
|
**q** | **String**| | [optional]
|
|
230
230
|
**reserved_resources** | **String**| | [optional]
|
|
231
231
|
**reserved_resources__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
|
232
|
-
**reserved_resources_record** | [**Array<String>**](String.md)|
|
|
232
|
+
**reserved_resources_record** | [**Array<String>**](String.md)| Deprecated, will be removed in pulpcore 3.55. Use reserved_resources instead. | [optional]
|
|
233
233
|
**shared_resources** | **String**| | [optional]
|
|
234
234
|
**shared_resources__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
|
235
235
|
**started_at** | **DateTime**| Filter results where started_at matches value | [optional]
|
data/docs/UploadsApi.md
CHANGED
data/docs/UpstreamPulpsApi.md
CHANGED
data/docs/UsersApi.md
CHANGED
data/docs/UsersRolesApi.md
CHANGED
data/docs/WorkersApi.md
CHANGED
|
@@ -177,7 +177,7 @@ module PulpcoreClient
|
|
|
177
177
|
# @option opts [String] :q
|
|
178
178
|
# @option opts [String] :reserved_resources
|
|
179
179
|
# @option opts [Array<String>] :reserved_resources__in Multiple values may be separated by commas.
|
|
180
|
-
# @option opts [Array<String>] :reserved_resources_record
|
|
180
|
+
# @option opts [Array<String>] :reserved_resources_record Deprecated, will be removed in pulpcore 3.55. Use reserved_resources instead.
|
|
181
181
|
# @option opts [String] :shared_resources
|
|
182
182
|
# @option opts [Array<String>] :shared_resources__in Multiple values may be separated by commas.
|
|
183
183
|
# @option opts [DateTime] :started_at Filter results where started_at matches value
|
|
@@ -229,7 +229,7 @@ module PulpcoreClient
|
|
|
229
229
|
# @option opts [String] :q
|
|
230
230
|
# @option opts [String] :reserved_resources
|
|
231
231
|
# @option opts [Array<String>] :reserved_resources__in Multiple values may be separated by commas.
|
|
232
|
-
# @option opts [Array<String>] :reserved_resources_record
|
|
232
|
+
# @option opts [Array<String>] :reserved_resources_record Deprecated, will be removed in pulpcore 3.55. Use reserved_resources instead.
|
|
233
233
|
# @option opts [String] :shared_resources
|
|
234
234
|
# @option opts [Array<String>] :shared_resources__in Multiple values may be separated by commas.
|
|
235
235
|
# @option opts [DateTime] :started_at Filter results where started_at matches value
|
|
@@ -128,7 +128,7 @@ module PulpcoreClient
|
|
|
128
128
|
|
|
129
129
|
def initialize
|
|
130
130
|
@scheme = 'http'
|
|
131
|
-
@host = '
|
|
131
|
+
@host = 'pulp'
|
|
132
132
|
@base_path = ''
|
|
133
133
|
@api_key = {}
|
|
134
134
|
@api_key_prefix = {}
|
|
@@ -210,7 +210,7 @@ module PulpcoreClient
|
|
|
210
210
|
def server_settings
|
|
211
211
|
[
|
|
212
212
|
{
|
|
213
|
-
url: "http://
|
|
213
|
+
url: "http://pulp/",
|
|
214
214
|
description: "No description provided",
|
|
215
215
|
}
|
|
216
216
|
]
|
|
@@ -15,16 +15,18 @@ require 'date'
|
|
|
15
15
|
module PulpcoreClient
|
|
16
16
|
# A serializer for ArtifactDistribution.
|
|
17
17
|
class ArtifactDistributionResponse
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
attr_accessor :pulp_href
|
|
19
|
+
|
|
20
|
+
# An optional content-guard.
|
|
21
|
+
attr_accessor :content_guard
|
|
20
22
|
|
|
21
23
|
# The URL for accessing the publication as defined by this distribution.
|
|
22
24
|
attr_accessor :base_url
|
|
23
25
|
|
|
24
|
-
attr_accessor :
|
|
26
|
+
attr_accessor :pulp_labels
|
|
25
27
|
|
|
26
|
-
#
|
|
27
|
-
attr_accessor :
|
|
28
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
|
29
|
+
attr_accessor :name
|
|
28
30
|
|
|
29
31
|
# Whether this distribution should be shown in the content app.
|
|
30
32
|
attr_accessor :hidden
|
|
@@ -32,8 +34,6 @@ module PulpcoreClient
|
|
|
32
34
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
33
35
|
attr_accessor :base_path
|
|
34
36
|
|
|
35
|
-
attr_accessor :pulp_labels
|
|
36
|
-
|
|
37
37
|
# Timestamp of creation.
|
|
38
38
|
attr_accessor :pulp_created
|
|
39
39
|
|
|
@@ -43,13 +43,13 @@ module PulpcoreClient
|
|
|
43
43
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
44
44
|
def self.attribute_map
|
|
45
45
|
{
|
|
46
|
-
:'name' => :'name',
|
|
47
|
-
:'base_url' => :'base_url',
|
|
48
46
|
:'pulp_href' => :'pulp_href',
|
|
49
47
|
:'content_guard' => :'content_guard',
|
|
48
|
+
:'base_url' => :'base_url',
|
|
49
|
+
:'pulp_labels' => :'pulp_labels',
|
|
50
|
+
:'name' => :'name',
|
|
50
51
|
:'hidden' => :'hidden',
|
|
51
52
|
:'base_path' => :'base_path',
|
|
52
|
-
:'pulp_labels' => :'pulp_labels',
|
|
53
53
|
:'pulp_created' => :'pulp_created',
|
|
54
54
|
:'pulp_last_updated' => :'pulp_last_updated'
|
|
55
55
|
}
|
|
@@ -58,13 +58,13 @@ module PulpcoreClient
|
|
|
58
58
|
# Attribute type mapping.
|
|
59
59
|
def self.openapi_types
|
|
60
60
|
{
|
|
61
|
-
:'name' => :'String',
|
|
62
|
-
:'base_url' => :'String',
|
|
63
61
|
:'pulp_href' => :'String',
|
|
64
62
|
:'content_guard' => :'String',
|
|
63
|
+
:'base_url' => :'String',
|
|
64
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
65
|
+
:'name' => :'String',
|
|
65
66
|
:'hidden' => :'Boolean',
|
|
66
67
|
:'base_path' => :'String',
|
|
67
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
68
68
|
:'pulp_created' => :'DateTime',
|
|
69
69
|
:'pulp_last_updated' => :'DateTime'
|
|
70
70
|
}
|
|
@@ -92,20 +92,26 @@ module PulpcoreClient
|
|
|
92
92
|
h[k.to_sym] = v
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
if attributes.key?(:'
|
|
96
|
-
self.
|
|
95
|
+
if attributes.key?(:'pulp_href')
|
|
96
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
97
|
+
end
|
|
98
|
+
|
|
99
|
+
if attributes.key?(:'content_guard')
|
|
100
|
+
self.content_guard = attributes[:'content_guard']
|
|
97
101
|
end
|
|
98
102
|
|
|
99
103
|
if attributes.key?(:'base_url')
|
|
100
104
|
self.base_url = attributes[:'base_url']
|
|
101
105
|
end
|
|
102
106
|
|
|
103
|
-
if attributes.key?(:'
|
|
104
|
-
|
|
107
|
+
if attributes.key?(:'pulp_labels')
|
|
108
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
109
|
+
self.pulp_labels = value
|
|
110
|
+
end
|
|
105
111
|
end
|
|
106
112
|
|
|
107
|
-
if attributes.key?(:'
|
|
108
|
-
self.
|
|
113
|
+
if attributes.key?(:'name')
|
|
114
|
+
self.name = attributes[:'name']
|
|
109
115
|
end
|
|
110
116
|
|
|
111
117
|
if attributes.key?(:'hidden')
|
|
@@ -118,12 +124,6 @@ module PulpcoreClient
|
|
|
118
124
|
self.base_path = attributes[:'base_path']
|
|
119
125
|
end
|
|
120
126
|
|
|
121
|
-
if attributes.key?(:'pulp_labels')
|
|
122
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
123
|
-
self.pulp_labels = value
|
|
124
|
-
end
|
|
125
|
-
end
|
|
126
|
-
|
|
127
127
|
if attributes.key?(:'pulp_created')
|
|
128
128
|
self.pulp_created = attributes[:'pulp_created']
|
|
129
129
|
end
|
|
@@ -161,13 +161,13 @@ module PulpcoreClient
|
|
|
161
161
|
def ==(o)
|
|
162
162
|
return true if self.equal?(o)
|
|
163
163
|
self.class == o.class &&
|
|
164
|
-
name == o.name &&
|
|
165
|
-
base_url == o.base_url &&
|
|
166
164
|
pulp_href == o.pulp_href &&
|
|
167
165
|
content_guard == o.content_guard &&
|
|
166
|
+
base_url == o.base_url &&
|
|
167
|
+
pulp_labels == o.pulp_labels &&
|
|
168
|
+
name == o.name &&
|
|
168
169
|
hidden == o.hidden &&
|
|
169
170
|
base_path == o.base_path &&
|
|
170
|
-
pulp_labels == o.pulp_labels &&
|
|
171
171
|
pulp_created == o.pulp_created &&
|
|
172
172
|
pulp_last_updated == o.pulp_last_updated
|
|
173
173
|
end
|
|
@@ -181,7 +181,7 @@ module PulpcoreClient
|
|
|
181
181
|
# Calculates hash code according to all attributes.
|
|
182
182
|
# @return [Integer] Hash code
|
|
183
183
|
def hash
|
|
184
|
-
[
|
|
184
|
+
[pulp_href, content_guard, base_url, pulp_labels, name, hidden, base_path, pulp_created, pulp_last_updated].hash
|
|
185
185
|
end
|
|
186
186
|
|
|
187
187
|
# Builds the object from hash
|