pulp_container_client 2.7.1 → 2.8.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 +5 -5
- data/docs/ContainerContainerDistribution.md +4 -4
- data/docs/ContainerContainerDistributionResponse.md +6 -6
- data/docs/ContainerContainerPushRepository.md +4 -4
- data/docs/ContainerContainerPushRepositoryResponse.md +8 -8
- data/docs/ContentBlobsApi.md +1 -1
- data/docs/ContentManifestsApi.md +1 -1
- data/docs/ContentTagsApi.md +1 -1
- data/docs/ContentguardsContentRedirectApi.md +1 -1
- data/docs/DistributionsContainerApi.md +1 -1
- data/docs/PatchedcontainerContainerDistribution.md +4 -4
- data/docs/PatchedcontainerContainerPushRepository.md +4 -4
- data/docs/PulpContainerNamespacesApi.md +1 -1
- data/docs/RemotesContainerApi.md +1 -1
- data/docs/RepositoriesContainerApi.md +1 -1
- data/docs/RepositoriesContainerPushApi.md +1 -1
- data/docs/RepositoriesContainerPushVersionsApi.md +1 -1
- data/docs/RepositoriesContainerVersionsApi.md +1 -1
- data/docs/TokenApi.md +1 -1
- data/lib/pulp_container_client/configuration.rb +2 -2
- data/lib/pulp_container_client/models/container_container_distribution.rb +17 -17
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +24 -24
- data/lib/pulp_container_client/models/container_container_push_repository.rb +19 -19
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +35 -35
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +17 -17
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +14 -14
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/container_container_distribution_response_spec.rb +5 -5
- data/spec/models/container_container_distribution_spec.rb +3 -3
- data/spec/models/container_container_push_repository_response_spec.rb +6 -6
- data/spec/models/container_container_push_repository_spec.rb +2 -2
- data/spec/models/patchedcontainer_container_distribution_spec.rb +3 -3
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +2 -2
- metadata +44 -44
data/spec/configuration_spec.rb
CHANGED
@@ -18,7 +18,7 @@ describe PulpContainerClient::Configuration do
|
|
18
18
|
before(:each) do
|
19
19
|
# uncomment below to setup host and base_path
|
20
20
|
# require 'URI'
|
21
|
-
# uri = URI.parse("
|
21
|
+
# uri = URI.parse("https://pulp")
|
22
22
|
# PulpContainerClient.configure do |c|
|
23
23
|
# c.host = uri.host
|
24
24
|
# c.base_path = uri.path
|
@@ -28,14 +28,14 @@ describe PulpContainerClient::Configuration do
|
|
28
28
|
describe '#base_url' do
|
29
29
|
it 'should have the default value' do
|
30
30
|
# uncomment below to test default value of the base path
|
31
|
-
# expect(config.base_url).to eq("
|
31
|
+
# expect(config.base_url).to eq("https://pulp")
|
32
32
|
end
|
33
33
|
|
34
34
|
it 'should remove trailing slashes' do
|
35
35
|
[nil, '', '/', '//'].each do |base_path|
|
36
36
|
config.base_path = base_path
|
37
37
|
# uncomment below to test trailing slashes
|
38
|
-
# expect(config.base_url).to eq("
|
38
|
+
# expect(config.base_url).to eq("https://pulp")
|
39
39
|
end
|
40
40
|
end
|
41
41
|
end
|
@@ -38,7 +38,7 @@ describe 'ContainerContainerDistributionResponse' do
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "
|
41
|
+
describe 'test attribute "pulp_labels"' 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
|
@@ -50,25 +50,25 @@ describe 'ContainerContainerDistributionResponse' do
|
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
|
-
describe 'test attribute "
|
53
|
+
describe 'test attribute "pulp_href"' 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_created"' 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 "content_guard"' 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
|
@@ -38,13 +38,13 @@ describe 'ContainerContainerDistribution' do
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "
|
41
|
+
describe 'test attribute "pulp_labels"' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
-
describe 'test attribute "
|
47
|
+
describe 'test attribute "repository"' 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,7 +56,7 @@ describe 'ContainerContainerDistribution' do
|
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
-
describe 'test attribute "
|
59
|
+
describe 'test attribute "content_guard"' 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,13 +32,13 @@ describe 'ContainerContainerPushRepositoryResponse' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerPushRepositoryResponse)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "pulp_labels"' 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 "latest_version_href"' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
44
|
end
|
@@ -50,25 +50,25 @@ describe 'ContainerContainerPushRepositoryResponse' do
|
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
|
-
describe 'test attribute "
|
53
|
+
describe 'test attribute "pulp_href"' 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_created"' 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 "retained_versions"' 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 'ContainerContainerPushRepository' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerPushRepository)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "pulp_labels"' 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,7 +44,7 @@ describe 'ContainerContainerPushRepository' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
-
describe 'test attribute "
|
47
|
+
describe 'test attribute "retained_versions"' 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
|
@@ -38,13 +38,13 @@ describe 'PatchedcontainerContainerDistribution' do
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "
|
41
|
+
describe 'test attribute "pulp_labels"' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
-
describe 'test attribute "
|
47
|
+
describe 'test attribute "repository"' 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,7 +56,7 @@ describe 'PatchedcontainerContainerDistribution' do
|
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
-
describe 'test attribute "
|
59
|
+
describe 'test attribute "content_guard"' 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 'PatchedcontainerContainerPushRepository' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpContainerClient::PatchedcontainerContainerPushRepository)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "pulp_labels"' 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,7 +44,7 @@ describe 'PatchedcontainerContainerPushRepository' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
-
describe 'test attribute "
|
47
|
+
describe 'test attribute "retained_versions"' 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
|
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.
|
4
|
+
version: 2.8.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: 2021-
|
11
|
+
date: 2021-08-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -280,62 +280,62 @@ specification_version: 4
|
|
280
280
|
summary: Pulp 3 API Ruby Gem
|
281
281
|
test_files:
|
282
282
|
- spec/api/repositories_container_push_api_spec.rb
|
283
|
-
- spec/api/content_tags_api_spec.rb
|
284
|
-
- spec/api/content_manifests_api_spec.rb
|
285
|
-
- spec/api/repositories_container_api_spec.rb
|
286
|
-
- spec/api/pulp_container_namespaces_api_spec.rb
|
287
283
|
- spec/api/content_blobs_api_spec.rb
|
288
|
-
- spec/api/remotes_container_api_spec.rb
|
289
|
-
- spec/api/token_api_spec.rb
|
290
|
-
- spec/api/repositories_container_push_versions_api_spec.rb
|
291
|
-
- spec/api/distributions_container_api_spec.rb
|
292
284
|
- spec/api/contentguards_content_redirect_api_spec.rb
|
285
|
+
- spec/api/distributions_container_api_spec.rb
|
286
|
+
- spec/api/repositories_container_push_versions_api_spec.rb
|
293
287
|
- spec/api/repositories_container_versions_api_spec.rb
|
288
|
+
- spec/api/remotes_container_api_spec.rb
|
289
|
+
- spec/api/pulp_container_namespaces_api_spec.rb
|
290
|
+
- spec/api/content_tags_api_spec.rb
|
291
|
+
- spec/api/content_manifests_api_spec.rb
|
292
|
+
- spec/api/token_api_spec.rb
|
293
|
+
- spec/api/repositories_container_api_spec.rb
|
294
294
|
- spec/api_client_spec.rb
|
295
295
|
- spec/configuration_spec.rb
|
296
|
+
- spec/models/container_tag_response_spec.rb
|
297
|
+
- spec/models/patchedcontainer_container_push_repository_spec.rb
|
296
298
|
- spec/models/patchedcontainer_container_distribution_spec.rb
|
297
|
-
- spec/models/
|
299
|
+
- spec/models/container_container_namespace_spec.rb
|
300
|
+
- spec/models/paginatedcontainer_blob_response_list_spec.rb
|
301
|
+
- spec/models/container_blob_response_spec.rb
|
302
|
+
- spec/models/paginatedcontainer_content_redirect_content_guard_response_list_spec.rb
|
303
|
+
- spec/models/tag_image_spec.rb
|
298
304
|
- spec/models/tag_copy_spec.rb
|
299
|
-
- spec/models/
|
300
|
-
- spec/models/
|
305
|
+
- spec/models/container_manifest_response_spec.rb
|
306
|
+
- spec/models/paginatedcontainer_container_namespace_response_list_spec.rb
|
307
|
+
- spec/models/repository_version_spec.rb
|
308
|
+
- spec/models/patchedcontainer_container_repository_spec.rb
|
301
309
|
- spec/models/paginatedcontainer_tag_response_list_spec.rb
|
302
|
-
- spec/models/
|
303
|
-
- spec/models/
|
304
|
-
- spec/models/
|
310
|
+
- spec/models/container_container_distribution_spec.rb
|
311
|
+
- spec/models/policy_enum_spec.rb
|
312
|
+
- spec/models/repository_version_response_spec.rb
|
313
|
+
- spec/models/remove_image_spec.rb
|
314
|
+
- spec/models/repository_sync_url_spec.rb
|
305
315
|
- spec/models/patchedcontainer_container_remote_spec.rb
|
306
|
-
- spec/models/
|
307
|
-
- spec/models/container_container_remote_spec.rb
|
316
|
+
- spec/models/container_container_repository_spec.rb
|
308
317
|
- spec/models/content_summary_response_spec.rb
|
309
|
-
- spec/models/
|
318
|
+
- spec/models/container_container_distribution_response_spec.rb
|
319
|
+
- spec/models/paginatedcontainer_container_repository_response_list_spec.rb
|
320
|
+
- spec/models/async_operation_response_spec.rb
|
310
321
|
- spec/models/paginated_repository_version_response_list_spec.rb
|
311
|
-
- spec/models/
|
312
|
-
- spec/models/
|
322
|
+
- spec/models/recursive_manage_spec.rb
|
323
|
+
- spec/models/paginatedcontainer_container_distribution_response_list_spec.rb
|
324
|
+
- spec/models/oci_build_image_spec.rb
|
325
|
+
- spec/models/container_content_redirect_content_guard_response_spec.rb
|
326
|
+
- spec/models/container_container_remote_spec.rb
|
327
|
+
- spec/models/paginatedcontainer_container_remote_response_list_spec.rb
|
328
|
+
- spec/models/content_summary_spec.rb
|
313
329
|
- spec/models/media_types_enum_spec.rb
|
314
|
-
- spec/models/patchedcontainer_content_redirect_content_guard_spec.rb
|
315
|
-
- spec/models/container_container_repository_response_spec.rb
|
316
330
|
- spec/models/paginatedcontainer_manifest_response_list_spec.rb
|
317
|
-
- spec/models/
|
318
|
-
- spec/models/
|
319
|
-
- spec/models/container_blob_response_spec.rb
|
331
|
+
- spec/models/container_container_push_repository_response_spec.rb
|
332
|
+
- spec/models/un_tag_image_spec.rb
|
320
333
|
- spec/models/manifest_copy_spec.rb
|
321
|
-
- spec/models/
|
322
|
-
- spec/models/
|
323
|
-
- spec/models/repository_version_response_spec.rb
|
324
|
-
- spec/models/paginatedcontainer_container_distribution_response_list_spec.rb
|
325
|
-
- spec/models/container_container_repository_spec.rb
|
326
|
-
- spec/models/repository_sync_url_spec.rb
|
327
|
-
- spec/models/paginatedcontainer_container_namespace_response_list_spec.rb
|
334
|
+
- spec/models/paginatedcontainer_container_push_repository_response_list_spec.rb
|
335
|
+
- spec/models/patchedcontainer_content_redirect_content_guard_spec.rb
|
328
336
|
- spec/models/container_content_redirect_content_guard_spec.rb
|
329
|
-
- spec/models/
|
330
|
-
- spec/models/
|
331
|
-
- spec/models/patchedcontainer_container_push_repository_spec.rb
|
332
|
-
- spec/models/paginatedcontainer_blob_response_list_spec.rb
|
333
|
-
- spec/models/paginatedcontainer_content_redirect_content_guard_response_list_spec.rb
|
334
|
-
- spec/models/tag_image_spec.rb
|
335
|
-
- spec/models/remove_image_spec.rb
|
337
|
+
- spec/models/container_container_remote_response_spec.rb
|
338
|
+
- spec/models/container_container_namespace_response_spec.rb
|
336
339
|
- spec/models/container_container_push_repository_spec.rb
|
337
|
-
- spec/models/
|
338
|
-
- spec/models/paginatedcontainer_container_repository_response_list_spec.rb
|
339
|
-
- spec/models/container_content_redirect_content_guard_response_spec.rb
|
340
|
-
- spec/models/container_tag_response_spec.rb
|
340
|
+
- spec/models/container_container_repository_response_spec.rb
|
341
341
|
- spec/spec_helper.rb
|