pulp_container_client 2.14.13 → 2.14.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -7
- data/docs/ContainerContainerDistribution.md +5 -5
- data/docs/ContainerContainerDistributionResponse.md +8 -8
- data/docs/ContainerContainerPushRepository.md +1 -1
- data/docs/ContainerContainerPushRepositoryResponse.md +9 -9
- 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 -10
- data/docs/PatchedcontainerContainerDistribution.md +5 -5
- data/docs/PatchedcontainerContainerPushRepository.md +1 -1
- 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 -22
- data/docs/RepositoriesContainerPushApi.md +2 -22
- 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 -14
- 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 -32
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +2 -32
- 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 +19 -19
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +29 -29
- data/lib/pulp_container_client/models/container_container_push_repository.rb +1 -1
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +33 -33
- data/lib/pulp_container_client/models/container_container_remote.rb +21 -21
- data/lib/pulp_container_client/models/container_container_remote_response.rb +21 -21
- 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/nested_role.rb +0 -19
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +19 -19
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +1 -1
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +21 -21
- 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 -5
- 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 -11
- data/spec/api/repositories_container_push_api_spec.rb +1 -11
- 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 +4 -4
- data/spec/models/container_container_distribution_spec.rb +4 -4
- data/spec/models/container_container_push_repository_response_spec.rb +7 -7
- data/spec/models/patchedcontainer_container_distribution_spec.rb +4 -4
- metadata +46 -46
@@ -95,14 +95,13 @@ module PulpContainerClient
|
|
95
95
|
# @option opts [Integer] :number__lte Filter results where number is less than or equal to value
|
96
96
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
97
97
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
98
|
-
# @option opts [Array<String>] :ordering Ordering
|
98
|
+
# @option opts [Array<String>] :ordering Ordering
|
99
99
|
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
100
100
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
101
101
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
102
102
|
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
103
103
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
104
104
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
105
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
106
105
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
107
106
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
108
107
|
# @return [PaginatedRepositoryVersionResponseList]
|
@@ -125,14 +124,13 @@ module PulpContainerClient
|
|
125
124
|
# @option opts [Integer] :number__lte Filter results where number is less than or equal to value
|
126
125
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
127
126
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
128
|
-
# @option opts [Array<String>] :ordering Ordering
|
127
|
+
# @option opts [Array<String>] :ordering Ordering
|
129
128
|
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
130
129
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
131
130
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
132
131
|
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
133
132
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
134
133
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
135
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
136
134
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
137
135
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
138
136
|
# @return [Array<(PaginatedRepositoryVersionResponseList, Integer, Hash)>] PaginatedRepositoryVersionResponseList data, response status code and response headers
|
@@ -170,7 +168,6 @@ module PulpContainerClient
|
|
170
168
|
query_params[:'pulp_created__lt'] = opts[:'pulp_created__lt'] if !opts[:'pulp_created__lt'].nil?
|
171
169
|
query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
|
172
170
|
query_params[:'pulp_created__range'] = @api_client.build_collection_param(opts[:'pulp_created__range'], :csv) if !opts[:'pulp_created__range'].nil?
|
173
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
174
171
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
175
172
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
176
173
|
|
@@ -95,14 +95,13 @@ module PulpContainerClient
|
|
95
95
|
# @option opts [Integer] :number__lte Filter results where number is less than or equal to value
|
96
96
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
97
97
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
98
|
-
# @option opts [Array<String>] :ordering Ordering
|
98
|
+
# @option opts [Array<String>] :ordering Ordering
|
99
99
|
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
100
100
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
101
101
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
102
102
|
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
103
103
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
104
104
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
105
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
106
105
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
107
106
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
108
107
|
# @return [PaginatedRepositoryVersionResponseList]
|
@@ -125,14 +124,13 @@ module PulpContainerClient
|
|
125
124
|
# @option opts [Integer] :number__lte Filter results where number is less than or equal to value
|
126
125
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
127
126
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
128
|
-
# @option opts [Array<String>] :ordering Ordering
|
127
|
+
# @option opts [Array<String>] :ordering Ordering
|
129
128
|
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
130
129
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
131
130
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
132
131
|
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
133
132
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
134
133
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
135
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
136
134
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
137
135
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
138
136
|
# @return [Array<(PaginatedRepositoryVersionResponseList, Integer, Hash)>] PaginatedRepositoryVersionResponseList data, response status code and response headers
|
@@ -170,7 +168,6 @@ module PulpContainerClient
|
|
170
168
|
query_params[:'pulp_created__lt'] = opts[:'pulp_created__lt'] if !opts[:'pulp_created__lt'].nil?
|
171
169
|
query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
|
172
170
|
query_params[:'pulp_created__range'] = @api_client.build_collection_param(opts[:'pulp_created__range'], :csv) if !opts[:'pulp_created__range'].nil?
|
173
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
174
171
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
175
172
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
176
173
|
|
@@ -15,19 +15,19 @@ 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
|
|
24
21
|
# A unique name. Ex, `rawhide` and `stable`.
|
25
22
|
attr_accessor :name
|
26
23
|
|
24
|
+
attr_accessor :pulp_labels
|
25
|
+
|
27
26
|
# 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
27
|
attr_accessor :base_path
|
29
28
|
|
30
|
-
|
29
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
30
|
+
attr_accessor :content_guard
|
31
31
|
|
32
32
|
# RepositoryVersion to be served
|
33
33
|
attr_accessor :repository_version
|
@@ -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',
|
46
45
|
:'name' => :'name',
|
47
|
-
:'base_path' => :'base_path',
|
48
46
|
:'pulp_labels' => :'pulp_labels',
|
47
|
+
:'base_path' => :'base_path',
|
48
|
+
:'content_guard' => :'content_guard',
|
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',
|
60
59
|
:'name' => :'String',
|
61
|
-
:'base_path' => :'String',
|
62
60
|
:'pulp_labels' => :'Hash<String, String>',
|
61
|
+
:'base_path' => :'String',
|
62
|
+
:'content_guard' => :'String',
|
63
63
|
:'repository_version' => :'String',
|
64
64
|
:'private' => :'Boolean',
|
65
65
|
:'description' => :'String'
|
@@ -90,10 +90,6 @@ 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
|
@@ -102,16 +98,20 @@ module PulpContainerClient
|
|
102
98
|
self.name = attributes[:'name']
|
103
99
|
end
|
104
100
|
|
105
|
-
if attributes.key?(:'base_path')
|
106
|
-
self.base_path = attributes[:'base_path']
|
107
|
-
end
|
108
|
-
|
109
101
|
if attributes.key?(:'pulp_labels')
|
110
102
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
111
103
|
self.pulp_labels = value
|
112
104
|
end
|
113
105
|
end
|
114
106
|
|
107
|
+
if attributes.key?(:'base_path')
|
108
|
+
self.base_path = attributes[:'base_path']
|
109
|
+
end
|
110
|
+
|
111
|
+
if attributes.key?(:'content_guard')
|
112
|
+
self.content_guard = attributes[:'content_guard']
|
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 &&
|
211
210
|
name == o.name &&
|
212
|
-
base_path == o.base_path &&
|
213
211
|
pulp_labels == o.pulp_labels &&
|
212
|
+
base_path == o.base_path &&
|
213
|
+
content_guard == o.content_guard &&
|
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, name, pulp_labels, base_path, content_guard, repository_version, private, description].hash
|
229
229
|
end
|
230
230
|
|
231
231
|
# Builds the object from hash
|
@@ -15,8 +15,7 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# A serializer for ContainerDistribution.
|
17
17
|
class ContainerContainerDistributionResponse
|
18
|
-
|
19
|
-
attr_accessor :content_guard
|
18
|
+
attr_accessor :pulp_href
|
20
19
|
|
21
20
|
# The latest RepositoryVersion for this Repository will be served.
|
22
21
|
attr_accessor :repository
|
@@ -24,15 +23,16 @@ module PulpContainerClient
|
|
24
23
|
# A unique name. Ex, `rawhide` and `stable`.
|
25
24
|
attr_accessor :name
|
26
25
|
|
27
|
-
|
28
|
-
attr_accessor :base_path
|
26
|
+
attr_accessor :pulp_labels
|
29
27
|
|
30
28
|
# Timestamp of creation.
|
31
29
|
attr_accessor :pulp_created
|
32
30
|
|
33
|
-
|
31
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
32
|
+
attr_accessor :base_path
|
34
33
|
|
35
|
-
|
34
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
35
|
+
attr_accessor :content_guard
|
36
36
|
|
37
37
|
# RepositoryVersion to be served
|
38
38
|
attr_accessor :repository_version
|
@@ -52,13 +52,13 @@ module PulpContainerClient
|
|
52
52
|
# Attribute mapping from ruby-style variable name to JSON key.
|
53
53
|
def self.attribute_map
|
54
54
|
{
|
55
|
-
:'
|
55
|
+
:'pulp_href' => :'pulp_href',
|
56
56
|
:'repository' => :'repository',
|
57
57
|
:'name' => :'name',
|
58
|
-
:'base_path' => :'base_path',
|
59
|
-
:'pulp_created' => :'pulp_created',
|
60
58
|
:'pulp_labels' => :'pulp_labels',
|
61
|
-
:'
|
59
|
+
:'pulp_created' => :'pulp_created',
|
60
|
+
:'base_path' => :'base_path',
|
61
|
+
:'content_guard' => :'content_guard',
|
62
62
|
:'repository_version' => :'repository_version',
|
63
63
|
:'registry_path' => :'registry_path',
|
64
64
|
:'namespace' => :'namespace',
|
@@ -70,13 +70,13 @@ module PulpContainerClient
|
|
70
70
|
# Attribute type mapping.
|
71
71
|
def self.openapi_types
|
72
72
|
{
|
73
|
-
:'
|
73
|
+
:'pulp_href' => :'String',
|
74
74
|
:'repository' => :'String',
|
75
75
|
:'name' => :'String',
|
76
|
-
:'base_path' => :'String',
|
77
|
-
:'pulp_created' => :'DateTime',
|
78
76
|
:'pulp_labels' => :'Hash<String, String>',
|
79
|
-
:'
|
77
|
+
:'pulp_created' => :'DateTime',
|
78
|
+
:'base_path' => :'String',
|
79
|
+
:'content_guard' => :'String',
|
80
80
|
:'repository_version' => :'String',
|
81
81
|
:'registry_path' => :'String',
|
82
82
|
:'namespace' => :'String',
|
@@ -109,8 +109,8 @@ module PulpContainerClient
|
|
109
109
|
h[k.to_sym] = v
|
110
110
|
}
|
111
111
|
|
112
|
-
if attributes.key?(:'
|
113
|
-
self.
|
112
|
+
if attributes.key?(:'pulp_href')
|
113
|
+
self.pulp_href = attributes[:'pulp_href']
|
114
114
|
end
|
115
115
|
|
116
116
|
if attributes.key?(:'repository')
|
@@ -121,22 +121,22 @@ module PulpContainerClient
|
|
121
121
|
self.name = attributes[:'name']
|
122
122
|
end
|
123
123
|
|
124
|
-
if attributes.key?(:'
|
125
|
-
|
124
|
+
if attributes.key?(:'pulp_labels')
|
125
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
126
|
+
self.pulp_labels = value
|
127
|
+
end
|
126
128
|
end
|
127
129
|
|
128
130
|
if attributes.key?(:'pulp_created')
|
129
131
|
self.pulp_created = attributes[:'pulp_created']
|
130
132
|
end
|
131
133
|
|
132
|
-
if attributes.key?(:'
|
133
|
-
|
134
|
-
self.pulp_labels = value
|
135
|
-
end
|
134
|
+
if attributes.key?(:'base_path')
|
135
|
+
self.base_path = attributes[:'base_path']
|
136
136
|
end
|
137
137
|
|
138
|
-
if attributes.key?(:'
|
139
|
-
self.
|
138
|
+
if attributes.key?(:'content_guard')
|
139
|
+
self.content_guard = attributes[:'content_guard']
|
140
140
|
end
|
141
141
|
|
142
142
|
if attributes.key?(:'repository_version')
|
@@ -188,13 +188,13 @@ module PulpContainerClient
|
|
188
188
|
def ==(o)
|
189
189
|
return true if self.equal?(o)
|
190
190
|
self.class == o.class &&
|
191
|
-
|
191
|
+
pulp_href == o.pulp_href &&
|
192
192
|
repository == o.repository &&
|
193
193
|
name == o.name &&
|
194
|
-
base_path == o.base_path &&
|
195
|
-
pulp_created == o.pulp_created &&
|
196
194
|
pulp_labels == o.pulp_labels &&
|
197
|
-
|
195
|
+
pulp_created == o.pulp_created &&
|
196
|
+
base_path == o.base_path &&
|
197
|
+
content_guard == o.content_guard &&
|
198
198
|
repository_version == o.repository_version &&
|
199
199
|
registry_path == o.registry_path &&
|
200
200
|
namespace == o.namespace &&
|
@@ -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
|
+
[pulp_href, repository, name, pulp_labels, pulp_created, base_path, content_guard, repository_version, registry_path, namespace, private, description].hash
|
215
215
|
end
|
216
216
|
|
217
217
|
# Builds the object from hash
|
@@ -15,7 +15,7 @@ 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
21
|
# An optional description.
|
@@ -15,56 +15,56 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# Serializer for Container Push Repositories.
|
17
17
|
class ContainerContainerPushRepositoryResponse
|
18
|
-
attr_accessor :
|
18
|
+
attr_accessor :pulp_href
|
19
19
|
|
20
|
-
# Retain X versions of the repository. Default is null which retains all versions.
|
20
|
+
# 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
21
|
attr_accessor :retain_repo_versions
|
22
22
|
|
23
|
+
attr_accessor :latest_version_href
|
24
|
+
|
23
25
|
# An optional description.
|
24
26
|
attr_accessor :description
|
25
27
|
|
26
|
-
attr_accessor :latest_version_href
|
27
|
-
|
28
28
|
# A unique name for this repository.
|
29
29
|
attr_accessor :name
|
30
30
|
|
31
|
-
# Timestamp of creation.
|
32
|
-
attr_accessor :pulp_created
|
33
|
-
|
34
31
|
attr_accessor :pulp_labels
|
35
32
|
|
36
33
|
# A reference to an associated signing service.
|
37
34
|
attr_accessor :manifest_signing_service
|
38
35
|
|
39
|
-
attr_accessor :
|
36
|
+
attr_accessor :versions_href
|
37
|
+
|
38
|
+
# Timestamp of creation.
|
39
|
+
attr_accessor :pulp_created
|
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_href' => :'pulp_href',
|
45
45
|
:'retain_repo_versions' => :'retain_repo_versions',
|
46
|
-
:'description' => :'description',
|
47
46
|
:'latest_version_href' => :'latest_version_href',
|
47
|
+
:'description' => :'description',
|
48
48
|
:'name' => :'name',
|
49
|
-
:'pulp_created' => :'pulp_created',
|
50
49
|
:'pulp_labels' => :'pulp_labels',
|
51
50
|
:'manifest_signing_service' => :'manifest_signing_service',
|
52
|
-
:'
|
51
|
+
:'versions_href' => :'versions_href',
|
52
|
+
:'pulp_created' => :'pulp_created'
|
53
53
|
}
|
54
54
|
end
|
55
55
|
|
56
56
|
# Attribute type mapping.
|
57
57
|
def self.openapi_types
|
58
58
|
{
|
59
|
-
:'
|
59
|
+
:'pulp_href' => :'String',
|
60
60
|
:'retain_repo_versions' => :'Integer',
|
61
|
-
:'description' => :'String',
|
62
61
|
:'latest_version_href' => :'String',
|
62
|
+
:'description' => :'String',
|
63
63
|
:'name' => :'String',
|
64
|
-
:'pulp_created' => :'DateTime',
|
65
64
|
:'pulp_labels' => :'Hash<String, String>',
|
66
65
|
:'manifest_signing_service' => :'String',
|
67
|
-
:'
|
66
|
+
:'versions_href' => :'String',
|
67
|
+
:'pulp_created' => :'DateTime'
|
68
68
|
}
|
69
69
|
end
|
70
70
|
|
@@ -92,28 +92,24 @@ module PulpContainerClient
|
|
92
92
|
h[k.to_sym] = v
|
93
93
|
}
|
94
94
|
|
95
|
-
if attributes.key?(:'
|
96
|
-
self.
|
95
|
+
if attributes.key?(:'pulp_href')
|
96
|
+
self.pulp_href = attributes[:'pulp_href']
|
97
97
|
end
|
98
98
|
|
99
99
|
if attributes.key?(:'retain_repo_versions')
|
100
100
|
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
101
101
|
end
|
102
102
|
|
103
|
-
if attributes.key?(:'description')
|
104
|
-
self.description = attributes[:'description']
|
105
|
-
end
|
106
|
-
|
107
103
|
if attributes.key?(:'latest_version_href')
|
108
104
|
self.latest_version_href = attributes[:'latest_version_href']
|
109
105
|
end
|
110
106
|
|
111
|
-
if attributes.key?(:'
|
112
|
-
self.
|
107
|
+
if attributes.key?(:'description')
|
108
|
+
self.description = attributes[:'description']
|
113
109
|
end
|
114
110
|
|
115
|
-
if attributes.key?(:'
|
116
|
-
self.
|
111
|
+
if attributes.key?(:'name')
|
112
|
+
self.name = attributes[:'name']
|
117
113
|
end
|
118
114
|
|
119
115
|
if attributes.key?(:'pulp_labels')
|
@@ -126,8 +122,12 @@ module PulpContainerClient
|
|
126
122
|
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
127
123
|
end
|
128
124
|
|
129
|
-
if attributes.key?(:'
|
130
|
-
self.
|
125
|
+
if attributes.key?(:'versions_href')
|
126
|
+
self.versions_href = attributes[:'versions_href']
|
127
|
+
end
|
128
|
+
|
129
|
+
if attributes.key?(:'pulp_created')
|
130
|
+
self.pulp_created = attributes[:'pulp_created']
|
131
131
|
end
|
132
132
|
end
|
133
133
|
|
@@ -169,15 +169,15 @@ module PulpContainerClient
|
|
169
169
|
def ==(o)
|
170
170
|
return true if self.equal?(o)
|
171
171
|
self.class == o.class &&
|
172
|
-
|
172
|
+
pulp_href == o.pulp_href &&
|
173
173
|
retain_repo_versions == o.retain_repo_versions &&
|
174
|
-
description == o.description &&
|
175
174
|
latest_version_href == o.latest_version_href &&
|
175
|
+
description == o.description &&
|
176
176
|
name == o.name &&
|
177
|
-
pulp_created == o.pulp_created &&
|
178
177
|
pulp_labels == o.pulp_labels &&
|
179
178
|
manifest_signing_service == o.manifest_signing_service &&
|
180
|
-
|
179
|
+
versions_href == o.versions_href &&
|
180
|
+
pulp_created == o.pulp_created
|
181
181
|
end
|
182
182
|
|
183
183
|
# @see the `==` method
|
@@ -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_href, retain_repo_versions, latest_version_href, description, name, pulp_labels, manifest_signing_service, versions_href, pulp_created].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.
|
@@ -354,20 +354,20 @@ module PulpContainerClient
|
|
354
354
|
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
355
355
|
end
|
356
356
|
|
357
|
-
if !@total_timeout.nil? && @total_timeout < 0
|
358
|
-
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.
|
357
|
+
if !@total_timeout.nil? && @total_timeout < 0
|
358
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
|
359
359
|
end
|
360
360
|
|
361
|
-
if !@connect_timeout.nil? && @connect_timeout < 0
|
362
|
-
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.
|
361
|
+
if !@connect_timeout.nil? && @connect_timeout < 0
|
362
|
+
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
|
363
363
|
end
|
364
364
|
|
365
|
-
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
366
|
-
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.
|
365
|
+
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
366
|
+
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
|
367
367
|
end
|
368
368
|
|
369
|
-
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
370
|
-
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.
|
369
|
+
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
370
|
+
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
|
371
371
|
end
|
372
372
|
|
373
373
|
if @upstream_name.nil?
|
@@ -401,10 +401,10 @@ module PulpContainerClient
|
|
401
401
|
return false if !@username.nil? && @username.to_s.length < 1
|
402
402
|
return false if !@password.nil? && @password.to_s.length < 1
|
403
403
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
404
|
-
return false if !@total_timeout.nil? && @total_timeout < 0
|
405
|
-
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
406
|
-
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
407
|
-
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
404
|
+
return false if !@total_timeout.nil? && @total_timeout < 0
|
405
|
+
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
406
|
+
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
407
|
+
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
408
408
|
return false if @upstream_name.nil?
|
409
409
|
return false if @upstream_name.to_s.length < 1
|
410
410
|
return false if !@sigstore.nil? && @sigstore.to_s.length < 1
|
@@ -532,8 +532,8 @@ module PulpContainerClient
|
|
532
532
|
# Custom attribute writer method with validation
|
533
533
|
# @param [Object] total_timeout Value to be assigned
|
534
534
|
def total_timeout=(total_timeout)
|
535
|
-
if !total_timeout.nil? && total_timeout < 0
|
536
|
-
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.
|
535
|
+
if !total_timeout.nil? && total_timeout < 0
|
536
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
|
537
537
|
end
|
538
538
|
|
539
539
|
@total_timeout = total_timeout
|
@@ -542,8 +542,8 @@ module PulpContainerClient
|
|
542
542
|
# Custom attribute writer method with validation
|
543
543
|
# @param [Object] connect_timeout Value to be assigned
|
544
544
|
def connect_timeout=(connect_timeout)
|
545
|
-
if !connect_timeout.nil? && connect_timeout < 0
|
546
|
-
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.
|
545
|
+
if !connect_timeout.nil? && connect_timeout < 0
|
546
|
+
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
|
547
547
|
end
|
548
548
|
|
549
549
|
@connect_timeout = connect_timeout
|
@@ -552,8 +552,8 @@ module PulpContainerClient
|
|
552
552
|
# Custom attribute writer method with validation
|
553
553
|
# @param [Object] sock_connect_timeout Value to be assigned
|
554
554
|
def sock_connect_timeout=(sock_connect_timeout)
|
555
|
-
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
556
|
-
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.
|
555
|
+
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
556
|
+
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
|
557
557
|
end
|
558
558
|
|
559
559
|
@sock_connect_timeout = sock_connect_timeout
|
@@ -562,8 +562,8 @@ module PulpContainerClient
|
|
562
562
|
# Custom attribute writer method with validation
|
563
563
|
# @param [Object] sock_read_timeout Value to be assigned
|
564
564
|
def sock_read_timeout=(sock_read_timeout)
|
565
|
-
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
566
|
-
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.
|
565
|
+
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
566
|
+
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
|
567
567
|
end
|
568
568
|
|
569
569
|
@sock_read_timeout = sock_read_timeout
|