pulp_container_client 2.5.2 → 2.5.3
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 +7 -7
- data/docs/ContainerContainerDistributionResponse.md +9 -9
- data/docs/PatchedcontainerContainerDistribution.md +7 -7
- data/lib/pulp_container_client/models/container_container_distribution.rb +27 -27
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +30 -30
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +27 -27
- 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 +5 -5
- data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
- metadata +42 -42
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: af094ef6eb0f743883c848d70f483c1a83a933afcf4b0386e4a2b22f69a553d1
|
|
4
|
+
data.tar.gz: 5e026f9488d6151a9b4457c1e3d909d32314d71cbce5a273466474b34876a804
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 90e008930aae4b1ac3a446e54fd7f1a93543847300816cb04be8ce3bdc16102b99b38ae4e0da20e0e970a30deb65312e0f02054b116c8c29427dc6feb19f79b6
|
|
7
|
+
data.tar.gz: 0a2af8fa28a0c390c765cea9085cbc1cacae06a365b1c1a2e557c707a5813d85e870f985f7a8fffb38a4d5d25deff13736a0e04fd95268e099b638e375b24324
|
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.5.
|
|
10
|
+
- Package version: 2.5.3
|
|
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.5.
|
|
27
|
+
gem install ./pulp_container_client-2.5.3.gem
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
(for development, run `gem install --dev ./pulp_container_client-2.5.
|
|
30
|
+
(for development, run `gem install --dev ./pulp_container_client-2.5.3.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.5.
|
|
36
|
+
gem 'pulp_container_client', '~> 2.5.3'
|
|
37
37
|
|
|
38
38
|
### Install from Git
|
|
39
39
|
|
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
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\") |
|
|
8
|
-
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
9
7
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
10
|
-
**
|
|
8
|
+
**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
9
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
|
10
|
+
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
|
12
11
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
12
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
13
13
|
**private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional]
|
|
14
14
|
**description** | **String** | An optional description. | [optional]
|
|
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
|
-
|
|
23
|
-
content_guard: null,
|
|
24
|
-
repository_version: null,
|
|
21
|
+
instance = PulpContainerClient::ContainerContainerDistribution.new(content_guard: null,
|
|
22
|
+
base_path: null,
|
|
25
23
|
pulp_labels: null,
|
|
24
|
+
repository_version: null,
|
|
26
25
|
repository: null,
|
|
26
|
+
name: null,
|
|
27
27
|
private: null,
|
|
28
28
|
description: null)
|
|
29
29
|
```
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
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\") |
|
|
8
|
-
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
9
7
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
10
|
-
**
|
|
8
|
+
**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\") |
|
|
9
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
|
11
10
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
|
11
|
+
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
|
12
12
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
13
|
-
**
|
|
13
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
14
14
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
15
15
|
**registry_path** | **String** | The Registry hostame/name/ to use with docker pull command defined by this distribution. | [optional] [readonly]
|
|
16
16
|
**namespace** | **String** | Namespace this distribution belongs to. | [optional] [readonly]
|
|
@@ -22,13 +22,13 @@ Name | Type | Description | Notes
|
|
|
22
22
|
```ruby
|
|
23
23
|
require 'PulpContainerClient'
|
|
24
24
|
|
|
25
|
-
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
repository_version: null,
|
|
25
|
+
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(content_guard: null,
|
|
26
|
+
base_path: null,
|
|
27
|
+
pulp_href: null,
|
|
29
28
|
pulp_labels: null,
|
|
29
|
+
repository_version: null,
|
|
30
30
|
repository: null,
|
|
31
|
-
|
|
31
|
+
name: null,
|
|
32
32
|
pulp_created: null,
|
|
33
33
|
registry_path: null,
|
|
34
34
|
namespace: null,
|
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
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\") | [optional]
|
|
8
|
-
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
|
9
7
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
10
|
-
**
|
|
8
|
+
**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
9
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
|
10
|
+
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
|
12
11
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
12
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
|
13
13
|
**private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional]
|
|
14
14
|
**description** | **String** | An optional description. | [optional]
|
|
15
15
|
|
|
@@ -18,12 +18,12 @@ Name | Type | Description | Notes
|
|
|
18
18
|
```ruby
|
|
19
19
|
require 'PulpContainerClient'
|
|
20
20
|
|
|
21
|
-
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(
|
|
22
|
-
|
|
23
|
-
content_guard: null,
|
|
24
|
-
repository_version: null,
|
|
21
|
+
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(content_guard: null,
|
|
22
|
+
base_path: null,
|
|
25
23
|
pulp_labels: null,
|
|
24
|
+
repository_version: null,
|
|
26
25
|
repository: null,
|
|
26
|
+
name: null,
|
|
27
27
|
private: null,
|
|
28
28
|
description: null)
|
|
29
29
|
```
|
|
@@ -15,23 +15,23 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# A serializer for ContainerDistribution.
|
|
17
17
|
class ContainerContainerDistribution
|
|
18
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
19
|
+
attr_accessor :content_guard
|
|
20
|
+
|
|
18
21
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
19
22
|
attr_accessor :base_path
|
|
20
23
|
|
|
21
|
-
|
|
22
|
-
attr_accessor :name
|
|
23
|
-
|
|
24
|
-
# An optional content-guard. If none is specified, a default one will be used.
|
|
25
|
-
attr_accessor :content_guard
|
|
24
|
+
attr_accessor :pulp_labels
|
|
26
25
|
|
|
27
26
|
# RepositoryVersion to be served
|
|
28
27
|
attr_accessor :repository_version
|
|
29
28
|
|
|
30
|
-
attr_accessor :pulp_labels
|
|
31
|
-
|
|
32
29
|
# The latest RepositoryVersion for this Repository will be served.
|
|
33
30
|
attr_accessor :repository
|
|
34
31
|
|
|
32
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
|
33
|
+
attr_accessor :name
|
|
34
|
+
|
|
35
35
|
# Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access.
|
|
36
36
|
attr_accessor :private
|
|
37
37
|
|
|
@@ -41,12 +41,12 @@ module PulpContainerClient
|
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
42
42
|
def self.attribute_map
|
|
43
43
|
{
|
|
44
|
-
:'base_path' => :'base_path',
|
|
45
|
-
:'name' => :'name',
|
|
46
44
|
:'content_guard' => :'content_guard',
|
|
47
|
-
:'
|
|
45
|
+
:'base_path' => :'base_path',
|
|
48
46
|
:'pulp_labels' => :'pulp_labels',
|
|
47
|
+
:'repository_version' => :'repository_version',
|
|
49
48
|
:'repository' => :'repository',
|
|
49
|
+
:'name' => :'name',
|
|
50
50
|
:'private' => :'private',
|
|
51
51
|
:'description' => :'description'
|
|
52
52
|
}
|
|
@@ -55,12 +55,12 @@ module PulpContainerClient
|
|
|
55
55
|
# Attribute type mapping.
|
|
56
56
|
def self.openapi_types
|
|
57
57
|
{
|
|
58
|
-
:'base_path' => :'String',
|
|
59
|
-
:'name' => :'String',
|
|
60
58
|
:'content_guard' => :'String',
|
|
61
|
-
:'
|
|
59
|
+
:'base_path' => :'String',
|
|
62
60
|
:'pulp_labels' => :'Object',
|
|
61
|
+
:'repository_version' => :'String',
|
|
63
62
|
:'repository' => :'String',
|
|
63
|
+
:'name' => :'String',
|
|
64
64
|
:'private' => :'Boolean',
|
|
65
65
|
:'description' => :'String'
|
|
66
66
|
}
|
|
@@ -90,30 +90,30 @@ module PulpContainerClient
|
|
|
90
90
|
h[k.to_sym] = v
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
if attributes.key?(:'base_path')
|
|
94
|
-
self.base_path = attributes[:'base_path']
|
|
95
|
-
end
|
|
96
|
-
|
|
97
|
-
if attributes.key?(:'name')
|
|
98
|
-
self.name = attributes[:'name']
|
|
99
|
-
end
|
|
100
|
-
|
|
101
93
|
if attributes.key?(:'content_guard')
|
|
102
94
|
self.content_guard = attributes[:'content_guard']
|
|
103
95
|
end
|
|
104
96
|
|
|
105
|
-
if attributes.key?(:'
|
|
106
|
-
self.
|
|
97
|
+
if attributes.key?(:'base_path')
|
|
98
|
+
self.base_path = attributes[:'base_path']
|
|
107
99
|
end
|
|
108
100
|
|
|
109
101
|
if attributes.key?(:'pulp_labels')
|
|
110
102
|
self.pulp_labels = attributes[:'pulp_labels']
|
|
111
103
|
end
|
|
112
104
|
|
|
105
|
+
if attributes.key?(:'repository_version')
|
|
106
|
+
self.repository_version = attributes[:'repository_version']
|
|
107
|
+
end
|
|
108
|
+
|
|
113
109
|
if attributes.key?(:'repository')
|
|
114
110
|
self.repository = attributes[:'repository']
|
|
115
111
|
end
|
|
116
112
|
|
|
113
|
+
if attributes.key?(:'name')
|
|
114
|
+
self.name = attributes[:'name']
|
|
115
|
+
end
|
|
116
|
+
|
|
117
117
|
if attributes.key?(:'private')
|
|
118
118
|
self.private = attributes[:'private']
|
|
119
119
|
end
|
|
@@ -151,12 +151,12 @@ module PulpContainerClient
|
|
|
151
151
|
def ==(o)
|
|
152
152
|
return true if self.equal?(o)
|
|
153
153
|
self.class == o.class &&
|
|
154
|
-
base_path == o.base_path &&
|
|
155
|
-
name == o.name &&
|
|
156
154
|
content_guard == o.content_guard &&
|
|
157
|
-
|
|
155
|
+
base_path == o.base_path &&
|
|
158
156
|
pulp_labels == o.pulp_labels &&
|
|
157
|
+
repository_version == o.repository_version &&
|
|
159
158
|
repository == o.repository &&
|
|
159
|
+
name == o.name &&
|
|
160
160
|
private == o.private &&
|
|
161
161
|
description == o.description
|
|
162
162
|
end
|
|
@@ -170,7 +170,7 @@ module PulpContainerClient
|
|
|
170
170
|
# Calculates hash code according to all attributes.
|
|
171
171
|
# @return [Integer] Hash code
|
|
172
172
|
def hash
|
|
173
|
-
[
|
|
173
|
+
[content_guard, base_path, pulp_labels, repository_version, repository, name, private, description].hash
|
|
174
174
|
end
|
|
175
175
|
|
|
176
176
|
# Builds the object from hash
|
|
@@ -15,24 +15,24 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# A serializer for ContainerDistribution.
|
|
17
17
|
class ContainerContainerDistributionResponse
|
|
18
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
19
|
+
attr_accessor :content_guard
|
|
20
|
+
|
|
18
21
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
19
22
|
attr_accessor :base_path
|
|
20
23
|
|
|
21
|
-
|
|
22
|
-
attr_accessor :name
|
|
24
|
+
attr_accessor :pulp_href
|
|
23
25
|
|
|
24
|
-
|
|
25
|
-
attr_accessor :content_guard
|
|
26
|
+
attr_accessor :pulp_labels
|
|
26
27
|
|
|
27
28
|
# RepositoryVersion to be served
|
|
28
29
|
attr_accessor :repository_version
|
|
29
30
|
|
|
30
|
-
attr_accessor :pulp_labels
|
|
31
|
-
|
|
32
31
|
# The latest RepositoryVersion for this Repository will be served.
|
|
33
32
|
attr_accessor :repository
|
|
34
33
|
|
|
35
|
-
|
|
34
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
|
35
|
+
attr_accessor :name
|
|
36
36
|
|
|
37
37
|
# Timestamp of creation.
|
|
38
38
|
attr_accessor :pulp_created
|
|
@@ -52,13 +52,13 @@ module PulpContainerClient
|
|
|
52
52
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
53
53
|
def self.attribute_map
|
|
54
54
|
{
|
|
55
|
-
:'base_path' => :'base_path',
|
|
56
|
-
:'name' => :'name',
|
|
57
55
|
:'content_guard' => :'content_guard',
|
|
58
|
-
:'
|
|
56
|
+
:'base_path' => :'base_path',
|
|
57
|
+
:'pulp_href' => :'pulp_href',
|
|
59
58
|
:'pulp_labels' => :'pulp_labels',
|
|
59
|
+
:'repository_version' => :'repository_version',
|
|
60
60
|
:'repository' => :'repository',
|
|
61
|
-
:'
|
|
61
|
+
:'name' => :'name',
|
|
62
62
|
:'pulp_created' => :'pulp_created',
|
|
63
63
|
:'registry_path' => :'registry_path',
|
|
64
64
|
:'namespace' => :'namespace',
|
|
@@ -70,13 +70,13 @@ module PulpContainerClient
|
|
|
70
70
|
# Attribute type mapping.
|
|
71
71
|
def self.openapi_types
|
|
72
72
|
{
|
|
73
|
-
:'base_path' => :'String',
|
|
74
|
-
:'name' => :'String',
|
|
75
73
|
:'content_guard' => :'String',
|
|
76
|
-
:'
|
|
74
|
+
:'base_path' => :'String',
|
|
75
|
+
:'pulp_href' => :'String',
|
|
77
76
|
:'pulp_labels' => :'Object',
|
|
77
|
+
:'repository_version' => :'String',
|
|
78
78
|
:'repository' => :'String',
|
|
79
|
-
:'
|
|
79
|
+
:'name' => :'String',
|
|
80
80
|
:'pulp_created' => :'DateTime',
|
|
81
81
|
:'registry_path' => :'String',
|
|
82
82
|
:'namespace' => :'String',
|
|
@@ -109,32 +109,32 @@ module PulpContainerClient
|
|
|
109
109
|
h[k.to_sym] = v
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
+
if attributes.key?(:'content_guard')
|
|
113
|
+
self.content_guard = attributes[:'content_guard']
|
|
114
|
+
end
|
|
115
|
+
|
|
112
116
|
if attributes.key?(:'base_path')
|
|
113
117
|
self.base_path = attributes[:'base_path']
|
|
114
118
|
end
|
|
115
119
|
|
|
116
|
-
if attributes.key?(:'
|
|
117
|
-
self.
|
|
120
|
+
if attributes.key?(:'pulp_href')
|
|
121
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
118
122
|
end
|
|
119
123
|
|
|
120
|
-
if attributes.key?(:'
|
|
121
|
-
self.
|
|
124
|
+
if attributes.key?(:'pulp_labels')
|
|
125
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
|
122
126
|
end
|
|
123
127
|
|
|
124
128
|
if attributes.key?(:'repository_version')
|
|
125
129
|
self.repository_version = attributes[:'repository_version']
|
|
126
130
|
end
|
|
127
131
|
|
|
128
|
-
if attributes.key?(:'pulp_labels')
|
|
129
|
-
self.pulp_labels = attributes[:'pulp_labels']
|
|
130
|
-
end
|
|
131
|
-
|
|
132
132
|
if attributes.key?(:'repository')
|
|
133
133
|
self.repository = attributes[:'repository']
|
|
134
134
|
end
|
|
135
135
|
|
|
136
|
-
if attributes.key?(:'
|
|
137
|
-
self.
|
|
136
|
+
if attributes.key?(:'name')
|
|
137
|
+
self.name = attributes[:'name']
|
|
138
138
|
end
|
|
139
139
|
|
|
140
140
|
if attributes.key?(:'pulp_created')
|
|
@@ -186,13 +186,13 @@ module PulpContainerClient
|
|
|
186
186
|
def ==(o)
|
|
187
187
|
return true if self.equal?(o)
|
|
188
188
|
self.class == o.class &&
|
|
189
|
-
base_path == o.base_path &&
|
|
190
|
-
name == o.name &&
|
|
191
189
|
content_guard == o.content_guard &&
|
|
192
|
-
|
|
190
|
+
base_path == o.base_path &&
|
|
191
|
+
pulp_href == o.pulp_href &&
|
|
193
192
|
pulp_labels == o.pulp_labels &&
|
|
193
|
+
repository_version == o.repository_version &&
|
|
194
194
|
repository == o.repository &&
|
|
195
|
-
|
|
195
|
+
name == o.name &&
|
|
196
196
|
pulp_created == o.pulp_created &&
|
|
197
197
|
registry_path == o.registry_path &&
|
|
198
198
|
namespace == o.namespace &&
|
|
@@ -209,7 +209,7 @@ module PulpContainerClient
|
|
|
209
209
|
# Calculates hash code according to all attributes.
|
|
210
210
|
# @return [Integer] Hash code
|
|
211
211
|
def hash
|
|
212
|
-
[base_path,
|
|
212
|
+
[content_guard, base_path, pulp_href, pulp_labels, repository_version, repository, name, pulp_created, registry_path, namespace, private, description].hash
|
|
213
213
|
end
|
|
214
214
|
|
|
215
215
|
# Builds the object from hash
|
|
@@ -15,23 +15,23 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# A serializer for ContainerDistribution.
|
|
17
17
|
class PatchedcontainerContainerDistribution
|
|
18
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
19
|
+
attr_accessor :content_guard
|
|
20
|
+
|
|
18
21
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
19
22
|
attr_accessor :base_path
|
|
20
23
|
|
|
21
|
-
|
|
22
|
-
attr_accessor :name
|
|
23
|
-
|
|
24
|
-
# An optional content-guard. If none is specified, a default one will be used.
|
|
25
|
-
attr_accessor :content_guard
|
|
24
|
+
attr_accessor :pulp_labels
|
|
26
25
|
|
|
27
26
|
# RepositoryVersion to be served
|
|
28
27
|
attr_accessor :repository_version
|
|
29
28
|
|
|
30
|
-
attr_accessor :pulp_labels
|
|
31
|
-
|
|
32
29
|
# The latest RepositoryVersion for this Repository will be served.
|
|
33
30
|
attr_accessor :repository
|
|
34
31
|
|
|
32
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
|
33
|
+
attr_accessor :name
|
|
34
|
+
|
|
35
35
|
# Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access.
|
|
36
36
|
attr_accessor :private
|
|
37
37
|
|
|
@@ -41,12 +41,12 @@ module PulpContainerClient
|
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
42
42
|
def self.attribute_map
|
|
43
43
|
{
|
|
44
|
-
:'base_path' => :'base_path',
|
|
45
|
-
:'name' => :'name',
|
|
46
44
|
:'content_guard' => :'content_guard',
|
|
47
|
-
:'
|
|
45
|
+
:'base_path' => :'base_path',
|
|
48
46
|
:'pulp_labels' => :'pulp_labels',
|
|
47
|
+
:'repository_version' => :'repository_version',
|
|
49
48
|
:'repository' => :'repository',
|
|
49
|
+
:'name' => :'name',
|
|
50
50
|
:'private' => :'private',
|
|
51
51
|
:'description' => :'description'
|
|
52
52
|
}
|
|
@@ -55,12 +55,12 @@ module PulpContainerClient
|
|
|
55
55
|
# Attribute type mapping.
|
|
56
56
|
def self.openapi_types
|
|
57
57
|
{
|
|
58
|
-
:'base_path' => :'String',
|
|
59
|
-
:'name' => :'String',
|
|
60
58
|
:'content_guard' => :'String',
|
|
61
|
-
:'
|
|
59
|
+
:'base_path' => :'String',
|
|
62
60
|
:'pulp_labels' => :'Object',
|
|
61
|
+
:'repository_version' => :'String',
|
|
63
62
|
:'repository' => :'String',
|
|
63
|
+
:'name' => :'String',
|
|
64
64
|
:'private' => :'Boolean',
|
|
65
65
|
:'description' => :'String'
|
|
66
66
|
}
|
|
@@ -90,30 +90,30 @@ module PulpContainerClient
|
|
|
90
90
|
h[k.to_sym] = v
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
if attributes.key?(:'base_path')
|
|
94
|
-
self.base_path = attributes[:'base_path']
|
|
95
|
-
end
|
|
96
|
-
|
|
97
|
-
if attributes.key?(:'name')
|
|
98
|
-
self.name = attributes[:'name']
|
|
99
|
-
end
|
|
100
|
-
|
|
101
93
|
if attributes.key?(:'content_guard')
|
|
102
94
|
self.content_guard = attributes[:'content_guard']
|
|
103
95
|
end
|
|
104
96
|
|
|
105
|
-
if attributes.key?(:'
|
|
106
|
-
self.
|
|
97
|
+
if attributes.key?(:'base_path')
|
|
98
|
+
self.base_path = attributes[:'base_path']
|
|
107
99
|
end
|
|
108
100
|
|
|
109
101
|
if attributes.key?(:'pulp_labels')
|
|
110
102
|
self.pulp_labels = attributes[:'pulp_labels']
|
|
111
103
|
end
|
|
112
104
|
|
|
105
|
+
if attributes.key?(:'repository_version')
|
|
106
|
+
self.repository_version = attributes[:'repository_version']
|
|
107
|
+
end
|
|
108
|
+
|
|
113
109
|
if attributes.key?(:'repository')
|
|
114
110
|
self.repository = attributes[:'repository']
|
|
115
111
|
end
|
|
116
112
|
|
|
113
|
+
if attributes.key?(:'name')
|
|
114
|
+
self.name = attributes[:'name']
|
|
115
|
+
end
|
|
116
|
+
|
|
117
117
|
if attributes.key?(:'private')
|
|
118
118
|
self.private = attributes[:'private']
|
|
119
119
|
end
|
|
@@ -141,12 +141,12 @@ module PulpContainerClient
|
|
|
141
141
|
def ==(o)
|
|
142
142
|
return true if self.equal?(o)
|
|
143
143
|
self.class == o.class &&
|
|
144
|
-
base_path == o.base_path &&
|
|
145
|
-
name == o.name &&
|
|
146
144
|
content_guard == o.content_guard &&
|
|
147
|
-
|
|
145
|
+
base_path == o.base_path &&
|
|
148
146
|
pulp_labels == o.pulp_labels &&
|
|
147
|
+
repository_version == o.repository_version &&
|
|
149
148
|
repository == o.repository &&
|
|
149
|
+
name == o.name &&
|
|
150
150
|
private == o.private &&
|
|
151
151
|
description == o.description
|
|
152
152
|
end
|
|
@@ -160,7 +160,7 @@ module PulpContainerClient
|
|
|
160
160
|
# Calculates hash code according to all attributes.
|
|
161
161
|
# @return [Integer] Hash code
|
|
162
162
|
def hash
|
|
163
|
-
[
|
|
163
|
+
[content_guard, base_path, pulp_labels, repository_version, repository, name, private, description].hash
|
|
164
164
|
end
|
|
165
165
|
|
|
166
166
|
# Builds the object from hash
|
|
@@ -32,31 +32,31 @@ 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
|
|
39
39
|
end
|
|
40
40
|
|
|
41
|
-
describe 'test attribute "
|
|
41
|
+
describe 'test attribute "base_path"' 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 "pulp_href"' 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_labels"' 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
|
|
@@ -68,7 +68,7 @@ describe 'ContainerContainerDistributionResponse' do
|
|
|
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
|
|
@@ -32,19 +32,19 @@ 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 "base_path"' 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 "pulp_labels"' 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
|
|
@@ -56,13 +56,13 @@ describe 'ContainerContainerDistribution' do
|
|
|
56
56
|
end
|
|
57
57
|
end
|
|
58
58
|
|
|
59
|
-
describe 'test attribute "
|
|
59
|
+
describe 'test attribute "repository"' 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 "name"' 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
|
|
@@ -32,19 +32,19 @@ 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
|
|
39
39
|
end
|
|
40
40
|
|
|
41
|
-
describe 'test attribute "
|
|
41
|
+
describe 'test attribute "base_path"' 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 "pulp_labels"' 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
|
|
@@ -56,13 +56,13 @@ describe 'PatchedcontainerContainerDistribution' do
|
|
|
56
56
|
end
|
|
57
57
|
end
|
|
58
58
|
|
|
59
|
-
describe 'test attribute "
|
|
59
|
+
describe 'test attribute "repository"' 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 "name"' 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: 2.5.
|
|
4
|
+
version: 2.5.3
|
|
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-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -270,60 +270,60 @@ signing_key:
|
|
|
270
270
|
specification_version: 4
|
|
271
271
|
summary: Pulp 3 API Ruby Gem
|
|
272
272
|
test_files:
|
|
273
|
-
- spec/api/content_blobs_api_spec.rb
|
|
274
|
-
- spec/api/pulp_container_namespaces_api_spec.rb
|
|
275
|
-
- spec/api/content_manifests_api_spec.rb
|
|
276
|
-
- spec/api/token_api_spec.rb
|
|
277
273
|
- spec/api/remotes_container_api_spec.rb
|
|
278
|
-
- spec/api/
|
|
274
|
+
- spec/api/token_api_spec.rb
|
|
275
|
+
- spec/api/distributions_container_api_spec.rb
|
|
276
|
+
- spec/api/pulp_container_namespaces_api_spec.rb
|
|
279
277
|
- spec/api/contentguards_content_redirect_api_spec.rb
|
|
280
|
-
- spec/api/
|
|
278
|
+
- spec/api/content_blobs_api_spec.rb
|
|
279
|
+
- spec/api/repositories_container_api_spec.rb
|
|
281
280
|
- spec/api/repositories_container_push_api_spec.rb
|
|
282
|
-
- spec/api/
|
|
281
|
+
- spec/api/content_manifests_api_spec.rb
|
|
282
|
+
- spec/api/repositories_container_versions_api_spec.rb
|
|
283
283
|
- spec/api/content_tags_api_spec.rb
|
|
284
284
|
- spec/api_client_spec.rb
|
|
285
285
|
- spec/configuration_spec.rb
|
|
286
|
-
- spec/models/
|
|
287
|
-
- spec/models/
|
|
288
|
-
- spec/models/
|
|
286
|
+
- spec/models/tag_copy_spec.rb
|
|
287
|
+
- spec/models/paginatedcontainer_container_push_repository_response_list_spec.rb
|
|
288
|
+
- spec/models/repository_version_response_spec.rb
|
|
289
|
+
- spec/models/patchedcontainer_container_distribution_spec.rb
|
|
290
|
+
- spec/models/paginatedcontainer_tag_response_list_spec.rb
|
|
291
|
+
- spec/models/paginatedcontainer_blob_response_list_spec.rb
|
|
292
|
+
- spec/models/container_manifest_response_spec.rb
|
|
293
|
+
- spec/models/policy_enum_spec.rb
|
|
289
294
|
- spec/models/container_container_distribution_spec.rb
|
|
290
|
-
- spec/models/
|
|
295
|
+
- spec/models/container_container_remote_spec.rb
|
|
296
|
+
- spec/models/container_container_remote_response_spec.rb
|
|
297
|
+
- spec/models/patchedcontainer_container_remote_spec.rb
|
|
298
|
+
- spec/models/recursive_manage_spec.rb
|
|
299
|
+
- spec/models/paginatedcontainer_container_remote_response_list_spec.rb
|
|
291
300
|
- spec/models/media_types_enum_spec.rb
|
|
292
|
-
- spec/models/paginatedcontainer_container_distribution_response_list_spec.rb
|
|
293
|
-
- spec/models/repository_version_response_spec.rb
|
|
294
|
-
- spec/models/container_container_namespace_spec.rb
|
|
295
|
-
- spec/models/paginatedcontainer_container_push_repository_response_list_spec.rb
|
|
296
301
|
- spec/models/manifest_copy_spec.rb
|
|
297
|
-
- spec/models/patchedcontainer_container_repository_spec.rb
|
|
298
|
-
- spec/models/container_container_remote_response_spec.rb
|
|
299
302
|
- spec/models/paginatedcontainer_content_redirect_content_guard_response_list_spec.rb
|
|
300
|
-
- spec/models/
|
|
301
|
-
- spec/models/
|
|
302
|
-
- spec/models/
|
|
303
|
+
- spec/models/oci_build_image_spec.rb
|
|
304
|
+
- spec/models/paginated_repository_version_response_list_spec.rb
|
|
305
|
+
- spec/models/paginatedcontainer_container_namespace_response_list_spec.rb
|
|
303
306
|
- spec/models/container_content_redirect_content_guard_spec.rb
|
|
307
|
+
- spec/models/paginatedcontainer_container_distribution_response_list_spec.rb
|
|
308
|
+
- spec/models/content_summary_response_spec.rb
|
|
304
309
|
- spec/models/paginatedcontainer_manifest_response_list_spec.rb
|
|
305
|
-
- spec/models/
|
|
306
|
-
- spec/models/
|
|
307
|
-
- spec/models/
|
|
308
|
-
- spec/models/paginatedcontainer_tag_response_list_spec.rb
|
|
310
|
+
- spec/models/repository_version_spec.rb
|
|
311
|
+
- spec/models/container_blob_response_spec.rb
|
|
312
|
+
- spec/models/patchedcontainer_content_redirect_content_guard_spec.rb
|
|
309
313
|
- spec/models/container_container_distribution_response_spec.rb
|
|
310
|
-
- spec/models/
|
|
311
|
-
- spec/models/paginatedcontainer_container_remote_response_list_spec.rb
|
|
312
|
-
- spec/models/container_manifest_response_spec.rb
|
|
313
|
-
- spec/models/container_content_redirect_content_guard_response_spec.rb
|
|
314
|
-
- spec/models/content_summary_spec.rb
|
|
314
|
+
- spec/models/remove_image_spec.rb
|
|
315
315
|
- spec/models/container_container_repository_spec.rb
|
|
316
|
-
- spec/models/
|
|
317
|
-
- spec/models/
|
|
318
|
-
- spec/models/
|
|
319
|
-
- spec/models/
|
|
316
|
+
- spec/models/repository_sync_url_spec.rb
|
|
317
|
+
- spec/models/patchedcontainer_container_repository_spec.rb
|
|
318
|
+
- spec/models/content_summary_spec.rb
|
|
319
|
+
- spec/models/container_container_repository_response_spec.rb
|
|
320
|
+
- spec/models/container_tag_response_spec.rb
|
|
320
321
|
- spec/models/container_container_namespace_response_spec.rb
|
|
321
|
-
- spec/models/
|
|
322
|
-
- spec/models/
|
|
323
|
-
- spec/models/
|
|
324
|
-
- spec/models/
|
|
322
|
+
- spec/models/un_tag_image_spec.rb
|
|
323
|
+
- spec/models/paginatedcontainer_container_repository_response_list_spec.rb
|
|
324
|
+
- spec/models/tag_image_spec.rb
|
|
325
|
+
- spec/models/container_content_redirect_content_guard_response_spec.rb
|
|
325
326
|
- spec/models/async_operation_response_spec.rb
|
|
326
|
-
- spec/models/
|
|
327
|
-
- spec/models/
|
|
328
|
-
- spec/models/container_tag_response_spec.rb
|
|
327
|
+
- spec/models/container_container_namespace_spec.rb
|
|
328
|
+
- spec/models/container_container_push_repository_response_spec.rb
|
|
329
329
|
- spec/spec_helper.rb
|