pulp_container_client 2.1.3 → 2.2.0.post0
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/Gemfile +1 -1
- data/README.md +20 -13
- data/docs/ContainerContainerDistribution.md +7 -7
- data/docs/ContainerContainerDistributionResponse.md +9 -7
- data/docs/ContainerContainerNamespace.md +17 -0
- data/docs/ContainerContainerNamespaceResponse.md +21 -0
- data/docs/ContainerContainerRemote.md +8 -0
- data/docs/ContainerContainerRemoteResponse.md +8 -0
- data/docs/ContentBlobsApi.md +2 -2
- data/docs/ContentManifestsApi.md +2 -2
- data/docs/ContentTagsApi.md +2 -2
- data/docs/ContentguardsContentRedirectApi.md +2 -2
- data/docs/DistributionsContainerApi.md +4 -2
- data/docs/ManifestCopy.md +1 -1
- data/docs/{InlineResponse2008.md → PaginatedRepositoryVersionResponseList.md} +4 -4
- data/docs/{InlineResponse200.md → PaginatedcontainerBlobResponseList.md} +4 -4
- data/docs/{InlineResponse2004.md → PaginatedcontainerContainerDistributionResponseList.md} +4 -4
- data/docs/PaginatedcontainerContainerNamespaceResponseList.md +23 -0
- data/docs/{InlineResponse2007.md → PaginatedcontainerContainerPushRepositoryResponseList.md} +4 -4
- data/docs/{InlineResponse2005.md → PaginatedcontainerContainerRemoteResponseList.md} +4 -4
- data/docs/{InlineResponse2006.md → PaginatedcontainerContainerRepositoryResponseList.md} +4 -4
- data/docs/{InlineResponse2003.md → PaginatedcontainerContentRedirectContentGuardResponseList.md} +4 -4
- data/docs/{InlineResponse2001.md → PaginatedcontainerManifestResponseList.md} +4 -4
- data/docs/{InlineResponse2002.md → PaginatedcontainerTagResponseList.md} +4 -4
- data/docs/PatchedcontainerContainerDistribution.md +7 -7
- data/docs/PatchedcontainerContainerRemote.md +8 -0
- data/docs/PulpContainerNamespacesApi.md +239 -0
- data/docs/RecursiveManage.md +1 -1
- data/docs/RemotesContainerApi.md +2 -2
- data/docs/RepositoriesContainerApi.md +2 -2
- data/docs/RepositoriesContainerPushApi.md +2 -2
- data/docs/RepositoriesContainerVersionsApi.md +8 -8
- data/docs/TagCopy.md +1 -1
- data/lib/pulp_container_client/api/content_blobs_api.rb +4 -4
- data/lib/pulp_container_client/api/content_manifests_api.rb +4 -4
- data/lib/pulp_container_client/api/content_tags_api.rb +4 -4
- data/lib/pulp_container_client/api/contentguards_content_redirect_api.rb +4 -4
- data/lib/pulp_container_client/api/distributions_container_api.rb +7 -4
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +285 -0
- data/lib/pulp_container_client/api/remotes_container_api.rb +4 -4
- data/lib/pulp_container_client/api/repositories_container_api.rb +4 -4
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +4 -4
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +15 -15
- data/lib/pulp_container_client/api/token_api.rb +1 -1
- data/lib/pulp_container_client/api_client.rb +12 -13
- data/lib/pulp_container_client/api_error.rb +1 -1
- data/lib/pulp_container_client/configuration.rb +1 -9
- data/lib/pulp_container_client/models/async_operation_response.rb +1 -1
- data/lib/pulp_container_client/models/container_blob_response.rb +1 -1
- data/lib/pulp_container_client/models/container_container_distribution.rb +31 -31
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +42 -32
- data/lib/pulp_container_client/models/container_container_namespace.rb +231 -0
- data/lib/pulp_container_client/models/container_container_namespace_response.rb +250 -0
- data/lib/pulp_container_client/models/container_container_push_repository.rb +1 -1
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +1 -1
- data/lib/pulp_container_client/models/container_container_remote.rb +106 -2
- data/lib/pulp_container_client/models/container_container_remote_response.rb +106 -2
- data/lib/pulp_container_client/models/container_container_repository.rb +1 -1
- data/lib/pulp_container_client/models/container_container_repository_response.rb +1 -1
- data/lib/pulp_container_client/models/container_content_redirect_content_guard.rb +1 -1
- data/lib/pulp_container_client/models/container_content_redirect_content_guard_response.rb +1 -1
- data/lib/pulp_container_client/models/container_manifest_response.rb +1 -1
- data/lib/pulp_container_client/models/container_tag_response.rb +1 -1
- data/lib/pulp_container_client/models/content_summary.rb +1 -1
- data/lib/pulp_container_client/models/content_summary_response.rb +1 -1
- data/lib/pulp_container_client/models/manifest_copy.rb +2 -2
- data/lib/pulp_container_client/models/oci_build_image.rb +1 -1
- data/lib/pulp_container_client/models/{inline_response2008.rb → paginated_repository_version_response_list.rb} +4 -4
- data/lib/pulp_container_client/models/{inline_response200.rb → paginatedcontainer_blob_response_list.rb} +4 -4
- data/lib/pulp_container_client/models/{inline_response2004.rb → paginatedcontainer_container_distribution_response_list.rb} +4 -4
- data/lib/pulp_container_client/models/paginatedcontainer_container_namespace_response_list.rb +237 -0
- data/lib/pulp_container_client/models/{inline_response2007.rb → paginatedcontainer_container_push_repository_response_list.rb} +4 -4
- data/lib/pulp_container_client/models/{inline_response2005.rb → paginatedcontainer_container_remote_response_list.rb} +4 -4
- data/lib/pulp_container_client/models/{inline_response2006.rb → paginatedcontainer_container_repository_response_list.rb} +4 -4
- data/lib/pulp_container_client/models/{inline_response2003.rb → paginatedcontainer_content_redirect_content_guard_response_list.rb} +4 -4
- data/lib/pulp_container_client/models/{inline_response2001.rb → paginatedcontainer_manifest_response_list.rb} +4 -4
- data/lib/pulp_container_client/models/{inline_response2002.rb → paginatedcontainer_tag_response_list.rb} +4 -4
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +31 -31
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +106 -2
- data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +1 -1
- data/lib/pulp_container_client/models/patchedcontainer_content_redirect_content_guard.rb +1 -1
- data/lib/pulp_container_client/models/policy_enum.rb +1 -1
- data/lib/pulp_container_client/models/recursive_manage.rb +2 -2
- 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/repository_version_response.rb +1 -1
- data/lib/pulp_container_client/models/tag_copy.rb +2 -2
- data/lib/pulp_container_client/models/tag_image.rb +22 -1
- data/lib/pulp_container_client/models/un_tag_image.rb +22 -1
- data/lib/pulp_container_client/version.rb +2 -2
- data/lib/pulp_container_client.rb +14 -10
- data/pulp_container_client.gemspec +2 -2
- data/spec/api/content_blobs_api_spec.rb +2 -2
- data/spec/api/content_manifests_api_spec.rb +2 -2
- data/spec/api/content_tags_api_spec.rb +2 -2
- data/spec/api/contentguards_content_redirect_api_spec.rb +2 -2
- data/spec/api/distributions_container_api_spec.rb +3 -2
- data/spec/api/pulp_container_namespaces_api_spec.rb +89 -0
- data/spec/api/remotes_container_api_spec.rb +2 -2
- data/spec/api/repositories_container_api_spec.rb +2 -2
- data/spec/api/repositories_container_push_api_spec.rb +2 -2
- data/spec/api/repositories_container_versions_api_spec.rb +7 -7
- data/spec/api/token_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/async_operation_response_spec.rb +1 -1
- data/spec/models/container_blob_response_spec.rb +1 -1
- data/spec/models/container_container_distribution_response_spec.rb +13 -7
- data/spec/models/container_container_distribution_spec.rb +5 -5
- data/spec/models/{inline_response200_spec.rb → container_container_namespace_response_spec.rb} +10 -16
- data/spec/models/container_container_namespace_spec.rb +41 -0
- data/spec/models/container_container_push_repository_response_spec.rb +1 -1
- data/spec/models/container_container_push_repository_spec.rb +1 -1
- data/spec/models/container_container_remote_response_spec.rb +25 -1
- data/spec/models/container_container_remote_spec.rb +25 -1
- data/spec/models/container_container_repository_response_spec.rb +1 -1
- data/spec/models/container_container_repository_spec.rb +1 -1
- data/spec/models/container_content_redirect_content_guard_response_spec.rb +1 -1
- data/spec/models/container_content_redirect_content_guard_spec.rb +1 -1
- data/spec/models/container_manifest_response_spec.rb +1 -1
- data/spec/models/container_tag_response_spec.rb +1 -1
- data/spec/models/content_summary_response_spec.rb +1 -1
- data/spec/models/content_summary_spec.rb +1 -1
- data/spec/models/manifest_copy_spec.rb +1 -1
- data/spec/models/oci_build_image_spec.rb +1 -1
- data/spec/models/{inline_response2003_spec.rb → paginated_repository_version_response_list_spec.rb} +7 -7
- data/spec/models/{inline_response2002_spec.rb → paginatedcontainer_blob_response_list_spec.rb} +7 -7
- data/spec/models/paginatedcontainer_container_distribution_response_list_spec.rb +59 -0
- data/spec/models/paginatedcontainer_container_namespace_response_list_spec.rb +59 -0
- data/spec/models/paginatedcontainer_container_push_repository_response_list_spec.rb +59 -0
- data/spec/models/paginatedcontainer_container_remote_response_list_spec.rb +59 -0
- data/spec/models/paginatedcontainer_container_repository_response_list_spec.rb +59 -0
- data/spec/models/paginatedcontainer_content_redirect_content_guard_response_list_spec.rb +59 -0
- data/spec/models/{inline_response2004_spec.rb → paginatedcontainer_manifest_response_list_spec.rb} +7 -7
- data/spec/models/{inline_response2001_spec.rb → paginatedcontainer_tag_response_list_spec.rb} +7 -7
- data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_remote_spec.rb +25 -1
- data/spec/models/patchedcontainer_container_repository_spec.rb +1 -1
- data/spec/models/patchedcontainer_content_redirect_content_guard_spec.rb +1 -1
- data/spec/models/policy_enum_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_response_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 +87 -77
- data/spec/models/inline_response2005_spec.rb +0 -59
- data/spec/models/inline_response2006_spec.rb +0 -59
- data/spec/models/inline_response2007_spec.rb +0 -59
- data/spec/models/inline_response2008_spec.rb +0 -59
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
Contact: pulp-list@redhat.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.3
|
|
9
|
+
OpenAPI Generator version: 4.2.3
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -67,11 +67,12 @@ describe 'DistributionsContainerApi' do
|
|
|
67
67
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
68
68
|
# @option opts [String] :name name
|
|
69
69
|
# @option opts [String] :name__in name__in
|
|
70
|
+
# @option opts [String] :namespace__name namespace__name
|
|
70
71
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
71
72
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
72
73
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
73
74
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
74
|
-
# @return [
|
|
75
|
+
# @return [PaginatedcontainerContainerDistributionResponseList]
|
|
75
76
|
describe 'list test' do
|
|
76
77
|
it 'should work' do
|
|
77
78
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Pulp 3 API
|
|
3
|
+
|
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: v3
|
|
7
|
+
Contact: pulp-list@redhat.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 4.2.3
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
|
|
16
|
+
# Unit tests for PulpContainerClient::PulpContainerNamespacesApi
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'PulpContainerNamespacesApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@api_instance = PulpContainerClient::PulpContainerNamespacesApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of PulpContainerNamespacesApi' do
|
|
30
|
+
it 'should create an instance of PulpContainerNamespacesApi' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(PulpContainerClient::PulpContainerNamespacesApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for create
|
|
36
|
+
# Create a container namespace
|
|
37
|
+
# ViewSet for ContainerNamespaces.
|
|
38
|
+
# @param container_container_namespace
|
|
39
|
+
# @param [Hash] opts the optional parameters
|
|
40
|
+
# @return [ContainerContainerNamespaceResponse]
|
|
41
|
+
describe 'create test' do
|
|
42
|
+
it 'should work' do
|
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
# unit tests for delete
|
|
48
|
+
# Delete a container namespace
|
|
49
|
+
# ViewSet for ContainerNamespaces.
|
|
50
|
+
# @param container_container_namespace_href
|
|
51
|
+
# @param [Hash] opts the optional parameters
|
|
52
|
+
# @return [nil]
|
|
53
|
+
describe 'delete test' do
|
|
54
|
+
it 'should work' do
|
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
# unit tests for list
|
|
60
|
+
# List container namespaces
|
|
61
|
+
# ViewSet for ContainerNamespaces.
|
|
62
|
+
# @param [Hash] opts the optional parameters
|
|
63
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
|
64
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
65
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
66
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
67
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
68
|
+
# @return [PaginatedcontainerContainerNamespaceResponseList]
|
|
69
|
+
describe 'list test' do
|
|
70
|
+
it 'should work' do
|
|
71
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
72
|
+
end
|
|
73
|
+
end
|
|
74
|
+
|
|
75
|
+
# unit tests for read
|
|
76
|
+
# Inspect a container namespace
|
|
77
|
+
# ViewSet for ContainerNamespaces.
|
|
78
|
+
# @param container_container_namespace_href
|
|
79
|
+
# @param [Hash] opts the optional parameters
|
|
80
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
|
81
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
82
|
+
# @return [ContainerContainerNamespaceResponse]
|
|
83
|
+
describe 'read test' do
|
|
84
|
+
it 'should work' do
|
|
85
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
86
|
+
end
|
|
87
|
+
end
|
|
88
|
+
|
|
89
|
+
end
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
Contact: pulp-list@redhat.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.3
|
|
9
|
+
OpenAPI Generator version: 4.2.3
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -73,7 +73,7 @@ describe 'RemotesContainerApi' do
|
|
|
73
73
|
# @option opts [String] :pulp_last_updated__range pulp_last_updated__range
|
|
74
74
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
75
75
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
76
|
-
# @return [
|
|
76
|
+
# @return [PaginatedcontainerContainerRemoteResponseList]
|
|
77
77
|
describe 'list test' do
|
|
78
78
|
it 'should work' do
|
|
79
79
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
Contact: pulp-list@redhat.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.3
|
|
9
|
+
OpenAPI Generator version: 4.2.3
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -122,7 +122,7 @@ describe 'RepositoriesContainerApi' do
|
|
|
122
122
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
123
123
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
124
124
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
125
|
-
# @return [
|
|
125
|
+
# @return [PaginatedcontainerContainerRepositoryResponseList]
|
|
126
126
|
describe 'list test' do
|
|
127
127
|
it 'should work' do
|
|
128
128
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
Contact: pulp-list@redhat.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.3
|
|
9
|
+
OpenAPI Generator version: 4.2.3
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -67,7 +67,7 @@ describe 'RepositoriesContainerPushApi' do
|
|
|
67
67
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
68
68
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
69
69
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
70
|
-
# @return [
|
|
70
|
+
# @return [PaginatedcontainerContainerPushRepositoryResponseList]
|
|
71
71
|
describe 'list test' do
|
|
72
72
|
it 'should work' do
|
|
73
73
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
Contact: pulp-list@redhat.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.3
|
|
9
|
+
OpenAPI Generator version: 4.2.3
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -34,7 +34,7 @@ describe 'RepositoriesContainerVersionsApi' do
|
|
|
34
34
|
|
|
35
35
|
# unit tests for delete
|
|
36
36
|
# Delete a repository version
|
|
37
|
-
# Trigger an asynchronous task to delete a
|
|
37
|
+
# Trigger an asynchronous task to delete a repository version.
|
|
38
38
|
# @param container_container_push_repository_version_href
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
40
|
# @return [AsyncOperationResponse]
|
|
@@ -46,7 +46,7 @@ describe 'RepositoriesContainerVersionsApi' do
|
|
|
46
46
|
|
|
47
47
|
# unit tests for delete_0
|
|
48
48
|
# Delete a repository version
|
|
49
|
-
# Trigger an asynchronous task to delete a
|
|
49
|
+
# Trigger an asynchronous task to delete a repository version.
|
|
50
50
|
# @param container_container_repository_version_href
|
|
51
51
|
# @param [Hash] opts the optional parameters
|
|
52
52
|
# @return [AsyncOperationResponse]
|
|
@@ -80,7 +80,7 @@ describe 'RepositoriesContainerVersionsApi' do
|
|
|
80
80
|
# @option opts [String] :pulp_created__range pulp_created__range
|
|
81
81
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
82
82
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
83
|
-
# @return [
|
|
83
|
+
# @return [PaginatedRepositoryVersionResponseList]
|
|
84
84
|
describe 'list test' do
|
|
85
85
|
it 'should work' do
|
|
86
86
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -111,7 +111,7 @@ describe 'RepositoriesContainerVersionsApi' do
|
|
|
111
111
|
# @option opts [String] :pulp_created__range pulp_created__range
|
|
112
112
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
113
113
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
114
|
-
# @return [
|
|
114
|
+
# @return [PaginatedRepositoryVersionResponseList]
|
|
115
115
|
describe 'list_0 test' do
|
|
116
116
|
it 'should work' do
|
|
117
117
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -147,7 +147,7 @@ describe 'RepositoriesContainerVersionsApi' do
|
|
|
147
147
|
end
|
|
148
148
|
|
|
149
149
|
# unit tests for repair
|
|
150
|
-
# Trigger an asynchronous task to repair a
|
|
150
|
+
# Trigger an asynchronous task to repair a repository version.
|
|
151
151
|
# @param container_container_push_repository_version_href
|
|
152
152
|
# @param repository_version
|
|
153
153
|
# @param [Hash] opts the optional parameters
|
|
@@ -159,7 +159,7 @@ describe 'RepositoriesContainerVersionsApi' do
|
|
|
159
159
|
end
|
|
160
160
|
|
|
161
161
|
# unit tests for repair_0
|
|
162
|
-
# Trigger an asynchronous task to repair a
|
|
162
|
+
# Trigger an asynchronous task to repair a repository version.
|
|
163
163
|
# @param container_container_repository_version_href
|
|
164
164
|
# @param repository_version
|
|
165
165
|
# @param [Hash] opts the optional parameters
|
data/spec/api/token_api_spec.rb
CHANGED
data/spec/api_client_spec.rb
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
Contact: pulp-list@redhat.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.3
|
|
9
|
+
OpenAPI Generator version: 4.2.3
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -118,7 +118,7 @@ describe PulpContainerClient::ApiClient do
|
|
|
118
118
|
end
|
|
119
119
|
|
|
120
120
|
it 'fails for invalid collection format' do
|
|
121
|
-
expect
|
|
121
|
+
expect{api_client.build_collection_param(param, :INVALID)}.to raise_error(RuntimeError, 'unknown collection format: :INVALID')
|
|
122
122
|
end
|
|
123
123
|
end
|
|
124
124
|
|
data/spec/configuration_spec.rb
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
Contact: pulp-list@redhat.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.3
|
|
9
|
+
OpenAPI Generator version: 4.2.3
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -32,7 +32,7 @@ describe 'ContainerContainerDistributionResponse' do
|
|
|
32
32
|
expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerDistributionResponse)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
|
-
describe 'test attribute "
|
|
35
|
+
describe 'test attribute "base_path"' do
|
|
36
36
|
it 'should work' do
|
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
38
|
end
|
|
@@ -44,31 +44,31 @@ describe 'ContainerContainerDistributionResponse' do
|
|
|
44
44
|
end
|
|
45
45
|
end
|
|
46
46
|
|
|
47
|
-
describe 'test attribute "
|
|
47
|
+
describe 'test attribute "pulp_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_created"' 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 "content_guard"' do
|
|
66
66
|
it 'should work' do
|
|
67
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
68
68
|
end
|
|
69
69
|
end
|
|
70
70
|
|
|
71
|
-
describe 'test attribute "
|
|
71
|
+
describe 'test attribute "repository"' 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
|
|
@@ -80,4 +80,10 @@ describe 'ContainerContainerDistributionResponse' do
|
|
|
80
80
|
end
|
|
81
81
|
end
|
|
82
82
|
|
|
83
|
+
describe 'test attribute "namespace"' do
|
|
84
|
+
it 'should work' do
|
|
85
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
86
|
+
end
|
|
87
|
+
end
|
|
88
|
+
|
|
83
89
|
end
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
Contact: pulp-list@redhat.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.3
|
|
9
|
+
OpenAPI Generator version: 4.2.3
|
|
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 "base_path"' 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,19 +44,19 @@ describe 'ContainerContainerDistribution' do
|
|
|
44
44
|
end
|
|
45
45
|
end
|
|
46
46
|
|
|
47
|
-
describe 'test attribute "
|
|
47
|
+
describe 'test attribute "name"' 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 "content_guard"' 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"' 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
|
data/spec/models/{inline_response200_spec.rb → container_container_namespace_response_spec.rb}
RENAMED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
Contact: pulp-list@redhat.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.3
|
|
9
|
+
OpenAPI Generator version: 4.2.3
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -14,43 +14,37 @@ require 'spec_helper'
|
|
|
14
14
|
require 'json'
|
|
15
15
|
require 'date'
|
|
16
16
|
|
|
17
|
-
# Unit tests for PulpContainerClient::
|
|
17
|
+
# Unit tests for PulpContainerClient::ContainerContainerNamespaceResponse
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
|
-
describe '
|
|
20
|
+
describe 'ContainerContainerNamespaceResponse' do
|
|
21
21
|
before do
|
|
22
22
|
# run before each test
|
|
23
|
-
@instance = PulpContainerClient::
|
|
23
|
+
@instance = PulpContainerClient::ContainerContainerNamespaceResponse.new
|
|
24
24
|
end
|
|
25
25
|
|
|
26
26
|
after do
|
|
27
27
|
# run after each test
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
-
describe 'test an instance of
|
|
31
|
-
it 'should create an instance of
|
|
32
|
-
expect(@instance).to be_instance_of(PulpContainerClient::
|
|
30
|
+
describe 'test an instance of ContainerContainerNamespaceResponse' do
|
|
31
|
+
it 'should create an instance of ContainerContainerNamespaceResponse' do
|
|
32
|
+
expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerNamespaceResponse)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
|
-
describe 'test attribute "
|
|
35
|
+
describe 'test attribute "pulp_href"' 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 "pulp_created"' 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 "
|
|
48
|
-
it 'should work' do
|
|
49
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
50
|
-
end
|
|
51
|
-
end
|
|
52
|
-
|
|
53
|
-
describe 'test attribute "results"' do
|
|
47
|
+
describe 'test attribute "name"' do
|
|
54
48
|
it 'should work' do
|
|
55
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
50
|
end
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Pulp 3 API
|
|
3
|
+
|
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: v3
|
|
7
|
+
Contact: pulp-list@redhat.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 4.2.3
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for PulpContainerClient::ContainerContainerNamespace
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'ContainerContainerNamespace' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = PulpContainerClient::ContainerContainerNamespace.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of ContainerContainerNamespace' do
|
|
31
|
+
it 'should create an instance of ContainerContainerNamespace' do
|
|
32
|
+
expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerNamespace)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "name"' do
|
|
36
|
+
it 'should work' do
|
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
end
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
Contact: pulp-list@redhat.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.3
|
|
9
|
+
OpenAPI Generator version: 4.2.3
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -116,6 +116,30 @@ describe 'ContainerContainerRemoteResponse' do
|
|
|
116
116
|
end
|
|
117
117
|
end
|
|
118
118
|
|
|
119
|
+
describe 'test attribute "total_timeout"' do
|
|
120
|
+
it 'should work' do
|
|
121
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
122
|
+
end
|
|
123
|
+
end
|
|
124
|
+
|
|
125
|
+
describe 'test attribute "connect_timeout"' do
|
|
126
|
+
it 'should work' do
|
|
127
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
128
|
+
end
|
|
129
|
+
end
|
|
130
|
+
|
|
131
|
+
describe 'test attribute "sock_connect_timeout"' do
|
|
132
|
+
it 'should work' do
|
|
133
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
134
|
+
end
|
|
135
|
+
end
|
|
136
|
+
|
|
137
|
+
describe 'test attribute "sock_read_timeout"' do
|
|
138
|
+
it 'should work' do
|
|
139
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
140
|
+
end
|
|
141
|
+
end
|
|
142
|
+
|
|
119
143
|
describe 'test attribute "upstream_name"' do
|
|
120
144
|
it 'should work' do
|
|
121
145
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
Contact: pulp-list@redhat.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.3
|
|
9
|
+
OpenAPI Generator version: 4.2.3
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -98,6 +98,30 @@ describe 'ContainerContainerRemote' do
|
|
|
98
98
|
end
|
|
99
99
|
end
|
|
100
100
|
|
|
101
|
+
describe 'test attribute "total_timeout"' do
|
|
102
|
+
it 'should work' do
|
|
103
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
104
|
+
end
|
|
105
|
+
end
|
|
106
|
+
|
|
107
|
+
describe 'test attribute "connect_timeout"' do
|
|
108
|
+
it 'should work' do
|
|
109
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
110
|
+
end
|
|
111
|
+
end
|
|
112
|
+
|
|
113
|
+
describe 'test attribute "sock_connect_timeout"' do
|
|
114
|
+
it 'should work' do
|
|
115
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
116
|
+
end
|
|
117
|
+
end
|
|
118
|
+
|
|
119
|
+
describe 'test attribute "sock_read_timeout"' do
|
|
120
|
+
it 'should work' do
|
|
121
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
122
|
+
end
|
|
123
|
+
end
|
|
124
|
+
|
|
101
125
|
describe 'test attribute "upstream_name"' do
|
|
102
126
|
it 'should work' do
|
|
103
127
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|