pulp_container_client 2.0.0b3 → 2.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 +69 -57
- data/docs/{ContainerBlob.md → ContainerBlobResponse.md} +2 -2
- data/docs/ContainerContainerDistribution.md +6 -12
- data/docs/ContainerContainerDistributionResponse.md +31 -0
- data/docs/ContainerContainerPushRepository.md +4 -10
- data/docs/ContainerContainerPushRepositoryResponse.md +29 -0
- data/docs/ContainerContainerRemote.md +8 -12
- data/docs/ContainerContainerRemoteResponse.md +49 -0
- data/docs/ContainerContainerRepository.md +4 -10
- data/docs/ContainerContainerRepositoryResponse.md +29 -0
- data/docs/ContainerContentRedirectContentGuard.md +1 -5
- data/docs/ContainerContentRedirectContentGuardResponse.md +23 -0
- data/docs/{ContainerManifest.md → ContainerManifestResponse.md} +2 -2
- data/docs/{ContainerTag.md → ContainerTagResponse.md} +2 -4
- data/docs/ContentBlobsApi.md +24 -24
- data/docs/ContentManifestsApi.md +24 -24
- data/docs/ContentSummary.md +3 -3
- data/docs/ContentSummaryResponse.md +21 -0
- data/docs/ContentTagsApi.md +26 -26
- data/docs/ContentguardsContentRedirectApi.md +55 -55
- data/docs/DistributionsContainerApi.md +108 -60
- data/docs/InlineResponse200.md +3 -3
- data/docs/InlineResponse2001.md +3 -3
- data/docs/InlineResponse2002.md +3 -3
- data/docs/InlineResponse2003.md +3 -3
- data/docs/InlineResponse2004.md +3 -3
- data/docs/InlineResponse2005.md +3 -3
- data/docs/InlineResponse2006.md +3 -3
- data/docs/InlineResponse2007.md +3 -3
- data/docs/InlineResponse2008.md +3 -3
- data/docs/ManifestCopy.md +1 -1
- data/docs/OCIBuildImage.md +23 -0
- data/docs/PatchedcontainerContainerDistribution.md +25 -0
- data/docs/PatchedcontainerContainerRemote.md +43 -0
- data/docs/PatchedcontainerContainerRepository.md +21 -0
- data/docs/PatchedcontainerContentRedirectContentGuard.md +19 -0
- data/docs/PolicyEnum.md +16 -0
- data/docs/RecursiveManage.md +1 -1
- data/docs/RemotesContainerApi.md +125 -65
- data/docs/RepositoriesContainerApi.md +158 -134
- data/docs/RepositoriesContainerPushApi.md +44 -148
- data/docs/RepositoriesContainerVersionsApi.md +190 -126
- data/docs/RepositorySyncURL.md +1 -1
- data/docs/RepositoryVersion.md +1 -9
- data/docs/RepositoryVersionResponse.md +25 -0
- data/docs/TagCopy.md +1 -1
- data/docs/TokenApi.md +8 -16
- data/lib/pulp_container_client/api/content_blobs_api.rb +38 -34
- data/lib/pulp_container_client/api/content_manifests_api.rb +38 -34
- data/lib/pulp_container_client/api/content_tags_api.rb +41 -37
- data/lib/pulp_container_client/api/contentguards_content_redirect_api.rb +90 -90
- data/lib/pulp_container_client/api/distributions_container_api.rb +153 -90
- data/lib/pulp_container_client/api/remotes_container_api.rb +181 -100
- data/lib/pulp_container_client/api/repositories_container_api.rb +245 -222
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +66 -197
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +278 -188
- data/lib/pulp_container_client/api/token_api.rb +8 -14
- data/lib/pulp_container_client/api_client.rb +2 -2
- data/lib/pulp_container_client/api_error.rb +2 -2
- data/lib/pulp_container_client/configuration.rb +3 -3
- data/lib/pulp_container_client/models/async_operation_response.rb +3 -2
- data/lib/pulp_container_client/models/{container_blob.rb → container_blob_response.rb} +6 -43
- data/lib/pulp_container_client/models/container_container_distribution.rb +29 -110
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +289 -0
- data/lib/pulp_container_client/models/container_container_push_repository.rb +18 -78
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +271 -0
- data/lib/pulp_container_client/models/container_container_remote.rb +29 -227
- data/lib/pulp_container_client/models/container_container_remote_response.rb +409 -0
- data/lib/pulp_container_client/models/container_container_repository.rb +18 -78
- data/lib/pulp_container_client/models/container_container_repository_response.rb +271 -0
- data/lib/pulp_container_client/models/container_content_redirect_content_guard.rb +4 -56
- data/lib/pulp_container_client/models/container_content_redirect_content_guard_response.rb +243 -0
- data/lib/pulp_container_client/models/{container_manifest.rb → container_manifest_response.rb} +6 -43
- data/lib/pulp_container_client/models/{container_tag.rb → container_tag_response.rb} +7 -40
- data/lib/pulp_container_client/models/content_summary.rb +9 -15
- data/lib/pulp_container_client/models/content_summary_response.rb +240 -0
- data/lib/pulp_container_client/models/inline_response200.rb +3 -13
- data/lib/pulp_container_client/models/inline_response2001.rb +3 -13
- data/lib/pulp_container_client/models/inline_response2002.rb +3 -13
- data/lib/pulp_container_client/models/inline_response2003.rb +3 -13
- data/lib/pulp_container_client/models/inline_response2004.rb +3 -13
- data/lib/pulp_container_client/models/inline_response2005.rb +3 -13
- data/lib/pulp_container_client/models/inline_response2006.rb +3 -13
- data/lib/pulp_container_client/models/inline_response2007.rb +3 -13
- data/lib/pulp_container_client/models/inline_response2008.rb +3 -13
- data/lib/pulp_container_client/models/manifest_copy.rb +4 -3
- data/lib/pulp_container_client/models/oci_build_image.rb +240 -0
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +250 -0
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +365 -0
- data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +229 -0
- data/lib/pulp_container_client/models/patchedcontainer_content_redirect_content_guard.rb +219 -0
- data/lib/pulp_container_client/models/policy_enum.rb +37 -0
- data/lib/pulp_container_client/models/recursive_manage.rb +4 -3
- data/lib/pulp_container_client/models/repository_sync_url.rb +3 -8
- data/lib/pulp_container_client/models/repository_version.rb +7 -43
- data/lib/pulp_container_client/models/repository_version_response.rb +246 -0
- data/lib/pulp_container_client/models/tag_copy.rb +4 -3
- data/lib/pulp_container_client/models/tag_image.rb +3 -40
- data/lib/pulp_container_client/models/un_tag_image.rb +3 -21
- data/lib/pulp_container_client/version.rb +3 -3
- data/lib/pulp_container_client.rb +18 -5
- data/pulp_container_client.gemspec +4 -4
- data/spec/api/content_blobs_api_spec.rb +11 -11
- data/spec/api/content_manifests_api_spec.rb +11 -11
- data/spec/api/content_tags_api_spec.rb +12 -12
- data/spec/api/contentguards_content_redirect_api_spec.rb +17 -17
- data/spec/api/distributions_container_api_spec.rb +39 -18
- data/spec/api/remotes_container_api_spec.rb +48 -21
- data/spec/api/repositories_container_api_spec.rb +41 -32
- data/spec/api/repositories_container_push_api_spec.rb +17 -40
- data/spec/api/repositories_container_versions_api_spec.rb +76 -46
- data/spec/api/token_api_spec.rb +4 -6
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +2 -2
- data/spec/models/async_operation_response_spec.rb +2 -2
- data/spec/models/{container_blob_spec.rb → container_blob_response_spec.rb} +8 -8
- data/spec/models/container_container_distribution_response_spec.rb +83 -0
- data/spec/models/container_container_distribution_spec.rb +5 -23
- data/spec/models/container_container_push_repository_response_spec.rb +77 -0
- data/spec/models/container_container_push_repository_spec.rb +5 -23
- data/spec/models/container_container_remote_response_spec.rb +137 -0
- data/spec/models/container_container_remote_spec.rb +7 -23
- data/spec/models/container_container_repository_response_spec.rb +77 -0
- data/spec/models/container_container_repository_spec.rb +5 -23
- data/spec/models/container_content_redirect_content_guard_response_spec.rb +59 -0
- data/spec/models/container_content_redirect_content_guard_spec.rb +2 -14
- data/spec/models/{container_manifest_spec.rb → container_manifest_response_spec.rb} +8 -8
- data/spec/models/{container_tag_spec.rb → container_tag_response_spec.rb} +8 -14
- data/spec/models/content_summary_response_spec.rb +53 -0
- data/spec/models/content_summary_spec.rb +2 -2
- data/spec/models/inline_response2001_spec.rb +2 -2
- data/spec/models/inline_response2002_spec.rb +2 -2
- data/spec/models/inline_response2003_spec.rb +2 -2
- data/spec/models/inline_response2004_spec.rb +2 -2
- data/spec/models/inline_response2005_spec.rb +2 -2
- data/spec/models/inline_response2006_spec.rb +2 -2
- data/spec/models/inline_response2007_spec.rb +2 -2
- data/spec/models/inline_response2008_spec.rb +2 -2
- data/spec/models/inline_response200_spec.rb +2 -2
- data/spec/models/manifest_copy_spec.rb +2 -2
- data/spec/models/oci_build_image_spec.rb +59 -0
- data/spec/models/patchedcontainer_container_distribution_spec.rb +65 -0
- data/spec/models/patchedcontainer_container_remote_spec.rb +119 -0
- data/spec/models/patchedcontainer_container_repository_spec.rb +53 -0
- data/spec/models/patchedcontainer_content_redirect_content_guard_spec.rb +47 -0
- data/spec/models/policy_enum_spec.rb +35 -0
- data/spec/models/recursive_manage_spec.rb +2 -2
- data/spec/models/repository_sync_url_spec.rb +2 -2
- data/spec/models/repository_version_response_spec.rb +65 -0
- data/spec/models/repository_version_spec.rb +2 -26
- data/spec/models/tag_copy_spec.rb +2 -2
- data/spec/models/tag_image_spec.rb +2 -2
- data/spec/models/un_tag_image_spec.rb +2 -2
- data/spec/spec_helper.rb +2 -2
- metadata +93 -41
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#Pulp 3 API
|
|
3
3
|
|
|
4
|
-
#
|
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
|
5
5
|
|
|
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
9
|
OpenAPI Generator version: 4.2.3
|
|
10
10
|
|
|
@@ -35,8 +35,23 @@ describe 'RepositoriesContainerVersionsApi' do
|
|
|
35
35
|
# unit tests for delete
|
|
36
36
|
# Delete a repository version
|
|
37
37
|
# Trigger an asynchronous task to delete a repositroy version.
|
|
38
|
-
# @param
|
|
38
|
+
# @param container_container_push_repository_version_href
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
|
+
# @option opts [String] :content content
|
|
41
|
+
# @option opts [String] :content__in content__in
|
|
42
|
+
# @option opts [String] :number number
|
|
43
|
+
# @option opts [String] :number__gt number__gt
|
|
44
|
+
# @option opts [String] :number__gte number__gte
|
|
45
|
+
# @option opts [String] :number__lt number__lt
|
|
46
|
+
# @option opts [String] :number__lte number__lte
|
|
47
|
+
# @option opts [String] :number__range number__range
|
|
48
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
49
|
+
# @option opts [String] :pulp_created pulp_created
|
|
50
|
+
# @option opts [String] :pulp_created__gt pulp_created__gt
|
|
51
|
+
# @option opts [String] :pulp_created__gte pulp_created__gte
|
|
52
|
+
# @option opts [String] :pulp_created__lt pulp_created__lt
|
|
53
|
+
# @option opts [String] :pulp_created__lte pulp_created__lte
|
|
54
|
+
# @option opts [String] :pulp_created__range pulp_created__range
|
|
40
55
|
# @return [AsyncOperationResponse]
|
|
41
56
|
describe 'delete test' do
|
|
42
57
|
it 'should work' do
|
|
@@ -47,8 +62,23 @@ describe 'RepositoriesContainerVersionsApi' do
|
|
|
47
62
|
# unit tests for delete_0
|
|
48
63
|
# Delete a repository version
|
|
49
64
|
# Trigger an asynchronous task to delete a repositroy version.
|
|
50
|
-
# @param
|
|
65
|
+
# @param container_container_repository_version_href
|
|
51
66
|
# @param [Hash] opts the optional parameters
|
|
67
|
+
# @option opts [String] :content content
|
|
68
|
+
# @option opts [String] :content__in content__in
|
|
69
|
+
# @option opts [String] :number number
|
|
70
|
+
# @option opts [String] :number__gt number__gt
|
|
71
|
+
# @option opts [String] :number__gte number__gte
|
|
72
|
+
# @option opts [String] :number__lt number__lt
|
|
73
|
+
# @option opts [String] :number__lte number__lte
|
|
74
|
+
# @option opts [String] :number__range number__range
|
|
75
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
76
|
+
# @option opts [String] :pulp_created pulp_created
|
|
77
|
+
# @option opts [String] :pulp_created__gt pulp_created__gt
|
|
78
|
+
# @option opts [String] :pulp_created__gte pulp_created__gte
|
|
79
|
+
# @option opts [String] :pulp_created__lt pulp_created__lt
|
|
80
|
+
# @option opts [String] :pulp_created__lte pulp_created__lte
|
|
81
|
+
# @option opts [String] :pulp_created__range pulp_created__range
|
|
52
82
|
# @return [AsyncOperationResponse]
|
|
53
83
|
describe 'delete_0 test' do
|
|
54
84
|
it 'should work' do
|
|
@@ -59,28 +89,28 @@ describe 'RepositoriesContainerVersionsApi' do
|
|
|
59
89
|
# unit tests for list
|
|
60
90
|
# List repository versions
|
|
61
91
|
# ContainerPushRepositoryVersion represents a single container push repository version.
|
|
62
|
-
# @param
|
|
92
|
+
# @param container_container_push_repository_href
|
|
63
93
|
# @param [Hash] opts the optional parameters
|
|
64
|
-
# @option opts [String] :
|
|
65
|
-
# @option opts [
|
|
66
|
-
# @option opts [Float] :number__lt Filter results where number is less than value
|
|
67
|
-
# @option opts [Float] :number__lte Filter results where number is less than or equal to value
|
|
68
|
-
# @option opts [Float] :number__gt Filter results where number is greater than value
|
|
69
|
-
# @option opts [Float] :number__gte Filter results where number is greater than or equal to value
|
|
70
|
-
# @option opts [Float] :number__range Filter results where number is between two comma separated values
|
|
71
|
-
# @option opts [String] :pulp_created__lt Filter results where pulp_created is less than value
|
|
72
|
-
# @option opts [String] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
|
73
|
-
# @option opts [String] :pulp_created__gt Filter results where pulp_created is greater than value
|
|
74
|
-
# @option opts [String] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
|
75
|
-
# @option opts [String] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
|
76
|
-
# @option opts [String] :pulp_created ISO 8601 formatted dates are supported
|
|
77
|
-
# @option opts [String] :content Content Unit referenced by HREF
|
|
78
|
-
# @option opts [String] :content__in Content Unit referenced by HREF
|
|
94
|
+
# @option opts [String] :content content
|
|
95
|
+
# @option opts [String] :content__in content__in
|
|
79
96
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
97
|
+
# @option opts [String] :number number
|
|
98
|
+
# @option opts [String] :number__gt number__gt
|
|
99
|
+
# @option opts [String] :number__gte number__gte
|
|
100
|
+
# @option opts [String] :number__lt number__lt
|
|
101
|
+
# @option opts [String] :number__lte number__lte
|
|
102
|
+
# @option opts [String] :number__range number__range
|
|
80
103
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
104
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
105
|
+
# @option opts [String] :pulp_created pulp_created
|
|
106
|
+
# @option opts [String] :pulp_created__gt pulp_created__gt
|
|
107
|
+
# @option opts [String] :pulp_created__gte pulp_created__gte
|
|
108
|
+
# @option opts [String] :pulp_created__lt pulp_created__lt
|
|
109
|
+
# @option opts [String] :pulp_created__lte pulp_created__lte
|
|
110
|
+
# @option opts [String] :pulp_created__range pulp_created__range
|
|
81
111
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
82
112
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
83
|
-
# @return [
|
|
113
|
+
# @return [InlineResponse2008]
|
|
84
114
|
describe 'list test' do
|
|
85
115
|
it 'should work' do
|
|
86
116
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -90,28 +120,28 @@ describe 'RepositoriesContainerVersionsApi' do
|
|
|
90
120
|
# unit tests for list_0
|
|
91
121
|
# List repository versions
|
|
92
122
|
# ContainerRepositoryVersion represents a single container repository version.
|
|
93
|
-
# @param
|
|
123
|
+
# @param container_container_repository_href
|
|
94
124
|
# @param [Hash] opts the optional parameters
|
|
95
|
-
# @option opts [String] :
|
|
96
|
-
# @option opts [
|
|
97
|
-
# @option opts [Float] :number__lt Filter results where number is less than value
|
|
98
|
-
# @option opts [Float] :number__lte Filter results where number is less than or equal to value
|
|
99
|
-
# @option opts [Float] :number__gt Filter results where number is greater than value
|
|
100
|
-
# @option opts [Float] :number__gte Filter results where number is greater than or equal to value
|
|
101
|
-
# @option opts [Float] :number__range Filter results where number is between two comma separated values
|
|
102
|
-
# @option opts [String] :pulp_created__lt Filter results where pulp_created is less than value
|
|
103
|
-
# @option opts [String] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
|
104
|
-
# @option opts [String] :pulp_created__gt Filter results where pulp_created is greater than value
|
|
105
|
-
# @option opts [String] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
|
106
|
-
# @option opts [String] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
|
107
|
-
# @option opts [String] :pulp_created ISO 8601 formatted dates are supported
|
|
108
|
-
# @option opts [String] :content Content Unit referenced by HREF
|
|
109
|
-
# @option opts [String] :content__in Content Unit referenced by HREF
|
|
125
|
+
# @option opts [String] :content content
|
|
126
|
+
# @option opts [String] :content__in content__in
|
|
110
127
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
128
|
+
# @option opts [String] :number number
|
|
129
|
+
# @option opts [String] :number__gt number__gt
|
|
130
|
+
# @option opts [String] :number__gte number__gte
|
|
131
|
+
# @option opts [String] :number__lt number__lt
|
|
132
|
+
# @option opts [String] :number__lte number__lte
|
|
133
|
+
# @option opts [String] :number__range number__range
|
|
111
134
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
135
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
136
|
+
# @option opts [String] :pulp_created pulp_created
|
|
137
|
+
# @option opts [String] :pulp_created__gt pulp_created__gt
|
|
138
|
+
# @option opts [String] :pulp_created__gte pulp_created__gte
|
|
139
|
+
# @option opts [String] :pulp_created__lt pulp_created__lt
|
|
140
|
+
# @option opts [String] :pulp_created__lte pulp_created__lte
|
|
141
|
+
# @option opts [String] :pulp_created__range pulp_created__range
|
|
112
142
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
113
143
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
114
|
-
# @return [
|
|
144
|
+
# @return [InlineResponse2008]
|
|
115
145
|
describe 'list_0 test' do
|
|
116
146
|
it 'should work' do
|
|
117
147
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -121,11 +151,11 @@ describe 'RepositoriesContainerVersionsApi' do
|
|
|
121
151
|
# unit tests for read
|
|
122
152
|
# Inspect a repository version
|
|
123
153
|
# ContainerPushRepositoryVersion represents a single container push repository version.
|
|
124
|
-
# @param
|
|
154
|
+
# @param container_container_push_repository_version_href
|
|
125
155
|
# @param [Hash] opts the optional parameters
|
|
126
156
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
127
157
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
128
|
-
# @return [
|
|
158
|
+
# @return [RepositoryVersionResponse]
|
|
129
159
|
describe 'read test' do
|
|
130
160
|
it 'should work' do
|
|
131
161
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -135,11 +165,11 @@ describe 'RepositoriesContainerVersionsApi' do
|
|
|
135
165
|
# unit tests for read_0
|
|
136
166
|
# Inspect a repository version
|
|
137
167
|
# ContainerRepositoryVersion represents a single container repository version.
|
|
138
|
-
# @param
|
|
168
|
+
# @param container_container_repository_version_href
|
|
139
169
|
# @param [Hash] opts the optional parameters
|
|
140
170
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
141
171
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
142
|
-
# @return [
|
|
172
|
+
# @return [RepositoryVersionResponse]
|
|
143
173
|
describe 'read_0 test' do
|
|
144
174
|
it 'should work' do
|
|
145
175
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -148,8 +178,8 @@ describe 'RepositoriesContainerVersionsApi' do
|
|
|
148
178
|
|
|
149
179
|
# unit tests for repair
|
|
150
180
|
# Trigger an asynchronous task to repair a repositroy version.
|
|
151
|
-
# @param
|
|
152
|
-
# @param
|
|
181
|
+
# @param container_container_push_repository_version_href
|
|
182
|
+
# @param repository_version
|
|
153
183
|
# @param [Hash] opts the optional parameters
|
|
154
184
|
# @return [AsyncOperationResponse]
|
|
155
185
|
describe 'repair test' do
|
|
@@ -160,8 +190,8 @@ describe 'RepositoriesContainerVersionsApi' do
|
|
|
160
190
|
|
|
161
191
|
# unit tests for repair_0
|
|
162
192
|
# Trigger an asynchronous task to repair a repositroy version.
|
|
163
|
-
# @param
|
|
164
|
-
# @param
|
|
193
|
+
# @param container_container_repository_version_href
|
|
194
|
+
# @param repository_version
|
|
165
195
|
# @param [Hash] opts the optional parameters
|
|
166
196
|
# @return [AsyncOperationResponse]
|
|
167
197
|
describe 'repair_0 test' do
|
data/spec/api/token_api_spec.rb
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#Pulp 3 API
|
|
3
3
|
|
|
4
|
-
#
|
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
|
5
5
|
|
|
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
9
|
OpenAPI Generator version: 4.2.3
|
|
10
10
|
|
|
@@ -32,13 +32,11 @@ describe 'TokenApi' do
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
-
# unit tests for
|
|
35
|
+
# unit tests for read
|
|
36
36
|
# Handles GET requests for the /token/ endpoint.
|
|
37
37
|
# @param [Hash] opts the optional parameters
|
|
38
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
|
39
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
40
38
|
# @return [nil]
|
|
41
|
-
describe '
|
|
39
|
+
describe 'read test' do
|
|
42
40
|
it 'should work' do
|
|
43
41
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
42
|
end
|
data/spec/api_client_spec.rb
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#Pulp 3 API
|
|
3
3
|
|
|
4
|
-
#
|
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
|
5
5
|
|
|
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
9
|
OpenAPI Generator version: 4.2.3
|
|
10
10
|
|
data/spec/configuration_spec.rb
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#Pulp 3 API
|
|
3
3
|
|
|
4
|
-
#
|
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
|
5
5
|
|
|
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
9
|
OpenAPI Generator version: 4.2.3
|
|
10
10
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#Pulp 3 API
|
|
3
3
|
|
|
4
|
-
#
|
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
|
5
5
|
|
|
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
9
|
OpenAPI Generator version: 4.2.3
|
|
10
10
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#Pulp 3 API
|
|
3
3
|
|
|
4
|
-
#
|
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
|
5
5
|
|
|
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
9
|
OpenAPI Generator version: 4.2.3
|
|
10
10
|
|
|
@@ -14,22 +14,22 @@ require 'spec_helper'
|
|
|
14
14
|
require 'json'
|
|
15
15
|
require 'date'
|
|
16
16
|
|
|
17
|
-
# Unit tests for PulpContainerClient::
|
|
17
|
+
# Unit tests for PulpContainerClient::ContainerBlobResponse
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
|
-
describe '
|
|
20
|
+
describe 'ContainerBlobResponse' do
|
|
21
21
|
before do
|
|
22
22
|
# run before each test
|
|
23
|
-
@instance = PulpContainerClient::
|
|
23
|
+
@instance = PulpContainerClient::ContainerBlobResponse.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 ContainerBlobResponse' do
|
|
31
|
+
it 'should create an instance of ContainerBlobResponse' do
|
|
32
|
+
expect(@instance).to be_instance_of(PulpContainerClient::ContainerBlobResponse)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
describe 'test attribute "pulp_href"' do
|
|
@@ -0,0 +1,83 @@
|
|
|
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::ContainerContainerDistributionResponse
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'ContainerContainerDistributionResponse' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = PulpContainerClient::ContainerContainerDistributionResponse.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of ContainerContainerDistributionResponse' do
|
|
31
|
+
it 'should create an instance of ContainerContainerDistributionResponse' do
|
|
32
|
+
expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerDistributionResponse)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "base_path"' 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
|
+
describe 'test attribute "repository_version"' 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
|
+
describe 'test attribute "pulp_created"' do
|
|
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 "pulp_href"' 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
|
+
describe 'test attribute "content_guard"' do
|
|
60
|
+
it 'should work' do
|
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
62
|
+
end
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
describe 'test attribute "repository"' do
|
|
66
|
+
it 'should work' do
|
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
68
|
+
end
|
|
69
|
+
end
|
|
70
|
+
|
|
71
|
+
describe 'test attribute "name"' do
|
|
72
|
+
it 'should work' do
|
|
73
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
describe 'test attribute "registry_path"' do
|
|
78
|
+
it 'should work' do
|
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
80
|
+
end
|
|
81
|
+
end
|
|
82
|
+
|
|
83
|
+
end
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#Pulp 3 API
|
|
3
3
|
|
|
4
|
-
#
|
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
|
5
5
|
|
|
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
9
|
OpenAPI Generator version: 4.2.3
|
|
10
10
|
|
|
@@ -32,13 +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 "
|
|
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
|
-
describe 'test attribute "repository"' do
|
|
35
|
+
describe 'test attribute "base_path"' do
|
|
42
36
|
it 'should work' do
|
|
43
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
38
|
end
|
|
@@ -50,31 +44,19 @@ describe 'ContainerContainerDistribution' do
|
|
|
50
44
|
end
|
|
51
45
|
end
|
|
52
46
|
|
|
53
|
-
describe 'test attribute "name"' 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
47
|
describe 'test attribute "content_guard"' do
|
|
60
48
|
it 'should work' do
|
|
61
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
62
50
|
end
|
|
63
51
|
end
|
|
64
52
|
|
|
65
|
-
describe 'test attribute "
|
|
66
|
-
it 'should work' do
|
|
67
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
68
|
-
end
|
|
69
|
-
end
|
|
70
|
-
|
|
71
|
-
describe 'test attribute "base_path"' do
|
|
53
|
+
describe 'test attribute "repository"' do
|
|
72
54
|
it 'should work' do
|
|
73
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
74
56
|
end
|
|
75
57
|
end
|
|
76
58
|
|
|
77
|
-
describe 'test attribute "
|
|
59
|
+
describe 'test attribute "name"' do
|
|
78
60
|
it 'should work' do
|
|
79
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
80
62
|
end
|
|
@@ -0,0 +1,77 @@
|
|
|
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::ContainerContainerPushRepositoryResponse
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'ContainerContainerPushRepositoryResponse' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of ContainerContainerPushRepositoryResponse' do
|
|
31
|
+
it 'should create an instance of ContainerContainerPushRepositoryResponse' do
|
|
32
|
+
expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerPushRepositoryResponse)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "pulp_href"' 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
|
+
describe 'test attribute "pulp_created"' 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
|
+
describe 'test attribute "versions_href"' do
|
|
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 "latest_version_href"' 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
|
+
describe 'test attribute "name"' do
|
|
60
|
+
it 'should work' do
|
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
62
|
+
end
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
describe 'test attribute "description"' do
|
|
66
|
+
it 'should work' do
|
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
68
|
+
end
|
|
69
|
+
end
|
|
70
|
+
|
|
71
|
+
describe 'test attribute "remote"' do
|
|
72
|
+
it 'should work' do
|
|
73
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
end
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#Pulp 3 API
|
|
3
3
|
|
|
4
|
-
#
|
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
|
5
5
|
|
|
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
9
|
OpenAPI Generator version: 4.2.3
|
|
10
10
|
|
|
@@ -32,37 +32,19 @@ describe 'ContainerContainerPushRepository' do
|
|
|
32
32
|
expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerPushRepository)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
|
-
describe 'test attribute "
|
|
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
|
-
describe 'test attribute "pulp_created"' 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
|
-
describe 'test attribute "versions_href"' do
|
|
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 "latest_version_href"' do
|
|
35
|
+
describe 'test attribute "name"' do
|
|
54
36
|
it 'should work' do
|
|
55
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
38
|
end
|
|
57
39
|
end
|
|
58
40
|
|
|
59
|
-
describe 'test attribute "
|
|
41
|
+
describe 'test attribute "description"' do
|
|
60
42
|
it 'should work' do
|
|
61
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
62
44
|
end
|
|
63
45
|
end
|
|
64
46
|
|
|
65
|
-
describe 'test attribute "
|
|
47
|
+
describe 'test attribute "remote"' do
|
|
66
48
|
it 'should work' do
|
|
67
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
68
50
|
end
|