pulp_container_client 2.14.13 → 2.15.0.dev1676517833
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 +5 -7
- data/docs/ContainerContainerDistribution.md +5 -5
- data/docs/ContainerContainerDistributionResponse.md +7 -7
- data/docs/ContainerContainerPushRepository.md +6 -6
- data/docs/ContainerContainerPushRepositoryResponse.md +12 -12
- data/docs/ContainerContainerRemote.md +1 -1
- data/docs/ContainerContainerRemoteResponse.md +1 -1
- data/docs/ContainerContainerRepository.md +1 -1
- data/docs/ContainerContainerRepositoryResponse.md +1 -1
- data/docs/ContentBlobsApi.md +2 -6
- data/docs/ContentManifestsApi.md +4 -8
- data/docs/ContentSignaturesApi.md +2 -6
- data/docs/ContentTagsApi.md +4 -8
- data/docs/DistributionsContainerApi.md +2 -6
- data/docs/PatchedcontainerContainerDistribution.md +5 -5
- data/docs/PatchedcontainerContainerPushRepository.md +6 -6
- data/docs/PatchedcontainerContainerRemote.md +1 -1
- data/docs/PatchedcontainerContainerRepository.md +1 -1
- data/docs/PulpContainerNamespacesApi.md +2 -6
- data/docs/RemotesContainerApi.md +2 -6
- data/docs/RepositoriesContainerApi.md +2 -6
- data/docs/RepositoriesContainerPushApi.md +2 -6
- data/docs/RepositoriesContainerPushVersionsApi.md +2 -4
- data/docs/RepositoriesContainerVersionsApi.md +2 -4
- data/lib/pulp_container_client/api/content_blobs_api.rb +2 -8
- data/lib/pulp_container_client/api/content_manifests_api.rb +4 -10
- data/lib/pulp_container_client/api/content_signatures_api.rb +2 -8
- data/lib/pulp_container_client/api/content_tags_api.rb +4 -10
- data/lib/pulp_container_client/api/distributions_container_api.rb +2 -8
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +2 -8
- data/lib/pulp_container_client/api/remotes_container_api.rb +2 -8
- data/lib/pulp_container_client/api/repositories_container_api.rb +2 -8
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +2 -8
- data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +2 -5
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +2 -5
- data/lib/pulp_container_client/models/container_container_distribution.rb +22 -22
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +30 -30
- data/lib/pulp_container_client/models/container_container_push_repository.rb +25 -25
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +45 -45
- data/lib/pulp_container_client/models/container_container_remote.rb +1 -1
- data/lib/pulp_container_client/models/container_container_remote_response.rb +1 -1
- data/lib/pulp_container_client/models/container_container_repository.rb +1 -1
- data/lib/pulp_container_client/models/container_container_repository_response.rb +1 -1
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +22 -22
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +25 -25
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +1 -1
- data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +1 -1
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/api/content_blobs_api_spec.rb +1 -3
- data/spec/api/content_manifests_api_spec.rb +2 -4
- data/spec/api/content_signatures_api_spec.rb +1 -3
- data/spec/api/content_tags_api_spec.rb +2 -4
- data/spec/api/distributions_container_api_spec.rb +1 -3
- data/spec/api/pulp_container_namespaces_api_spec.rb +1 -3
- data/spec/api/remotes_container_api_spec.rb +1 -3
- data/spec/api/repositories_container_api_spec.rb +1 -3
- data/spec/api/repositories_container_push_api_spec.rb +1 -3
- data/spec/api/repositories_container_push_versions_api_spec.rb +1 -2
- data/spec/api/repositories_container_versions_api_spec.rb +1 -2
- data/spec/models/container_container_distribution_response_spec.rb +6 -6
- data/spec/models/container_container_distribution_spec.rb +5 -5
- data/spec/models/container_container_push_repository_response_spec.rb +7 -7
- data/spec/models/container_container_push_repository_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
- metadata +50 -50
@@ -15,20 +15,20 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# A serializer for ContainerDistribution.
|
17
17
|
class ContainerContainerDistribution
|
18
|
-
# An optional content-guard. If none is specified, a default one will be used.
|
19
|
-
attr_accessor :content_guard
|
20
|
-
|
21
18
|
# The latest RepositoryVersion for this Repository will be served.
|
22
19
|
attr_accessor :repository
|
23
20
|
|
21
|
+
attr_accessor :pulp_labels
|
22
|
+
|
23
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
24
|
+
attr_accessor :content_guard
|
25
|
+
|
24
26
|
# A unique name. Ex, `rawhide` and `stable`.
|
25
27
|
attr_accessor :name
|
26
28
|
|
27
29
|
# 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
30
|
attr_accessor :base_path
|
29
31
|
|
30
|
-
attr_accessor :pulp_labels
|
31
|
-
|
32
32
|
# RepositoryVersion to be served
|
33
33
|
attr_accessor :repository_version
|
34
34
|
|
@@ -41,11 +41,11 @@ module PulpContainerClient
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
42
42
|
def self.attribute_map
|
43
43
|
{
|
44
|
-
:'content_guard' => :'content_guard',
|
45
44
|
:'repository' => :'repository',
|
45
|
+
:'pulp_labels' => :'pulp_labels',
|
46
|
+
:'content_guard' => :'content_guard',
|
46
47
|
:'name' => :'name',
|
47
48
|
:'base_path' => :'base_path',
|
48
|
-
:'pulp_labels' => :'pulp_labels',
|
49
49
|
:'repository_version' => :'repository_version',
|
50
50
|
:'private' => :'private',
|
51
51
|
:'description' => :'description'
|
@@ -55,11 +55,11 @@ module PulpContainerClient
|
|
55
55
|
# Attribute type mapping.
|
56
56
|
def self.openapi_types
|
57
57
|
{
|
58
|
-
:'content_guard' => :'String',
|
59
58
|
:'repository' => :'String',
|
59
|
+
:'pulp_labels' => :'Hash<String, String>',
|
60
|
+
:'content_guard' => :'String',
|
60
61
|
:'name' => :'String',
|
61
62
|
:'base_path' => :'String',
|
62
|
-
:'pulp_labels' => :'Hash<String, String>',
|
63
63
|
:'repository_version' => :'String',
|
64
64
|
:'private' => :'Boolean',
|
65
65
|
:'description' => :'String'
|
@@ -90,14 +90,20 @@ module PulpContainerClient
|
|
90
90
|
h[k.to_sym] = v
|
91
91
|
}
|
92
92
|
|
93
|
-
if attributes.key?(:'content_guard')
|
94
|
-
self.content_guard = attributes[:'content_guard']
|
95
|
-
end
|
96
|
-
|
97
93
|
if attributes.key?(:'repository')
|
98
94
|
self.repository = attributes[:'repository']
|
99
95
|
end
|
100
96
|
|
97
|
+
if attributes.key?(:'pulp_labels')
|
98
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
99
|
+
self.pulp_labels = value
|
100
|
+
end
|
101
|
+
end
|
102
|
+
|
103
|
+
if attributes.key?(:'content_guard')
|
104
|
+
self.content_guard = attributes[:'content_guard']
|
105
|
+
end
|
106
|
+
|
101
107
|
if attributes.key?(:'name')
|
102
108
|
self.name = attributes[:'name']
|
103
109
|
end
|
@@ -106,12 +112,6 @@ module PulpContainerClient
|
|
106
112
|
self.base_path = attributes[:'base_path']
|
107
113
|
end
|
108
114
|
|
109
|
-
if attributes.key?(:'pulp_labels')
|
110
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
111
|
-
self.pulp_labels = value
|
112
|
-
end
|
113
|
-
end
|
114
|
-
|
115
115
|
if attributes.key?(:'repository_version')
|
116
116
|
self.repository_version = attributes[:'repository_version']
|
117
117
|
end
|
@@ -206,11 +206,11 @@ module PulpContainerClient
|
|
206
206
|
def ==(o)
|
207
207
|
return true if self.equal?(o)
|
208
208
|
self.class == o.class &&
|
209
|
-
content_guard == o.content_guard &&
|
210
209
|
repository == o.repository &&
|
210
|
+
pulp_labels == o.pulp_labels &&
|
211
|
+
content_guard == o.content_guard &&
|
211
212
|
name == o.name &&
|
212
213
|
base_path == o.base_path &&
|
213
|
-
pulp_labels == o.pulp_labels &&
|
214
214
|
repository_version == o.repository_version &&
|
215
215
|
private == o.private &&
|
216
216
|
description == o.description
|
@@ -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
|
-
[
|
228
|
+
[repository, pulp_labels, content_guard, name, base_path, 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
|
-
# An optional content-guard. If none is specified, a default one will be used.
|
19
|
-
attr_accessor :content_guard
|
20
|
-
|
21
18
|
# The latest RepositoryVersion for this Repository will be served.
|
22
19
|
attr_accessor :repository
|
23
20
|
|
21
|
+
# Timestamp of creation.
|
22
|
+
attr_accessor :pulp_created
|
23
|
+
|
24
|
+
attr_accessor :pulp_labels
|
25
|
+
|
26
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
27
|
+
attr_accessor :content_guard
|
28
|
+
|
24
29
|
# A unique name. Ex, `rawhide` and `stable`.
|
25
30
|
attr_accessor :name
|
26
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_labels
|
34
|
-
|
35
35
|
attr_accessor :pulp_href
|
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
|
-
:'content_guard' => :'content_guard',
|
56
55
|
:'repository' => :'repository',
|
57
|
-
:'name' => :'name',
|
58
|
-
:'base_path' => :'base_path',
|
59
56
|
:'pulp_created' => :'pulp_created',
|
60
57
|
:'pulp_labels' => :'pulp_labels',
|
58
|
+
:'content_guard' => :'content_guard',
|
59
|
+
:'name' => :'name',
|
60
|
+
:'base_path' => :'base_path',
|
61
61
|
:'pulp_href' => :'pulp_href',
|
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
|
-
:'content_guard' => :'String',
|
74
73
|
:'repository' => :'String',
|
75
|
-
:'name' => :'String',
|
76
|
-
:'base_path' => :'String',
|
77
74
|
:'pulp_created' => :'DateTime',
|
78
75
|
:'pulp_labels' => :'Hash<String, String>',
|
76
|
+
:'content_guard' => :'String',
|
77
|
+
:'name' => :'String',
|
78
|
+
:'base_path' => :'String',
|
79
79
|
:'pulp_href' => :'String',
|
80
80
|
:'repository_version' => :'String',
|
81
81
|
:'registry_path' => :'String',
|
@@ -109,22 +109,10 @@ module PulpContainerClient
|
|
109
109
|
h[k.to_sym] = v
|
110
110
|
}
|
111
111
|
|
112
|
-
if attributes.key?(:'content_guard')
|
113
|
-
self.content_guard = attributes[:'content_guard']
|
114
|
-
end
|
115
|
-
|
116
112
|
if attributes.key?(:'repository')
|
117
113
|
self.repository = attributes[:'repository']
|
118
114
|
end
|
119
115
|
|
120
|
-
if attributes.key?(:'name')
|
121
|
-
self.name = attributes[:'name']
|
122
|
-
end
|
123
|
-
|
124
|
-
if attributes.key?(:'base_path')
|
125
|
-
self.base_path = attributes[:'base_path']
|
126
|
-
end
|
127
|
-
|
128
116
|
if attributes.key?(:'pulp_created')
|
129
117
|
self.pulp_created = attributes[:'pulp_created']
|
130
118
|
end
|
@@ -135,6 +123,18 @@ module PulpContainerClient
|
|
135
123
|
end
|
136
124
|
end
|
137
125
|
|
126
|
+
if attributes.key?(:'content_guard')
|
127
|
+
self.content_guard = attributes[:'content_guard']
|
128
|
+
end
|
129
|
+
|
130
|
+
if attributes.key?(:'name')
|
131
|
+
self.name = attributes[:'name']
|
132
|
+
end
|
133
|
+
|
134
|
+
if attributes.key?(:'base_path')
|
135
|
+
self.base_path = attributes[:'base_path']
|
136
|
+
end
|
137
|
+
|
138
138
|
if attributes.key?(:'pulp_href')
|
139
139
|
self.pulp_href = attributes[:'pulp_href']
|
140
140
|
end
|
@@ -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
|
-
content_guard == o.content_guard &&
|
192
191
|
repository == o.repository &&
|
193
|
-
name == o.name &&
|
194
|
-
base_path == o.base_path &&
|
195
192
|
pulp_created == o.pulp_created &&
|
196
193
|
pulp_labels == o.pulp_labels &&
|
194
|
+
content_guard == o.content_guard &&
|
195
|
+
name == o.name &&
|
196
|
+
base_path == o.base_path &&
|
197
197
|
pulp_href == o.pulp_href &&
|
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
|
-
[
|
214
|
+
[repository, pulp_created, pulp_labels, content_guard, name, base_path, pulp_href, repository_version, registry_path, namespace, private, description].hash
|
215
215
|
end
|
216
216
|
|
217
217
|
# Builds the object from hash
|
@@ -15,28 +15,28 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# Serializer for Container Push Repositories.
|
17
17
|
class ContainerContainerPushRepository
|
18
|
-
# Retain X versions of the repository. Default is null which retains all versions.
|
18
|
+
# Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
|
19
19
|
attr_accessor :retain_repo_versions
|
20
20
|
|
21
|
+
# A reference to an associated signing service.
|
22
|
+
attr_accessor :manifest_signing_service
|
23
|
+
|
24
|
+
attr_accessor :pulp_labels
|
25
|
+
|
21
26
|
# An optional description.
|
22
27
|
attr_accessor :description
|
23
28
|
|
24
29
|
# A unique name for this repository.
|
25
30
|
attr_accessor :name
|
26
31
|
|
27
|
-
attr_accessor :pulp_labels
|
28
|
-
|
29
|
-
# A reference to an associated signing service.
|
30
|
-
attr_accessor :manifest_signing_service
|
31
|
-
|
32
32
|
# Attribute mapping from ruby-style variable name to JSON key.
|
33
33
|
def self.attribute_map
|
34
34
|
{
|
35
35
|
:'retain_repo_versions' => :'retain_repo_versions',
|
36
|
-
:'
|
37
|
-
:'name' => :'name',
|
36
|
+
:'manifest_signing_service' => :'manifest_signing_service',
|
38
37
|
:'pulp_labels' => :'pulp_labels',
|
39
|
-
:'
|
38
|
+
:'description' => :'description',
|
39
|
+
:'name' => :'name'
|
40
40
|
}
|
41
41
|
end
|
42
42
|
|
@@ -44,10 +44,10 @@ module PulpContainerClient
|
|
44
44
|
def self.openapi_types
|
45
45
|
{
|
46
46
|
:'retain_repo_versions' => :'Integer',
|
47
|
-
:'
|
48
|
-
:'name' => :'String',
|
47
|
+
:'manifest_signing_service' => :'String',
|
49
48
|
:'pulp_labels' => :'Hash<String, String>',
|
50
|
-
:'
|
49
|
+
:'description' => :'String',
|
50
|
+
:'name' => :'String'
|
51
51
|
}
|
52
52
|
end
|
53
53
|
|
@@ -55,8 +55,8 @@ module PulpContainerClient
|
|
55
55
|
def self.openapi_nullable
|
56
56
|
Set.new([
|
57
57
|
:'retain_repo_versions',
|
58
|
+
:'manifest_signing_service',
|
58
59
|
:'description',
|
59
|
-
:'manifest_signing_service'
|
60
60
|
])
|
61
61
|
end
|
62
62
|
|
@@ -79,12 +79,8 @@ module PulpContainerClient
|
|
79
79
|
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
80
80
|
end
|
81
81
|
|
82
|
-
if attributes.key?(:'
|
83
|
-
self.
|
84
|
-
end
|
85
|
-
|
86
|
-
if attributes.key?(:'name')
|
87
|
-
self.name = attributes[:'name']
|
82
|
+
if attributes.key?(:'manifest_signing_service')
|
83
|
+
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
88
84
|
end
|
89
85
|
|
90
86
|
if attributes.key?(:'pulp_labels')
|
@@ -93,8 +89,12 @@ module PulpContainerClient
|
|
93
89
|
end
|
94
90
|
end
|
95
91
|
|
96
|
-
if attributes.key?(:'
|
97
|
-
self.
|
92
|
+
if attributes.key?(:'description')
|
93
|
+
self.description = attributes[:'description']
|
94
|
+
end
|
95
|
+
|
96
|
+
if attributes.key?(:'name')
|
97
|
+
self.name = attributes[:'name']
|
98
98
|
end
|
99
99
|
end
|
100
100
|
|
@@ -171,10 +171,10 @@ module PulpContainerClient
|
|
171
171
|
return true if self.equal?(o)
|
172
172
|
self.class == o.class &&
|
173
173
|
retain_repo_versions == o.retain_repo_versions &&
|
174
|
-
|
175
|
-
name == o.name &&
|
174
|
+
manifest_signing_service == o.manifest_signing_service &&
|
176
175
|
pulp_labels == o.pulp_labels &&
|
177
|
-
|
176
|
+
description == o.description &&
|
177
|
+
name == o.name
|
178
178
|
end
|
179
179
|
|
180
180
|
# @see the `==` method
|
@@ -186,7 +186,7 @@ module PulpContainerClient
|
|
186
186
|
# Calculates hash code according to all attributes.
|
187
187
|
# @return [Integer] Hash code
|
188
188
|
def hash
|
189
|
-
[retain_repo_versions,
|
189
|
+
[retain_repo_versions, manifest_signing_service, pulp_labels, description, name].hash
|
190
190
|
end
|
191
191
|
|
192
192
|
# 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
|
-
|
20
|
-
# Retain X versions of the repository. Default is null which retains all versions.
|
18
|
+
# Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
|
21
19
|
attr_accessor :retain_repo_versions
|
22
20
|
|
23
|
-
#
|
24
|
-
attr_accessor :
|
25
|
-
|
26
|
-
attr_accessor :latest_version_href
|
27
|
-
|
28
|
-
# A unique name for this repository.
|
29
|
-
attr_accessor :name
|
21
|
+
# A reference to an associated signing service.
|
22
|
+
attr_accessor :manifest_signing_service
|
30
23
|
|
31
24
|
# Timestamp of creation.
|
32
25
|
attr_accessor :pulp_created
|
33
26
|
|
27
|
+
attr_accessor :latest_version_href
|
28
|
+
|
34
29
|
attr_accessor :pulp_labels
|
35
30
|
|
36
|
-
#
|
37
|
-
attr_accessor :
|
31
|
+
# An optional description.
|
32
|
+
attr_accessor :description
|
33
|
+
|
34
|
+
# A unique name for this repository.
|
35
|
+
attr_accessor :name
|
36
|
+
|
37
|
+
attr_accessor :versions_href
|
38
38
|
|
39
39
|
attr_accessor :pulp_href
|
40
40
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
42
42
|
def self.attribute_map
|
43
43
|
{
|
44
|
-
:'versions_href' => :'versions_href',
|
45
44
|
:'retain_repo_versions' => :'retain_repo_versions',
|
46
|
-
:'
|
47
|
-
:'latest_version_href' => :'latest_version_href',
|
48
|
-
:'name' => :'name',
|
45
|
+
:'manifest_signing_service' => :'manifest_signing_service',
|
49
46
|
:'pulp_created' => :'pulp_created',
|
47
|
+
:'latest_version_href' => :'latest_version_href',
|
50
48
|
:'pulp_labels' => :'pulp_labels',
|
51
|
-
:'
|
49
|
+
:'description' => :'description',
|
50
|
+
:'name' => :'name',
|
51
|
+
:'versions_href' => :'versions_href',
|
52
52
|
:'pulp_href' => :'pulp_href'
|
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
|
-
:'versions_href' => :'String',
|
60
59
|
:'retain_repo_versions' => :'Integer',
|
61
|
-
:'
|
62
|
-
:'latest_version_href' => :'String',
|
63
|
-
:'name' => :'String',
|
60
|
+
:'manifest_signing_service' => :'String',
|
64
61
|
:'pulp_created' => :'DateTime',
|
62
|
+
:'latest_version_href' => :'String',
|
65
63
|
:'pulp_labels' => :'Hash<String, String>',
|
66
|
-
:'
|
64
|
+
:'description' => :'String',
|
65
|
+
:'name' => :'String',
|
66
|
+
:'versions_href' => :'String',
|
67
67
|
:'pulp_href' => :'String'
|
68
68
|
}
|
69
69
|
end
|
@@ -72,8 +72,8 @@ module PulpContainerClient
|
|
72
72
|
def self.openapi_nullable
|
73
73
|
Set.new([
|
74
74
|
:'retain_repo_versions',
|
75
|
-
:'description',
|
76
75
|
:'manifest_signing_service',
|
76
|
+
:'description',
|
77
77
|
])
|
78
78
|
end
|
79
79
|
|
@@ -92,38 +92,38 @@ module PulpContainerClient
|
|
92
92
|
h[k.to_sym] = v
|
93
93
|
}
|
94
94
|
|
95
|
-
if attributes.key?(:'versions_href')
|
96
|
-
self.versions_href = attributes[:'versions_href']
|
97
|
-
end
|
98
|
-
|
99
95
|
if attributes.key?(:'retain_repo_versions')
|
100
96
|
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
101
97
|
end
|
102
98
|
|
103
|
-
if attributes.key?(:'
|
104
|
-
self.
|
105
|
-
end
|
106
|
-
|
107
|
-
if attributes.key?(:'latest_version_href')
|
108
|
-
self.latest_version_href = attributes[:'latest_version_href']
|
109
|
-
end
|
110
|
-
|
111
|
-
if attributes.key?(:'name')
|
112
|
-
self.name = attributes[:'name']
|
99
|
+
if attributes.key?(:'manifest_signing_service')
|
100
|
+
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
113
101
|
end
|
114
102
|
|
115
103
|
if attributes.key?(:'pulp_created')
|
116
104
|
self.pulp_created = attributes[:'pulp_created']
|
117
105
|
end
|
118
106
|
|
107
|
+
if attributes.key?(:'latest_version_href')
|
108
|
+
self.latest_version_href = attributes[:'latest_version_href']
|
109
|
+
end
|
110
|
+
|
119
111
|
if attributes.key?(:'pulp_labels')
|
120
112
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
121
113
|
self.pulp_labels = value
|
122
114
|
end
|
123
115
|
end
|
124
116
|
|
125
|
-
if attributes.key?(:'
|
126
|
-
self.
|
117
|
+
if attributes.key?(:'description')
|
118
|
+
self.description = attributes[:'description']
|
119
|
+
end
|
120
|
+
|
121
|
+
if attributes.key?(:'name')
|
122
|
+
self.name = attributes[:'name']
|
123
|
+
end
|
124
|
+
|
125
|
+
if attributes.key?(:'versions_href')
|
126
|
+
self.versions_href = attributes[:'versions_href']
|
127
127
|
end
|
128
128
|
|
129
129
|
if attributes.key?(:'pulp_href')
|
@@ -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
|
-
versions_href == o.versions_href &&
|
173
172
|
retain_repo_versions == o.retain_repo_versions &&
|
174
|
-
|
175
|
-
latest_version_href == o.latest_version_href &&
|
176
|
-
name == o.name &&
|
173
|
+
manifest_signing_service == o.manifest_signing_service &&
|
177
174
|
pulp_created == o.pulp_created &&
|
175
|
+
latest_version_href == o.latest_version_href &&
|
178
176
|
pulp_labels == o.pulp_labels &&
|
179
|
-
|
177
|
+
description == o.description &&
|
178
|
+
name == o.name &&
|
179
|
+
versions_href == o.versions_href &&
|
180
180
|
pulp_href == o.pulp_href
|
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
|
+
[retain_repo_versions, manifest_signing_service, pulp_created, latest_version_href, pulp_labels, description, name, versions_href, pulp_href].hash
|
193
193
|
end
|
194
194
|
|
195
195
|
# Builds the object from hash
|
@@ -56,7 +56,7 @@ module PulpContainerClient
|
|
56
56
|
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
57
57
|
attr_accessor :max_retries
|
58
58
|
|
59
|
-
# immediate - All manifests and blobs are downloaded and saved during a sync. on_demand - Only tags and manifests are downloaded. Blobs are not downloaded until they are requested for the first time by a client. streamed - Blobs are streamed to the client with every request and never saved.
|
59
|
+
# immediate - All manifests and blobs are downloaded and saved during a sync. on_demand - Only tags and manifests are downloaded. Blobs are not downloaded until they are requested for the first time by a client. streamed - Blobs are streamed to the client with every request and never saved.
|
60
60
|
attr_accessor :policy
|
61
61
|
|
62
62
|
# aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
@@ -49,7 +49,7 @@ module PulpContainerClient
|
|
49
49
|
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
50
50
|
attr_accessor :max_retries
|
51
51
|
|
52
|
-
# immediate - All manifests and blobs are downloaded and saved during a sync. on_demand - Only tags and manifests are downloaded. Blobs are not downloaded until they are requested for the first time by a client. streamed - Blobs are streamed to the client with every request and never saved.
|
52
|
+
# immediate - All manifests and blobs are downloaded and saved during a sync. on_demand - Only tags and manifests are downloaded. Blobs are not downloaded until they are requested for the first time by a client. streamed - Blobs are streamed to the client with every request and never saved.
|
53
53
|
attr_accessor :policy
|
54
54
|
|
55
55
|
# aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
@@ -23,7 +23,7 @@ module PulpContainerClient
|
|
23
23
|
# An optional description.
|
24
24
|
attr_accessor :description
|
25
25
|
|
26
|
-
# Retain X versions of the repository. Default is null which retains all versions.
|
26
|
+
# Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
|
27
27
|
attr_accessor :retain_repo_versions
|
28
28
|
|
29
29
|
# An optional remote to use by default when syncing.
|
@@ -32,7 +32,7 @@ module PulpContainerClient
|
|
32
32
|
# An optional description.
|
33
33
|
attr_accessor :description
|
34
34
|
|
35
|
-
# Retain X versions of the repository. Default is null which retains all versions.
|
35
|
+
# Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
|
36
36
|
attr_accessor :retain_repo_versions
|
37
37
|
|
38
38
|
# An optional remote to use by default when syncing.
|