pulp_container_client 1.1.0.dev01577036075 → 1.1.0.dev01577122358
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 +7 -7
- data/lib/pulp_container_client/models/container_container_distribution.rb +28 -28
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/models/container_container_distribution_spec.rb +5 -5
- 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: bf07b8a9dea1810953a089f633e846e5847b333a6d130f9efc7b9eff80f5908f
|
4
|
+
data.tar.gz: 666ccdff7fd81fa225cc13c040e1863a84bef0e9f1bb5f4bb01a70996da73742
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bddbc30b93d0df8aad007512831b72bf79515a37458a786d629faf3eff0c106ffa11b0a04eb43fdc69166452cb21238fdf10d99faf663af6e0c3e217404d91d5
|
7
|
+
data.tar.gz: 2f4152dc1054a6b7c90507dd716ef7693a6def7828ea799e214ba58019fd7967658adf48a66606fb1be533726cbddffcfd38bf7d71b390d1fa05e46a3d6dddd3
|
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.dev01577122358
|
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.dev01577122358.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.dev01577122358.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.dev01577122358'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -4,12 +4,12 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**content_guard** | **String** | An optional content-guard. | [optional]
|
8
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
7
9
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
8
|
-
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
9
10
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
10
|
-
**content_guard** | **String** | An optional content-guard. | [optional]
|
11
11
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
12
|
-
**
|
12
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
13
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:port/name/ to use with docker pull command defined by this distribution. | [optional] [readonly]
|
15
15
|
|
@@ -18,12 +18,12 @@ Name | Type | Description | Notes
|
|
18
18
|
```ruby
|
19
19
|
require 'PulpContainerClient'
|
20
20
|
|
21
|
-
instance = PulpContainerClient::ContainerContainerDistribution.new(
|
22
|
-
|
21
|
+
instance = PulpContainerClient::ContainerContainerDistribution.new(content_guard: null,
|
22
|
+
pulp_href: null,
|
23
|
+
repository_version: null,
|
23
24
|
pulp_created: null,
|
24
|
-
content_guard: null,
|
25
25
|
name: null,
|
26
|
-
|
26
|
+
repository: null,
|
27
27
|
base_path: null,
|
28
28
|
registry_path: null)
|
29
29
|
```
|
@@ -14,22 +14,22 @@ require 'date'
|
|
14
14
|
|
15
15
|
module PulpContainerClient
|
16
16
|
class ContainerContainerDistribution
|
17
|
+
# An optional content-guard.
|
18
|
+
attr_accessor :content_guard
|
19
|
+
|
20
|
+
attr_accessor :pulp_href
|
21
|
+
|
17
22
|
# RepositoryVersion to be served
|
18
23
|
attr_accessor :repository_version
|
19
24
|
|
20
|
-
# The latest RepositoryVersion for this Repository will be served.
|
21
|
-
attr_accessor :repository
|
22
|
-
|
23
25
|
# Timestamp of creation.
|
24
26
|
attr_accessor :pulp_created
|
25
27
|
|
26
|
-
# An optional content-guard.
|
27
|
-
attr_accessor :content_guard
|
28
|
-
|
29
28
|
# A unique name. Ex, `rawhide` and `stable`.
|
30
29
|
attr_accessor :name
|
31
30
|
|
32
|
-
|
31
|
+
# The latest RepositoryVersion for this Repository will be served.
|
32
|
+
attr_accessor :repository
|
33
33
|
|
34
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
35
|
attr_accessor :base_path
|
@@ -40,12 +40,12 @@ module PulpContainerClient
|
|
40
40
|
# Attribute mapping from ruby-style variable name to JSON key.
|
41
41
|
def self.attribute_map
|
42
42
|
{
|
43
|
+
:'content_guard' => :'content_guard',
|
44
|
+
:'pulp_href' => :'pulp_href',
|
43
45
|
:'repository_version' => :'repository_version',
|
44
|
-
:'repository' => :'repository',
|
45
46
|
:'pulp_created' => :'pulp_created',
|
46
|
-
:'content_guard' => :'content_guard',
|
47
47
|
:'name' => :'name',
|
48
|
-
:'
|
48
|
+
:'repository' => :'repository',
|
49
49
|
:'base_path' => :'base_path',
|
50
50
|
:'registry_path' => :'registry_path'
|
51
51
|
}
|
@@ -54,12 +54,12 @@ module PulpContainerClient
|
|
54
54
|
# Attribute type mapping.
|
55
55
|
def self.openapi_types
|
56
56
|
{
|
57
|
+
:'content_guard' => :'String',
|
58
|
+
:'pulp_href' => :'String',
|
57
59
|
:'repository_version' => :'String',
|
58
|
-
:'repository' => :'String',
|
59
60
|
:'pulp_created' => :'DateTime',
|
60
|
-
:'content_guard' => :'String',
|
61
61
|
:'name' => :'String',
|
62
|
-
:'
|
62
|
+
:'repository' => :'String',
|
63
63
|
:'base_path' => :'String',
|
64
64
|
:'registry_path' => :'String'
|
65
65
|
}
|
@@ -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
|
+
:'content_guard',
|
71
72
|
:'repository_version',
|
72
73
|
:'repository',
|
73
|
-
:'content_guard',
|
74
74
|
])
|
75
75
|
end
|
76
76
|
|
@@ -89,28 +89,28 @@ module PulpContainerClient
|
|
89
89
|
h[k.to_sym] = v
|
90
90
|
}
|
91
91
|
|
92
|
-
if attributes.key?(:'
|
93
|
-
self.
|
92
|
+
if attributes.key?(:'content_guard')
|
93
|
+
self.content_guard = attributes[:'content_guard']
|
94
94
|
end
|
95
95
|
|
96
|
-
if attributes.key?(:'
|
97
|
-
self.
|
96
|
+
if attributes.key?(:'pulp_href')
|
97
|
+
self.pulp_href = attributes[:'pulp_href']
|
98
98
|
end
|
99
99
|
|
100
|
-
if attributes.key?(:'
|
101
|
-
self.
|
100
|
+
if attributes.key?(:'repository_version')
|
101
|
+
self.repository_version = attributes[:'repository_version']
|
102
102
|
end
|
103
103
|
|
104
|
-
if attributes.key?(:'
|
105
|
-
self.
|
104
|
+
if attributes.key?(:'pulp_created')
|
105
|
+
self.pulp_created = attributes[:'pulp_created']
|
106
106
|
end
|
107
107
|
|
108
108
|
if attributes.key?(:'name')
|
109
109
|
self.name = attributes[:'name']
|
110
110
|
end
|
111
111
|
|
112
|
-
if attributes.key?(:'
|
113
|
-
self.
|
112
|
+
if attributes.key?(:'repository')
|
113
|
+
self.repository = attributes[:'repository']
|
114
114
|
end
|
115
115
|
|
116
116
|
if attributes.key?(:'base_path')
|
@@ -203,12 +203,12 @@ module PulpContainerClient
|
|
203
203
|
def ==(o)
|
204
204
|
return true if self.equal?(o)
|
205
205
|
self.class == o.class &&
|
206
|
+
content_guard == o.content_guard &&
|
207
|
+
pulp_href == o.pulp_href &&
|
206
208
|
repository_version == o.repository_version &&
|
207
|
-
repository == o.repository &&
|
208
209
|
pulp_created == o.pulp_created &&
|
209
|
-
content_guard == o.content_guard &&
|
210
210
|
name == o.name &&
|
211
|
-
|
211
|
+
repository == o.repository &&
|
212
212
|
base_path == o.base_path &&
|
213
213
|
registry_path == o.registry_path
|
214
214
|
end
|
@@ -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
|
+
[content_guard, pulp_href, repository_version, pulp_created, name, repository, base_path, registry_path].hash
|
226
226
|
end
|
227
227
|
|
228
228
|
# Builds the object from hash
|
@@ -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 "content_guard"' 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 "pulp_href"' 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_version"' 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_created"' 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,7 +62,7 @@ describe 'ContainerContainerDistribution' do
|
|
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
|
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.dev01577122358
|
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-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|