pulp_container_client 1.2.0.dev01580753336 → 1.2.0.dev01580926138
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 +6 -6
- data/lib/pulp_container_client/models/container_container_distribution.rb +29 -29
- 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: 0e27b2dc241b67058ff32963ee6b7b2df3e9302672454e43636aab8bf651eeb4
|
4
|
+
data.tar.gz: 899b437379fdac8b95f381b41e45b0ecaec753b783dc966edfa52d2f437ac470
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 46aa52822aa96d56ebbb10496d7696ecf7c67497a4fdbe74ceaa0adb6a62ff161bc61c3794dcbc0e3998dc88b3bc1f8b616be55a58a6c0c10637eef1d41450c3
|
7
|
+
data.tar.gz: fd58707dd01b8fa7cf80734ff96539884c61a219149c238e802d72c616fbe1f9a0f0d67a6a821a930287af70d2ce8873ff6410da9784416522d557d5d6dd1f08
|
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.2.0.
|
10
|
+
- Package version: 1.2.0.dev01580926138
|
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.2.0.
|
26
|
+
gem install ./pulp_container_client-1.2.0.dev01580926138.gem
|
27
27
|
```
|
28
28
|
|
29
|
-
(for development, run `gem install --dev ./pulp_container_client-1.2.0.
|
29
|
+
(for development, run `gem install --dev ./pulp_container_client-1.2.0.dev01580926138.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.2.0.
|
35
|
+
gem 'pulp_container_client', '~> 1.2.0.dev01580926138'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -5,12 +5,12 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
8
|
-
**
|
8
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
+
**content_guard** | **String** | An optional content-guard. | [optional]
|
9
10
|
**pulp_href** | **String** | | [optional] [readonly]
|
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\") |
|
10
12
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
11
13
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
12
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
13
|
-
**content_guard** | **String** | An optional content-guard. | [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
|
@@ -19,12 +19,12 @@ Name | Type | Description | Notes
|
|
19
19
|
require 'PulpContainerClient'
|
20
20
|
|
21
21
|
instance = PulpContainerClient::ContainerContainerDistribution.new(repository_version: null,
|
22
|
-
|
22
|
+
pulp_created: null,
|
23
|
+
content_guard: null,
|
23
24
|
pulp_href: null,
|
25
|
+
base_path: null,
|
24
26
|
repository: null,
|
25
27
|
name: null,
|
26
|
-
pulp_created: null,
|
27
|
-
content_guard: null,
|
28
28
|
registry_path: null)
|
29
29
|
```
|
30
30
|
|
@@ -17,23 +17,23 @@ module PulpContainerClient
|
|
17
17
|
# RepositoryVersion to be served
|
18
18
|
attr_accessor :repository_version
|
19
19
|
|
20
|
-
#
|
21
|
-
attr_accessor :
|
20
|
+
# Timestamp of creation.
|
21
|
+
attr_accessor :pulp_created
|
22
|
+
|
23
|
+
# An optional content-guard.
|
24
|
+
attr_accessor :content_guard
|
22
25
|
|
23
26
|
attr_accessor :pulp_href
|
24
27
|
|
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
|
+
attr_accessor :base_path
|
30
|
+
|
25
31
|
# The latest RepositoryVersion for this Repository will be served.
|
26
32
|
attr_accessor :repository
|
27
33
|
|
28
34
|
# A unique name. Ex, `rawhide` and `stable`.
|
29
35
|
attr_accessor :name
|
30
36
|
|
31
|
-
# Timestamp of creation.
|
32
|
-
attr_accessor :pulp_created
|
33
|
-
|
34
|
-
# An optional content-guard.
|
35
|
-
attr_accessor :content_guard
|
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
|
|
@@ -41,12 +41,12 @@ module PulpContainerClient
|
|
41
41
|
def self.attribute_map
|
42
42
|
{
|
43
43
|
:'repository_version' => :'repository_version',
|
44
|
-
:'
|
44
|
+
:'pulp_created' => :'pulp_created',
|
45
|
+
:'content_guard' => :'content_guard',
|
45
46
|
:'pulp_href' => :'pulp_href',
|
47
|
+
:'base_path' => :'base_path',
|
46
48
|
:'repository' => :'repository',
|
47
49
|
:'name' => :'name',
|
48
|
-
:'pulp_created' => :'pulp_created',
|
49
|
-
:'content_guard' => :'content_guard',
|
50
50
|
:'registry_path' => :'registry_path'
|
51
51
|
}
|
52
52
|
end
|
@@ -55,12 +55,12 @@ module PulpContainerClient
|
|
55
55
|
def self.openapi_types
|
56
56
|
{
|
57
57
|
:'repository_version' => :'String',
|
58
|
-
:'
|
58
|
+
:'pulp_created' => :'DateTime',
|
59
|
+
:'content_guard' => :'String',
|
59
60
|
:'pulp_href' => :'String',
|
61
|
+
:'base_path' => :'String',
|
60
62
|
:'repository' => :'String',
|
61
63
|
:'name' => :'String',
|
62
|
-
:'pulp_created' => :'DateTime',
|
63
|
-
:'content_guard' => :'String',
|
64
64
|
:'registry_path' => :'String'
|
65
65
|
}
|
66
66
|
end
|
@@ -69,8 +69,8 @@ module PulpContainerClient
|
|
69
69
|
def self.openapi_nullable
|
70
70
|
Set.new([
|
71
71
|
:'repository_version',
|
72
|
-
:'repository',
|
73
72
|
:'content_guard',
|
73
|
+
:'repository',
|
74
74
|
])
|
75
75
|
end
|
76
76
|
|
@@ -93,14 +93,22 @@ module PulpContainerClient
|
|
93
93
|
self.repository_version = attributes[:'repository_version']
|
94
94
|
end
|
95
95
|
|
96
|
-
if attributes.key?(:'
|
97
|
-
self.
|
96
|
+
if attributes.key?(:'pulp_created')
|
97
|
+
self.pulp_created = attributes[:'pulp_created']
|
98
|
+
end
|
99
|
+
|
100
|
+
if attributes.key?(:'content_guard')
|
101
|
+
self.content_guard = attributes[:'content_guard']
|
98
102
|
end
|
99
103
|
|
100
104
|
if attributes.key?(:'pulp_href')
|
101
105
|
self.pulp_href = attributes[:'pulp_href']
|
102
106
|
end
|
103
107
|
|
108
|
+
if attributes.key?(:'base_path')
|
109
|
+
self.base_path = attributes[:'base_path']
|
110
|
+
end
|
111
|
+
|
104
112
|
if attributes.key?(:'repository')
|
105
113
|
self.repository = attributes[:'repository']
|
106
114
|
end
|
@@ -109,14 +117,6 @@ module PulpContainerClient
|
|
109
117
|
self.name = attributes[:'name']
|
110
118
|
end
|
111
119
|
|
112
|
-
if attributes.key?(:'pulp_created')
|
113
|
-
self.pulp_created = attributes[:'pulp_created']
|
114
|
-
end
|
115
|
-
|
116
|
-
if attributes.key?(:'content_guard')
|
117
|
-
self.content_guard = attributes[:'content_guard']
|
118
|
-
end
|
119
|
-
|
120
120
|
if attributes.key?(:'registry_path')
|
121
121
|
self.registry_path = attributes[:'registry_path']
|
122
122
|
end
|
@@ -204,12 +204,12 @@ module PulpContainerClient
|
|
204
204
|
return true if self.equal?(o)
|
205
205
|
self.class == o.class &&
|
206
206
|
repository_version == o.repository_version &&
|
207
|
-
|
207
|
+
pulp_created == o.pulp_created &&
|
208
|
+
content_guard == o.content_guard &&
|
208
209
|
pulp_href == o.pulp_href &&
|
210
|
+
base_path == o.base_path &&
|
209
211
|
repository == o.repository &&
|
210
212
|
name == o.name &&
|
211
|
-
pulp_created == o.pulp_created &&
|
212
|
-
content_guard == o.content_guard &&
|
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
|
-
[repository_version,
|
225
|
+
[repository_version, pulp_created, content_guard, pulp_href, base_path, repository, name, registry_path].hash
|
226
226
|
end
|
227
227
|
|
228
228
|
# Builds the object from hash
|
@@ -38,37 +38,37 @@ describe 'ContainerContainerDistribution' do
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "
|
41
|
+
describe 'test attribute "pulp_created"' 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 "base_path"' 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 "repository"' 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
|
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.2.0.
|
4
|
+
version: 1.2.0.dev01580926138
|
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-02-
|
11
|
+
date: 2020-02-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|