pulp_container_client 2.14.10 → 2.14.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/ContainerContainerDistribution.md +2 -2
- data/docs/ContainerContainerDistributionResponse.md +7 -7
- data/docs/ContainerContainerPushRepositoryResponse.md +8 -8
- data/docs/PatchedcontainerContainerDistribution.md +2 -2
- data/lib/pulp_container_client/models/container_container_distribution.rb +11 -11
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +27 -27
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +33 -33
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +11 -11
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/models/container_container_distribution_response_spec.rb +6 -6
- data/spec/models/container_container_distribution_spec.rb +2 -2
- data/spec/models/container_container_push_repository_response_spec.rb +7 -7
- data/spec/models/patchedcontainer_container_distribution_spec.rb +2 -2
- metadata +49 -49
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 99be24ff46511b5d905f9b3bc2d20fda934e137b892130302da83f50e900c68a
|
4
|
+
data.tar.gz: 556cbf570c2c12a548d57ec78ce24c2bcdf85f489d4c8e2b70a6b677a32c7c4e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2ded9cef3a726e66c9bbdcfc9bca2000c70129c89bb14ae4379ad0b26a0c71e2819aeeca213e251640eb030788cac3a767eb69db0d81cebdad8395d868ceb99
|
7
|
+
data.tar.gz: e1f06f59b9eb02cb27b35fbf061977966bc36dd5d5eca8e8df31c74b91299723737d39765d12e4ad53f68188629ac35af691e690527737d955b3265ef49aa9cb
|
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.14.
|
10
|
+
- Package version: 2.14.12
|
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.14.
|
27
|
+
gem install ./pulp_container_client-2.14.12.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_container_client-2.14.
|
30
|
+
(for development, run `gem install --dev ./pulp_container_client-2.14.12.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.14.
|
36
|
+
gem 'pulp_container_client', '~> 2.14.12'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -5,8 +5,8 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
8
|
-
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
9
8
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
9
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
10
10
|
**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\") |
|
11
11
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
12
12
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
@@ -19,8 +19,8 @@ Name | Type | Description | Notes
|
|
19
19
|
require 'PulpContainerClient'
|
20
20
|
|
21
21
|
instance = PulpContainerClient::ContainerContainerDistribution.new(name: null,
|
22
|
-
repository: null,
|
23
22
|
content_guard: null,
|
23
|
+
repository: null,
|
24
24
|
base_path: null,
|
25
25
|
pulp_labels: null,
|
26
26
|
repository_version: null,
|
@@ -4,12 +4,12 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
7
8
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
8
|
-
**
|
9
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
9
10
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
11
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
10
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\") |
|
11
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
12
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
13
13
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
14
14
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
15
15
|
**registry_path** | **String** | The Registry hostname/name/ to use with docker pull command defined by this distribution. | [optional] [readonly]
|
@@ -22,12 +22,12 @@ Name | Type | Description | Notes
|
|
22
22
|
```ruby
|
23
23
|
require 'PulpContainerClient'
|
24
24
|
|
25
|
-
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(
|
26
|
-
|
25
|
+
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(pulp_created: null,
|
26
|
+
name: null,
|
27
|
+
pulp_href: null,
|
27
28
|
content_guard: null,
|
29
|
+
repository: null,
|
28
30
|
base_path: null,
|
29
|
-
pulp_created: null,
|
30
|
-
pulp_href: null,
|
31
31
|
pulp_labels: null,
|
32
32
|
repository_version: null,
|
33
33
|
registry_path: null,
|
@@ -4,14 +4,14 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**
|
7
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
8
8
|
**latest_version_href** | **String** | | [optional] [readonly]
|
9
|
-
**description** | **String** | An optional description. | [optional]
|
10
9
|
**versions_href** | **String** | | [optional] [readonly]
|
10
|
+
**name** | **String** | A unique name for this repository. |
|
11
|
+
**description** | **String** | An optional description. | [optional]
|
12
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
11
13
|
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
|
12
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
13
14
|
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
14
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
15
15
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
16
16
|
|
17
17
|
## Code Sample
|
@@ -19,14 +19,14 @@ Name | Type | Description | Notes
|
|
19
19
|
```ruby
|
20
20
|
require 'PulpContainerClient'
|
21
21
|
|
22
|
-
instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(
|
22
|
+
instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(pulp_created: null,
|
23
23
|
latest_version_href: null,
|
24
|
-
description: null,
|
25
24
|
versions_href: null,
|
25
|
+
name: null,
|
26
|
+
description: null,
|
27
|
+
pulp_href: null,
|
26
28
|
retain_repo_versions: null,
|
27
|
-
pulp_created: null,
|
28
29
|
manifest_signing_service: null,
|
29
|
-
pulp_href: null,
|
30
30
|
pulp_labels: null)
|
31
31
|
```
|
32
32
|
|
@@ -5,8 +5,8 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
8
|
-
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
9
8
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
9
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
10
10
|
**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]
|
11
11
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
12
12
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
@@ -19,8 +19,8 @@ Name | Type | Description | Notes
|
|
19
19
|
require 'PulpContainerClient'
|
20
20
|
|
21
21
|
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(name: null,
|
22
|
-
repository: null,
|
23
22
|
content_guard: null,
|
23
|
+
repository: null,
|
24
24
|
base_path: null,
|
25
25
|
pulp_labels: null,
|
26
26
|
repository_version: null,
|
@@ -18,12 +18,12 @@ module PulpContainerClient
|
|
18
18
|
# A unique name. Ex, `rawhide` and `stable`.
|
19
19
|
attr_accessor :name
|
20
20
|
|
21
|
-
# The latest RepositoryVersion for this Repository will be served.
|
22
|
-
attr_accessor :repository
|
23
|
-
|
24
21
|
# An optional content-guard. If none is specified, a default one will be used.
|
25
22
|
attr_accessor :content_guard
|
26
23
|
|
24
|
+
# The latest RepositoryVersion for this Repository will be served.
|
25
|
+
attr_accessor :repository
|
26
|
+
|
27
27
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
28
28
|
attr_accessor :base_path
|
29
29
|
|
@@ -42,8 +42,8 @@ module PulpContainerClient
|
|
42
42
|
def self.attribute_map
|
43
43
|
{
|
44
44
|
:'name' => :'name',
|
45
|
-
:'repository' => :'repository',
|
46
45
|
:'content_guard' => :'content_guard',
|
46
|
+
:'repository' => :'repository',
|
47
47
|
:'base_path' => :'base_path',
|
48
48
|
:'pulp_labels' => :'pulp_labels',
|
49
49
|
:'repository_version' => :'repository_version',
|
@@ -56,8 +56,8 @@ module PulpContainerClient
|
|
56
56
|
def self.openapi_types
|
57
57
|
{
|
58
58
|
:'name' => :'String',
|
59
|
-
:'repository' => :'String',
|
60
59
|
:'content_guard' => :'String',
|
60
|
+
:'repository' => :'String',
|
61
61
|
:'base_path' => :'String',
|
62
62
|
:'pulp_labels' => :'Hash<String, String>',
|
63
63
|
:'repository_version' => :'String',
|
@@ -94,14 +94,14 @@ module PulpContainerClient
|
|
94
94
|
self.name = attributes[:'name']
|
95
95
|
end
|
96
96
|
|
97
|
-
if attributes.key?(:'repository')
|
98
|
-
self.repository = attributes[:'repository']
|
99
|
-
end
|
100
|
-
|
101
97
|
if attributes.key?(:'content_guard')
|
102
98
|
self.content_guard = attributes[:'content_guard']
|
103
99
|
end
|
104
100
|
|
101
|
+
if attributes.key?(:'repository')
|
102
|
+
self.repository = attributes[:'repository']
|
103
|
+
end
|
104
|
+
|
105
105
|
if attributes.key?(:'base_path')
|
106
106
|
self.base_path = attributes[:'base_path']
|
107
107
|
end
|
@@ -207,8 +207,8 @@ module PulpContainerClient
|
|
207
207
|
return true if self.equal?(o)
|
208
208
|
self.class == o.class &&
|
209
209
|
name == o.name &&
|
210
|
-
repository == o.repository &&
|
211
210
|
content_guard == o.content_guard &&
|
211
|
+
repository == o.repository &&
|
212
212
|
base_path == o.base_path &&
|
213
213
|
pulp_labels == o.pulp_labels &&
|
214
214
|
repository_version == o.repository_version &&
|
@@ -225,7 +225,7 @@ module PulpContainerClient
|
|
225
225
|
# Calculates hash code according to all attributes.
|
226
226
|
# @return [Integer] Hash code
|
227
227
|
def hash
|
228
|
-
[name,
|
228
|
+
[name, content_guard, repository, base_path, pulp_labels, repository_version, private, description].hash
|
229
229
|
end
|
230
230
|
|
231
231
|
# Builds the object from hash
|
@@ -15,23 +15,23 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# A serializer for ContainerDistribution.
|
17
17
|
class ContainerContainerDistributionResponse
|
18
|
+
# Timestamp of creation.
|
19
|
+
attr_accessor :pulp_created
|
20
|
+
|
18
21
|
# A unique name. Ex, `rawhide` and `stable`.
|
19
22
|
attr_accessor :name
|
20
23
|
|
21
|
-
|
22
|
-
attr_accessor :repository
|
24
|
+
attr_accessor :pulp_href
|
23
25
|
|
24
26
|
# An optional content-guard. If none is specified, a default one will be used.
|
25
27
|
attr_accessor :content_guard
|
26
28
|
|
29
|
+
# The latest RepositoryVersion for this Repository will be served.
|
30
|
+
attr_accessor :repository
|
31
|
+
|
27
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\")
|
28
33
|
attr_accessor :base_path
|
29
34
|
|
30
|
-
# Timestamp of creation.
|
31
|
-
attr_accessor :pulp_created
|
32
|
-
|
33
|
-
attr_accessor :pulp_href
|
34
|
-
|
35
35
|
attr_accessor :pulp_labels
|
36
36
|
|
37
37
|
# RepositoryVersion to be served
|
@@ -52,12 +52,12 @@ module PulpContainerClient
|
|
52
52
|
# Attribute mapping from ruby-style variable name to JSON key.
|
53
53
|
def self.attribute_map
|
54
54
|
{
|
55
|
+
:'pulp_created' => :'pulp_created',
|
55
56
|
:'name' => :'name',
|
56
|
-
:'
|
57
|
+
:'pulp_href' => :'pulp_href',
|
57
58
|
:'content_guard' => :'content_guard',
|
59
|
+
:'repository' => :'repository',
|
58
60
|
:'base_path' => :'base_path',
|
59
|
-
:'pulp_created' => :'pulp_created',
|
60
|
-
:'pulp_href' => :'pulp_href',
|
61
61
|
:'pulp_labels' => :'pulp_labels',
|
62
62
|
:'repository_version' => :'repository_version',
|
63
63
|
:'registry_path' => :'registry_path',
|
@@ -70,12 +70,12 @@ module PulpContainerClient
|
|
70
70
|
# Attribute type mapping.
|
71
71
|
def self.openapi_types
|
72
72
|
{
|
73
|
+
:'pulp_created' => :'DateTime',
|
73
74
|
:'name' => :'String',
|
74
|
-
:'
|
75
|
+
:'pulp_href' => :'String',
|
75
76
|
:'content_guard' => :'String',
|
77
|
+
:'repository' => :'String',
|
76
78
|
:'base_path' => :'String',
|
77
|
-
:'pulp_created' => :'DateTime',
|
78
|
-
:'pulp_href' => :'String',
|
79
79
|
:'pulp_labels' => :'Hash<String, String>',
|
80
80
|
:'repository_version' => :'String',
|
81
81
|
:'registry_path' => :'String',
|
@@ -109,28 +109,28 @@ module PulpContainerClient
|
|
109
109
|
h[k.to_sym] = v
|
110
110
|
}
|
111
111
|
|
112
|
+
if attributes.key?(:'pulp_created')
|
113
|
+
self.pulp_created = attributes[:'pulp_created']
|
114
|
+
end
|
115
|
+
|
112
116
|
if attributes.key?(:'name')
|
113
117
|
self.name = attributes[:'name']
|
114
118
|
end
|
115
119
|
|
116
|
-
if attributes.key?(:'
|
117
|
-
self.
|
120
|
+
if attributes.key?(:'pulp_href')
|
121
|
+
self.pulp_href = attributes[:'pulp_href']
|
118
122
|
end
|
119
123
|
|
120
124
|
if attributes.key?(:'content_guard')
|
121
125
|
self.content_guard = attributes[:'content_guard']
|
122
126
|
end
|
123
127
|
|
124
|
-
if attributes.key?(:'
|
125
|
-
self.
|
126
|
-
end
|
127
|
-
|
128
|
-
if attributes.key?(:'pulp_created')
|
129
|
-
self.pulp_created = attributes[:'pulp_created']
|
128
|
+
if attributes.key?(:'repository')
|
129
|
+
self.repository = attributes[:'repository']
|
130
130
|
end
|
131
131
|
|
132
|
-
if attributes.key?(:'
|
133
|
-
self.
|
132
|
+
if attributes.key?(:'base_path')
|
133
|
+
self.base_path = attributes[:'base_path']
|
134
134
|
end
|
135
135
|
|
136
136
|
if attributes.key?(:'pulp_labels')
|
@@ -188,12 +188,12 @@ module PulpContainerClient
|
|
188
188
|
def ==(o)
|
189
189
|
return true if self.equal?(o)
|
190
190
|
self.class == o.class &&
|
191
|
+
pulp_created == o.pulp_created &&
|
191
192
|
name == o.name &&
|
192
|
-
|
193
|
+
pulp_href == o.pulp_href &&
|
193
194
|
content_guard == o.content_guard &&
|
195
|
+
repository == o.repository &&
|
194
196
|
base_path == o.base_path &&
|
195
|
-
pulp_created == o.pulp_created &&
|
196
|
-
pulp_href == o.pulp_href &&
|
197
197
|
pulp_labels == o.pulp_labels &&
|
198
198
|
repository_version == o.repository_version &&
|
199
199
|
registry_path == o.registry_path &&
|
@@ -211,7 +211,7 @@ module PulpContainerClient
|
|
211
211
|
# Calculates hash code according to all attributes.
|
212
212
|
# @return [Integer] Hash code
|
213
213
|
def hash
|
214
|
-
[name,
|
214
|
+
[pulp_created, name, pulp_href, content_guard, repository, base_path, pulp_labels, repository_version, registry_path, namespace, private, description].hash
|
215
215
|
end
|
216
216
|
|
217
217
|
# Builds the object from hash
|
@@ -15,40 +15,40 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# Serializer for Container Push Repositories.
|
17
17
|
class ContainerContainerPushRepositoryResponse
|
18
|
-
#
|
19
|
-
attr_accessor :
|
18
|
+
# Timestamp of creation.
|
19
|
+
attr_accessor :pulp_created
|
20
20
|
|
21
21
|
attr_accessor :latest_version_href
|
22
22
|
|
23
|
+
attr_accessor :versions_href
|
24
|
+
|
25
|
+
# A unique name for this repository.
|
26
|
+
attr_accessor :name
|
27
|
+
|
23
28
|
# An optional description.
|
24
29
|
attr_accessor :description
|
25
30
|
|
26
|
-
attr_accessor :
|
31
|
+
attr_accessor :pulp_href
|
27
32
|
|
28
33
|
# Retain X versions of the repository. Default is null which retains all versions.
|
29
34
|
attr_accessor :retain_repo_versions
|
30
35
|
|
31
|
-
# Timestamp of creation.
|
32
|
-
attr_accessor :pulp_created
|
33
|
-
|
34
36
|
# A reference to an associated signing service.
|
35
37
|
attr_accessor :manifest_signing_service
|
36
38
|
|
37
|
-
attr_accessor :pulp_href
|
38
|
-
|
39
39
|
attr_accessor :pulp_labels
|
40
40
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
42
42
|
def self.attribute_map
|
43
43
|
{
|
44
|
-
:'
|
44
|
+
:'pulp_created' => :'pulp_created',
|
45
45
|
:'latest_version_href' => :'latest_version_href',
|
46
|
-
:'description' => :'description',
|
47
46
|
:'versions_href' => :'versions_href',
|
47
|
+
:'name' => :'name',
|
48
|
+
:'description' => :'description',
|
49
|
+
:'pulp_href' => :'pulp_href',
|
48
50
|
:'retain_repo_versions' => :'retain_repo_versions',
|
49
|
-
:'pulp_created' => :'pulp_created',
|
50
51
|
:'manifest_signing_service' => :'manifest_signing_service',
|
51
|
-
:'pulp_href' => :'pulp_href',
|
52
52
|
:'pulp_labels' => :'pulp_labels'
|
53
53
|
}
|
54
54
|
end
|
@@ -56,14 +56,14 @@ module PulpContainerClient
|
|
56
56
|
# Attribute type mapping.
|
57
57
|
def self.openapi_types
|
58
58
|
{
|
59
|
-
:'
|
59
|
+
:'pulp_created' => :'DateTime',
|
60
60
|
:'latest_version_href' => :'String',
|
61
|
-
:'description' => :'String',
|
62
61
|
:'versions_href' => :'String',
|
62
|
+
:'name' => :'String',
|
63
|
+
:'description' => :'String',
|
64
|
+
:'pulp_href' => :'String',
|
63
65
|
:'retain_repo_versions' => :'Integer',
|
64
|
-
:'pulp_created' => :'DateTime',
|
65
66
|
:'manifest_signing_service' => :'String',
|
66
|
-
:'pulp_href' => :'String',
|
67
67
|
:'pulp_labels' => :'Hash<String, String>'
|
68
68
|
}
|
69
69
|
end
|
@@ -92,38 +92,38 @@ module PulpContainerClient
|
|
92
92
|
h[k.to_sym] = v
|
93
93
|
}
|
94
94
|
|
95
|
-
if attributes.key?(:'
|
96
|
-
self.
|
95
|
+
if attributes.key?(:'pulp_created')
|
96
|
+
self.pulp_created = attributes[:'pulp_created']
|
97
97
|
end
|
98
98
|
|
99
99
|
if attributes.key?(:'latest_version_href')
|
100
100
|
self.latest_version_href = attributes[:'latest_version_href']
|
101
101
|
end
|
102
102
|
|
103
|
+
if attributes.key?(:'versions_href')
|
104
|
+
self.versions_href = attributes[:'versions_href']
|
105
|
+
end
|
106
|
+
|
107
|
+
if attributes.key?(:'name')
|
108
|
+
self.name = attributes[:'name']
|
109
|
+
end
|
110
|
+
|
103
111
|
if attributes.key?(:'description')
|
104
112
|
self.description = attributes[:'description']
|
105
113
|
end
|
106
114
|
|
107
|
-
if attributes.key?(:'
|
108
|
-
self.
|
115
|
+
if attributes.key?(:'pulp_href')
|
116
|
+
self.pulp_href = attributes[:'pulp_href']
|
109
117
|
end
|
110
118
|
|
111
119
|
if attributes.key?(:'retain_repo_versions')
|
112
120
|
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
113
121
|
end
|
114
122
|
|
115
|
-
if attributes.key?(:'pulp_created')
|
116
|
-
self.pulp_created = attributes[:'pulp_created']
|
117
|
-
end
|
118
|
-
|
119
123
|
if attributes.key?(:'manifest_signing_service')
|
120
124
|
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
121
125
|
end
|
122
126
|
|
123
|
-
if attributes.key?(:'pulp_href')
|
124
|
-
self.pulp_href = attributes[:'pulp_href']
|
125
|
-
end
|
126
|
-
|
127
127
|
if attributes.key?(:'pulp_labels')
|
128
128
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
129
129
|
self.pulp_labels = value
|
@@ -169,14 +169,14 @@ module PulpContainerClient
|
|
169
169
|
def ==(o)
|
170
170
|
return true if self.equal?(o)
|
171
171
|
self.class == o.class &&
|
172
|
-
|
172
|
+
pulp_created == o.pulp_created &&
|
173
173
|
latest_version_href == o.latest_version_href &&
|
174
|
-
description == o.description &&
|
175
174
|
versions_href == o.versions_href &&
|
175
|
+
name == o.name &&
|
176
|
+
description == o.description &&
|
177
|
+
pulp_href == o.pulp_href &&
|
176
178
|
retain_repo_versions == o.retain_repo_versions &&
|
177
|
-
pulp_created == o.pulp_created &&
|
178
179
|
manifest_signing_service == o.manifest_signing_service &&
|
179
|
-
pulp_href == o.pulp_href &&
|
180
180
|
pulp_labels == o.pulp_labels
|
181
181
|
end
|
182
182
|
|
@@ -189,7 +189,7 @@ module PulpContainerClient
|
|
189
189
|
# Calculates hash code according to all attributes.
|
190
190
|
# @return [Integer] Hash code
|
191
191
|
def hash
|
192
|
-
[
|
192
|
+
[pulp_created, latest_version_href, versions_href, name, description, pulp_href, retain_repo_versions, manifest_signing_service, pulp_labels].hash
|
193
193
|
end
|
194
194
|
|
195
195
|
# Builds the object from hash
|
@@ -18,12 +18,12 @@ module PulpContainerClient
|
|
18
18
|
# A unique name. Ex, `rawhide` and `stable`.
|
19
19
|
attr_accessor :name
|
20
20
|
|
21
|
-
# The latest RepositoryVersion for this Repository will be served.
|
22
|
-
attr_accessor :repository
|
23
|
-
|
24
21
|
# An optional content-guard. If none is specified, a default one will be used.
|
25
22
|
attr_accessor :content_guard
|
26
23
|
|
24
|
+
# The latest RepositoryVersion for this Repository will be served.
|
25
|
+
attr_accessor :repository
|
26
|
+
|
27
27
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
28
28
|
attr_accessor :base_path
|
29
29
|
|
@@ -42,8 +42,8 @@ module PulpContainerClient
|
|
42
42
|
def self.attribute_map
|
43
43
|
{
|
44
44
|
:'name' => :'name',
|
45
|
-
:'repository' => :'repository',
|
46
45
|
:'content_guard' => :'content_guard',
|
46
|
+
:'repository' => :'repository',
|
47
47
|
:'base_path' => :'base_path',
|
48
48
|
:'pulp_labels' => :'pulp_labels',
|
49
49
|
:'repository_version' => :'repository_version',
|
@@ -56,8 +56,8 @@ module PulpContainerClient
|
|
56
56
|
def self.openapi_types
|
57
57
|
{
|
58
58
|
:'name' => :'String',
|
59
|
-
:'repository' => :'String',
|
60
59
|
:'content_guard' => :'String',
|
60
|
+
:'repository' => :'String',
|
61
61
|
:'base_path' => :'String',
|
62
62
|
:'pulp_labels' => :'Hash<String, String>',
|
63
63
|
:'repository_version' => :'String',
|
@@ -94,14 +94,14 @@ module PulpContainerClient
|
|
94
94
|
self.name = attributes[:'name']
|
95
95
|
end
|
96
96
|
|
97
|
-
if attributes.key?(:'repository')
|
98
|
-
self.repository = attributes[:'repository']
|
99
|
-
end
|
100
|
-
|
101
97
|
if attributes.key?(:'content_guard')
|
102
98
|
self.content_guard = attributes[:'content_guard']
|
103
99
|
end
|
104
100
|
|
101
|
+
if attributes.key?(:'repository')
|
102
|
+
self.repository = attributes[:'repository']
|
103
|
+
end
|
104
|
+
|
105
105
|
if attributes.key?(:'base_path')
|
106
106
|
self.base_path = attributes[:'base_path']
|
107
107
|
end
|
@@ -189,8 +189,8 @@ module PulpContainerClient
|
|
189
189
|
return true if self.equal?(o)
|
190
190
|
self.class == o.class &&
|
191
191
|
name == o.name &&
|
192
|
-
repository == o.repository &&
|
193
192
|
content_guard == o.content_guard &&
|
193
|
+
repository == o.repository &&
|
194
194
|
base_path == o.base_path &&
|
195
195
|
pulp_labels == o.pulp_labels &&
|
196
196
|
repository_version == o.repository_version &&
|
@@ -207,7 +207,7 @@ module PulpContainerClient
|
|
207
207
|
# Calculates hash code according to all attributes.
|
208
208
|
# @return [Integer] Hash code
|
209
209
|
def hash
|
210
|
-
[name,
|
210
|
+
[name, content_guard, repository, base_path, pulp_labels, repository_version, private, description].hash
|
211
211
|
end
|
212
212
|
|
213
213
|
# Builds the object from hash
|
@@ -32,37 +32,37 @@ 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_created"' 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 "pulp_href"' 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"' 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
|
@@ -38,13 +38,13 @@ describe 'ContainerContainerDistribution' do
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "
|
41
|
+
describe 'test attribute "content_guard"' 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
|
@@ -32,7 +32,7 @@ describe 'ContainerContainerPushRepositoryResponse' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerPushRepositoryResponse)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "pulp_created"' 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
|
@@ -44,37 +44,37 @@ describe 'ContainerContainerPushRepositoryResponse' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
-
describe 'test attribute "
|
47
|
+
describe 'test attribute "versions_href"' 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 "name"' 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 "description"' 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_href"' 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 "retain_repo_versions"' 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 "manifest_signing_service"' 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
|
@@ -38,13 +38,13 @@ describe 'PatchedcontainerContainerDistribution' do
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "
|
41
|
+
describe 'test attribute "content_guard"' 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
|
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.14.
|
4
|
+
version: 2.14.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-02-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -299,68 +299,68 @@ signing_key:
|
|
299
299
|
specification_version: 4
|
300
300
|
summary: Pulp 3 API Ruby Gem
|
301
301
|
test_files:
|
302
|
-
- spec/api/repositories_container_api_spec.rb
|
303
|
-
- spec/api/token_api_spec.rb
|
304
|
-
- spec/api/content_blobs_api_spec.rb
|
305
302
|
- spec/api/distributions_container_api_spec.rb
|
306
|
-
- spec/api/
|
303
|
+
- spec/api/repositories_container_versions_api_spec.rb
|
307
304
|
- spec/api/remotes_container_api_spec.rb
|
308
|
-
- spec/api/
|
305
|
+
- spec/api/token_api_spec.rb
|
309
306
|
- spec/api/content_tags_api_spec.rb
|
307
|
+
- spec/api/content_blobs_api_spec.rb
|
308
|
+
- spec/api/content_signatures_api_spec.rb
|
310
309
|
- spec/api/repositories_container_push_api_spec.rb
|
311
|
-
- spec/api/repositories_container_versions_api_spec.rb
|
312
310
|
- spec/api/content_manifests_api_spec.rb
|
311
|
+
- spec/api/pulp_container_namespaces_api_spec.rb
|
313
312
|
- spec/api/repositories_container_push_versions_api_spec.rb
|
313
|
+
- spec/api/repositories_container_api_spec.rb
|
314
314
|
- spec/api_client_spec.rb
|
315
315
|
- spec/configuration_spec.rb
|
316
|
-
- spec/models/
|
317
|
-
- spec/models/
|
318
|
-
- spec/models/
|
319
|
-
- spec/models/
|
320
|
-
- spec/models/
|
321
|
-
- spec/models/
|
322
|
-
- spec/models/
|
316
|
+
- spec/models/remove_signatures_spec.rb
|
317
|
+
- spec/models/content_summary_response_spec.rb
|
318
|
+
- spec/models/container_manifest_signature_response_spec.rb
|
319
|
+
- spec/models/manifest_copy_spec.rb
|
320
|
+
- spec/models/container_blob_response_spec.rb
|
321
|
+
- spec/models/repository_sign_spec.rb
|
322
|
+
- spec/models/remove_image_spec.rb
|
323
|
+
- spec/models/nested_role_spec.rb
|
323
324
|
- spec/models/un_tag_image_spec.rb
|
324
|
-
- spec/models/
|
325
|
-
- spec/models/
|
325
|
+
- spec/models/container_container_distribution_response_spec.rb
|
326
|
+
- spec/models/container_container_repository_response_spec.rb
|
326
327
|
- spec/models/patchedcontainer_container_push_repository_spec.rb
|
327
|
-
- spec/models/repository_sign_spec.rb
|
328
|
-
- spec/models/policy_enum_spec.rb
|
329
|
-
- spec/models/paginatedcontainer_blob_response_list_spec.rb
|
330
|
-
- spec/models/remove_signatures_response_spec.rb
|
331
|
-
- spec/models/paginatedcontainer_container_remote_response_list_spec.rb
|
332
|
-
- spec/models/object_roles_response_spec.rb
|
333
|
-
- spec/models/my_permissions_response_spec.rb
|
334
|
-
- spec/models/container_manifest_response_spec.rb
|
335
328
|
- spec/models/container_container_repository_spec.rb
|
336
|
-
- spec/models/
|
337
|
-
- spec/models/
|
338
|
-
- spec/models/
|
339
|
-
- spec/models/
|
329
|
+
- spec/models/patchedcontainer_container_remote_spec.rb
|
330
|
+
- spec/models/paginatedcontainer_container_remote_response_list_spec.rb
|
331
|
+
- spec/models/paginatedcontainer_container_repository_response_list_spec.rb
|
332
|
+
- spec/models/remove_signatures_response_spec.rb
|
333
|
+
- spec/models/paginatedcontainer_container_namespace_response_list_spec.rb
|
334
|
+
- spec/models/repair_spec.rb
|
335
|
+
- spec/models/paginatedcontainer_manifest_response_list_spec.rb
|
336
|
+
- spec/models/repository_version_response_spec.rb
|
340
337
|
- spec/models/container_container_namespace_spec.rb
|
338
|
+
- spec/models/paginatedcontainer_container_distribution_response_list_spec.rb
|
339
|
+
- spec/models/oci_build_image_spec.rb
|
340
|
+
- spec/models/container_container_remote_spec.rb
|
341
|
+
- spec/models/tag_image_spec.rb
|
342
|
+
- spec/models/policy_enum_spec.rb
|
343
|
+
- spec/models/my_permissions_response_spec.rb
|
344
|
+
- spec/models/container_container_distribution_spec.rb
|
345
|
+
- spec/models/container_container_push_repository_response_spec.rb
|
341
346
|
- spec/models/container_container_remote_response_spec.rb
|
342
|
-
- spec/models/
|
347
|
+
- spec/models/object_roles_response_spec.rb
|
348
|
+
- spec/models/container_container_remote_response_hidden_fields_spec.rb
|
349
|
+
- spec/models/tag_copy_spec.rb
|
350
|
+
- spec/models/patchedcontainer_container_distribution_spec.rb
|
351
|
+
- spec/models/container_container_namespace_response_spec.rb
|
343
352
|
- spec/models/patchedcontainer_container_repository_spec.rb
|
344
|
-
- spec/models/
|
345
|
-
- spec/models/
|
346
|
-
- spec/models/
|
347
|
-
- spec/models/nested_role_spec.rb
|
348
|
-
- spec/models/paginatedcontainer_container_distribution_response_list_spec.rb
|
349
|
-
- spec/models/remove_image_spec.rb
|
353
|
+
- spec/models/container_repository_sync_url_spec.rb
|
354
|
+
- spec/models/container_container_push_repository_spec.rb
|
355
|
+
- spec/models/recursive_manage_spec.rb
|
350
356
|
- spec/models/paginatedcontainer_manifest_signature_response_list_spec.rb
|
357
|
+
- spec/models/media_types_enum_spec.rb
|
358
|
+
- spec/models/paginatedcontainer_blob_response_list_spec.rb
|
359
|
+
- spec/models/async_operation_response_spec.rb
|
360
|
+
- spec/models/paginated_repository_version_response_list_spec.rb
|
351
361
|
- spec/models/paginatedcontainer_container_push_repository_response_list_spec.rb
|
352
|
-
- spec/models/
|
353
|
-
- spec/models/
|
354
|
-
- spec/models/container_manifest_signature_response_spec.rb
|
355
|
-
- spec/models/manifest_copy_spec.rb
|
356
|
-
- spec/models/repair_spec.rb
|
357
|
-
- spec/models/recursive_manage_spec.rb
|
358
|
-
- spec/models/content_summary_response_spec.rb
|
359
|
-
- spec/models/patchedcontainer_container_remote_spec.rb
|
362
|
+
- spec/models/nested_role_response_spec.rb
|
363
|
+
- spec/models/container_manifest_response_spec.rb
|
360
364
|
- spec/models/paginatedcontainer_tag_response_list_spec.rb
|
361
|
-
- spec/models/
|
362
|
-
- spec/models/container_container_remote_spec.rb
|
363
|
-
- spec/models/container_container_push_repository_spec.rb
|
364
|
-
- spec/models/tag_copy_spec.rb
|
365
|
-
- spec/models/remove_signatures_spec.rb
|
365
|
+
- spec/models/container_tag_response_spec.rb
|
366
366
|
- spec/spec_helper.rb
|