pulp_container_client 1.1.0.dev01579023895 → 1.2.0.dev01581014489
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of pulp_container_client might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +12 -11
- data/docs/ContainerContainerDistribution.md +7 -7
- data/docs/RepositoriesContainerApi.md +85 -14
- 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 +95 -1
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +1 -1
- 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 +1 -1
- 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 +27 -27
- 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 +24 -1
- data/spec/api/repositories_container_versions_api_spec.rb +1 -1
- 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 +5 -5
- 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 +1 -1
- 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 +35 -36
@@ -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.2
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -33,6 +33,7 @@ describe 'RepositoriesContainerApi' do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# unit tests for add
|
36
|
+
# Add content
|
36
37
|
# Trigger an asynchronous task to recursively add container content.
|
37
38
|
# @param container_repository_href URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/
|
38
39
|
# @param data
|
@@ -44,7 +45,24 @@ describe 'RepositoriesContainerApi' do
|
|
44
45
|
end
|
45
46
|
end
|
46
47
|
|
48
|
+
# unit tests for build_image
|
49
|
+
# Build an Image
|
50
|
+
# Trigger an asynchronous task to build an OCI image from a Containerfile. A new repository version is created with the new image and tag. This API is tech preview in Pulp Container 1.1. Backwards compatibility when upgrading is not guaranteed.
|
51
|
+
# @param container_repository_href URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/
|
52
|
+
# @param [Hash] opts the optional parameters
|
53
|
+
# @option opts [String] :containerfile_artifact Artifact representing the Containerfile that should be used to run buildah.
|
54
|
+
# @option opts [File] :containerfile An uploaded Containerfile that should be used to run buildah.
|
55
|
+
# @option opts [String] :tag A tag name for the new image being built.
|
56
|
+
# @option opts [String] :artifacts A JSON string where each key is an artifact href and the value is it's relative path (name) inside the /pulp_working_directory of the build container executing the Containerfile.
|
57
|
+
# @return [AsyncOperationResponse]
|
58
|
+
describe 'build_image test' do
|
59
|
+
it 'should work' do
|
60
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
47
64
|
# unit tests for copy_manifests
|
65
|
+
# Copy manifests
|
48
66
|
# Trigger an asynchronous task to copy manifests
|
49
67
|
# @param container_repository_href URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/
|
50
68
|
# @param data
|
@@ -57,6 +75,7 @@ describe 'RepositoriesContainerApi' do
|
|
57
75
|
end
|
58
76
|
|
59
77
|
# unit tests for copy_tags
|
78
|
+
# Copy tags
|
60
79
|
# Trigger an asynchronous task to copy tags
|
61
80
|
# @param container_repository_href URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/
|
62
81
|
# @param data
|
@@ -137,6 +156,7 @@ describe 'RepositoriesContainerApi' do
|
|
137
156
|
end
|
138
157
|
|
139
158
|
# unit tests for remove
|
159
|
+
# Remove content
|
140
160
|
# Trigger an async task to recursively remove container content.
|
141
161
|
# @param container_repository_href URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/
|
142
162
|
# @param data
|
@@ -149,6 +169,7 @@ describe 'RepositoriesContainerApi' do
|
|
149
169
|
end
|
150
170
|
|
151
171
|
# unit tests for sync
|
172
|
+
# Sync from a remote
|
152
173
|
# Trigger an asynchronous task to sync content.
|
153
174
|
# @param container_repository_href URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/
|
154
175
|
# @param data
|
@@ -161,6 +182,7 @@ describe 'RepositoriesContainerApi' do
|
|
161
182
|
end
|
162
183
|
|
163
184
|
# unit tests for tag
|
185
|
+
# Create a Tag
|
164
186
|
# Trigger an asynchronous task to tag an image in the repository
|
165
187
|
# @param container_repository_href URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/
|
166
188
|
# @param data
|
@@ -173,6 +195,7 @@ describe 'RepositoriesContainerApi' do
|
|
173
195
|
end
|
174
196
|
|
175
197
|
# unit tests for untag
|
198
|
+
# Delete a tag
|
176
199
|
# Trigger an asynchronous task to untag an image in the repository
|
177
200
|
# @param container_repository_href URI of Container Repository. e.g.: /pulp/api/v3/repositories/container/container/1/
|
178
201
|
# @param data
|
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.2
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -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 "repository"' 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,19 +50,19 @@ describe 'ContainerContainerDistribution' do
|
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
|
-
describe 'test attribute "
|
53
|
+
describe 'test attribute "repository_version"' 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 "name"' 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 "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
|
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.
|
4
|
+
version: 1.2.0.dev01581014489
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-02-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -28,42 +28,42 @@ dependencies:
|
|
28
28
|
name: json
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "~>"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '2.1'
|
34
31
|
- - ">="
|
35
32
|
- !ruby/object:Gem::Version
|
36
33
|
version: 2.1.0
|
34
|
+
- - "~>"
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: '2.1'
|
37
37
|
type: :runtime
|
38
38
|
prerelease: false
|
39
39
|
version_requirements: !ruby/object:Gem::Requirement
|
40
40
|
requirements:
|
41
|
-
- - "~>"
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
version: '2.1'
|
44
41
|
- - ">="
|
45
42
|
- !ruby/object:Gem::Version
|
46
43
|
version: 2.1.0
|
44
|
+
- - "~>"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '2.1'
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: rspec
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
50
50
|
requirements:
|
51
|
-
- - "~>"
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
version: '3.6'
|
54
51
|
- - ">="
|
55
52
|
- !ruby/object:Gem::Version
|
56
53
|
version: 3.6.0
|
54
|
+
- - "~>"
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: '3.6'
|
57
57
|
type: :development
|
58
58
|
prerelease: false
|
59
59
|
version_requirements: !ruby/object:Gem::Requirement
|
60
60
|
requirements:
|
61
|
-
- - "~>"
|
62
|
-
- !ruby/object:Gem::Version
|
63
|
-
version: '3.6'
|
64
61
|
- - ">="
|
65
62
|
- !ruby/object:Gem::Version
|
66
63
|
version: 3.6.0
|
64
|
+
- - "~>"
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: '3.6'
|
67
67
|
description: No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
68
68
|
email:
|
69
69
|
- ''
|
@@ -190,41 +190,40 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
190
190
|
- !ruby/object:Gem::Version
|
191
191
|
version: 1.3.1
|
192
192
|
requirements: []
|
193
|
-
|
194
|
-
rubygems_version: 2.7.7
|
193
|
+
rubygems_version: 3.0.6
|
195
194
|
signing_key:
|
196
195
|
specification_version: 4
|
197
196
|
summary: Pulp 3 API Ruby Gem
|
198
197
|
test_files:
|
199
|
-
- spec/api/content_tags_api_spec.rb
|
200
|
-
- spec/api/distributions_container_api_spec.rb
|
201
|
-
- spec/api/content_blobs_api_spec.rb
|
202
198
|
- spec/api/content_manifests_api_spec.rb
|
199
|
+
- spec/api/content_blobs_api_spec.rb
|
203
200
|
- spec/api/remotes_container_api_spec.rb
|
204
|
-
- spec/api/repositories_container_api_spec.rb
|
205
201
|
- spec/api/repositories_container_versions_api_spec.rb
|
202
|
+
- spec/api/distributions_container_api_spec.rb
|
203
|
+
- spec/api/repositories_container_api_spec.rb
|
204
|
+
- spec/api/content_tags_api_spec.rb
|
206
205
|
- spec/api_client_spec.rb
|
207
206
|
- spec/configuration_spec.rb
|
208
|
-
- spec/models/inline_response2003_spec.rb
|
209
|
-
- spec/models/container_manifest_spec.rb
|
210
|
-
- spec/models/tag_copy_spec.rb
|
211
207
|
- spec/models/repository_version_spec.rb
|
212
|
-
- spec/models/inline_response2001_spec.rb
|
213
|
-
- spec/models/inline_response2006_spec.rb
|
214
208
|
- spec/models/inline_response2002_spec.rb
|
215
|
-
- spec/models/inline_response2004_spec.rb
|
216
|
-
- spec/models/un_tag_image_spec.rb
|
217
|
-
- spec/models/container_container_remote_spec.rb
|
218
|
-
- spec/models/async_operation_response_spec.rb
|
219
|
-
- spec/models/content_summary_spec.rb
|
220
209
|
- spec/models/container_tag_spec.rb
|
221
|
-
- spec/models/
|
222
|
-
- spec/models/
|
223
|
-
- spec/models/
|
210
|
+
- spec/models/async_operation_response_spec.rb
|
211
|
+
- spec/models/tag_copy_spec.rb
|
212
|
+
- spec/models/container_manifest_spec.rb
|
213
|
+
- spec/models/inline_response2005_spec.rb
|
224
214
|
- spec/models/repository_sync_url_spec.rb
|
225
|
-
- spec/models/
|
215
|
+
- spec/models/inline_response2006_spec.rb
|
216
|
+
- spec/models/inline_response200_spec.rb
|
217
|
+
- spec/models/inline_response2003_spec.rb
|
218
|
+
- spec/models/manifest_copy_spec.rb
|
219
|
+
- spec/models/container_container_remote_spec.rb
|
220
|
+
- spec/models/inline_response2001_spec.rb
|
221
|
+
- spec/models/un_tag_image_spec.rb
|
226
222
|
- spec/models/recursive_manage_spec.rb
|
223
|
+
- spec/models/container_container_repository_spec.rb
|
224
|
+
- spec/models/content_summary_spec.rb
|
227
225
|
- spec/models/container_container_distribution_spec.rb
|
228
|
-
- spec/models/
|
229
|
-
- spec/models/
|
226
|
+
- spec/models/container_blob_spec.rb
|
227
|
+
- spec/models/inline_response2004_spec.rb
|
228
|
+
- spec/models/tag_image_spec.rb
|
230
229
|
- spec/spec_helper.rb
|