pulp_container_client 1.1.0.dev01575740012 → 1.1.0.dev01576172027
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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 +8 -8
- data/lib/pulp_container_client/models/container_container_distribution.rb +32 -32
- data/lib/pulp_container_client/version.rb +1 -1
- 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: d0453c7189c38ed32121905c4ad676aae7927b62b9ee5504b963acf300dd26ce
|
4
|
+
data.tar.gz: 2afb1a3a3f679ac83bfe888ca25d6ec685a63b921090d559003341132f6ee7c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d92bd75d59a6748a1ff86dca65fa90d02ca37bc2e03e070c768908e37932f9af98558f6a7a9445d02ad9763ba8af69ff5d3fc7d1c1c36b57e025c2105d56c0d
|
7
|
+
data.tar.gz: d7294c9562cafb977b70e6fa313222159206da867bae17b3f270daca592a48522a3f036e0ebff4eb7618ea3aa1f54c9c99fcb19e2541f24fa65d91f99e0e8263
|
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.1.0.
|
10
|
+
- Package version: 1.1.0.dev01576172027
|
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.1.0.
|
26
|
+
gem install ./pulp_container_client-1.1.0.dev01576172027.gem
|
27
27
|
```
|
28
28
|
|
29
|
-
(for development, run `gem install --dev ./pulp_container_client-1.1.0.
|
29
|
+
(for development, run `gem install --dev ./pulp_container_client-1.1.0.dev01576172027.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.1.0.
|
35
|
+
gem 'pulp_container_client', '~> 1.1.0.dev01576172027'
|
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_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
8
|
-
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
9
|
-
**content_guard** | **String** | An optional content-guard. | [optional]
|
10
7
|
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
11
8
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
12
|
-
**
|
9
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
10
|
+
**content_guard** | **String** | An optional content-guard. | [optional]
|
13
11
|
**pulp_href** | **String** | | [optional] [readonly]
|
12
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
13
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
14
14
|
**registry_path** | **String** | The Registry hostame:port/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(base_path: null,
|
22
|
+
repository_version: null,
|
22
23
|
repository: null,
|
23
24
|
content_guard: null,
|
24
|
-
base_path: null,
|
25
|
-
repository_version: null,
|
26
|
-
name: null,
|
27
25
|
pulp_href: null,
|
26
|
+
name: null,
|
27
|
+
pulp_created: null,
|
28
28
|
registry_path: null)
|
29
29
|
```
|
30
30
|
|
@@ -14,8 +14,11 @@ require 'date'
|
|
14
14
|
|
15
15
|
module PulpContainerClient
|
16
16
|
class ContainerContainerDistribution
|
17
|
-
#
|
18
|
-
attr_accessor :
|
17
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
18
|
+
attr_accessor :base_path
|
19
|
+
|
20
|
+
# RepositoryVersion to be served
|
21
|
+
attr_accessor :repository_version
|
19
22
|
|
20
23
|
# The latest RepositoryVersion for this Repository will be served.
|
21
24
|
attr_accessor :repository
|
@@ -23,16 +26,13 @@ module PulpContainerClient
|
|
23
26
|
# An optional content-guard.
|
24
27
|
attr_accessor :content_guard
|
25
28
|
|
26
|
-
|
27
|
-
attr_accessor :base_path
|
28
|
-
|
29
|
-
# RepositoryVersion to be served
|
30
|
-
attr_accessor :repository_version
|
29
|
+
attr_accessor :pulp_href
|
31
30
|
|
32
31
|
# A unique name. Ex, `rawhide` and `stable`.
|
33
32
|
attr_accessor :name
|
34
33
|
|
35
|
-
|
34
|
+
# Timestamp of creation.
|
35
|
+
attr_accessor :pulp_created
|
36
36
|
|
37
37
|
# The Registry hostame:port/name/ to use with docker pull command defined by this distribution.
|
38
38
|
attr_accessor :registry_path
|
@@ -40,13 +40,13 @@ module PulpContainerClient
|
|
40
40
|
# Attribute mapping from ruby-style variable name to JSON key.
|
41
41
|
def self.attribute_map
|
42
42
|
{
|
43
|
-
:'pulp_created' => :'pulp_created',
|
44
|
-
:'repository' => :'repository',
|
45
|
-
:'content_guard' => :'content_guard',
|
46
43
|
:'base_path' => :'base_path',
|
47
44
|
:'repository_version' => :'repository_version',
|
48
|
-
:'
|
45
|
+
:'repository' => :'repository',
|
46
|
+
:'content_guard' => :'content_guard',
|
49
47
|
:'pulp_href' => :'pulp_href',
|
48
|
+
:'name' => :'name',
|
49
|
+
:'pulp_created' => :'pulp_created',
|
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_created' => :'DateTime',
|
58
|
-
:'repository' => :'String',
|
59
|
-
:'content_guard' => :'String',
|
60
57
|
:'base_path' => :'String',
|
61
58
|
:'repository_version' => :'String',
|
62
|
-
:'
|
59
|
+
:'repository' => :'String',
|
60
|
+
:'content_guard' => :'String',
|
63
61
|
:'pulp_href' => :'String',
|
62
|
+
:'name' => :'String',
|
63
|
+
:'pulp_created' => :'DateTime',
|
64
64
|
:'registry_path' => :'String'
|
65
65
|
}
|
66
66
|
end
|
@@ -68,9 +68,9 @@ module PulpContainerClient
|
|
68
68
|
# List of attributes with nullable: true
|
69
69
|
def self.openapi_nullable
|
70
70
|
Set.new([
|
71
|
+
:'repository_version',
|
71
72
|
:'repository',
|
72
73
|
:'content_guard',
|
73
|
-
:'repository_version',
|
74
74
|
])
|
75
75
|
end
|
76
76
|
|
@@ -89,8 +89,12 @@ module PulpContainerClient
|
|
89
89
|
h[k.to_sym] = v
|
90
90
|
}
|
91
91
|
|
92
|
-
if attributes.key?(:'
|
93
|
-
self.
|
92
|
+
if attributes.key?(:'base_path')
|
93
|
+
self.base_path = attributes[:'base_path']
|
94
|
+
end
|
95
|
+
|
96
|
+
if attributes.key?(:'repository_version')
|
97
|
+
self.repository_version = attributes[:'repository_version']
|
94
98
|
end
|
95
99
|
|
96
100
|
if attributes.key?(:'repository')
|
@@ -101,20 +105,16 @@ module PulpContainerClient
|
|
101
105
|
self.content_guard = attributes[:'content_guard']
|
102
106
|
end
|
103
107
|
|
104
|
-
if attributes.key?(:'
|
105
|
-
self.
|
106
|
-
end
|
107
|
-
|
108
|
-
if attributes.key?(:'repository_version')
|
109
|
-
self.repository_version = attributes[:'repository_version']
|
108
|
+
if attributes.key?(:'pulp_href')
|
109
|
+
self.pulp_href = attributes[:'pulp_href']
|
110
110
|
end
|
111
111
|
|
112
112
|
if attributes.key?(:'name')
|
113
113
|
self.name = attributes[:'name']
|
114
114
|
end
|
115
115
|
|
116
|
-
if attributes.key?(:'
|
117
|
-
self.
|
116
|
+
if attributes.key?(:'pulp_created')
|
117
|
+
self.pulp_created = attributes[:'pulp_created']
|
118
118
|
end
|
119
119
|
|
120
120
|
if attributes.key?(:'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
|
-
pulp_created == o.pulp_created &&
|
207
|
-
repository == o.repository &&
|
208
|
-
content_guard == o.content_guard &&
|
209
206
|
base_path == o.base_path &&
|
210
207
|
repository_version == o.repository_version &&
|
211
|
-
|
208
|
+
repository == o.repository &&
|
209
|
+
content_guard == o.content_guard &&
|
212
210
|
pulp_href == o.pulp_href &&
|
211
|
+
name == o.name &&
|
212
|
+
pulp_created == o.pulp_created &&
|
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
|
+
[base_path, repository_version, repository, content_guard, pulp_href, name, pulp_created, registry_path].hash
|
226
226
|
end
|
227
227
|
|
228
228
|
# Builds the object from hash
|
@@ -32,31 +32,31 @@ 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 "base_path"' 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 "repository_version"' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
-
describe 'test attribute "
|
47
|
+
describe 'test attribute "repository"' do
|
48
48
|
it 'should work' do
|
49
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
|
-
describe 'test attribute "
|
53
|
+
describe 'test attribute "content_guard"' do
|
54
54
|
it 'should work' do
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
-
describe 'test attribute "
|
59
|
+
describe 'test attribute "pulp_href"' 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
|
@@ -68,7 +68,7 @@ describe 'ContainerContainerDistribution' do
|
|
68
68
|
end
|
69
69
|
end
|
70
70
|
|
71
|
-
describe 'test attribute "
|
71
|
+
describe 'test attribute "pulp_created"' 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.1.0.
|
4
|
+
version: 1.1.0.dev01576172027
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-12-
|
11
|
+
date: 2019-12-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|