pulp_container_client 2.2.1 → 2.2.2
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.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/ContainerContainerDistribution.md +5 -5
- data/docs/ContainerContainerDistributionResponse.md +6 -6
- data/docs/PatchedcontainerContainerDistribution.md +5 -5
- data/lib/pulp_container_client/models/container_container_distribution.rb +22 -22
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +29 -29
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +22 -22
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/models/container_container_distribution_response_spec.rb +6 -6
- data/spec/models/container_container_distribution_spec.rb +3 -3
- data/spec/models/patchedcontainer_container_distribution_spec.rb +3 -3
- metadata +41 -41
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a42f4578bc64768b4b2fc7490ffd9506b862d4fd0426ebffc90e3dd5b60ce931
|
|
4
|
+
data.tar.gz: 2bee7d35035882201464b379423453fafec443869f0ab7b6bef62eef238feebf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b2af683ede033b610248161e8e54e2fbc4262f0eede29c1706f381e17f004a883aed4e4eb372e86ec8cdee98d49d8bbf74ea277b8b131cf14f85f5a367bcc537
|
|
7
|
+
data.tar.gz: 377a1f822bf8fb9cabb5a62aeb69a5b22133a99be7fdd0e537748ca58742c78ad8d924794d9ec06bcf71746095739e183af93aa66f84aed04c46303d949056d7
|
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
|
|
|
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: 2.2.
|
|
10
|
+
- Package version: 2.2.2
|
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
12
12
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
|
13
13
|
|
|
@@ -24,16 +24,16 @@ gem build pulp_container_client.gemspec
|
|
|
24
24
|
Then either install the gem locally:
|
|
25
25
|
|
|
26
26
|
```shell
|
|
27
|
-
gem install ./pulp_container_client-2.2.
|
|
27
|
+
gem install ./pulp_container_client-2.2.2.gem
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
(for development, run `gem install --dev ./pulp_container_client-2.2.
|
|
30
|
+
(for development, run `gem install --dev ./pulp_container_client-2.2.2.gem` to install the development dependencies)
|
|
31
31
|
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
33
33
|
|
|
34
34
|
Finally add this to the Gemfile:
|
|
35
35
|
|
|
36
|
-
gem 'pulp_container_client', '~> 2.2.
|
|
36
|
+
gem 'pulp_container_client', '~> 2.2.2'
|
|
37
37
|
|
|
38
38
|
### Install from Git
|
|
39
39
|
|
|
@@ -4,22 +4,22 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**
|
|
7
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
8
8
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
9
9
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
10
|
-
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
11
10
|
**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
|
+
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
|
12
12
|
|
|
13
13
|
## Code Sample
|
|
14
14
|
|
|
15
15
|
```ruby
|
|
16
16
|
require 'PulpContainerClient'
|
|
17
17
|
|
|
18
|
-
instance = PulpContainerClient::ContainerContainerDistribution.new(
|
|
18
|
+
instance = PulpContainerClient::ContainerContainerDistribution.new(content_guard: null,
|
|
19
19
|
name: null,
|
|
20
20
|
repository: null,
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
base_path: null,
|
|
22
|
+
repository_version: null)
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
|
8
|
-
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
9
|
-
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
10
7
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
8
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
11
9
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
10
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
12
11
|
**pulp_href** | **String** | | [optional] [readonly]
|
|
13
12
|
**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\") |
|
|
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
|
**namespace** | **String** | Namespace this distribution belongs to. | [optional] [readonly]
|
|
16
16
|
|
|
@@ -19,13 +19,13 @@ Name | Type | Description | Notes
|
|
|
19
19
|
```ruby
|
|
20
20
|
require 'PulpContainerClient'
|
|
21
21
|
|
|
22
|
-
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(
|
|
22
|
+
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(content_guard: null,
|
|
23
23
|
name: null,
|
|
24
|
-
repository: null,
|
|
25
|
-
content_guard: null,
|
|
26
24
|
pulp_created: null,
|
|
25
|
+
repository: null,
|
|
27
26
|
pulp_href: null,
|
|
28
27
|
base_path: null,
|
|
28
|
+
repository_version: null,
|
|
29
29
|
registry_path: null,
|
|
30
30
|
namespace: null)
|
|
31
31
|
```
|
|
@@ -4,22 +4,22 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**
|
|
7
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
8
8
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
|
9
9
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
10
|
-
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
11
10
|
**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\") | [optional]
|
|
11
|
+
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
|
12
12
|
|
|
13
13
|
## Code Sample
|
|
14
14
|
|
|
15
15
|
```ruby
|
|
16
16
|
require 'PulpContainerClient'
|
|
17
17
|
|
|
18
|
-
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(
|
|
18
|
+
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(content_guard: null,
|
|
19
19
|
name: null,
|
|
20
20
|
repository: null,
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
base_path: null,
|
|
22
|
+
repository_version: null)
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
|
|
@@ -15,8 +15,8 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# A serializer for ContainerDistribution.
|
|
17
17
|
class ContainerContainerDistribution
|
|
18
|
-
#
|
|
19
|
-
attr_accessor :
|
|
18
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
19
|
+
attr_accessor :content_guard
|
|
20
20
|
|
|
21
21
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
22
22
|
attr_accessor :name
|
|
@@ -24,39 +24,39 @@ module PulpContainerClient
|
|
|
24
24
|
# The latest RepositoryVersion for this Repository will be served.
|
|
25
25
|
attr_accessor :repository
|
|
26
26
|
|
|
27
|
-
# An optional content-guard. If none is specified, a default one will be used.
|
|
28
|
-
attr_accessor :content_guard
|
|
29
|
-
|
|
30
27
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
31
28
|
attr_accessor :base_path
|
|
32
29
|
|
|
30
|
+
# RepositoryVersion to be served
|
|
31
|
+
attr_accessor :repository_version
|
|
32
|
+
|
|
33
33
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
34
34
|
def self.attribute_map
|
|
35
35
|
{
|
|
36
|
-
:'
|
|
36
|
+
:'content_guard' => :'content_guard',
|
|
37
37
|
:'name' => :'name',
|
|
38
38
|
:'repository' => :'repository',
|
|
39
|
-
:'
|
|
40
|
-
:'
|
|
39
|
+
:'base_path' => :'base_path',
|
|
40
|
+
:'repository_version' => :'repository_version'
|
|
41
41
|
}
|
|
42
42
|
end
|
|
43
43
|
|
|
44
44
|
# Attribute type mapping.
|
|
45
45
|
def self.openapi_types
|
|
46
46
|
{
|
|
47
|
-
:'
|
|
47
|
+
:'content_guard' => :'String',
|
|
48
48
|
:'name' => :'String',
|
|
49
49
|
:'repository' => :'String',
|
|
50
|
-
:'
|
|
51
|
-
:'
|
|
50
|
+
:'base_path' => :'String',
|
|
51
|
+
:'repository_version' => :'String'
|
|
52
52
|
}
|
|
53
53
|
end
|
|
54
54
|
|
|
55
55
|
# List of attributes with nullable: true
|
|
56
56
|
def self.openapi_nullable
|
|
57
57
|
Set.new([
|
|
58
|
-
:'repository_version',
|
|
59
58
|
:'repository',
|
|
59
|
+
:'repository_version'
|
|
60
60
|
])
|
|
61
61
|
end
|
|
62
62
|
|
|
@@ -75,8 +75,8 @@ module PulpContainerClient
|
|
|
75
75
|
h[k.to_sym] = v
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
-
if attributes.key?(:'
|
|
79
|
-
self.
|
|
78
|
+
if attributes.key?(:'content_guard')
|
|
79
|
+
self.content_guard = attributes[:'content_guard']
|
|
80
80
|
end
|
|
81
81
|
|
|
82
82
|
if attributes.key?(:'name')
|
|
@@ -87,13 +87,13 @@ module PulpContainerClient
|
|
|
87
87
|
self.repository = attributes[:'repository']
|
|
88
88
|
end
|
|
89
89
|
|
|
90
|
-
if attributes.key?(:'content_guard')
|
|
91
|
-
self.content_guard = attributes[:'content_guard']
|
|
92
|
-
end
|
|
93
|
-
|
|
94
90
|
if attributes.key?(:'base_path')
|
|
95
91
|
self.base_path = attributes[:'base_path']
|
|
96
92
|
end
|
|
93
|
+
|
|
94
|
+
if attributes.key?(:'repository_version')
|
|
95
|
+
self.repository_version = attributes[:'repository_version']
|
|
96
|
+
end
|
|
97
97
|
end
|
|
98
98
|
|
|
99
99
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -124,11 +124,11 @@ module PulpContainerClient
|
|
|
124
124
|
def ==(o)
|
|
125
125
|
return true if self.equal?(o)
|
|
126
126
|
self.class == o.class &&
|
|
127
|
-
|
|
127
|
+
content_guard == o.content_guard &&
|
|
128
128
|
name == o.name &&
|
|
129
129
|
repository == o.repository &&
|
|
130
|
-
|
|
131
|
-
|
|
130
|
+
base_path == o.base_path &&
|
|
131
|
+
repository_version == o.repository_version
|
|
132
132
|
end
|
|
133
133
|
|
|
134
134
|
# @see the `==` method
|
|
@@ -140,7 +140,7 @@ module PulpContainerClient
|
|
|
140
140
|
# Calculates hash code according to all attributes.
|
|
141
141
|
# @return [Integer] Hash code
|
|
142
142
|
def hash
|
|
143
|
-
[
|
|
143
|
+
[content_guard, name, repository, base_path, repository_version].hash
|
|
144
144
|
end
|
|
145
145
|
|
|
146
146
|
# Builds the object from hash
|
|
@@ -15,26 +15,26 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# A serializer for ContainerDistribution.
|
|
17
17
|
class ContainerContainerDistributionResponse
|
|
18
|
-
#
|
|
19
|
-
attr_accessor :
|
|
18
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
19
|
+
attr_accessor :content_guard
|
|
20
20
|
|
|
21
21
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
22
22
|
attr_accessor :name
|
|
23
23
|
|
|
24
|
-
# The latest RepositoryVersion for this Repository will be served.
|
|
25
|
-
attr_accessor :repository
|
|
26
|
-
|
|
27
|
-
# An optional content-guard. If none is specified, a default one will be used.
|
|
28
|
-
attr_accessor :content_guard
|
|
29
|
-
|
|
30
24
|
# Timestamp of creation.
|
|
31
25
|
attr_accessor :pulp_created
|
|
32
26
|
|
|
27
|
+
# The latest RepositoryVersion for this Repository will be served.
|
|
28
|
+
attr_accessor :repository
|
|
29
|
+
|
|
33
30
|
attr_accessor :pulp_href
|
|
34
31
|
|
|
35
32
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
36
33
|
attr_accessor :base_path
|
|
37
34
|
|
|
35
|
+
# RepositoryVersion to be served
|
|
36
|
+
attr_accessor :repository_version
|
|
37
|
+
|
|
38
38
|
# The Registry hostame/name/ to use with docker pull command defined by this distribution.
|
|
39
39
|
attr_accessor :registry_path
|
|
40
40
|
|
|
@@ -44,13 +44,13 @@ module PulpContainerClient
|
|
|
44
44
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
45
45
|
def self.attribute_map
|
|
46
46
|
{
|
|
47
|
-
:'repository_version' => :'repository_version',
|
|
48
|
-
:'name' => :'name',
|
|
49
|
-
:'repository' => :'repository',
|
|
50
47
|
:'content_guard' => :'content_guard',
|
|
48
|
+
:'name' => :'name',
|
|
51
49
|
:'pulp_created' => :'pulp_created',
|
|
50
|
+
:'repository' => :'repository',
|
|
52
51
|
:'pulp_href' => :'pulp_href',
|
|
53
52
|
:'base_path' => :'base_path',
|
|
53
|
+
:'repository_version' => :'repository_version',
|
|
54
54
|
:'registry_path' => :'registry_path',
|
|
55
55
|
:'namespace' => :'namespace'
|
|
56
56
|
}
|
|
@@ -59,13 +59,13 @@ module PulpContainerClient
|
|
|
59
59
|
# Attribute type mapping.
|
|
60
60
|
def self.openapi_types
|
|
61
61
|
{
|
|
62
|
-
:'repository_version' => :'String',
|
|
63
|
-
:'name' => :'String',
|
|
64
|
-
:'repository' => :'String',
|
|
65
62
|
:'content_guard' => :'String',
|
|
63
|
+
:'name' => :'String',
|
|
66
64
|
:'pulp_created' => :'DateTime',
|
|
65
|
+
:'repository' => :'String',
|
|
67
66
|
:'pulp_href' => :'String',
|
|
68
67
|
:'base_path' => :'String',
|
|
68
|
+
:'repository_version' => :'String',
|
|
69
69
|
:'registry_path' => :'String',
|
|
70
70
|
:'namespace' => :'String'
|
|
71
71
|
}
|
|
@@ -74,8 +74,8 @@ module PulpContainerClient
|
|
|
74
74
|
# List of attributes with nullable: true
|
|
75
75
|
def self.openapi_nullable
|
|
76
76
|
Set.new([
|
|
77
|
-
:'repository_version',
|
|
78
77
|
:'repository',
|
|
78
|
+
:'repository_version',
|
|
79
79
|
])
|
|
80
80
|
end
|
|
81
81
|
|
|
@@ -94,26 +94,22 @@ module PulpContainerClient
|
|
|
94
94
|
h[k.to_sym] = v
|
|
95
95
|
}
|
|
96
96
|
|
|
97
|
-
if attributes.key?(:'
|
|
98
|
-
self.
|
|
97
|
+
if attributes.key?(:'content_guard')
|
|
98
|
+
self.content_guard = attributes[:'content_guard']
|
|
99
99
|
end
|
|
100
100
|
|
|
101
101
|
if attributes.key?(:'name')
|
|
102
102
|
self.name = attributes[:'name']
|
|
103
103
|
end
|
|
104
104
|
|
|
105
|
-
if attributes.key?(:'repository')
|
|
106
|
-
self.repository = attributes[:'repository']
|
|
107
|
-
end
|
|
108
|
-
|
|
109
|
-
if attributes.key?(:'content_guard')
|
|
110
|
-
self.content_guard = attributes[:'content_guard']
|
|
111
|
-
end
|
|
112
|
-
|
|
113
105
|
if attributes.key?(:'pulp_created')
|
|
114
106
|
self.pulp_created = attributes[:'pulp_created']
|
|
115
107
|
end
|
|
116
108
|
|
|
109
|
+
if attributes.key?(:'repository')
|
|
110
|
+
self.repository = attributes[:'repository']
|
|
111
|
+
end
|
|
112
|
+
|
|
117
113
|
if attributes.key?(:'pulp_href')
|
|
118
114
|
self.pulp_href = attributes[:'pulp_href']
|
|
119
115
|
end
|
|
@@ -122,6 +118,10 @@ module PulpContainerClient
|
|
|
122
118
|
self.base_path = attributes[:'base_path']
|
|
123
119
|
end
|
|
124
120
|
|
|
121
|
+
if attributes.key?(:'repository_version')
|
|
122
|
+
self.repository_version = attributes[:'repository_version']
|
|
123
|
+
end
|
|
124
|
+
|
|
125
125
|
if attributes.key?(:'registry_path')
|
|
126
126
|
self.registry_path = attributes[:'registry_path']
|
|
127
127
|
end
|
|
@@ -159,13 +159,13 @@ module PulpContainerClient
|
|
|
159
159
|
def ==(o)
|
|
160
160
|
return true if self.equal?(o)
|
|
161
161
|
self.class == o.class &&
|
|
162
|
-
repository_version == o.repository_version &&
|
|
163
|
-
name == o.name &&
|
|
164
|
-
repository == o.repository &&
|
|
165
162
|
content_guard == o.content_guard &&
|
|
163
|
+
name == o.name &&
|
|
166
164
|
pulp_created == o.pulp_created &&
|
|
165
|
+
repository == o.repository &&
|
|
167
166
|
pulp_href == o.pulp_href &&
|
|
168
167
|
base_path == o.base_path &&
|
|
168
|
+
repository_version == o.repository_version &&
|
|
169
169
|
registry_path == o.registry_path &&
|
|
170
170
|
namespace == o.namespace
|
|
171
171
|
end
|
|
@@ -179,7 +179,7 @@ module PulpContainerClient
|
|
|
179
179
|
# Calculates hash code according to all attributes.
|
|
180
180
|
# @return [Integer] Hash code
|
|
181
181
|
def hash
|
|
182
|
-
[
|
|
182
|
+
[content_guard, name, pulp_created, repository, pulp_href, base_path, repository_version, registry_path, namespace].hash
|
|
183
183
|
end
|
|
184
184
|
|
|
185
185
|
# Builds the object from hash
|
|
@@ -15,8 +15,8 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# A serializer for ContainerDistribution.
|
|
17
17
|
class PatchedcontainerContainerDistribution
|
|
18
|
-
#
|
|
19
|
-
attr_accessor :
|
|
18
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
19
|
+
attr_accessor :content_guard
|
|
20
20
|
|
|
21
21
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
22
22
|
attr_accessor :name
|
|
@@ -24,39 +24,39 @@ module PulpContainerClient
|
|
|
24
24
|
# The latest RepositoryVersion for this Repository will be served.
|
|
25
25
|
attr_accessor :repository
|
|
26
26
|
|
|
27
|
-
# An optional content-guard. If none is specified, a default one will be used.
|
|
28
|
-
attr_accessor :content_guard
|
|
29
|
-
|
|
30
27
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
31
28
|
attr_accessor :base_path
|
|
32
29
|
|
|
30
|
+
# RepositoryVersion to be served
|
|
31
|
+
attr_accessor :repository_version
|
|
32
|
+
|
|
33
33
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
34
34
|
def self.attribute_map
|
|
35
35
|
{
|
|
36
|
-
:'
|
|
36
|
+
:'content_guard' => :'content_guard',
|
|
37
37
|
:'name' => :'name',
|
|
38
38
|
:'repository' => :'repository',
|
|
39
|
-
:'
|
|
40
|
-
:'
|
|
39
|
+
:'base_path' => :'base_path',
|
|
40
|
+
:'repository_version' => :'repository_version'
|
|
41
41
|
}
|
|
42
42
|
end
|
|
43
43
|
|
|
44
44
|
# Attribute type mapping.
|
|
45
45
|
def self.openapi_types
|
|
46
46
|
{
|
|
47
|
-
:'
|
|
47
|
+
:'content_guard' => :'String',
|
|
48
48
|
:'name' => :'String',
|
|
49
49
|
:'repository' => :'String',
|
|
50
|
-
:'
|
|
51
|
-
:'
|
|
50
|
+
:'base_path' => :'String',
|
|
51
|
+
:'repository_version' => :'String'
|
|
52
52
|
}
|
|
53
53
|
end
|
|
54
54
|
|
|
55
55
|
# List of attributes with nullable: true
|
|
56
56
|
def self.openapi_nullable
|
|
57
57
|
Set.new([
|
|
58
|
-
:'repository_version',
|
|
59
58
|
:'repository',
|
|
59
|
+
:'repository_version'
|
|
60
60
|
])
|
|
61
61
|
end
|
|
62
62
|
|
|
@@ -75,8 +75,8 @@ module PulpContainerClient
|
|
|
75
75
|
h[k.to_sym] = v
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
-
if attributes.key?(:'
|
|
79
|
-
self.
|
|
78
|
+
if attributes.key?(:'content_guard')
|
|
79
|
+
self.content_guard = attributes[:'content_guard']
|
|
80
80
|
end
|
|
81
81
|
|
|
82
82
|
if attributes.key?(:'name')
|
|
@@ -87,13 +87,13 @@ module PulpContainerClient
|
|
|
87
87
|
self.repository = attributes[:'repository']
|
|
88
88
|
end
|
|
89
89
|
|
|
90
|
-
if attributes.key?(:'content_guard')
|
|
91
|
-
self.content_guard = attributes[:'content_guard']
|
|
92
|
-
end
|
|
93
|
-
|
|
94
90
|
if attributes.key?(:'base_path')
|
|
95
91
|
self.base_path = attributes[:'base_path']
|
|
96
92
|
end
|
|
93
|
+
|
|
94
|
+
if attributes.key?(:'repository_version')
|
|
95
|
+
self.repository_version = attributes[:'repository_version']
|
|
96
|
+
end
|
|
97
97
|
end
|
|
98
98
|
|
|
99
99
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -114,11 +114,11 @@ module PulpContainerClient
|
|
|
114
114
|
def ==(o)
|
|
115
115
|
return true if self.equal?(o)
|
|
116
116
|
self.class == o.class &&
|
|
117
|
-
|
|
117
|
+
content_guard == o.content_guard &&
|
|
118
118
|
name == o.name &&
|
|
119
119
|
repository == o.repository &&
|
|
120
|
-
|
|
121
|
-
|
|
120
|
+
base_path == o.base_path &&
|
|
121
|
+
repository_version == o.repository_version
|
|
122
122
|
end
|
|
123
123
|
|
|
124
124
|
# @see the `==` method
|
|
@@ -130,7 +130,7 @@ module PulpContainerClient
|
|
|
130
130
|
# Calculates hash code according to all attributes.
|
|
131
131
|
# @return [Integer] Hash code
|
|
132
132
|
def hash
|
|
133
|
-
[
|
|
133
|
+
[content_guard, name, repository, base_path, repository_version].hash
|
|
134
134
|
end
|
|
135
135
|
|
|
136
136
|
# Builds the object from hash
|
|
@@ -32,7 +32,7 @@ describe 'ContainerContainerDistributionResponse' do
|
|
|
32
32
|
expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerDistributionResponse)
|
|
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
|
|
@@ -44,31 +44,31 @@ describe 'ContainerContainerDistributionResponse' do
|
|
|
44
44
|
end
|
|
45
45
|
end
|
|
46
46
|
|
|
47
|
-
describe 'test attribute "
|
|
47
|
+
describe 'test attribute "pulp_created"' 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 "repository"' 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
|
|
63
63
|
end
|
|
64
64
|
|
|
65
|
-
describe 'test attribute "
|
|
65
|
+
describe 'test attribute "base_path"' 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,7 +32,7 @@ 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
|
|
@@ -50,13 +50,13 @@ describe 'ContainerContainerDistribution' do
|
|
|
50
50
|
end
|
|
51
51
|
end
|
|
52
52
|
|
|
53
|
-
describe 'test attribute "
|
|
53
|
+
describe 'test attribute "base_path"' 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_version"' 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
|
|
@@ -32,7 +32,7 @@ describe 'PatchedcontainerContainerDistribution' do
|
|
|
32
32
|
expect(@instance).to be_instance_of(PulpContainerClient::PatchedcontainerContainerDistribution)
|
|
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
|
|
@@ -50,13 +50,13 @@ describe 'PatchedcontainerContainerDistribution' do
|
|
|
50
50
|
end
|
|
51
51
|
end
|
|
52
52
|
|
|
53
|
-
describe 'test attribute "
|
|
53
|
+
describe 'test attribute "base_path"' 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_version"' 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
|
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: 2.2.
|
|
4
|
+
version: 2.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-05-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -262,64 +262,64 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
262
262
|
- !ruby/object:Gem::Version
|
|
263
263
|
version: '0'
|
|
264
264
|
requirements: []
|
|
265
|
-
rubygems_version: 3.0.3
|
|
265
|
+
rubygems_version: 3.0.3.1
|
|
266
266
|
signing_key:
|
|
267
267
|
specification_version: 4
|
|
268
268
|
summary: Pulp 3 API Ruby Gem
|
|
269
269
|
test_files:
|
|
270
|
-
- spec/api/
|
|
271
|
-
- spec/api/repositories_container_push_api_spec.rb
|
|
270
|
+
- spec/api/remotes_container_api_spec.rb
|
|
272
271
|
- spec/api/token_api_spec.rb
|
|
273
|
-
- spec/api/repositories_container_api_spec.rb
|
|
274
|
-
- spec/api/content_blobs_api_spec.rb
|
|
275
272
|
- spec/api/distributions_container_api_spec.rb
|
|
276
273
|
- spec/api/pulp_container_namespaces_api_spec.rb
|
|
277
274
|
- spec/api/contentguards_content_redirect_api_spec.rb
|
|
278
|
-
- spec/api/
|
|
279
|
-
- spec/api/
|
|
275
|
+
- spec/api/content_blobs_api_spec.rb
|
|
276
|
+
- spec/api/repositories_container_api_spec.rb
|
|
277
|
+
- spec/api/repositories_container_push_api_spec.rb
|
|
280
278
|
- spec/api/content_manifests_api_spec.rb
|
|
279
|
+
- spec/api/repositories_container_versions_api_spec.rb
|
|
280
|
+
- spec/api/content_tags_api_spec.rb
|
|
281
281
|
- spec/api_client_spec.rb
|
|
282
282
|
- spec/configuration_spec.rb
|
|
283
|
-
- spec/models/
|
|
284
|
-
- spec/models/container_container_namespace_response_spec.rb
|
|
285
|
-
- spec/models/content_summary_spec.rb
|
|
286
|
-
- spec/models/manifest_copy_spec.rb
|
|
287
|
-
- spec/models/async_operation_response_spec.rb
|
|
283
|
+
- spec/models/tag_copy_spec.rb
|
|
288
284
|
- spec/models/paginatedcontainer_container_push_repository_response_list_spec.rb
|
|
289
|
-
- spec/models/
|
|
290
|
-
- spec/models/
|
|
285
|
+
- spec/models/repository_version_response_spec.rb
|
|
286
|
+
- spec/models/patchedcontainer_container_distribution_spec.rb
|
|
287
|
+
- spec/models/paginatedcontainer_tag_response_list_spec.rb
|
|
291
288
|
- spec/models/paginatedcontainer_blob_response_list_spec.rb
|
|
292
|
-
- spec/models/
|
|
293
|
-
- spec/models/container_container_push_repository_spec.rb
|
|
294
|
-
- spec/models/container_container_remote_response_spec.rb
|
|
289
|
+
- spec/models/container_manifest_response_spec.rb
|
|
295
290
|
- spec/models/policy_enum_spec.rb
|
|
296
|
-
- spec/models/
|
|
291
|
+
- spec/models/container_container_distribution_spec.rb
|
|
292
|
+
- spec/models/container_container_remote_spec.rb
|
|
293
|
+
- spec/models/container_container_remote_response_spec.rb
|
|
294
|
+
- spec/models/patchedcontainer_container_remote_spec.rb
|
|
295
|
+
- spec/models/recursive_manage_spec.rb
|
|
296
|
+
- spec/models/paginatedcontainer_container_remote_response_list_spec.rb
|
|
297
|
+
- spec/models/container_container_push_repository_spec.rb
|
|
298
|
+
- spec/models/manifest_copy_spec.rb
|
|
299
|
+
- spec/models/paginatedcontainer_content_redirect_content_guard_response_list_spec.rb
|
|
300
|
+
- spec/models/oci_build_image_spec.rb
|
|
301
|
+
- spec/models/paginated_repository_version_response_list_spec.rb
|
|
297
302
|
- spec/models/paginatedcontainer_container_namespace_response_list_spec.rb
|
|
298
|
-
- spec/models/
|
|
299
|
-
- spec/models/
|
|
300
|
-
- spec/models/container_container_namespace_spec.rb
|
|
303
|
+
- spec/models/container_content_redirect_content_guard_spec.rb
|
|
304
|
+
- spec/models/paginatedcontainer_container_distribution_response_list_spec.rb
|
|
301
305
|
- spec/models/content_summary_response_spec.rb
|
|
302
306
|
- spec/models/paginatedcontainer_manifest_response_list_spec.rb
|
|
303
|
-
- spec/models/un_tag_image_spec.rb
|
|
304
|
-
- spec/models/paginatedcontainer_container_remote_response_list_spec.rb
|
|
305
307
|
- spec/models/repository_version_spec.rb
|
|
306
|
-
- spec/models/
|
|
307
|
-
- spec/models/
|
|
308
|
-
- spec/models/
|
|
309
|
-
- spec/models/container_container_push_repository_response_spec.rb
|
|
310
|
-
- spec/models/patchedcontainer_container_repository_spec.rb
|
|
311
|
-
- spec/models/paginatedcontainer_container_distribution_response_list_spec.rb
|
|
312
|
-
- spec/models/paginated_repository_version_response_list_spec.rb
|
|
313
|
-
- spec/models/container_manifest_response_spec.rb
|
|
314
|
-
- spec/models/repository_version_response_spec.rb
|
|
308
|
+
- spec/models/container_blob_response_spec.rb
|
|
309
|
+
- spec/models/patchedcontainer_content_redirect_content_guard_spec.rb
|
|
310
|
+
- spec/models/container_container_distribution_response_spec.rb
|
|
315
311
|
- spec/models/container_container_repository_spec.rb
|
|
316
|
-
- spec/models/recursive_manage_spec.rb
|
|
317
|
-
- spec/models/paginatedcontainer_content_redirect_content_guard_response_list_spec.rb
|
|
318
312
|
- spec/models/repository_sync_url_spec.rb
|
|
319
|
-
- spec/models/
|
|
320
|
-
- spec/models/
|
|
321
|
-
- spec/models/container_content_redirect_content_guard_spec.rb
|
|
313
|
+
- spec/models/patchedcontainer_container_repository_spec.rb
|
|
314
|
+
- spec/models/content_summary_spec.rb
|
|
322
315
|
- spec/models/container_container_repository_response_spec.rb
|
|
323
|
-
- spec/models/
|
|
324
|
-
- spec/models/
|
|
316
|
+
- spec/models/container_tag_response_spec.rb
|
|
317
|
+
- spec/models/container_container_namespace_response_spec.rb
|
|
318
|
+
- spec/models/un_tag_image_spec.rb
|
|
319
|
+
- spec/models/paginatedcontainer_container_repository_response_list_spec.rb
|
|
320
|
+
- spec/models/tag_image_spec.rb
|
|
321
|
+
- spec/models/container_content_redirect_content_guard_response_spec.rb
|
|
322
|
+
- spec/models/async_operation_response_spec.rb
|
|
323
|
+
- spec/models/container_container_namespace_spec.rb
|
|
324
|
+
- spec/models/container_container_push_repository_response_spec.rb
|
|
325
325
|
- spec/spec_helper.rb
|