pulp_container_client 2.3.0.dev01611890753 → 2.3.0.dev01611977129
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of pulp_container_client might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +10 -10
- data/docs/ContainerContainerDistribution.md +8 -8
- data/docs/ContainerContainerDistributionResponse.md +12 -12
- data/docs/{ContentguardsContentRedirectApi.md → ContentGuardsContentRedirectApi.md} +19 -19
- data/docs/PatchedcontainerContainerDistribution.md +8 -8
- data/lib/pulp_container_client.rb +1 -1
- data/lib/pulp_container_client/api/{contentguards_content_redirect_api.rb → content_guards_content_redirect_api.rb} +22 -22
- data/lib/pulp_container_client/models/container_container_distribution.rb +36 -36
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +49 -49
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +31 -31
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/api/{contentguards_content_redirect_api_spec.rb → content_guards_content_redirect_api_spec.rb} +6 -6
- data/spec/models/container_container_distribution_response_spec.rb +8 -8
- data/spec/models/container_container_distribution_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b0d3f2ebec30c2fdc601972bb4b59fc31b91e8dda2354a5b6b92134834a2b378
|
4
|
+
data.tar.gz: 53a3d7f0962dd95111a034f1e6f9ed2871407c686c6bcdae58587b95b8e57a67
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 826410c5105bd37e358448abc13a0d401aab60454dd6270e681aada4fdb0de9deec8f9b578fcc4772373d3af7500fd0e8589b86c2b2eb4f8a88583ff7f6822c7
|
7
|
+
data.tar.gz: a07786f88d411296fba893d34558ce5b3cf4d15dd7b8cbf8baefda1efbd983bf82953d9465f6845174a9a761255efd87e077c0db3447055f93cb6932107d8c93
|
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: 2.3.0.
|
10
|
+
- Package version: 2.3.0.dev01611977129
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
13
13
|
|
@@ -24,16 +24,16 @@ gem build pulp_container_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulp_container_client-2.3.0.
|
27
|
+
gem install ./pulp_container_client-2.3.0.dev01611977129.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_container_client-2.3.0.
|
30
|
+
(for development, run `gem install --dev ./pulp_container_client-2.3.0.dev01611977129.gem` to install the development dependencies)
|
31
31
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
33
|
|
34
34
|
Finally add this to the Gemfile:
|
35
35
|
|
36
|
-
gem 'pulp_container_client', '~> 2.3.0.
|
36
|
+
gem 'pulp_container_client', '~> 2.3.0.dev01611977129'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -97,16 +97,16 @@ Class | Method | HTTP request | Description
|
|
97
97
|
------------ | ------------- | ------------- | -------------
|
98
98
|
*PulpContainerClient::ContentBlobsApi* | [**list**](docs/ContentBlobsApi.md#list) | **GET** /pulp/api/v3/content/container/blobs/ | List blobs
|
99
99
|
*PulpContainerClient::ContentBlobsApi* | [**read**](docs/ContentBlobsApi.md#read) | **GET** {container_blob_href} | Inspect a blob
|
100
|
+
*PulpContainerClient::ContentGuardsContentRedirectApi* | [**create**](docs/ContentGuardsContentRedirectApi.md#create) | **POST** /pulp/api/v3/content_guards/container/content_redirect/ | Create a content redirect content guard
|
101
|
+
*PulpContainerClient::ContentGuardsContentRedirectApi* | [**delete**](docs/ContentGuardsContentRedirectApi.md#delete) | **DELETE** {container_content_redirect_content_guard_href} | Delete a content redirect content guard
|
102
|
+
*PulpContainerClient::ContentGuardsContentRedirectApi* | [**list**](docs/ContentGuardsContentRedirectApi.md#list) | **GET** /pulp/api/v3/content_guards/container/content_redirect/ | List content redirect content guards
|
103
|
+
*PulpContainerClient::ContentGuardsContentRedirectApi* | [**partial_update**](docs/ContentGuardsContentRedirectApi.md#partial_update) | **PATCH** {container_content_redirect_content_guard_href} | Update a content redirect content guard
|
104
|
+
*PulpContainerClient::ContentGuardsContentRedirectApi* | [**read**](docs/ContentGuardsContentRedirectApi.md#read) | **GET** {container_content_redirect_content_guard_href} | Inspect a content redirect content guard
|
105
|
+
*PulpContainerClient::ContentGuardsContentRedirectApi* | [**update**](docs/ContentGuardsContentRedirectApi.md#update) | **PUT** {container_content_redirect_content_guard_href} | Update a content redirect content guard
|
100
106
|
*PulpContainerClient::ContentManifestsApi* | [**list**](docs/ContentManifestsApi.md#list) | **GET** /pulp/api/v3/content/container/manifests/ | List manifests
|
101
107
|
*PulpContainerClient::ContentManifestsApi* | [**read**](docs/ContentManifestsApi.md#read) | **GET** {container_manifest_href} | Inspect a manifest
|
102
108
|
*PulpContainerClient::ContentTagsApi* | [**list**](docs/ContentTagsApi.md#list) | **GET** /pulp/api/v3/content/container/tags/ | List tags
|
103
109
|
*PulpContainerClient::ContentTagsApi* | [**read**](docs/ContentTagsApi.md#read) | **GET** {container_tag_href} | Inspect a tag
|
104
|
-
*PulpContainerClient::ContentguardsContentRedirectApi* | [**create**](docs/ContentguardsContentRedirectApi.md#create) | **POST** /pulp/api/v3/contentguards/container/content_redirect/ | Create a content redirect content guard
|
105
|
-
*PulpContainerClient::ContentguardsContentRedirectApi* | [**delete**](docs/ContentguardsContentRedirectApi.md#delete) | **DELETE** {container_content_redirect_content_guard_href} | Delete a content redirect content guard
|
106
|
-
*PulpContainerClient::ContentguardsContentRedirectApi* | [**list**](docs/ContentguardsContentRedirectApi.md#list) | **GET** /pulp/api/v3/contentguards/container/content_redirect/ | List content redirect content guards
|
107
|
-
*PulpContainerClient::ContentguardsContentRedirectApi* | [**partial_update**](docs/ContentguardsContentRedirectApi.md#partial_update) | **PATCH** {container_content_redirect_content_guard_href} | Update a content redirect content guard
|
108
|
-
*PulpContainerClient::ContentguardsContentRedirectApi* | [**read**](docs/ContentguardsContentRedirectApi.md#read) | **GET** {container_content_redirect_content_guard_href} | Inspect a content redirect content guard
|
109
|
-
*PulpContainerClient::ContentguardsContentRedirectApi* | [**update**](docs/ContentguardsContentRedirectApi.md#update) | **PUT** {container_content_redirect_content_guard_href} | Update a content redirect content guard
|
110
110
|
*PulpContainerClient::DistributionsContainerApi* | [**create**](docs/DistributionsContainerApi.md#create) | **POST** /pulp/api/v3/distributions/container/container/ | Create a container distribution
|
111
111
|
*PulpContainerClient::DistributionsContainerApi* | [**delete**](docs/DistributionsContainerApi.md#delete) | **DELETE** {container_container_distribution_href} | Delete a container distribution
|
112
112
|
*PulpContainerClient::DistributionsContainerApi* | [**list**](docs/DistributionsContainerApi.md#list) | **GET** /pulp/api/v3/distributions/container/container/ | List container distributions
|
@@ -4,24 +4,24 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**
|
8
|
-
**pulp_labels** | [**Object**](.md) | | [optional]
|
7
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
9
8
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
10
|
-
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
11
9
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
12
|
-
**
|
10
|
+
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
11
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
12
|
+
**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
13
|
|
14
14
|
## Code Sample
|
15
15
|
|
16
16
|
```ruby
|
17
17
|
require 'PulpContainerClient'
|
18
18
|
|
19
|
-
instance = PulpContainerClient::ContainerContainerDistribution.new(
|
20
|
-
pulp_labels: null,
|
19
|
+
instance = PulpContainerClient::ContainerContainerDistribution.new(name: null,
|
21
20
|
repository: null,
|
22
|
-
repository_version: null,
|
23
21
|
content_guard: null,
|
24
|
-
|
22
|
+
repository_version: null,
|
23
|
+
pulp_labels: null,
|
24
|
+
base_path: null)
|
25
25
|
```
|
26
26
|
|
27
27
|
|
@@ -4,14 +4,14 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
8
|
-
**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\") |
|
9
|
-
**pulp_labels** | [**Object**](.md) | | [optional]
|
10
|
-
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
11
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
12
|
-
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
13
|
-
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
14
8
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
9
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
10
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
11
|
+
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
12
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
13
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
14
|
+
**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\") |
|
15
15
|
**registry_path** | **String** | The Registry hostame/name/ to use with docker pull command defined by this distribution. | [optional] [readonly]
|
16
16
|
**namespace** | **String** | Namespace this distribution belongs to. | [optional] [readonly]
|
17
17
|
|
@@ -20,14 +20,14 @@ Name | Type | Description | Notes
|
|
20
20
|
```ruby
|
21
21
|
require 'PulpContainerClient'
|
22
22
|
|
23
|
-
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(
|
24
|
-
|
25
|
-
pulp_labels: null,
|
23
|
+
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(pulp_href: null,
|
24
|
+
name: null,
|
26
25
|
repository: null,
|
27
|
-
pulp_href: null,
|
28
|
-
repository_version: null,
|
29
26
|
content_guard: null,
|
30
|
-
|
27
|
+
repository_version: null,
|
28
|
+
pulp_labels: null,
|
29
|
+
pulp_created: null,
|
30
|
+
base_path: null,
|
31
31
|
registry_path: null,
|
32
32
|
namespace: null)
|
33
33
|
```
|
@@ -1,15 +1,15 @@
|
|
1
|
-
# PulpContainerClient::
|
1
|
+
# PulpContainerClient::ContentGuardsContentRedirectApi
|
2
2
|
|
3
3
|
All URIs are relative to *http://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**create**](
|
8
|
-
[**delete**](
|
9
|
-
[**list**](
|
10
|
-
[**partial_update**](
|
11
|
-
[**read**](
|
12
|
-
[**update**](
|
7
|
+
[**create**](ContentGuardsContentRedirectApi.md#create) | **POST** /pulp/api/v3/content_guards/container/content_redirect/ | Create a content redirect content guard
|
8
|
+
[**delete**](ContentGuardsContentRedirectApi.md#delete) | **DELETE** {container_content_redirect_content_guard_href} | Delete a content redirect content guard
|
9
|
+
[**list**](ContentGuardsContentRedirectApi.md#list) | **GET** /pulp/api/v3/content_guards/container/content_redirect/ | List content redirect content guards
|
10
|
+
[**partial_update**](ContentGuardsContentRedirectApi.md#partial_update) | **PATCH** {container_content_redirect_content_guard_href} | Update a content redirect content guard
|
11
|
+
[**read**](ContentGuardsContentRedirectApi.md#read) | **GET** {container_content_redirect_content_guard_href} | Inspect a content redirect content guard
|
12
|
+
[**update**](ContentGuardsContentRedirectApi.md#update) | **PUT** {container_content_redirect_content_guard_href} | Update a content redirect content guard
|
13
13
|
|
14
14
|
|
15
15
|
|
@@ -33,7 +33,7 @@ PulpContainerClient.configure do |config|
|
|
33
33
|
config.password = 'YOUR PASSWORD'
|
34
34
|
end
|
35
35
|
|
36
|
-
api_instance = PulpContainerClient::
|
36
|
+
api_instance = PulpContainerClient::ContentGuardsContentRedirectApi.new
|
37
37
|
container_content_redirect_content_guard = PulpContainerClient::ContainerContentRedirectContentGuard.new # ContainerContentRedirectContentGuard |
|
38
38
|
|
39
39
|
begin
|
@@ -41,7 +41,7 @@ begin
|
|
41
41
|
result = api_instance.create(container_content_redirect_content_guard)
|
42
42
|
p result
|
43
43
|
rescue PulpContainerClient::ApiError => e
|
44
|
-
puts "Exception when calling
|
44
|
+
puts "Exception when calling ContentGuardsContentRedirectApi->create: #{e}"
|
45
45
|
end
|
46
46
|
```
|
47
47
|
|
@@ -86,14 +86,14 @@ PulpContainerClient.configure do |config|
|
|
86
86
|
config.password = 'YOUR PASSWORD'
|
87
87
|
end
|
88
88
|
|
89
|
-
api_instance = PulpContainerClient::
|
89
|
+
api_instance = PulpContainerClient::ContentGuardsContentRedirectApi.new
|
90
90
|
container_content_redirect_content_guard_href = 'container_content_redirect_content_guard_href_example' # String |
|
91
91
|
|
92
92
|
begin
|
93
93
|
#Delete a content redirect content guard
|
94
94
|
api_instance.delete(container_content_redirect_content_guard_href)
|
95
95
|
rescue PulpContainerClient::ApiError => e
|
96
|
-
puts "Exception when calling
|
96
|
+
puts "Exception when calling ContentGuardsContentRedirectApi->delete: #{e}"
|
97
97
|
end
|
98
98
|
```
|
99
99
|
|
@@ -138,7 +138,7 @@ PulpContainerClient.configure do |config|
|
|
138
138
|
config.password = 'YOUR PASSWORD'
|
139
139
|
end
|
140
140
|
|
141
|
-
api_instance = PulpContainerClient::
|
141
|
+
api_instance = PulpContainerClient::ContentGuardsContentRedirectApi.new
|
142
142
|
opts = {
|
143
143
|
limit: 56, # Integer | Number of results to return per page.
|
144
144
|
name: 'name_example', # String | name
|
@@ -157,7 +157,7 @@ begin
|
|
157
157
|
result = api_instance.list(opts)
|
158
158
|
p result
|
159
159
|
rescue PulpContainerClient::ApiError => e
|
160
|
-
puts "Exception when calling
|
160
|
+
puts "Exception when calling ContentGuardsContentRedirectApi->list: #{e}"
|
161
161
|
end
|
162
162
|
```
|
163
163
|
|
@@ -211,7 +211,7 @@ PulpContainerClient.configure do |config|
|
|
211
211
|
config.password = 'YOUR PASSWORD'
|
212
212
|
end
|
213
213
|
|
214
|
-
api_instance = PulpContainerClient::
|
214
|
+
api_instance = PulpContainerClient::ContentGuardsContentRedirectApi.new
|
215
215
|
container_content_redirect_content_guard_href = 'container_content_redirect_content_guard_href_example' # String |
|
216
216
|
patchedcontainer_content_redirect_content_guard = PulpContainerClient::PatchedcontainerContentRedirectContentGuard.new # PatchedcontainerContentRedirectContentGuard |
|
217
217
|
|
@@ -220,7 +220,7 @@ begin
|
|
220
220
|
result = api_instance.partial_update(container_content_redirect_content_guard_href, patchedcontainer_content_redirect_content_guard)
|
221
221
|
p result
|
222
222
|
rescue PulpContainerClient::ApiError => e
|
223
|
-
puts "Exception when calling
|
223
|
+
puts "Exception when calling ContentGuardsContentRedirectApi->partial_update: #{e}"
|
224
224
|
end
|
225
225
|
```
|
226
226
|
|
@@ -266,7 +266,7 @@ PulpContainerClient.configure do |config|
|
|
266
266
|
config.password = 'YOUR PASSWORD'
|
267
267
|
end
|
268
268
|
|
269
|
-
api_instance = PulpContainerClient::
|
269
|
+
api_instance = PulpContainerClient::ContentGuardsContentRedirectApi.new
|
270
270
|
container_content_redirect_content_guard_href = 'container_content_redirect_content_guard_href_example' # String |
|
271
271
|
opts = {
|
272
272
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
@@ -278,7 +278,7 @@ begin
|
|
278
278
|
result = api_instance.read(container_content_redirect_content_guard_href, opts)
|
279
279
|
p result
|
280
280
|
rescue PulpContainerClient::ApiError => e
|
281
|
-
puts "Exception when calling
|
281
|
+
puts "Exception when calling ContentGuardsContentRedirectApi->read: #{e}"
|
282
282
|
end
|
283
283
|
```
|
284
284
|
|
@@ -325,7 +325,7 @@ PulpContainerClient.configure do |config|
|
|
325
325
|
config.password = 'YOUR PASSWORD'
|
326
326
|
end
|
327
327
|
|
328
|
-
api_instance = PulpContainerClient::
|
328
|
+
api_instance = PulpContainerClient::ContentGuardsContentRedirectApi.new
|
329
329
|
container_content_redirect_content_guard_href = 'container_content_redirect_content_guard_href_example' # String |
|
330
330
|
container_content_redirect_content_guard = PulpContainerClient::ContainerContentRedirectContentGuard.new # ContainerContentRedirectContentGuard |
|
331
331
|
|
@@ -334,7 +334,7 @@ begin
|
|
334
334
|
result = api_instance.update(container_content_redirect_content_guard_href, container_content_redirect_content_guard)
|
335
335
|
p result
|
336
336
|
rescue PulpContainerClient::ApiError => e
|
337
|
-
puts "Exception when calling
|
337
|
+
puts "Exception when calling ContentGuardsContentRedirectApi->update: #{e}"
|
338
338
|
end
|
339
339
|
```
|
340
340
|
|
@@ -4,24 +4,24 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**
|
8
|
-
**pulp_labels** | [**Object**](.md) | | [optional]
|
7
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
9
8
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
10
|
-
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
11
9
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
12
|
-
**
|
10
|
+
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
11
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
12
|
+
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | [optional]
|
13
13
|
|
14
14
|
## Code Sample
|
15
15
|
|
16
16
|
```ruby
|
17
17
|
require 'PulpContainerClient'
|
18
18
|
|
19
|
-
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(
|
20
|
-
pulp_labels: null,
|
19
|
+
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(name: null,
|
21
20
|
repository: null,
|
22
|
-
repository_version: null,
|
23
21
|
content_guard: null,
|
24
|
-
|
22
|
+
repository_version: null,
|
23
|
+
pulp_labels: null,
|
24
|
+
base_path: null)
|
25
25
|
```
|
26
26
|
|
27
27
|
|
@@ -61,9 +61,9 @@ require 'pulp_container_client/models/un_tag_image'
|
|
61
61
|
|
62
62
|
# APIs
|
63
63
|
require 'pulp_container_client/api/content_blobs_api'
|
64
|
+
require 'pulp_container_client/api/content_guards_content_redirect_api'
|
64
65
|
require 'pulp_container_client/api/content_manifests_api'
|
65
66
|
require 'pulp_container_client/api/content_tags_api'
|
66
|
-
require 'pulp_container_client/api/contentguards_content_redirect_api'
|
67
67
|
require 'pulp_container_client/api/distributions_container_api'
|
68
68
|
require 'pulp_container_client/api/pulp_container_namespaces_api'
|
69
69
|
require 'pulp_container_client/api/remotes_container_api'
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
|
|
13
13
|
require 'cgi'
|
14
14
|
|
15
15
|
module PulpContainerClient
|
16
|
-
class
|
16
|
+
class ContentGuardsContentRedirectApi
|
17
17
|
attr_accessor :api_client
|
18
18
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
@@ -36,14 +36,14 @@ module PulpContainerClient
|
|
36
36
|
# @return [Array<(ContainerContentRedirectContentGuardResponse, Integer, Hash)>] ContainerContentRedirectContentGuardResponse data, response status code and response headers
|
37
37
|
def create_with_http_info(container_content_redirect_content_guard, opts = {})
|
38
38
|
if @api_client.config.debugging
|
39
|
-
@api_client.config.logger.debug 'Calling API:
|
39
|
+
@api_client.config.logger.debug 'Calling API: ContentGuardsContentRedirectApi.create ...'
|
40
40
|
end
|
41
41
|
# verify the required parameter 'container_content_redirect_content_guard' is set
|
42
42
|
if @api_client.config.client_side_validation && container_content_redirect_content_guard.nil?
|
43
|
-
fail ArgumentError, "Missing the required parameter 'container_content_redirect_content_guard' when calling
|
43
|
+
fail ArgumentError, "Missing the required parameter 'container_content_redirect_content_guard' when calling ContentGuardsContentRedirectApi.create"
|
44
44
|
end
|
45
45
|
# resource path
|
46
|
-
local_var_path = '/pulp/api/v3/
|
46
|
+
local_var_path = '/pulp/api/v3/content_guards/container/content_redirect/'
|
47
47
|
|
48
48
|
# query parameters
|
49
49
|
query_params = opts[:query_params] || {}
|
@@ -78,7 +78,7 @@ module PulpContainerClient
|
|
78
78
|
|
79
79
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
80
80
|
if @api_client.config.debugging
|
81
|
-
@api_client.config.logger.debug "API called:
|
81
|
+
@api_client.config.logger.debug "API called: ContentGuardsContentRedirectApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
82
82
|
end
|
83
83
|
return data, status_code, headers
|
84
84
|
end
|
@@ -100,11 +100,11 @@ module PulpContainerClient
|
|
100
100
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
101
101
|
def delete_with_http_info(container_content_redirect_content_guard_href, opts = {})
|
102
102
|
if @api_client.config.debugging
|
103
|
-
@api_client.config.logger.debug 'Calling API:
|
103
|
+
@api_client.config.logger.debug 'Calling API: ContentGuardsContentRedirectApi.delete ...'
|
104
104
|
end
|
105
105
|
# verify the required parameter 'container_content_redirect_content_guard_href' is set
|
106
106
|
if @api_client.config.client_side_validation && container_content_redirect_content_guard_href.nil?
|
107
|
-
fail ArgumentError, "Missing the required parameter 'container_content_redirect_content_guard_href' when calling
|
107
|
+
fail ArgumentError, "Missing the required parameter 'container_content_redirect_content_guard_href' when calling ContentGuardsContentRedirectApi.delete"
|
108
108
|
end
|
109
109
|
# resource path
|
110
110
|
local_var_path = '{container_content_redirect_content_guard_href}'.sub('{' + 'container_content_redirect_content_guard_href' + '}', CGI.escape(container_content_redirect_content_guard_href.to_s).gsub('%2F', '/'))
|
@@ -138,7 +138,7 @@ module PulpContainerClient
|
|
138
138
|
|
139
139
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
140
140
|
if @api_client.config.debugging
|
141
|
-
@api_client.config.logger.debug "API called:
|
141
|
+
@api_client.config.logger.debug "API called: ContentGuardsContentRedirectApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
142
142
|
end
|
143
143
|
return data, status_code, headers
|
144
144
|
end
|
@@ -178,10 +178,10 @@ module PulpContainerClient
|
|
178
178
|
# @return [Array<(PaginatedcontainerContentRedirectContentGuardResponseList, Integer, Hash)>] PaginatedcontainerContentRedirectContentGuardResponseList data, response status code and response headers
|
179
179
|
def list_with_http_info(opts = {})
|
180
180
|
if @api_client.config.debugging
|
181
|
-
@api_client.config.logger.debug 'Calling API:
|
181
|
+
@api_client.config.logger.debug 'Calling API: ContentGuardsContentRedirectApi.list ...'
|
182
182
|
end
|
183
183
|
# resource path
|
184
|
-
local_var_path = '/pulp/api/v3/
|
184
|
+
local_var_path = '/pulp/api/v3/content_guards/container/content_redirect/'
|
185
185
|
|
186
186
|
# query parameters
|
187
187
|
query_params = opts[:query_params] || {}
|
@@ -224,7 +224,7 @@ module PulpContainerClient
|
|
224
224
|
|
225
225
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
226
226
|
if @api_client.config.debugging
|
227
|
-
@api_client.config.logger.debug "API called:
|
227
|
+
@api_client.config.logger.debug "API called: ContentGuardsContentRedirectApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
228
228
|
end
|
229
229
|
return data, status_code, headers
|
230
230
|
end
|
@@ -248,15 +248,15 @@ module PulpContainerClient
|
|
248
248
|
# @return [Array<(ContainerContentRedirectContentGuardResponse, Integer, Hash)>] ContainerContentRedirectContentGuardResponse data, response status code and response headers
|
249
249
|
def partial_update_with_http_info(container_content_redirect_content_guard_href, patchedcontainer_content_redirect_content_guard, opts = {})
|
250
250
|
if @api_client.config.debugging
|
251
|
-
@api_client.config.logger.debug 'Calling API:
|
251
|
+
@api_client.config.logger.debug 'Calling API: ContentGuardsContentRedirectApi.partial_update ...'
|
252
252
|
end
|
253
253
|
# verify the required parameter 'container_content_redirect_content_guard_href' is set
|
254
254
|
if @api_client.config.client_side_validation && container_content_redirect_content_guard_href.nil?
|
255
|
-
fail ArgumentError, "Missing the required parameter 'container_content_redirect_content_guard_href' when calling
|
255
|
+
fail ArgumentError, "Missing the required parameter 'container_content_redirect_content_guard_href' when calling ContentGuardsContentRedirectApi.partial_update"
|
256
256
|
end
|
257
257
|
# verify the required parameter 'patchedcontainer_content_redirect_content_guard' is set
|
258
258
|
if @api_client.config.client_side_validation && patchedcontainer_content_redirect_content_guard.nil?
|
259
|
-
fail ArgumentError, "Missing the required parameter 'patchedcontainer_content_redirect_content_guard' when calling
|
259
|
+
fail ArgumentError, "Missing the required parameter 'patchedcontainer_content_redirect_content_guard' when calling ContentGuardsContentRedirectApi.partial_update"
|
260
260
|
end
|
261
261
|
# resource path
|
262
262
|
local_var_path = '{container_content_redirect_content_guard_href}'.sub('{' + 'container_content_redirect_content_guard_href' + '}', CGI.escape(container_content_redirect_content_guard_href.to_s).gsub('%2F', '/'))
|
@@ -294,7 +294,7 @@ module PulpContainerClient
|
|
294
294
|
|
295
295
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
296
296
|
if @api_client.config.debugging
|
297
|
-
@api_client.config.logger.debug "API called:
|
297
|
+
@api_client.config.logger.debug "API called: ContentGuardsContentRedirectApi#partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
298
298
|
end
|
299
299
|
return data, status_code, headers
|
300
300
|
end
|
@@ -320,11 +320,11 @@ module PulpContainerClient
|
|
320
320
|
# @return [Array<(ContainerContentRedirectContentGuardResponse, Integer, Hash)>] ContainerContentRedirectContentGuardResponse data, response status code and response headers
|
321
321
|
def read_with_http_info(container_content_redirect_content_guard_href, opts = {})
|
322
322
|
if @api_client.config.debugging
|
323
|
-
@api_client.config.logger.debug 'Calling API:
|
323
|
+
@api_client.config.logger.debug 'Calling API: ContentGuardsContentRedirectApi.read ...'
|
324
324
|
end
|
325
325
|
# verify the required parameter 'container_content_redirect_content_guard_href' is set
|
326
326
|
if @api_client.config.client_side_validation && container_content_redirect_content_guard_href.nil?
|
327
|
-
fail ArgumentError, "Missing the required parameter 'container_content_redirect_content_guard_href' when calling
|
327
|
+
fail ArgumentError, "Missing the required parameter 'container_content_redirect_content_guard_href' when calling ContentGuardsContentRedirectApi.read"
|
328
328
|
end
|
329
329
|
# resource path
|
330
330
|
local_var_path = '{container_content_redirect_content_guard_href}'.sub('{' + 'container_content_redirect_content_guard_href' + '}', CGI.escape(container_content_redirect_content_guard_href.to_s).gsub('%2F', '/'))
|
@@ -362,7 +362,7 @@ module PulpContainerClient
|
|
362
362
|
|
363
363
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
364
364
|
if @api_client.config.debugging
|
365
|
-
@api_client.config.logger.debug "API called:
|
365
|
+
@api_client.config.logger.debug "API called: ContentGuardsContentRedirectApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
366
366
|
end
|
367
367
|
return data, status_code, headers
|
368
368
|
end
|
@@ -386,15 +386,15 @@ module PulpContainerClient
|
|
386
386
|
# @return [Array<(ContainerContentRedirectContentGuardResponse, Integer, Hash)>] ContainerContentRedirectContentGuardResponse data, response status code and response headers
|
387
387
|
def update_with_http_info(container_content_redirect_content_guard_href, container_content_redirect_content_guard, opts = {})
|
388
388
|
if @api_client.config.debugging
|
389
|
-
@api_client.config.logger.debug 'Calling API:
|
389
|
+
@api_client.config.logger.debug 'Calling API: ContentGuardsContentRedirectApi.update ...'
|
390
390
|
end
|
391
391
|
# verify the required parameter 'container_content_redirect_content_guard_href' is set
|
392
392
|
if @api_client.config.client_side_validation && container_content_redirect_content_guard_href.nil?
|
393
|
-
fail ArgumentError, "Missing the required parameter 'container_content_redirect_content_guard_href' when calling
|
393
|
+
fail ArgumentError, "Missing the required parameter 'container_content_redirect_content_guard_href' when calling ContentGuardsContentRedirectApi.update"
|
394
394
|
end
|
395
395
|
# verify the required parameter 'container_content_redirect_content_guard' is set
|
396
396
|
if @api_client.config.client_side_validation && container_content_redirect_content_guard.nil?
|
397
|
-
fail ArgumentError, "Missing the required parameter 'container_content_redirect_content_guard' when calling
|
397
|
+
fail ArgumentError, "Missing the required parameter 'container_content_redirect_content_guard' when calling ContentGuardsContentRedirectApi.update"
|
398
398
|
end
|
399
399
|
# resource path
|
400
400
|
local_var_path = '{container_content_redirect_content_guard_href}'.sub('{' + 'container_content_redirect_content_guard_href' + '}', CGI.escape(container_content_redirect_content_guard_href.to_s).gsub('%2F', '/'))
|
@@ -432,7 +432,7 @@ module PulpContainerClient
|
|
432
432
|
|
433
433
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
434
434
|
if @api_client.config.debugging
|
435
|
-
@api_client.config.logger.debug "API called:
|
435
|
+
@api_client.config.logger.debug "API called: ContentGuardsContentRedirectApi#update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
436
436
|
end
|
437
437
|
return data, status_code, headers
|
438
438
|
end
|
@@ -15,44 +15,44 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# A serializer for ContainerDistribution.
|
17
17
|
class ContainerContainerDistribution
|
18
|
-
#
|
19
|
-
attr_accessor :
|
20
|
-
|
21
|
-
attr_accessor :pulp_labels
|
18
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
19
|
+
attr_accessor :name
|
22
20
|
|
23
21
|
# The latest RepositoryVersion for this Repository will be served.
|
24
22
|
attr_accessor :repository
|
25
23
|
|
24
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
25
|
+
attr_accessor :content_guard
|
26
|
+
|
26
27
|
# RepositoryVersion to be served
|
27
28
|
attr_accessor :repository_version
|
28
29
|
|
29
|
-
|
30
|
-
attr_accessor :content_guard
|
30
|
+
attr_accessor :pulp_labels
|
31
31
|
|
32
|
-
#
|
33
|
-
attr_accessor :
|
32
|
+
# 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
|
+
attr_accessor :base_path
|
34
34
|
|
35
35
|
# Attribute mapping from ruby-style variable name to JSON key.
|
36
36
|
def self.attribute_map
|
37
37
|
{
|
38
|
-
:'
|
39
|
-
:'pulp_labels' => :'pulp_labels',
|
38
|
+
:'name' => :'name',
|
40
39
|
:'repository' => :'repository',
|
41
|
-
:'repository_version' => :'repository_version',
|
42
40
|
:'content_guard' => :'content_guard',
|
43
|
-
:'
|
41
|
+
:'repository_version' => :'repository_version',
|
42
|
+
:'pulp_labels' => :'pulp_labels',
|
43
|
+
:'base_path' => :'base_path'
|
44
44
|
}
|
45
45
|
end
|
46
46
|
|
47
47
|
# Attribute type mapping.
|
48
48
|
def self.openapi_types
|
49
49
|
{
|
50
|
-
:'
|
51
|
-
:'pulp_labels' => :'Object',
|
50
|
+
:'name' => :'String',
|
52
51
|
:'repository' => :'String',
|
53
|
-
:'repository_version' => :'String',
|
54
52
|
:'content_guard' => :'String',
|
55
|
-
:'
|
53
|
+
:'repository_version' => :'String',
|
54
|
+
:'pulp_labels' => :'Object',
|
55
|
+
:'base_path' => :'String'
|
56
56
|
}
|
57
57
|
end
|
58
58
|
|
@@ -79,28 +79,28 @@ module PulpContainerClient
|
|
79
79
|
h[k.to_sym] = v
|
80
80
|
}
|
81
81
|
|
82
|
-
if attributes.key?(:'
|
83
|
-
self.
|
84
|
-
end
|
85
|
-
|
86
|
-
if attributes.key?(:'pulp_labels')
|
87
|
-
self.pulp_labels = attributes[:'pulp_labels']
|
82
|
+
if attributes.key?(:'name')
|
83
|
+
self.name = attributes[:'name']
|
88
84
|
end
|
89
85
|
|
90
86
|
if attributes.key?(:'repository')
|
91
87
|
self.repository = attributes[:'repository']
|
92
88
|
end
|
93
89
|
|
90
|
+
if attributes.key?(:'content_guard')
|
91
|
+
self.content_guard = attributes[:'content_guard']
|
92
|
+
end
|
93
|
+
|
94
94
|
if attributes.key?(:'repository_version')
|
95
95
|
self.repository_version = attributes[:'repository_version']
|
96
96
|
end
|
97
97
|
|
98
|
-
if attributes.key?(:'
|
99
|
-
self.
|
98
|
+
if attributes.key?(:'pulp_labels')
|
99
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
100
100
|
end
|
101
101
|
|
102
|
-
if attributes.key?(:'
|
103
|
-
self.
|
102
|
+
if attributes.key?(:'base_path')
|
103
|
+
self.base_path = attributes[:'base_path']
|
104
104
|
end
|
105
105
|
end
|
106
106
|
|
@@ -108,22 +108,22 @@ module PulpContainerClient
|
|
108
108
|
# @return Array for valid properties with the reasons
|
109
109
|
def list_invalid_properties
|
110
110
|
invalid_properties = Array.new
|
111
|
-
if @base_path.nil?
|
112
|
-
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
113
|
-
end
|
114
|
-
|
115
111
|
if @name.nil?
|
116
112
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
117
113
|
end
|
118
114
|
|
115
|
+
if @base_path.nil?
|
116
|
+
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
117
|
+
end
|
118
|
+
|
119
119
|
invalid_properties
|
120
120
|
end
|
121
121
|
|
122
122
|
# Check to see if the all the properties in the model are valid
|
123
123
|
# @return true if the model is valid
|
124
124
|
def valid?
|
125
|
-
return false if @base_path.nil?
|
126
125
|
return false if @name.nil?
|
126
|
+
return false if @base_path.nil?
|
127
127
|
true
|
128
128
|
end
|
129
129
|
|
@@ -132,12 +132,12 @@ module PulpContainerClient
|
|
132
132
|
def ==(o)
|
133
133
|
return true if self.equal?(o)
|
134
134
|
self.class == o.class &&
|
135
|
-
|
136
|
-
pulp_labels == o.pulp_labels &&
|
135
|
+
name == o.name &&
|
137
136
|
repository == o.repository &&
|
138
|
-
repository_version == o.repository_version &&
|
139
137
|
content_guard == o.content_guard &&
|
140
|
-
|
138
|
+
repository_version == o.repository_version &&
|
139
|
+
pulp_labels == o.pulp_labels &&
|
140
|
+
base_path == o.base_path
|
141
141
|
end
|
142
142
|
|
143
143
|
# @see the `==` method
|
@@ -149,7 +149,7 @@ module PulpContainerClient
|
|
149
149
|
# Calculates hash code according to all attributes.
|
150
150
|
# @return [Integer] Hash code
|
151
151
|
def hash
|
152
|
-
[
|
152
|
+
[name, repository, content_guard, repository_version, pulp_labels, base_path].hash
|
153
153
|
end
|
154
154
|
|
155
155
|
# Builds the object from hash
|
@@ -15,27 +15,27 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# A serializer for ContainerDistribution.
|
17
17
|
class ContainerContainerDistributionResponse
|
18
|
-
|
19
|
-
attr_accessor :pulp_created
|
20
|
-
|
21
|
-
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
22
|
-
attr_accessor :base_path
|
18
|
+
attr_accessor :pulp_href
|
23
19
|
|
24
|
-
|
20
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
21
|
+
attr_accessor :name
|
25
22
|
|
26
23
|
# The latest RepositoryVersion for this Repository will be served.
|
27
24
|
attr_accessor :repository
|
28
25
|
|
29
|
-
|
26
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
27
|
+
attr_accessor :content_guard
|
30
28
|
|
31
29
|
# RepositoryVersion to be served
|
32
30
|
attr_accessor :repository_version
|
33
31
|
|
34
|
-
|
35
|
-
attr_accessor :content_guard
|
32
|
+
attr_accessor :pulp_labels
|
36
33
|
|
37
|
-
#
|
38
|
-
attr_accessor :
|
34
|
+
# Timestamp of creation.
|
35
|
+
attr_accessor :pulp_created
|
36
|
+
|
37
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
38
|
+
attr_accessor :base_path
|
39
39
|
|
40
40
|
# The Registry hostame/name/ to use with docker pull command defined by this distribution.
|
41
41
|
attr_accessor :registry_path
|
@@ -46,14 +46,14 @@ module PulpContainerClient
|
|
46
46
|
# Attribute mapping from ruby-style variable name to JSON key.
|
47
47
|
def self.attribute_map
|
48
48
|
{
|
49
|
-
:'pulp_created' => :'pulp_created',
|
50
|
-
:'base_path' => :'base_path',
|
51
|
-
:'pulp_labels' => :'pulp_labels',
|
52
|
-
:'repository' => :'repository',
|
53
49
|
:'pulp_href' => :'pulp_href',
|
54
|
-
:'repository_version' => :'repository_version',
|
55
|
-
:'content_guard' => :'content_guard',
|
56
50
|
:'name' => :'name',
|
51
|
+
:'repository' => :'repository',
|
52
|
+
:'content_guard' => :'content_guard',
|
53
|
+
:'repository_version' => :'repository_version',
|
54
|
+
:'pulp_labels' => :'pulp_labels',
|
55
|
+
:'pulp_created' => :'pulp_created',
|
56
|
+
:'base_path' => :'base_path',
|
57
57
|
:'registry_path' => :'registry_path',
|
58
58
|
:'namespace' => :'namespace'
|
59
59
|
}
|
@@ -62,14 +62,14 @@ module PulpContainerClient
|
|
62
62
|
# Attribute type mapping.
|
63
63
|
def self.openapi_types
|
64
64
|
{
|
65
|
-
:'pulp_created' => :'DateTime',
|
66
|
-
:'base_path' => :'String',
|
67
|
-
:'pulp_labels' => :'Object',
|
68
|
-
:'repository' => :'String',
|
69
65
|
:'pulp_href' => :'String',
|
70
|
-
:'repository_version' => :'String',
|
71
|
-
:'content_guard' => :'String',
|
72
66
|
:'name' => :'String',
|
67
|
+
:'repository' => :'String',
|
68
|
+
:'content_guard' => :'String',
|
69
|
+
:'repository_version' => :'String',
|
70
|
+
:'pulp_labels' => :'Object',
|
71
|
+
:'pulp_created' => :'DateTime',
|
72
|
+
:'base_path' => :'String',
|
73
73
|
:'registry_path' => :'String',
|
74
74
|
:'namespace' => :'String'
|
75
75
|
}
|
@@ -98,36 +98,36 @@ module PulpContainerClient
|
|
98
98
|
h[k.to_sym] = v
|
99
99
|
}
|
100
100
|
|
101
|
-
if attributes.key?(:'
|
102
|
-
self.
|
103
|
-
end
|
104
|
-
|
105
|
-
if attributes.key?(:'base_path')
|
106
|
-
self.base_path = attributes[:'base_path']
|
101
|
+
if attributes.key?(:'pulp_href')
|
102
|
+
self.pulp_href = attributes[:'pulp_href']
|
107
103
|
end
|
108
104
|
|
109
|
-
if attributes.key?(:'
|
110
|
-
self.
|
105
|
+
if attributes.key?(:'name')
|
106
|
+
self.name = attributes[:'name']
|
111
107
|
end
|
112
108
|
|
113
109
|
if attributes.key?(:'repository')
|
114
110
|
self.repository = attributes[:'repository']
|
115
111
|
end
|
116
112
|
|
117
|
-
if attributes.key?(:'
|
118
|
-
self.
|
113
|
+
if attributes.key?(:'content_guard')
|
114
|
+
self.content_guard = attributes[:'content_guard']
|
119
115
|
end
|
120
116
|
|
121
117
|
if attributes.key?(:'repository_version')
|
122
118
|
self.repository_version = attributes[:'repository_version']
|
123
119
|
end
|
124
120
|
|
125
|
-
if attributes.key?(:'
|
126
|
-
self.
|
121
|
+
if attributes.key?(:'pulp_labels')
|
122
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
127
123
|
end
|
128
124
|
|
129
|
-
if attributes.key?(:'
|
130
|
-
self.
|
125
|
+
if attributes.key?(:'pulp_created')
|
126
|
+
self.pulp_created = attributes[:'pulp_created']
|
127
|
+
end
|
128
|
+
|
129
|
+
if attributes.key?(:'base_path')
|
130
|
+
self.base_path = attributes[:'base_path']
|
131
131
|
end
|
132
132
|
|
133
133
|
if attributes.key?(:'registry_path')
|
@@ -143,22 +143,22 @@ module PulpContainerClient
|
|
143
143
|
# @return Array for valid properties with the reasons
|
144
144
|
def list_invalid_properties
|
145
145
|
invalid_properties = Array.new
|
146
|
-
if @base_path.nil?
|
147
|
-
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
148
|
-
end
|
149
|
-
|
150
146
|
if @name.nil?
|
151
147
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
152
148
|
end
|
153
149
|
|
150
|
+
if @base_path.nil?
|
151
|
+
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
152
|
+
end
|
153
|
+
|
154
154
|
invalid_properties
|
155
155
|
end
|
156
156
|
|
157
157
|
# Check to see if the all the properties in the model are valid
|
158
158
|
# @return true if the model is valid
|
159
159
|
def valid?
|
160
|
-
return false if @base_path.nil?
|
161
160
|
return false if @name.nil?
|
161
|
+
return false if @base_path.nil?
|
162
162
|
true
|
163
163
|
end
|
164
164
|
|
@@ -167,14 +167,14 @@ module PulpContainerClient
|
|
167
167
|
def ==(o)
|
168
168
|
return true if self.equal?(o)
|
169
169
|
self.class == o.class &&
|
170
|
-
pulp_created == o.pulp_created &&
|
171
|
-
base_path == o.base_path &&
|
172
|
-
pulp_labels == o.pulp_labels &&
|
173
|
-
repository == o.repository &&
|
174
170
|
pulp_href == o.pulp_href &&
|
175
|
-
repository_version == o.repository_version &&
|
176
|
-
content_guard == o.content_guard &&
|
177
171
|
name == o.name &&
|
172
|
+
repository == o.repository &&
|
173
|
+
content_guard == o.content_guard &&
|
174
|
+
repository_version == o.repository_version &&
|
175
|
+
pulp_labels == o.pulp_labels &&
|
176
|
+
pulp_created == o.pulp_created &&
|
177
|
+
base_path == o.base_path &&
|
178
178
|
registry_path == o.registry_path &&
|
179
179
|
namespace == o.namespace
|
180
180
|
end
|
@@ -188,7 +188,7 @@ module PulpContainerClient
|
|
188
188
|
# Calculates hash code according to all attributes.
|
189
189
|
# @return [Integer] Hash code
|
190
190
|
def hash
|
191
|
-
[
|
191
|
+
[pulp_href, name, repository, content_guard, repository_version, pulp_labels, pulp_created, base_path, registry_path, namespace].hash
|
192
192
|
end
|
193
193
|
|
194
194
|
# Builds the object from hash
|
@@ -15,44 +15,44 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# A serializer for ContainerDistribution.
|
17
17
|
class PatchedcontainerContainerDistribution
|
18
|
-
#
|
19
|
-
attr_accessor :
|
20
|
-
|
21
|
-
attr_accessor :pulp_labels
|
18
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
19
|
+
attr_accessor :name
|
22
20
|
|
23
21
|
# The latest RepositoryVersion for this Repository will be served.
|
24
22
|
attr_accessor :repository
|
25
23
|
|
24
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
25
|
+
attr_accessor :content_guard
|
26
|
+
|
26
27
|
# RepositoryVersion to be served
|
27
28
|
attr_accessor :repository_version
|
28
29
|
|
29
|
-
|
30
|
-
attr_accessor :content_guard
|
30
|
+
attr_accessor :pulp_labels
|
31
31
|
|
32
|
-
#
|
33
|
-
attr_accessor :
|
32
|
+
# 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
|
+
attr_accessor :base_path
|
34
34
|
|
35
35
|
# Attribute mapping from ruby-style variable name to JSON key.
|
36
36
|
def self.attribute_map
|
37
37
|
{
|
38
|
-
:'
|
39
|
-
:'pulp_labels' => :'pulp_labels',
|
38
|
+
:'name' => :'name',
|
40
39
|
:'repository' => :'repository',
|
41
|
-
:'repository_version' => :'repository_version',
|
42
40
|
:'content_guard' => :'content_guard',
|
43
|
-
:'
|
41
|
+
:'repository_version' => :'repository_version',
|
42
|
+
:'pulp_labels' => :'pulp_labels',
|
43
|
+
:'base_path' => :'base_path'
|
44
44
|
}
|
45
45
|
end
|
46
46
|
|
47
47
|
# Attribute type mapping.
|
48
48
|
def self.openapi_types
|
49
49
|
{
|
50
|
-
:'
|
51
|
-
:'pulp_labels' => :'Object',
|
50
|
+
:'name' => :'String',
|
52
51
|
:'repository' => :'String',
|
53
|
-
:'repository_version' => :'String',
|
54
52
|
:'content_guard' => :'String',
|
55
|
-
:'
|
53
|
+
:'repository_version' => :'String',
|
54
|
+
:'pulp_labels' => :'Object',
|
55
|
+
:'base_path' => :'String'
|
56
56
|
}
|
57
57
|
end
|
58
58
|
|
@@ -79,28 +79,28 @@ module PulpContainerClient
|
|
79
79
|
h[k.to_sym] = v
|
80
80
|
}
|
81
81
|
|
82
|
-
if attributes.key?(:'
|
83
|
-
self.
|
84
|
-
end
|
85
|
-
|
86
|
-
if attributes.key?(:'pulp_labels')
|
87
|
-
self.pulp_labels = attributes[:'pulp_labels']
|
82
|
+
if attributes.key?(:'name')
|
83
|
+
self.name = attributes[:'name']
|
88
84
|
end
|
89
85
|
|
90
86
|
if attributes.key?(:'repository')
|
91
87
|
self.repository = attributes[:'repository']
|
92
88
|
end
|
93
89
|
|
90
|
+
if attributes.key?(:'content_guard')
|
91
|
+
self.content_guard = attributes[:'content_guard']
|
92
|
+
end
|
93
|
+
|
94
94
|
if attributes.key?(:'repository_version')
|
95
95
|
self.repository_version = attributes[:'repository_version']
|
96
96
|
end
|
97
97
|
|
98
|
-
if attributes.key?(:'
|
99
|
-
self.
|
98
|
+
if attributes.key?(:'pulp_labels')
|
99
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
100
100
|
end
|
101
101
|
|
102
|
-
if attributes.key?(:'
|
103
|
-
self.
|
102
|
+
if attributes.key?(:'base_path')
|
103
|
+
self.base_path = attributes[:'base_path']
|
104
104
|
end
|
105
105
|
end
|
106
106
|
|
@@ -122,12 +122,12 @@ module PulpContainerClient
|
|
122
122
|
def ==(o)
|
123
123
|
return true if self.equal?(o)
|
124
124
|
self.class == o.class &&
|
125
|
-
|
126
|
-
pulp_labels == o.pulp_labels &&
|
125
|
+
name == o.name &&
|
127
126
|
repository == o.repository &&
|
128
|
-
repository_version == o.repository_version &&
|
129
127
|
content_guard == o.content_guard &&
|
130
|
-
|
128
|
+
repository_version == o.repository_version &&
|
129
|
+
pulp_labels == o.pulp_labels &&
|
130
|
+
base_path == o.base_path
|
131
131
|
end
|
132
132
|
|
133
133
|
# @see the `==` method
|
@@ -139,7 +139,7 @@ module PulpContainerClient
|
|
139
139
|
# Calculates hash code according to all attributes.
|
140
140
|
# @return [Integer] Hash code
|
141
141
|
def hash
|
142
|
-
[
|
142
|
+
[name, repository, content_guard, repository_version, pulp_labels, base_path].hash
|
143
143
|
end
|
144
144
|
|
145
145
|
# Builds the object from hash
|
@@ -13,22 +13,22 @@ OpenAPI Generator version: 4.2.3
|
|
13
13
|
require 'spec_helper'
|
14
14
|
require 'json'
|
15
15
|
|
16
|
-
# Unit tests for PulpContainerClient::
|
16
|
+
# Unit tests for PulpContainerClient::ContentGuardsContentRedirectApi
|
17
17
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
18
|
# Please update as you see appropriate
|
19
|
-
describe '
|
19
|
+
describe 'ContentGuardsContentRedirectApi' do
|
20
20
|
before do
|
21
21
|
# run before each test
|
22
|
-
@api_instance = PulpContainerClient::
|
22
|
+
@api_instance = PulpContainerClient::ContentGuardsContentRedirectApi.new
|
23
23
|
end
|
24
24
|
|
25
25
|
after do
|
26
26
|
# run after each test
|
27
27
|
end
|
28
28
|
|
29
|
-
describe 'test an instance of
|
30
|
-
it 'should create an instance of
|
31
|
-
expect(@api_instance).to be_instance_of(PulpContainerClient::
|
29
|
+
describe 'test an instance of ContentGuardsContentRedirectApi' do
|
30
|
+
it 'should create an instance of ContentGuardsContentRedirectApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(PulpContainerClient::ContentGuardsContentRedirectApi)
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
@@ -32,49 +32,49 @@ describe 'ContainerContainerDistributionResponse' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerDistributionResponse)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "pulp_href"' do
|
36
36
|
it 'should work' do
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "
|
41
|
+
describe 'test attribute "name"' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
-
describe 'test attribute "
|
47
|
+
describe 'test attribute "repository"' do
|
48
48
|
it 'should work' do
|
49
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
|
-
describe 'test attribute "
|
53
|
+
describe 'test attribute "content_guard"' do
|
54
54
|
it 'should work' do
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
-
describe 'test attribute "
|
59
|
+
describe 'test attribute "repository_version"' do
|
60
60
|
it 'should work' do
|
61
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
|
-
describe 'test attribute "
|
65
|
+
describe 'test attribute "pulp_labels"' do
|
66
66
|
it 'should work' do
|
67
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
68
|
end
|
69
69
|
end
|
70
70
|
|
71
|
-
describe 'test attribute "
|
71
|
+
describe 'test attribute "pulp_created"' do
|
72
72
|
it 'should work' do
|
73
73
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
74
|
end
|
75
75
|
end
|
76
76
|
|
77
|
-
describe 'test attribute "
|
77
|
+
describe 'test attribute "base_path"' do
|
78
78
|
it 'should work' do
|
79
79
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
80
|
end
|
@@ -32,19 +32,19 @@ describe 'ContainerContainerDistribution' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerDistribution)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "name"' do
|
36
36
|
it 'should work' do
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "
|
41
|
+
describe 'test attribute "repository"' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
-
describe 'test attribute "
|
47
|
+
describe 'test attribute "content_guard"' do
|
48
48
|
it 'should work' do
|
49
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
50
|
end
|
@@ -56,13 +56,13 @@ describe 'ContainerContainerDistribution' do
|
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
-
describe 'test attribute "
|
59
|
+
describe 'test attribute "pulp_labels"' do
|
60
60
|
it 'should work' do
|
61
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
|
-
describe 'test attribute "
|
65
|
+
describe 'test attribute "base_path"' do
|
66
66
|
it 'should work' do
|
67
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
68
|
end
|
@@ -32,19 +32,19 @@ describe 'PatchedcontainerContainerDistribution' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpContainerClient::PatchedcontainerContainerDistribution)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "name"' do
|
36
36
|
it 'should work' do
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "
|
41
|
+
describe 'test attribute "repository"' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
-
describe 'test attribute "
|
47
|
+
describe 'test attribute "content_guard"' do
|
48
48
|
it 'should work' do
|
49
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
50
|
end
|
@@ -56,13 +56,13 @@ describe 'PatchedcontainerContainerDistribution' do
|
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
-
describe 'test attribute "
|
59
|
+
describe 'test attribute "pulp_labels"' do
|
60
60
|
it 'should work' do
|
61
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
|
-
describe 'test attribute "
|
65
|
+
describe 'test attribute "base_path"' do
|
66
66
|
it 'should work' do
|
67
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
68
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulp_container_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.0.
|
4
|
+
version: 2.3.0.dev01611977129
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-01-
|
11
|
+
date: 2021-01-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -90,11 +90,11 @@ files:
|
|
90
90
|
- docs/ContainerManifestResponse.md
|
91
91
|
- docs/ContainerTagResponse.md
|
92
92
|
- docs/ContentBlobsApi.md
|
93
|
+
- docs/ContentGuardsContentRedirectApi.md
|
93
94
|
- docs/ContentManifestsApi.md
|
94
95
|
- docs/ContentSummary.md
|
95
96
|
- docs/ContentSummaryResponse.md
|
96
97
|
- docs/ContentTagsApi.md
|
97
|
-
- docs/ContentguardsContentRedirectApi.md
|
98
98
|
- docs/DistributionsContainerApi.md
|
99
99
|
- docs/ManifestCopy.md
|
100
100
|
- docs/OCIBuildImage.md
|
@@ -129,9 +129,9 @@ files:
|
|
129
129
|
- git_push.sh
|
130
130
|
- lib/pulp_container_client.rb
|
131
131
|
- lib/pulp_container_client/api/content_blobs_api.rb
|
132
|
+
- lib/pulp_container_client/api/content_guards_content_redirect_api.rb
|
132
133
|
- lib/pulp_container_client/api/content_manifests_api.rb
|
133
134
|
- lib/pulp_container_client/api/content_tags_api.rb
|
134
|
-
- lib/pulp_container_client/api/contentguards_content_redirect_api.rb
|
135
135
|
- lib/pulp_container_client/api/distributions_container_api.rb
|
136
136
|
- lib/pulp_container_client/api/pulp_container_namespaces_api.rb
|
137
137
|
- lib/pulp_container_client/api/remotes_container_api.rb
|
@@ -186,9 +186,9 @@ files:
|
|
186
186
|
- lib/pulp_container_client/version.rb
|
187
187
|
- pulp_container_client.gemspec
|
188
188
|
- spec/api/content_blobs_api_spec.rb
|
189
|
+
- spec/api/content_guards_content_redirect_api_spec.rb
|
189
190
|
- spec/api/content_manifests_api_spec.rb
|
190
191
|
- spec/api/content_tags_api_spec.rb
|
191
|
-
- spec/api/contentguards_content_redirect_api_spec.rb
|
192
192
|
- spec/api/distributions_container_api_spec.rb
|
193
193
|
- spec/api/pulp_container_namespaces_api_spec.rb
|
194
194
|
- spec/api/remotes_container_api_spec.rb
|
@@ -269,8 +269,8 @@ test_files:
|
|
269
269
|
- spec/api/remotes_container_api_spec.rb
|
270
270
|
- spec/api/content_blobs_api_spec.rb
|
271
271
|
- spec/api/repositories_container_api_spec.rb
|
272
|
-
- spec/api/contentguards_content_redirect_api_spec.rb
|
273
272
|
- spec/api/content_manifests_api_spec.rb
|
273
|
+
- spec/api/content_guards_content_redirect_api_spec.rb
|
274
274
|
- spec/api/pulp_container_namespaces_api_spec.rb
|
275
275
|
- spec/api/token_api_spec.rb
|
276
276
|
- spec/api/repositories_container_push_api_spec.rb
|