pulp_container_client 1.1.0 → 1.2.0
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 +7 -7
- data/docs/ContainerContainerRemote.md +4 -4
- data/docs/ContainerManifest.md +1 -1
- data/lib/pulp_container_client.rb +1 -1
- data/lib/pulp_container_client/api/content_blobs_api.rb +1 -1
- data/lib/pulp_container_client/api/content_manifests_api.rb +1 -1
- data/lib/pulp_container_client/api/content_tags_api.rb +1 -1
- data/lib/pulp_container_client/api/distributions_container_api.rb +1 -1
- data/lib/pulp_container_client/api/remotes_container_api.rb +1 -1
- data/lib/pulp_container_client/api/repositories_container_api.rb +1 -1
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +1 -1
- data/lib/pulp_container_client/api_client.rb +1 -1
- data/lib/pulp_container_client/api_error.rb +1 -1
- data/lib/pulp_container_client/configuration.rb +1 -1
- data/lib/pulp_container_client/models/async_operation_response.rb +1 -1
- data/lib/pulp_container_client/models/container_blob.rb +1 -1
- data/lib/pulp_container_client/models/container_container_distribution.rb +57 -57
- data/lib/pulp_container_client/models/container_container_remote.rb +5 -5
- data/lib/pulp_container_client/models/container_container_repository.rb +1 -1
- data/lib/pulp_container_client/models/container_manifest.rb +1 -6
- data/lib/pulp_container_client/models/container_tag.rb +1 -1
- data/lib/pulp_container_client/models/content_summary.rb +1 -1
- data/lib/pulp_container_client/models/inline_response200.rb +1 -1
- data/lib/pulp_container_client/models/inline_response2001.rb +1 -1
- data/lib/pulp_container_client/models/inline_response2002.rb +1 -1
- data/lib/pulp_container_client/models/inline_response2003.rb +1 -1
- data/lib/pulp_container_client/models/inline_response2004.rb +1 -1
- data/lib/pulp_container_client/models/inline_response2005.rb +1 -1
- data/lib/pulp_container_client/models/inline_response2006.rb +1 -1
- data/lib/pulp_container_client/models/manifest_copy.rb +1 -1
- data/lib/pulp_container_client/models/recursive_manage.rb +1 -1
- data/lib/pulp_container_client/models/repository_sync_url.rb +1 -1
- data/lib/pulp_container_client/models/repository_version.rb +1 -1
- data/lib/pulp_container_client/models/tag_copy.rb +1 -1
- data/lib/pulp_container_client/models/tag_image.rb +1 -1
- data/lib/pulp_container_client/models/un_tag_image.rb +1 -1
- data/lib/pulp_container_client/version.rb +2 -2
- data/pulp_container_client.gemspec +1 -1
- data/spec/api/content_blobs_api_spec.rb +1 -1
- data/spec/api/content_manifests_api_spec.rb +1 -1
- data/spec/api/content_tags_api_spec.rb +1 -1
- data/spec/api/distributions_container_api_spec.rb +1 -1
- data/spec/api/remotes_container_api_spec.rb +1 -1
- data/spec/api/repositories_container_api_spec.rb +1 -1
- data/spec/api/repositories_container_versions_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/async_operation_response_spec.rb +1 -1
- data/spec/models/container_blob_spec.rb +1 -1
- data/spec/models/container_container_distribution_spec.rb +8 -8
- data/spec/models/container_container_remote_spec.rb +1 -1
- data/spec/models/container_container_repository_spec.rb +1 -1
- data/spec/models/container_manifest_spec.rb +1 -1
- data/spec/models/container_tag_spec.rb +1 -1
- data/spec/models/content_summary_spec.rb +1 -1
- data/spec/models/inline_response2001_spec.rb +1 -1
- data/spec/models/inline_response2002_spec.rb +1 -1
- data/spec/models/inline_response2003_spec.rb +1 -1
- data/spec/models/inline_response2004_spec.rb +1 -1
- data/spec/models/inline_response2005_spec.rb +1 -1
- data/spec/models/inline_response2006_spec.rb +1 -1
- data/spec/models/inline_response200_spec.rb +1 -1
- data/spec/models/manifest_copy_spec.rb +1 -1
- data/spec/models/recursive_manage_spec.rb +1 -1
- data/spec/models/repository_sync_url_spec.rb +1 -1
- data/spec/models/repository_version_spec.rb +1 -1
- data/spec/models/tag_copy_spec.rb +1 -1
- data/spec/models/tag_image_spec.rb +1 -1
- data/spec/models/un_tag_image_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +22 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7755b1457202dde04b2f5a181fd22f9a4f4125960fb531358430afa97998c488
|
4
|
+
data.tar.gz: 9868afec1641b57b3025c0dcf986bba761cce57133e8d70c52e014de770a0f03
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 74d67629e6c78eabf9044fe340de8db360930f37fa06fc23865ea20c9e3ea36cc8e4d3b5b309bc15ce001dd4b164ff71c51c35c613f5f80837b16ad27c18170d
|
7
|
+
data.tar.gz: c834b03c484e8cad34541843b946d224902ac2e71de5dc8be1ef3f0704278c2aa0acf40d603894487c44429c8e0c3369c5a1dc93432761de91a27a2fa3c6ebf9
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
|
|
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: 1.
|
10
|
+
- Package version: 1.2.0
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
|
13
13
|
## Installation
|
@@ -23,16 +23,16 @@ gem build pulp_container_client.gemspec
|
|
23
23
|
Then either install the gem locally:
|
24
24
|
|
25
25
|
```shell
|
26
|
-
gem install ./pulp_container_client-1.
|
26
|
+
gem install ./pulp_container_client-1.2.0.gem
|
27
27
|
```
|
28
28
|
|
29
|
-
(for development, run `gem install --dev ./pulp_container_client-1.
|
29
|
+
(for development, run `gem install --dev ./pulp_container_client-1.2.0.gem` to install the development dependencies)
|
30
30
|
|
31
31
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
32
32
|
|
33
33
|
Finally add this to the Gemfile:
|
34
34
|
|
35
|
-
gem 'pulp_container_client', '~> 1.
|
35
|
+
gem 'pulp_container_client', '~> 1.2.0'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -4,13 +4,13 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
8
|
+
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
7
9
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
8
10
|
**pulp_href** | **String** | | [optional] [readonly]
|
11
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
9
12
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
10
|
-
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
11
13
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
12
|
-
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
13
|
-
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
14
14
|
**registry_path** | **String** | The Registry hostame/name/ to use with docker pull command defined by this distribution. | [optional] [readonly]
|
15
15
|
|
16
16
|
## Code Sample
|
@@ -18,13 +18,13 @@ Name | Type | Description | Notes
|
|
18
18
|
```ruby
|
19
19
|
require 'PulpContainerClient'
|
20
20
|
|
21
|
-
instance = PulpContainerClient::ContainerContainerDistribution.new(
|
21
|
+
instance = PulpContainerClient::ContainerContainerDistribution.new(repository_version: null,
|
22
|
+
base_path: null,
|
23
|
+
content_guard: null,
|
22
24
|
pulp_href: null,
|
25
|
+
repository: null,
|
23
26
|
pulp_created: null,
|
24
|
-
repository_version: null,
|
25
27
|
name: null,
|
26
|
-
repository: null,
|
27
|
-
base_path: null,
|
28
28
|
registry_path: null)
|
29
29
|
```
|
30
30
|
|
@@ -8,14 +8,14 @@ Name | Type | Description | Notes
|
|
8
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
9
|
**name** | **String** | A unique name for this remote. |
|
10
10
|
**url** | **String** | The URL of an external content source. |
|
11
|
-
**ca_cert** | **String** | A string containing the PEM encoded CA certificate used to validate the server certificate presented by the remote server. All new line characters must be escaped. Returns SHA256
|
12
|
-
**client_cert** | **String** | A string containing the PEM encoded client certificate used for authentication. All new line characters must be escaped. Returns SHA256
|
13
|
-
**client_key** | **String** | A PEM encoded private key used for authentication. Returns SHA256
|
11
|
+
**ca_cert** | **String** | A string containing the PEM encoded CA certificate used to validate the server certificate presented by the remote server. All new line characters must be escaped. Returns SHA256 checksum of the certificate file on GET. | [optional]
|
12
|
+
**client_cert** | **String** | A string containing the PEM encoded client certificate used for authentication. All new line characters must be escaped. Returns SHA256 checksum of the certificate file on GET. | [optional]
|
13
|
+
**client_key** | **String** | A PEM encoded private key used for authentication. Returns SHA256 checksum of the certificate file on GET. | [optional]
|
14
14
|
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
15
15
|
**proxy_url** | **String** | The proxy URL. Format: scheme://user:password@host:port | [optional]
|
16
16
|
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
17
17
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
18
|
-
**policy** | **String** |
|
18
|
+
**policy** | **String** | 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. | [optional] [default to 'immediate']
|
19
19
|
**upstream_name** | **String** | Name of the upstream repository |
|
20
20
|
**whitelist_tags** | **Array<String>** | A list of whitelisted tags to sync | [optional]
|
21
21
|
|
data/docs/ContainerManifest.md
CHANGED
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
|
|
11
11
|
**schema_version** | **Integer** | Manifest schema version |
|
12
12
|
**media_type** | **String** | Manifest media type of the file |
|
13
13
|
**listed_manifests** | **Array<String>** | Manifests that are referenced by this Manifest List |
|
14
|
-
**config_blob** | **String** | Blob that contains configuration for this Manifest |
|
14
|
+
**config_blob** | **String** | Blob that contains configuration for this Manifest | [optional]
|
15
15
|
**blobs** | **Array<String>** | Blobs that are referenced by this Manifest |
|
16
16
|
|
17
17
|
## Code Sample
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.2.
|
9
|
+
OpenAPI Generator version: 4.2.3
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -14,39 +14,39 @@ require 'date'
|
|
14
14
|
|
15
15
|
module PulpContainerClient
|
16
16
|
class ContainerContainerDistribution
|
17
|
+
# RepositoryVersion to be served
|
18
|
+
attr_accessor :repository_version
|
19
|
+
|
20
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
21
|
+
attr_accessor :base_path
|
22
|
+
|
17
23
|
# An optional content-guard.
|
18
24
|
attr_accessor :content_guard
|
19
25
|
|
20
26
|
attr_accessor :pulp_href
|
21
27
|
|
28
|
+
# The latest RepositoryVersion for this Repository will be served.
|
29
|
+
attr_accessor :repository
|
30
|
+
|
22
31
|
# Timestamp of creation.
|
23
32
|
attr_accessor :pulp_created
|
24
33
|
|
25
|
-
# RepositoryVersion to be served
|
26
|
-
attr_accessor :repository_version
|
27
|
-
|
28
34
|
# A unique name. Ex, `rawhide` and `stable`.
|
29
35
|
attr_accessor :name
|
30
36
|
|
31
|
-
# The latest RepositoryVersion for this Repository will be served.
|
32
|
-
attr_accessor :repository
|
33
|
-
|
34
|
-
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
35
|
-
attr_accessor :base_path
|
36
|
-
|
37
37
|
# The Registry hostame/name/ to use with docker pull command defined by this distribution.
|
38
38
|
attr_accessor :registry_path
|
39
39
|
|
40
40
|
# Attribute mapping from ruby-style variable name to JSON key.
|
41
41
|
def self.attribute_map
|
42
42
|
{
|
43
|
+
:'repository_version' => :'repository_version',
|
44
|
+
:'base_path' => :'base_path',
|
43
45
|
:'content_guard' => :'content_guard',
|
44
46
|
:'pulp_href' => :'pulp_href',
|
47
|
+
:'repository' => :'repository',
|
45
48
|
:'pulp_created' => :'pulp_created',
|
46
|
-
:'repository_version' => :'repository_version',
|
47
49
|
:'name' => :'name',
|
48
|
-
:'repository' => :'repository',
|
49
|
-
:'base_path' => :'base_path',
|
50
50
|
:'registry_path' => :'registry_path'
|
51
51
|
}
|
52
52
|
end
|
@@ -54,13 +54,13 @@ module PulpContainerClient
|
|
54
54
|
# Attribute type mapping.
|
55
55
|
def self.openapi_types
|
56
56
|
{
|
57
|
+
:'repository_version' => :'String',
|
58
|
+
:'base_path' => :'String',
|
57
59
|
:'content_guard' => :'String',
|
58
60
|
:'pulp_href' => :'String',
|
61
|
+
:'repository' => :'String',
|
59
62
|
:'pulp_created' => :'DateTime',
|
60
|
-
:'repository_version' => :'String',
|
61
63
|
:'name' => :'String',
|
62
|
-
:'repository' => :'String',
|
63
|
-
:'base_path' => :'String',
|
64
64
|
:'registry_path' => :'String'
|
65
65
|
}
|
66
66
|
end
|
@@ -68,8 +68,8 @@ module PulpContainerClient
|
|
68
68
|
# List of attributes with nullable: true
|
69
69
|
def self.openapi_nullable
|
70
70
|
Set.new([
|
71
|
-
:'content_guard',
|
72
71
|
:'repository_version',
|
72
|
+
:'content_guard',
|
73
73
|
:'repository',
|
74
74
|
])
|
75
75
|
end
|
@@ -89,6 +89,14 @@ module PulpContainerClient
|
|
89
89
|
h[k.to_sym] = v
|
90
90
|
}
|
91
91
|
|
92
|
+
if attributes.key?(:'repository_version')
|
93
|
+
self.repository_version = attributes[:'repository_version']
|
94
|
+
end
|
95
|
+
|
96
|
+
if attributes.key?(:'base_path')
|
97
|
+
self.base_path = attributes[:'base_path']
|
98
|
+
end
|
99
|
+
|
92
100
|
if attributes.key?(:'content_guard')
|
93
101
|
self.content_guard = attributes[:'content_guard']
|
94
102
|
end
|
@@ -97,26 +105,18 @@ module PulpContainerClient
|
|
97
105
|
self.pulp_href = attributes[:'pulp_href']
|
98
106
|
end
|
99
107
|
|
100
|
-
if attributes.key?(:'
|
101
|
-
self.
|
108
|
+
if attributes.key?(:'repository')
|
109
|
+
self.repository = attributes[:'repository']
|
102
110
|
end
|
103
111
|
|
104
|
-
if attributes.key?(:'
|
105
|
-
self.
|
112
|
+
if attributes.key?(:'pulp_created')
|
113
|
+
self.pulp_created = attributes[:'pulp_created']
|
106
114
|
end
|
107
115
|
|
108
116
|
if attributes.key?(:'name')
|
109
117
|
self.name = attributes[:'name']
|
110
118
|
end
|
111
119
|
|
112
|
-
if attributes.key?(:'repository')
|
113
|
-
self.repository = attributes[:'repository']
|
114
|
-
end
|
115
|
-
|
116
|
-
if attributes.key?(:'base_path')
|
117
|
-
self.base_path = attributes[:'base_path']
|
118
|
-
end
|
119
|
-
|
120
120
|
if attributes.key?(:'registry_path')
|
121
121
|
self.registry_path = attributes[:'registry_path']
|
122
122
|
end
|
@@ -126,14 +126,6 @@ module PulpContainerClient
|
|
126
126
|
# @return Array for valid properties with the reasons
|
127
127
|
def list_invalid_properties
|
128
128
|
invalid_properties = Array.new
|
129
|
-
if @name.nil?
|
130
|
-
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
131
|
-
end
|
132
|
-
|
133
|
-
if @name.to_s.length < 1
|
134
|
-
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
|
135
|
-
end
|
136
|
-
|
137
129
|
if @base_path.nil?
|
138
130
|
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
139
131
|
end
|
@@ -142,6 +134,14 @@ module PulpContainerClient
|
|
142
134
|
invalid_properties.push('invalid value for "base_path", the character length must be great than or equal to 1.')
|
143
135
|
end
|
144
136
|
|
137
|
+
if @name.nil?
|
138
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
139
|
+
end
|
140
|
+
|
141
|
+
if @name.to_s.length < 1
|
142
|
+
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
|
143
|
+
end
|
144
|
+
|
145
145
|
if !@registry_path.nil? && @registry_path.to_s.length < 1
|
146
146
|
invalid_properties.push('invalid value for "registry_path", the character length must be great than or equal to 1.')
|
147
147
|
end
|
@@ -152,28 +152,14 @@ module PulpContainerClient
|
|
152
152
|
# Check to see if the all the properties in the model are valid
|
153
153
|
# @return true if the model is valid
|
154
154
|
def valid?
|
155
|
-
return false if @name.nil?
|
156
|
-
return false if @name.to_s.length < 1
|
157
155
|
return false if @base_path.nil?
|
158
156
|
return false if @base_path.to_s.length < 1
|
157
|
+
return false if @name.nil?
|
158
|
+
return false if @name.to_s.length < 1
|
159
159
|
return false if !@registry_path.nil? && @registry_path.to_s.length < 1
|
160
160
|
true
|
161
161
|
end
|
162
162
|
|
163
|
-
# Custom attribute writer method with validation
|
164
|
-
# @param [Object] name Value to be assigned
|
165
|
-
def name=(name)
|
166
|
-
if name.nil?
|
167
|
-
fail ArgumentError, 'name cannot be nil'
|
168
|
-
end
|
169
|
-
|
170
|
-
if name.to_s.length < 1
|
171
|
-
fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
|
172
|
-
end
|
173
|
-
|
174
|
-
@name = name
|
175
|
-
end
|
176
|
-
|
177
163
|
# Custom attribute writer method with validation
|
178
164
|
# @param [Object] base_path Value to be assigned
|
179
165
|
def base_path=(base_path)
|
@@ -188,6 +174,20 @@ module PulpContainerClient
|
|
188
174
|
@base_path = base_path
|
189
175
|
end
|
190
176
|
|
177
|
+
# Custom attribute writer method with validation
|
178
|
+
# @param [Object] name Value to be assigned
|
179
|
+
def name=(name)
|
180
|
+
if name.nil?
|
181
|
+
fail ArgumentError, 'name cannot be nil'
|
182
|
+
end
|
183
|
+
|
184
|
+
if name.to_s.length < 1
|
185
|
+
fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
|
186
|
+
end
|
187
|
+
|
188
|
+
@name = name
|
189
|
+
end
|
190
|
+
|
191
191
|
# Custom attribute writer method with validation
|
192
192
|
# @param [Object] registry_path Value to be assigned
|
193
193
|
def registry_path=(registry_path)
|
@@ -203,13 +203,13 @@ module PulpContainerClient
|
|
203
203
|
def ==(o)
|
204
204
|
return true if self.equal?(o)
|
205
205
|
self.class == o.class &&
|
206
|
+
repository_version == o.repository_version &&
|
207
|
+
base_path == o.base_path &&
|
206
208
|
content_guard == o.content_guard &&
|
207
209
|
pulp_href == o.pulp_href &&
|
210
|
+
repository == o.repository &&
|
208
211
|
pulp_created == o.pulp_created &&
|
209
|
-
repository_version == o.repository_version &&
|
210
212
|
name == o.name &&
|
211
|
-
repository == o.repository &&
|
212
|
-
base_path == o.base_path &&
|
213
213
|
registry_path == o.registry_path
|
214
214
|
end
|
215
215
|
|
@@ -222,7 +222,7 @@ module PulpContainerClient
|
|
222
222
|
# Calculates hash code according to all attributes.
|
223
223
|
# @return [Integer] Hash code
|
224
224
|
def hash
|
225
|
-
[
|
225
|
+
[repository_version, base_path, content_guard, pulp_href, repository, pulp_created, name, registry_path].hash
|
226
226
|
end
|
227
227
|
|
228
228
|
# Builds the object from hash
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.2.
|
9
|
+
OpenAPI Generator version: 4.2.3
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -25,13 +25,13 @@ module PulpContainerClient
|
|
25
25
|
# The URL of an external content source.
|
26
26
|
attr_accessor :url
|
27
27
|
|
28
|
-
# A string containing the PEM encoded CA certificate used to validate the server certificate presented by the remote server. All new line characters must be escaped. Returns SHA256
|
28
|
+
# A string containing the PEM encoded CA certificate used to validate the server certificate presented by the remote server. All new line characters must be escaped. Returns SHA256 checksum of the certificate file on GET.
|
29
29
|
attr_accessor :ca_cert
|
30
30
|
|
31
|
-
# A string containing the PEM encoded client certificate used for authentication. All new line characters must be escaped. Returns SHA256
|
31
|
+
# A string containing the PEM encoded client certificate used for authentication. All new line characters must be escaped. Returns SHA256 checksum of the certificate file on GET.
|
32
32
|
attr_accessor :client_cert
|
33
33
|
|
34
|
-
# A PEM encoded private key used for authentication. Returns SHA256
|
34
|
+
# A PEM encoded private key used for authentication. Returns SHA256 checksum of the certificate file on GET.
|
35
35
|
attr_accessor :client_key
|
36
36
|
|
37
37
|
# If True, TLS peer validation must be performed.
|
@@ -46,7 +46,7 @@ module PulpContainerClient
|
|
46
46
|
# Total number of simultaneous connections.
|
47
47
|
attr_accessor :download_concurrency
|
48
48
|
|
49
|
-
#
|
49
|
+
# 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.
|
50
50
|
attr_accessor :policy
|
51
51
|
|
52
52
|
# Name of the upstream repository
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.2.
|
9
|
+
OpenAPI Generator version: 4.2.3
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -164,10 +164,6 @@ module PulpContainerClient
|
|
164
164
|
invalid_properties.push('invalid value for "listed_manifests", listed_manifests cannot be nil.')
|
165
165
|
end
|
166
166
|
|
167
|
-
if @config_blob.nil?
|
168
|
-
invalid_properties.push('invalid value for "config_blob", config_blob cannot be nil.')
|
169
|
-
end
|
170
|
-
|
171
167
|
if @blobs.nil?
|
172
168
|
invalid_properties.push('invalid value for "blobs", blobs cannot be nil.')
|
173
169
|
end
|
@@ -185,7 +181,6 @@ module PulpContainerClient
|
|
185
181
|
return false if @media_type.nil?
|
186
182
|
return false if @media_type.to_s.length < 1
|
187
183
|
return false if @listed_manifests.nil?
|
188
|
-
return false if @config_blob.nil?
|
189
184
|
return false if @blobs.nil?
|
190
185
|
true
|
191
186
|
end
|
@@ -6,10 +6,10 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.2.
|
9
|
+
OpenAPI Generator version: 4.2.3
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
module PulpContainerClient
|
14
|
-
VERSION = '1.
|
14
|
+
VERSION = '1.2.0'
|
15
15
|
end
|
data/spec/api_client_spec.rb
CHANGED
data/spec/configuration_spec.rb
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.2.
|
9
|
+
OpenAPI Generator version: 4.2.3
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -32,43 +32,43 @@ describe 'ContainerContainerDistribution' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerDistribution)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "repository_version"' 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 "base_path"' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
-
describe 'test attribute "
|
47
|
+
describe 'test attribute "content_guard"' do
|
48
48
|
it 'should work' do
|
49
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
|
-
describe 'test attribute "
|
53
|
+
describe 'test attribute "pulp_href"' 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 "pulp_created"' 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 "name"' 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
|
data/spec/spec_helper.rb
CHANGED
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: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-03-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -195,35 +195,35 @@ signing_key:
|
|
195
195
|
specification_version: 4
|
196
196
|
summary: Pulp 3 API Ruby Gem
|
197
197
|
test_files:
|
198
|
+
- spec/api/distributions_container_api_spec.rb
|
198
199
|
- spec/api/content_manifests_api_spec.rb
|
199
|
-
- spec/api/
|
200
|
+
- spec/api/content_tags_api_spec.rb
|
200
201
|
- spec/api/remotes_container_api_spec.rb
|
201
|
-
- spec/api/repositories_container_versions_api_spec.rb
|
202
|
-
- spec/api/distributions_container_api_spec.rb
|
203
202
|
- spec/api/repositories_container_api_spec.rb
|
204
|
-
- spec/api/
|
203
|
+
- spec/api/content_blobs_api_spec.rb
|
204
|
+
- spec/api/repositories_container_versions_api_spec.rb
|
205
205
|
- spec/api_client_spec.rb
|
206
206
|
- spec/configuration_spec.rb
|
207
|
-
- spec/models/repository_version_spec.rb
|
208
|
-
- spec/models/inline_response2002_spec.rb
|
209
207
|
- spec/models/container_tag_spec.rb
|
210
|
-
- spec/models/
|
211
|
-
- spec/models/
|
212
|
-
- spec/models/container_manifest_spec.rb
|
213
|
-
- spec/models/inline_response2005_spec.rb
|
208
|
+
- spec/models/container_container_repository_spec.rb
|
209
|
+
- spec/models/container_container_distribution_spec.rb
|
214
210
|
- spec/models/repository_sync_url_spec.rb
|
215
|
-
- spec/models/
|
216
|
-
- spec/models/
|
217
|
-
- spec/models/inline_response2003_spec.rb
|
218
|
-
- spec/models/manifest_copy_spec.rb
|
211
|
+
- spec/models/container_manifest_spec.rb
|
212
|
+
- spec/models/async_operation_response_spec.rb
|
219
213
|
- spec/models/container_container_remote_spec.rb
|
220
|
-
- spec/models/
|
214
|
+
- spec/models/inline_response2003_spec.rb
|
215
|
+
- spec/models/repository_version_spec.rb
|
216
|
+
- spec/models/tag_image_spec.rb
|
221
217
|
- spec/models/un_tag_image_spec.rb
|
218
|
+
- spec/models/inline_response2004_spec.rb
|
219
|
+
- spec/models/inline_response2005_spec.rb
|
220
|
+
- spec/models/inline_response2001_spec.rb
|
221
|
+
- spec/models/manifest_copy_spec.rb
|
222
|
+
- spec/models/inline_response200_spec.rb
|
223
|
+
- spec/models/container_blob_spec.rb
|
224
|
+
- spec/models/tag_copy_spec.rb
|
225
|
+
- spec/models/inline_response2002_spec.rb
|
222
226
|
- spec/models/recursive_manage_spec.rb
|
223
|
-
- spec/models/
|
227
|
+
- spec/models/inline_response2006_spec.rb
|
224
228
|
- spec/models/content_summary_spec.rb
|
225
|
-
- spec/models/container_container_distribution_spec.rb
|
226
|
-
- spec/models/container_blob_spec.rb
|
227
|
-
- spec/models/inline_response2004_spec.rb
|
228
|
-
- spec/models/tag_image_spec.rb
|
229
229
|
- spec/spec_helper.rb
|