pulp_container_client 1.5.0.dev01593107528 → 1.5.0.dev01593193888
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 +4 -4
- data/docs/ContainerContainerDistribution.md +5 -5
- data/docs/ContainerContainerDistributionRead.md +5 -5
- data/lib/pulp_container_client/models/container_container_distribution.rb +20 -20
- data/lib/pulp_container_client/models/container_container_distribution_read.rb +20 -20
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/models/container_container_distribution_read_spec.rb +6 -6
- data/spec/models/container_container_distribution_spec.rb +6 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2119d74f69da1084cead7b1f1c5e1d0f9d8ebb60d0e8826a47544333f540574e
|
4
|
+
data.tar.gz: 67e592407b986561999fddd2cdab2ff79a496098c882720b4638dccdc951a696
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ac30b1affd822727f4b658c562c119a5bae7941c6ec8cfc596a26d7fe08f535f02c414eb6c61bb897d24e6dabf77dafd13a7d1e7bddb5f3625ce9daa5c65a4d
|
7
|
+
data.tar.gz: bfdaf2d2e4942b8cc9a139af5e89cbdd18de5e8803673e95be3cbe95f509138da41ada23b21aca0471932aa44eb9819c424f248edc4f5df04da74dda8fea7f72
|
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.5.0.
|
10
|
+
- Package version: 1.5.0.dev01593193888
|
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.5.0.
|
26
|
+
gem install ./pulp_container_client-1.5.0.dev01593193888.gem
|
27
27
|
```
|
28
28
|
|
29
|
-
(for development, run `gem install --dev ./pulp_container_client-1.5.0.
|
29
|
+
(for development, run `gem install --dev ./pulp_container_client-1.5.0.dev01593193888.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.5.0.
|
35
|
+
gem 'pulp_container_client', '~> 1.5.0.dev01593193888'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -4,13 +4,13 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
8
7
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
9
8
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
10
9
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
10
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
11
11
|
**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\") |
|
12
|
-
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
13
12
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
13
|
+
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
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(
|
22
|
-
repository: null,
|
21
|
+
instance = PulpContainerClient::ContainerContainerDistribution.new(repository: null,
|
23
22
|
content_guard: null,
|
24
23
|
name: null,
|
24
|
+
pulp_href: null,
|
25
25
|
base_path: null,
|
26
|
-
repository_version: null,
|
27
26
|
pulp_created: null,
|
27
|
+
repository_version: null,
|
28
28
|
registry_path: null)
|
29
29
|
```
|
30
30
|
|
@@ -4,13 +4,13 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
8
7
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
9
8
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
10
9
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
10
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
11
11
|
**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\") |
|
12
|
-
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
13
12
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
13
|
+
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
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::ContainerContainerDistributionRead.new(
|
22
|
-
repository: null,
|
21
|
+
instance = PulpContainerClient::ContainerContainerDistributionRead.new(repository: null,
|
23
22
|
content_guard: null,
|
24
23
|
name: null,
|
24
|
+
pulp_href: null,
|
25
25
|
base_path: null,
|
26
|
-
repository_version: null,
|
27
26
|
pulp_created: null,
|
27
|
+
repository_version: null,
|
28
28
|
registry_path: null)
|
29
29
|
```
|
30
30
|
|
@@ -14,8 +14,6 @@ require 'date'
|
|
14
14
|
|
15
15
|
module PulpContainerClient
|
16
16
|
class ContainerContainerDistribution
|
17
|
-
attr_accessor :pulp_href
|
18
|
-
|
19
17
|
# The latest RepositoryVersion for this Repository will be served.
|
20
18
|
attr_accessor :repository
|
21
19
|
|
@@ -25,28 +23,30 @@ module PulpContainerClient
|
|
25
23
|
# A unique name. Ex, `rawhide` and `stable`.
|
26
24
|
attr_accessor :name
|
27
25
|
|
26
|
+
attr_accessor :pulp_href
|
27
|
+
|
28
28
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
29
29
|
attr_accessor :base_path
|
30
30
|
|
31
|
-
# RepositoryVersion to be served
|
32
|
-
attr_accessor :repository_version
|
33
|
-
|
34
31
|
# Timestamp of creation.
|
35
32
|
attr_accessor :pulp_created
|
36
33
|
|
34
|
+
# RepositoryVersion to be served
|
35
|
+
attr_accessor :repository_version
|
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
|
-
:'pulp_href' => :'pulp_href',
|
44
43
|
:'repository' => :'repository',
|
45
44
|
:'content_guard' => :'content_guard',
|
46
45
|
:'name' => :'name',
|
46
|
+
:'pulp_href' => :'pulp_href',
|
47
47
|
:'base_path' => :'base_path',
|
48
|
-
:'repository_version' => :'repository_version',
|
49
48
|
:'pulp_created' => :'pulp_created',
|
49
|
+
:'repository_version' => :'repository_version',
|
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
|
-
:'pulp_href' => :'String',
|
58
57
|
:'repository' => :'String',
|
59
58
|
:'content_guard' => :'String',
|
60
59
|
:'name' => :'String',
|
60
|
+
:'pulp_href' => :'String',
|
61
61
|
:'base_path' => :'String',
|
62
|
-
:'repository_version' => :'String',
|
63
62
|
:'pulp_created' => :'DateTime',
|
63
|
+
:'repository_version' => :'String',
|
64
64
|
:'registry_path' => :'String'
|
65
65
|
}
|
66
66
|
end
|
@@ -89,10 +89,6 @@ module PulpContainerClient
|
|
89
89
|
h[k.to_sym] = v
|
90
90
|
}
|
91
91
|
|
92
|
-
if attributes.key?(:'pulp_href')
|
93
|
-
self.pulp_href = attributes[:'pulp_href']
|
94
|
-
end
|
95
|
-
|
96
92
|
if attributes.key?(:'repository')
|
97
93
|
self.repository = attributes[:'repository']
|
98
94
|
end
|
@@ -105,18 +101,22 @@ module PulpContainerClient
|
|
105
101
|
self.name = attributes[:'name']
|
106
102
|
end
|
107
103
|
|
108
|
-
if attributes.key?(:'
|
109
|
-
self.
|
104
|
+
if attributes.key?(:'pulp_href')
|
105
|
+
self.pulp_href = attributes[:'pulp_href']
|
110
106
|
end
|
111
107
|
|
112
|
-
if attributes.key?(:'
|
113
|
-
self.
|
108
|
+
if attributes.key?(:'base_path')
|
109
|
+
self.base_path = attributes[:'base_path']
|
114
110
|
end
|
115
111
|
|
116
112
|
if attributes.key?(:'pulp_created')
|
117
113
|
self.pulp_created = attributes[:'pulp_created']
|
118
114
|
end
|
119
115
|
|
116
|
+
if attributes.key?(:'repository_version')
|
117
|
+
self.repository_version = attributes[:'repository_version']
|
118
|
+
end
|
119
|
+
|
120
120
|
if attributes.key?(:'registry_path')
|
121
121
|
self.registry_path = attributes[:'registry_path']
|
122
122
|
end
|
@@ -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
|
-
pulp_href == o.pulp_href &&
|
207
206
|
repository == o.repository &&
|
208
207
|
content_guard == o.content_guard &&
|
209
208
|
name == o.name &&
|
209
|
+
pulp_href == o.pulp_href &&
|
210
210
|
base_path == o.base_path &&
|
211
|
-
repository_version == o.repository_version &&
|
212
211
|
pulp_created == o.pulp_created &&
|
212
|
+
repository_version == o.repository_version &&
|
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, content_guard, name, pulp_href, base_path, pulp_created, repository_version, registry_path].hash
|
226
226
|
end
|
227
227
|
|
228
228
|
# Builds the object from hash
|
@@ -14,8 +14,6 @@ require 'date'
|
|
14
14
|
|
15
15
|
module PulpContainerClient
|
16
16
|
class ContainerContainerDistributionRead
|
17
|
-
attr_accessor :pulp_href
|
18
|
-
|
19
17
|
# The latest RepositoryVersion for this Repository will be served.
|
20
18
|
attr_accessor :repository
|
21
19
|
|
@@ -25,28 +23,30 @@ module PulpContainerClient
|
|
25
23
|
# A unique name. Ex, `rawhide` and `stable`.
|
26
24
|
attr_accessor :name
|
27
25
|
|
26
|
+
attr_accessor :pulp_href
|
27
|
+
|
28
28
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
29
29
|
attr_accessor :base_path
|
30
30
|
|
31
|
-
# RepositoryVersion to be served
|
32
|
-
attr_accessor :repository_version
|
33
|
-
|
34
31
|
# Timestamp of creation.
|
35
32
|
attr_accessor :pulp_created
|
36
33
|
|
34
|
+
# RepositoryVersion to be served
|
35
|
+
attr_accessor :repository_version
|
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
|
-
:'pulp_href' => :'pulp_href',
|
44
43
|
:'repository' => :'repository',
|
45
44
|
:'content_guard' => :'content_guard',
|
46
45
|
:'name' => :'name',
|
46
|
+
:'pulp_href' => :'pulp_href',
|
47
47
|
:'base_path' => :'base_path',
|
48
|
-
:'repository_version' => :'repository_version',
|
49
48
|
:'pulp_created' => :'pulp_created',
|
49
|
+
:'repository_version' => :'repository_version',
|
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
|
-
:'pulp_href' => :'String',
|
58
57
|
:'repository' => :'String',
|
59
58
|
:'content_guard' => :'String',
|
60
59
|
:'name' => :'String',
|
60
|
+
:'pulp_href' => :'String',
|
61
61
|
:'base_path' => :'String',
|
62
|
-
:'repository_version' => :'String',
|
63
62
|
:'pulp_created' => :'DateTime',
|
63
|
+
:'repository_version' => :'String',
|
64
64
|
:'registry_path' => :'String'
|
65
65
|
}
|
66
66
|
end
|
@@ -89,10 +89,6 @@ module PulpContainerClient
|
|
89
89
|
h[k.to_sym] = v
|
90
90
|
}
|
91
91
|
|
92
|
-
if attributes.key?(:'pulp_href')
|
93
|
-
self.pulp_href = attributes[:'pulp_href']
|
94
|
-
end
|
95
|
-
|
96
92
|
if attributes.key?(:'repository')
|
97
93
|
self.repository = attributes[:'repository']
|
98
94
|
end
|
@@ -105,18 +101,22 @@ module PulpContainerClient
|
|
105
101
|
self.name = attributes[:'name']
|
106
102
|
end
|
107
103
|
|
108
|
-
if attributes.key?(:'
|
109
|
-
self.
|
104
|
+
if attributes.key?(:'pulp_href')
|
105
|
+
self.pulp_href = attributes[:'pulp_href']
|
110
106
|
end
|
111
107
|
|
112
|
-
if attributes.key?(:'
|
113
|
-
self.
|
108
|
+
if attributes.key?(:'base_path')
|
109
|
+
self.base_path = attributes[:'base_path']
|
114
110
|
end
|
115
111
|
|
116
112
|
if attributes.key?(:'pulp_created')
|
117
113
|
self.pulp_created = attributes[:'pulp_created']
|
118
114
|
end
|
119
115
|
|
116
|
+
if attributes.key?(:'repository_version')
|
117
|
+
self.repository_version = attributes[:'repository_version']
|
118
|
+
end
|
119
|
+
|
120
120
|
if attributes.key?(:'registry_path')
|
121
121
|
self.registry_path = attributes[:'registry_path']
|
122
122
|
end
|
@@ -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
|
-
pulp_href == o.pulp_href &&
|
207
206
|
repository == o.repository &&
|
208
207
|
content_guard == o.content_guard &&
|
209
208
|
name == o.name &&
|
209
|
+
pulp_href == o.pulp_href &&
|
210
210
|
base_path == o.base_path &&
|
211
|
-
repository_version == o.repository_version &&
|
212
211
|
pulp_created == o.pulp_created &&
|
212
|
+
repository_version == o.repository_version &&
|
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, content_guard, name, pulp_href, base_path, pulp_created, repository_version, registry_path].hash
|
226
226
|
end
|
227
227
|
|
228
228
|
# Builds the object from hash
|
@@ -32,25 +32,25 @@ describe 'ContainerContainerDistributionRead' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerDistributionRead)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "repository"' 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 "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 "name"' 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
|
@@ -62,13 +62,13 @@ describe 'ContainerContainerDistributionRead' do
|
|
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 "repository_version"' 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
|
@@ -32,25 +32,25 @@ 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"' 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 "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 "name"' 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
|
@@ -62,13 +62,13 @@ describe 'ContainerContainerDistribution' do
|
|
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 "repository_version"' 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
|
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.5.0.
|
4
|
+
version: 1.5.0.dev01593193888
|
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-06-
|
11
|
+
date: 2020-06-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|