pulp_container_client 1.0.0rc1 → 1.0.0
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 +9 -9
- data/docs/RepositoriesContainerVersionsApi.md +4 -4
- data/lib/pulp_container_client.rb +1 -1
- data/lib/pulp_container_client/api/content_blobs_api.rb +1 -1
- data/lib/pulp_container_client/api/content_manifests_api.rb +1 -1
- data/lib/pulp_container_client/api/content_tags_api.rb +1 -1
- data/lib/pulp_container_client/api/distributions_container_api.rb +1 -1
- data/lib/pulp_container_client/api/remotes_container_api.rb +1 -1
- data/lib/pulp_container_client/api/repositories_container_api.rb +1 -1
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +10 -10
- data/lib/pulp_container_client/api_client.rb +1 -1
- data/lib/pulp_container_client/api_error.rb +1 -1
- data/lib/pulp_container_client/configuration.rb +2 -2
- data/lib/pulp_container_client/models/async_operation_response.rb +1 -1
- data/lib/pulp_container_client/models/container_blob.rb +1 -1
- data/lib/pulp_container_client/models/container_container_distribution.rb +33 -33
- data/lib/pulp_container_client/models/container_container_remote.rb +1 -1
- data/lib/pulp_container_client/models/container_container_repository.rb +1 -1
- data/lib/pulp_container_client/models/container_manifest.rb +1 -1
- data/lib/pulp_container_client/models/container_tag.rb +1 -1
- data/lib/pulp_container_client/models/content_summary.rb +1 -1
- data/lib/pulp_container_client/models/inline_response200.rb +1 -1
- data/lib/pulp_container_client/models/inline_response2001.rb +1 -1
- data/lib/pulp_container_client/models/inline_response2002.rb +1 -1
- data/lib/pulp_container_client/models/inline_response2003.rb +1 -1
- data/lib/pulp_container_client/models/inline_response2004.rb +1 -1
- data/lib/pulp_container_client/models/inline_response2005.rb +1 -1
- data/lib/pulp_container_client/models/inline_response2006.rb +1 -1
- data/lib/pulp_container_client/models/manifest_copy.rb +1 -1
- data/lib/pulp_container_client/models/recursive_manage.rb +1 -1
- data/lib/pulp_container_client/models/repository_sync_url.rb +1 -1
- data/lib/pulp_container_client/models/repository_version.rb +1 -1
- data/lib/pulp_container_client/models/tag_copy.rb +1 -1
- data/lib/pulp_container_client/models/tag_image.rb +1 -1
- data/lib/pulp_container_client/models/un_tag_image.rb +1 -1
- data/lib/pulp_container_client/version.rb +2 -2
- data/pulp_container_client.gemspec +1 -1
- data/spec/api/content_blobs_api_spec.rb +1 -1
- data/spec/api/content_manifests_api_spec.rb +1 -1
- data/spec/api/content_tags_api_spec.rb +1 -1
- data/spec/api/distributions_container_api_spec.rb +1 -1
- data/spec/api/remotes_container_api_spec.rb +1 -1
- data/spec/api/repositories_container_api_spec.rb +1 -1
- data/spec/api/repositories_container_versions_api_spec.rb +2 -2
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/async_operation_response_spec.rb +1 -1
- data/spec/models/container_blob_spec.rb +1 -1
- data/spec/models/container_container_distribution_spec.rb +6 -6
- data/spec/models/container_container_remote_spec.rb +1 -1
- data/spec/models/container_container_repository_spec.rb +1 -1
- data/spec/models/container_manifest_spec.rb +1 -1
- data/spec/models/container_tag_spec.rb +1 -1
- data/spec/models/content_summary_spec.rb +1 -1
- data/spec/models/inline_response2001_spec.rb +1 -1
- data/spec/models/inline_response2002_spec.rb +1 -1
- data/spec/models/inline_response2003_spec.rb +1 -1
- data/spec/models/inline_response2004_spec.rb +1 -1
- data/spec/models/inline_response2005_spec.rb +1 -1
- data/spec/models/inline_response2006_spec.rb +1 -1
- data/spec/models/inline_response200_spec.rb +1 -1
- data/spec/models/manifest_copy_spec.rb +2 -2
- data/spec/models/recursive_manage_spec.rb +1 -1
- data/spec/models/repository_sync_url_spec.rb +1 -1
- data/spec/models/repository_version_spec.rb +1 -1
- data/spec/models/tag_copy_spec.rb +1 -1
- data/spec/models/tag_image_spec.rb +1 -1
- data/spec/models/un_tag_image_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 04df22b7d0a5884f7e31fd2f249353dcd7ab8d9603e9f751beb0724ffe7c9e19
|
|
4
|
+
data.tar.gz: 530eb946a85d5317d82998314d5e32fe711306cfe0a989695b342c0dbea4b564
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 50997dc2dbc6d9e12d580b0f5b11162bf0643d8bda1037c68a5a3f75ec48d8e6075be1e2f8ddffba20e139dd2e612303ae6d2e961c6f1842bcc6687ed2862f54
|
|
7
|
+
data.tar.gz: '09982307de3ffb5a6be17da19145c5c9cd110eeae9718de833417297ab5924a83f42f91ced22e03176dffb5abf40ae67b4e2cbf656f9f8c73ab82b0a11cbe380'
|
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.0.
|
|
10
|
+
- Package version: 1.0.0
|
|
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.0.
|
|
26
|
+
gem install ./pulp_container_client-1.0.0.gem
|
|
27
27
|
```
|
|
28
28
|
|
|
29
|
-
(for development, run `gem install --dev ./pulp_container_client-1.0.
|
|
29
|
+
(for development, run `gem install --dev ./pulp_container_client-1.0.0.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.0.
|
|
35
|
+
gem 'pulp_container_client', '~> 1.0.0'
|
|
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]
|
|
7
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\") |
|
|
8
|
-
**
|
|
9
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
|
9
|
+
**content_guard** | **String** | An optional content-guard. | [optional]
|
|
10
10
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
|
11
11
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
12
|
-
**
|
|
13
|
-
**
|
|
12
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
|
13
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
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(
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
instance = PulpContainerClient::ContainerContainerDistribution.new(pulp_created: null,
|
|
22
|
+
base_path: null,
|
|
23
|
+
content_guard: null,
|
|
24
24
|
repository_version: null,
|
|
25
25
|
repository: null,
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
pulp_href: null,
|
|
27
|
+
name: null,
|
|
28
28
|
registry_path: null)
|
|
29
29
|
```
|
|
30
30
|
|
|
@@ -65,7 +65,7 @@ Name | Type | Description | Notes
|
|
|
65
65
|
|
|
66
66
|
## list
|
|
67
67
|
|
|
68
|
-
> InlineResponse2006 list(
|
|
68
|
+
> InlineResponse2006 list(container_repository_href, opts)
|
|
69
69
|
|
|
70
70
|
List repository versions
|
|
71
71
|
|
|
@@ -84,7 +84,7 @@ PulpContainerClient.configure do |config|
|
|
|
84
84
|
end
|
|
85
85
|
|
|
86
86
|
api_instance = PulpContainerClient::RepositoriesContainerVersionsApi.new
|
|
87
|
-
|
|
87
|
+
container_repository_href = 'container_repository_href_example' # String | URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/
|
|
88
88
|
opts = {
|
|
89
89
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
|
90
90
|
number: 3.4, # Float |
|
|
@@ -108,7 +108,7 @@ opts = {
|
|
|
108
108
|
|
|
109
109
|
begin
|
|
110
110
|
#List repository versions
|
|
111
|
-
result = api_instance.list(
|
|
111
|
+
result = api_instance.list(container_repository_href, opts)
|
|
112
112
|
p result
|
|
113
113
|
rescue PulpContainerClient::ApiError => e
|
|
114
114
|
puts "Exception when calling RepositoriesContainerVersionsApi->list: #{e}"
|
|
@@ -120,7 +120,7 @@ end
|
|
|
120
120
|
|
|
121
121
|
Name | Type | Description | Notes
|
|
122
122
|
------------- | ------------- | ------------- | -------------
|
|
123
|
-
**
|
|
123
|
+
**container_repository_href** | **String**| URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/ |
|
|
124
124
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
|
125
125
|
**number** | **Float**| | [optional]
|
|
126
126
|
**number__lt** | **Float**| Filter results where number is less than value | [optional]
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.2.
|
|
9
|
+
OpenAPI Generator version: 4.2.3-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -83,7 +83,7 @@ module PulpContainerClient
|
|
|
83
83
|
|
|
84
84
|
# List repository versions
|
|
85
85
|
# ContainerRepositoryVersion represents a single container repository version.
|
|
86
|
-
# @param
|
|
86
|
+
# @param container_repository_href [String] URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/
|
|
87
87
|
# @param [Hash] opts the optional parameters
|
|
88
88
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
89
89
|
# @option opts [Float] :number
|
|
@@ -104,14 +104,14 @@ module PulpContainerClient
|
|
|
104
104
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
105
105
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
106
106
|
# @return [InlineResponse2006]
|
|
107
|
-
def list(
|
|
108
|
-
data, _status_code, _headers = list_with_http_info(
|
|
107
|
+
def list(container_repository_href, opts = {})
|
|
108
|
+
data, _status_code, _headers = list_with_http_info(container_repository_href, opts)
|
|
109
109
|
data
|
|
110
110
|
end
|
|
111
111
|
|
|
112
112
|
# List repository versions
|
|
113
113
|
# ContainerRepositoryVersion represents a single container repository version.
|
|
114
|
-
# @param
|
|
114
|
+
# @param container_repository_href [String] URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/
|
|
115
115
|
# @param [Hash] opts the optional parameters
|
|
116
116
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
117
117
|
# @option opts [Float] :number
|
|
@@ -132,16 +132,16 @@ module PulpContainerClient
|
|
|
132
132
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
133
133
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
134
134
|
# @return [Array<(InlineResponse2006, Integer, Hash)>] InlineResponse2006 data, response status code and response headers
|
|
135
|
-
def list_with_http_info(
|
|
135
|
+
def list_with_http_info(container_repository_href, opts = {})
|
|
136
136
|
if @api_client.config.debugging
|
|
137
137
|
@api_client.config.logger.debug 'Calling API: RepositoriesContainerVersionsApi.list ...'
|
|
138
138
|
end
|
|
139
|
-
# verify the required parameter '
|
|
140
|
-
if @api_client.config.client_side_validation &&
|
|
141
|
-
fail ArgumentError, "Missing the required parameter '
|
|
139
|
+
# verify the required parameter 'container_repository_href' is set
|
|
140
|
+
if @api_client.config.client_side_validation && container_repository_href.nil?
|
|
141
|
+
fail ArgumentError, "Missing the required parameter 'container_repository_href' when calling RepositoriesContainerVersionsApi.list"
|
|
142
142
|
end
|
|
143
143
|
# resource path
|
|
144
|
-
local_var_path = '{container_repository_href}versions/'.sub('{' + '
|
|
144
|
+
local_var_path = '{container_repository_href}versions/'.sub('{' + 'container_repository_href' + '}', CGI.escape(container_repository_href.to_s).gsub('%2F', '/'))
|
|
145
145
|
|
|
146
146
|
# query parameters
|
|
147
147
|
query_params = opts[:query_params] || {}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.2.
|
|
9
|
+
OpenAPI Generator version: 4.2.3-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -203,7 +203,7 @@ module PulpContainerClient
|
|
|
203
203
|
[
|
|
204
204
|
{
|
|
205
205
|
url: "http://localhost:24817/",
|
|
206
|
-
description: "No
|
|
206
|
+
description: "No description provided",
|
|
207
207
|
}
|
|
208
208
|
]
|
|
209
209
|
end
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.2.
|
|
9
|
+
OpenAPI Generator version: 4.2.3-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -14,13 +14,14 @@ require 'date'
|
|
|
14
14
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
class ContainerContainerDistribution
|
|
17
|
+
# Timestamp of creation.
|
|
18
|
+
attr_accessor :pulp_created
|
|
19
|
+
|
|
17
20
|
# 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
21
|
attr_accessor :base_path
|
|
19
22
|
|
|
20
|
-
#
|
|
21
|
-
attr_accessor :
|
|
22
|
-
|
|
23
|
-
attr_accessor :pulp_href
|
|
23
|
+
# An optional content-guard.
|
|
24
|
+
attr_accessor :content_guard
|
|
24
25
|
|
|
25
26
|
# RepositoryVersion to be served
|
|
26
27
|
attr_accessor :repository_version
|
|
@@ -28,11 +29,10 @@ module PulpContainerClient
|
|
|
28
29
|
# The latest RepositoryVersion for this Repository will be served.
|
|
29
30
|
attr_accessor :repository
|
|
30
31
|
|
|
31
|
-
|
|
32
|
-
attr_accessor :content_guard
|
|
32
|
+
attr_accessor :pulp_href
|
|
33
33
|
|
|
34
|
-
#
|
|
35
|
-
attr_accessor :
|
|
34
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
|
35
|
+
attr_accessor :name
|
|
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',
|
|
43
44
|
:'base_path' => :'base_path',
|
|
44
|
-
:'
|
|
45
|
-
:'pulp_href' => :'pulp_href',
|
|
45
|
+
:'content_guard' => :'content_guard',
|
|
46
46
|
:'repository_version' => :'repository_version',
|
|
47
47
|
:'repository' => :'repository',
|
|
48
|
-
:'
|
|
49
|
-
:'
|
|
48
|
+
:'pulp_href' => :'pulp_href',
|
|
49
|
+
:'name' => :'name',
|
|
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',
|
|
57
58
|
:'base_path' => :'String',
|
|
58
|
-
:'
|
|
59
|
-
:'pulp_href' => :'String',
|
|
59
|
+
:'content_guard' => :'String',
|
|
60
60
|
:'repository_version' => :'String',
|
|
61
61
|
:'repository' => :'String',
|
|
62
|
-
:'
|
|
63
|
-
:'
|
|
62
|
+
:'pulp_href' => :'String',
|
|
63
|
+
:'name' => :'String',
|
|
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
|
+
:'content_guard',
|
|
71
72
|
:'repository_version',
|
|
72
73
|
:'repository',
|
|
73
|
-
:'content_guard',
|
|
74
74
|
])
|
|
75
75
|
end
|
|
76
76
|
|
|
@@ -89,16 +89,16 @@ module PulpContainerClient
|
|
|
89
89
|
h[k.to_sym] = v
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
-
if attributes.key?(:'
|
|
93
|
-
self.
|
|
92
|
+
if attributes.key?(:'pulp_created')
|
|
93
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
94
94
|
end
|
|
95
95
|
|
|
96
|
-
if attributes.key?(:'
|
|
97
|
-
self.
|
|
96
|
+
if attributes.key?(:'base_path')
|
|
97
|
+
self.base_path = attributes[:'base_path']
|
|
98
98
|
end
|
|
99
99
|
|
|
100
|
-
if attributes.key?(:'
|
|
101
|
-
self.
|
|
100
|
+
if attributes.key?(:'content_guard')
|
|
101
|
+
self.content_guard = attributes[:'content_guard']
|
|
102
102
|
end
|
|
103
103
|
|
|
104
104
|
if attributes.key?(:'repository_version')
|
|
@@ -109,12 +109,12 @@ module PulpContainerClient
|
|
|
109
109
|
self.repository = attributes[:'repository']
|
|
110
110
|
end
|
|
111
111
|
|
|
112
|
-
if attributes.key?(:'
|
|
113
|
-
self.
|
|
112
|
+
if attributes.key?(:'pulp_href')
|
|
113
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
114
114
|
end
|
|
115
115
|
|
|
116
|
-
if attributes.key?(:'
|
|
117
|
-
self.
|
|
116
|
+
if attributes.key?(:'name')
|
|
117
|
+
self.name = attributes[:'name']
|
|
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 &&
|
|
206
207
|
base_path == o.base_path &&
|
|
207
|
-
|
|
208
|
-
pulp_href == o.pulp_href &&
|
|
208
|
+
content_guard == o.content_guard &&
|
|
209
209
|
repository_version == o.repository_version &&
|
|
210
210
|
repository == o.repository &&
|
|
211
|
-
|
|
212
|
-
|
|
211
|
+
pulp_href == o.pulp_href &&
|
|
212
|
+
name == o.name &&
|
|
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
|
+
[pulp_created, base_path, content_guard, repository_version, repository, pulp_href, name, registry_path].hash
|
|
226
226
|
end
|
|
227
227
|
|
|
228
228
|
# Builds the object from hash
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.2.
|
|
9
|
+
OpenAPI Generator version: 4.2.3-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
13
13
|
module PulpContainerClient
|
|
14
|
-
VERSION = '1.0.
|
|
14
|
+
VERSION = '1.0.0'
|
|
15
15
|
end
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.2.
|
|
9
|
+
OpenAPI Generator version: 4.2.3-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -47,7 +47,7 @@ describe 'RepositoriesContainerVersionsApi' do
|
|
|
47
47
|
# unit tests for list
|
|
48
48
|
# List repository versions
|
|
49
49
|
# ContainerRepositoryVersion represents a single container repository version.
|
|
50
|
-
# @param
|
|
50
|
+
# @param container_repository_href URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/
|
|
51
51
|
# @param [Hash] opts the optional parameters
|
|
52
52
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
53
53
|
# @option opts [Float] :number
|
data/spec/api_client_spec.rb
CHANGED
data/spec/configuration_spec.rb
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.2.
|
|
9
|
+
OpenAPI Generator version: 4.2.3-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -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 "pulp_created"' 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 "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
|
|
@@ -62,13 +62,13 @@ describe 'ContainerContainerDistribution' do
|
|
|
62
62
|
end
|
|
63
63
|
end
|
|
64
64
|
|
|
65
|
-
describe 'test attribute "
|
|
65
|
+
describe 'test attribute "pulp_href"' 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
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.2.
|
|
9
|
+
OpenAPI Generator version: 4.2.3-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -53,7 +53,7 @@ describe 'ManifestCopy' do
|
|
|
53
53
|
describe 'test attribute "media_types"' do
|
|
54
54
|
it 'should work' do
|
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('Array<String>', ["application/vnd.docker.distribution.manifest.v1+json", "application/vnd.docker.distribution.manifest.v2+json", "application/vnd.docker.distribution.manifest.list.v2+json"])
|
|
56
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('Array<String>', ["application/vnd.docker.distribution.manifest.v1+json", "application/vnd.docker.distribution.manifest.v2+json", "application/vnd.docker.distribution.manifest.list.v2+json", "application/vnd.oci.image.manifest.v1+json", "application/vnd.oci.image.index.v1+json"])
|
|
57
57
|
# validator.allowable_values.each do |value|
|
|
58
58
|
# expect { @instance.media_types = value }.not_to raise_error
|
|
59
59
|
# end
|
data/spec/spec_helper.rb
CHANGED
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.0.
|
|
4
|
+
version: 1.0.0
|
|
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-
|
|
11
|
+
date: 2019-12-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -186,9 +186,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
186
186
|
version: '1.9'
|
|
187
187
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
188
188
|
requirements:
|
|
189
|
-
- - "
|
|
189
|
+
- - ">="
|
|
190
190
|
- !ruby/object:Gem::Version
|
|
191
|
-
version:
|
|
191
|
+
version: '0'
|
|
192
192
|
requirements: []
|
|
193
193
|
rubyforge_project:
|
|
194
194
|
rubygems_version: 2.7.7
|