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
|
|
|
@@ -21,32 +21,77 @@ module PulpContainerClient
|
|
|
21
21
|
end
|
|
22
22
|
# Delete a repository version
|
|
23
23
|
# Trigger an asynchronous task to delete a repositroy version.
|
|
24
|
-
# @param
|
|
24
|
+
# @param container_container_push_repository_version_href [String]
|
|
25
25
|
# @param [Hash] opts the optional parameters
|
|
26
|
+
# @option opts [String] :content content
|
|
27
|
+
# @option opts [String] :content__in content__in
|
|
28
|
+
# @option opts [String] :number number
|
|
29
|
+
# @option opts [String] :number__gt number__gt
|
|
30
|
+
# @option opts [String] :number__gte number__gte
|
|
31
|
+
# @option opts [String] :number__lt number__lt
|
|
32
|
+
# @option opts [String] :number__lte number__lte
|
|
33
|
+
# @option opts [String] :number__range number__range
|
|
34
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
35
|
+
# @option opts [String] :pulp_created pulp_created
|
|
36
|
+
# @option opts [String] :pulp_created__gt pulp_created__gt
|
|
37
|
+
# @option opts [String] :pulp_created__gte pulp_created__gte
|
|
38
|
+
# @option opts [String] :pulp_created__lt pulp_created__lt
|
|
39
|
+
# @option opts [String] :pulp_created__lte pulp_created__lte
|
|
40
|
+
# @option opts [String] :pulp_created__range pulp_created__range
|
|
26
41
|
# @return [AsyncOperationResponse]
|
|
27
|
-
def delete(
|
|
28
|
-
data, _status_code, _headers = delete_with_http_info(
|
|
42
|
+
def delete(container_container_push_repository_version_href, opts = {})
|
|
43
|
+
data, _status_code, _headers = delete_with_http_info(container_container_push_repository_version_href, opts)
|
|
29
44
|
data
|
|
30
45
|
end
|
|
31
46
|
|
|
32
47
|
# Delete a repository version
|
|
33
48
|
# Trigger an asynchronous task to delete a repositroy version.
|
|
34
|
-
# @param
|
|
49
|
+
# @param container_container_push_repository_version_href [String]
|
|
35
50
|
# @param [Hash] opts the optional parameters
|
|
51
|
+
# @option opts [String] :content content
|
|
52
|
+
# @option opts [String] :content__in content__in
|
|
53
|
+
# @option opts [String] :number number
|
|
54
|
+
# @option opts [String] :number__gt number__gt
|
|
55
|
+
# @option opts [String] :number__gte number__gte
|
|
56
|
+
# @option opts [String] :number__lt number__lt
|
|
57
|
+
# @option opts [String] :number__lte number__lte
|
|
58
|
+
# @option opts [String] :number__range number__range
|
|
59
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
60
|
+
# @option opts [String] :pulp_created pulp_created
|
|
61
|
+
# @option opts [String] :pulp_created__gt pulp_created__gt
|
|
62
|
+
# @option opts [String] :pulp_created__gte pulp_created__gte
|
|
63
|
+
# @option opts [String] :pulp_created__lt pulp_created__lt
|
|
64
|
+
# @option opts [String] :pulp_created__lte pulp_created__lte
|
|
65
|
+
# @option opts [String] :pulp_created__range pulp_created__range
|
|
36
66
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
37
|
-
def delete_with_http_info(
|
|
67
|
+
def delete_with_http_info(container_container_push_repository_version_href, opts = {})
|
|
38
68
|
if @api_client.config.debugging
|
|
39
69
|
@api_client.config.logger.debug 'Calling API: RepositoriesContainerVersionsApi.delete ...'
|
|
40
70
|
end
|
|
41
|
-
# verify the required parameter '
|
|
42
|
-
if @api_client.config.client_side_validation &&
|
|
43
|
-
fail ArgumentError, "Missing the required parameter '
|
|
71
|
+
# verify the required parameter 'container_container_push_repository_version_href' is set
|
|
72
|
+
if @api_client.config.client_side_validation && container_container_push_repository_version_href.nil?
|
|
73
|
+
fail ArgumentError, "Missing the required parameter 'container_container_push_repository_version_href' when calling RepositoriesContainerVersionsApi.delete"
|
|
44
74
|
end
|
|
45
75
|
# resource path
|
|
46
|
-
local_var_path = '{
|
|
76
|
+
local_var_path = '{container_container_push_repository_version_href}'.sub('{' + 'container_container_push_repository_version_href' + '}', CGI.escape(container_container_push_repository_version_href.to_s).gsub('%2F', '/'))
|
|
47
77
|
|
|
48
78
|
# query parameters
|
|
49
79
|
query_params = opts[:query_params] || {}
|
|
80
|
+
query_params[:'content'] = opts[:'content'] if !opts[:'content'].nil?
|
|
81
|
+
query_params[:'content__in'] = opts[:'content__in'] if !opts[:'content__in'].nil?
|
|
82
|
+
query_params[:'number'] = opts[:'number'] if !opts[:'number'].nil?
|
|
83
|
+
query_params[:'number__gt'] = opts[:'number__gt'] if !opts[:'number__gt'].nil?
|
|
84
|
+
query_params[:'number__gte'] = opts[:'number__gte'] if !opts[:'number__gte'].nil?
|
|
85
|
+
query_params[:'number__lt'] = opts[:'number__lt'] if !opts[:'number__lt'].nil?
|
|
86
|
+
query_params[:'number__lte'] = opts[:'number__lte'] if !opts[:'number__lte'].nil?
|
|
87
|
+
query_params[:'number__range'] = opts[:'number__range'] if !opts[:'number__range'].nil?
|
|
88
|
+
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
|
89
|
+
query_params[:'pulp_created'] = opts[:'pulp_created'] if !opts[:'pulp_created'].nil?
|
|
90
|
+
query_params[:'pulp_created__gt'] = opts[:'pulp_created__gt'] if !opts[:'pulp_created__gt'].nil?
|
|
91
|
+
query_params[:'pulp_created__gte'] = opts[:'pulp_created__gte'] if !opts[:'pulp_created__gte'].nil?
|
|
92
|
+
query_params[:'pulp_created__lt'] = opts[:'pulp_created__lt'] if !opts[:'pulp_created__lt'].nil?
|
|
93
|
+
query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
|
|
94
|
+
query_params[:'pulp_created__range'] = opts[:'pulp_created__range'] if !opts[:'pulp_created__range'].nil?
|
|
50
95
|
|
|
51
96
|
# header parameters
|
|
52
97
|
header_params = opts[:header_params] || {}
|
|
@@ -63,7 +108,7 @@ module PulpContainerClient
|
|
|
63
108
|
return_type = opts[:return_type] || 'AsyncOperationResponse'
|
|
64
109
|
|
|
65
110
|
# auth_names
|
|
66
|
-
auth_names = opts[:auth_names] || ['
|
|
111
|
+
auth_names = opts[:auth_names] || ['basicAuth']
|
|
67
112
|
|
|
68
113
|
new_options = opts.merge(
|
|
69
114
|
:header_params => header_params,
|
|
@@ -83,32 +128,77 @@ module PulpContainerClient
|
|
|
83
128
|
|
|
84
129
|
# Delete a repository version
|
|
85
130
|
# Trigger an asynchronous task to delete a repositroy version.
|
|
86
|
-
# @param
|
|
131
|
+
# @param container_container_repository_version_href [String]
|
|
87
132
|
# @param [Hash] opts the optional parameters
|
|
133
|
+
# @option opts [String] :content content
|
|
134
|
+
# @option opts [String] :content__in content__in
|
|
135
|
+
# @option opts [String] :number number
|
|
136
|
+
# @option opts [String] :number__gt number__gt
|
|
137
|
+
# @option opts [String] :number__gte number__gte
|
|
138
|
+
# @option opts [String] :number__lt number__lt
|
|
139
|
+
# @option opts [String] :number__lte number__lte
|
|
140
|
+
# @option opts [String] :number__range number__range
|
|
141
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
142
|
+
# @option opts [String] :pulp_created pulp_created
|
|
143
|
+
# @option opts [String] :pulp_created__gt pulp_created__gt
|
|
144
|
+
# @option opts [String] :pulp_created__gte pulp_created__gte
|
|
145
|
+
# @option opts [String] :pulp_created__lt pulp_created__lt
|
|
146
|
+
# @option opts [String] :pulp_created__lte pulp_created__lte
|
|
147
|
+
# @option opts [String] :pulp_created__range pulp_created__range
|
|
88
148
|
# @return [AsyncOperationResponse]
|
|
89
|
-
def delete_0(
|
|
90
|
-
data, _status_code, _headers = delete_0_with_http_info(
|
|
149
|
+
def delete_0(container_container_repository_version_href, opts = {})
|
|
150
|
+
data, _status_code, _headers = delete_0_with_http_info(container_container_repository_version_href, opts)
|
|
91
151
|
data
|
|
92
152
|
end
|
|
93
153
|
|
|
94
154
|
# Delete a repository version
|
|
95
155
|
# Trigger an asynchronous task to delete a repositroy version.
|
|
96
|
-
# @param
|
|
156
|
+
# @param container_container_repository_version_href [String]
|
|
97
157
|
# @param [Hash] opts the optional parameters
|
|
158
|
+
# @option opts [String] :content content
|
|
159
|
+
# @option opts [String] :content__in content__in
|
|
160
|
+
# @option opts [String] :number number
|
|
161
|
+
# @option opts [String] :number__gt number__gt
|
|
162
|
+
# @option opts [String] :number__gte number__gte
|
|
163
|
+
# @option opts [String] :number__lt number__lt
|
|
164
|
+
# @option opts [String] :number__lte number__lte
|
|
165
|
+
# @option opts [String] :number__range number__range
|
|
166
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
167
|
+
# @option opts [String] :pulp_created pulp_created
|
|
168
|
+
# @option opts [String] :pulp_created__gt pulp_created__gt
|
|
169
|
+
# @option opts [String] :pulp_created__gte pulp_created__gte
|
|
170
|
+
# @option opts [String] :pulp_created__lt pulp_created__lt
|
|
171
|
+
# @option opts [String] :pulp_created__lte pulp_created__lte
|
|
172
|
+
# @option opts [String] :pulp_created__range pulp_created__range
|
|
98
173
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
99
|
-
def delete_0_with_http_info(
|
|
174
|
+
def delete_0_with_http_info(container_container_repository_version_href, opts = {})
|
|
100
175
|
if @api_client.config.debugging
|
|
101
176
|
@api_client.config.logger.debug 'Calling API: RepositoriesContainerVersionsApi.delete_0 ...'
|
|
102
177
|
end
|
|
103
|
-
# verify the required parameter '
|
|
104
|
-
if @api_client.config.client_side_validation &&
|
|
105
|
-
fail ArgumentError, "Missing the required parameter '
|
|
178
|
+
# verify the required parameter 'container_container_repository_version_href' is set
|
|
179
|
+
if @api_client.config.client_side_validation && container_container_repository_version_href.nil?
|
|
180
|
+
fail ArgumentError, "Missing the required parameter 'container_container_repository_version_href' when calling RepositoriesContainerVersionsApi.delete_0"
|
|
106
181
|
end
|
|
107
182
|
# resource path
|
|
108
|
-
local_var_path = '{
|
|
183
|
+
local_var_path = '{container_container_repository_version_href}'.sub('{' + 'container_container_repository_version_href' + '}', CGI.escape(container_container_repository_version_href.to_s).gsub('%2F', '/'))
|
|
109
184
|
|
|
110
185
|
# query parameters
|
|
111
186
|
query_params = opts[:query_params] || {}
|
|
187
|
+
query_params[:'content'] = opts[:'content'] if !opts[:'content'].nil?
|
|
188
|
+
query_params[:'content__in'] = opts[:'content__in'] if !opts[:'content__in'].nil?
|
|
189
|
+
query_params[:'number'] = opts[:'number'] if !opts[:'number'].nil?
|
|
190
|
+
query_params[:'number__gt'] = opts[:'number__gt'] if !opts[:'number__gt'].nil?
|
|
191
|
+
query_params[:'number__gte'] = opts[:'number__gte'] if !opts[:'number__gte'].nil?
|
|
192
|
+
query_params[:'number__lt'] = opts[:'number__lt'] if !opts[:'number__lt'].nil?
|
|
193
|
+
query_params[:'number__lte'] = opts[:'number__lte'] if !opts[:'number__lte'].nil?
|
|
194
|
+
query_params[:'number__range'] = opts[:'number__range'] if !opts[:'number__range'].nil?
|
|
195
|
+
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
|
196
|
+
query_params[:'pulp_created'] = opts[:'pulp_created'] if !opts[:'pulp_created'].nil?
|
|
197
|
+
query_params[:'pulp_created__gt'] = opts[:'pulp_created__gt'] if !opts[:'pulp_created__gt'].nil?
|
|
198
|
+
query_params[:'pulp_created__gte'] = opts[:'pulp_created__gte'] if !opts[:'pulp_created__gte'].nil?
|
|
199
|
+
query_params[:'pulp_created__lt'] = opts[:'pulp_created__lt'] if !opts[:'pulp_created__lt'].nil?
|
|
200
|
+
query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
|
|
201
|
+
query_params[:'pulp_created__range'] = opts[:'pulp_created__range'] if !opts[:'pulp_created__range'].nil?
|
|
112
202
|
|
|
113
203
|
# header parameters
|
|
114
204
|
header_params = opts[:header_params] || {}
|
|
@@ -125,7 +215,7 @@ module PulpContainerClient
|
|
|
125
215
|
return_type = opts[:return_type] || 'AsyncOperationResponse'
|
|
126
216
|
|
|
127
217
|
# auth_names
|
|
128
|
-
auth_names = opts[:auth_names] || ['
|
|
218
|
+
auth_names = opts[:auth_names] || ['basicAuth']
|
|
129
219
|
|
|
130
220
|
new_options = opts.merge(
|
|
131
221
|
:header_params => header_params,
|
|
@@ -145,87 +235,87 @@ module PulpContainerClient
|
|
|
145
235
|
|
|
146
236
|
# List repository versions
|
|
147
237
|
# ContainerPushRepositoryVersion represents a single container push repository version.
|
|
148
|
-
# @param
|
|
238
|
+
# @param container_container_push_repository_href [String]
|
|
149
239
|
# @param [Hash] opts the optional parameters
|
|
150
|
-
# @option opts [String] :
|
|
151
|
-
# @option opts [
|
|
152
|
-
# @option opts [Float] :number__lt Filter results where number is less than value
|
|
153
|
-
# @option opts [Float] :number__lte Filter results where number is less than or equal to value
|
|
154
|
-
# @option opts [Float] :number__gt Filter results where number is greater than value
|
|
155
|
-
# @option opts [Float] :number__gte Filter results where number is greater than or equal to value
|
|
156
|
-
# @option opts [Float] :number__range Filter results where number is between two comma separated values
|
|
157
|
-
# @option opts [String] :pulp_created__lt Filter results where pulp_created is less than value
|
|
158
|
-
# @option opts [String] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
|
159
|
-
# @option opts [String] :pulp_created__gt Filter results where pulp_created is greater than value
|
|
160
|
-
# @option opts [String] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
|
161
|
-
# @option opts [String] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
|
162
|
-
# @option opts [String] :pulp_created ISO 8601 formatted dates are supported
|
|
163
|
-
# @option opts [String] :content Content Unit referenced by HREF
|
|
164
|
-
# @option opts [String] :content__in Content Unit referenced by HREF
|
|
240
|
+
# @option opts [String] :content content
|
|
241
|
+
# @option opts [String] :content__in content__in
|
|
165
242
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
243
|
+
# @option opts [String] :number number
|
|
244
|
+
# @option opts [String] :number__gt number__gt
|
|
245
|
+
# @option opts [String] :number__gte number__gte
|
|
246
|
+
# @option opts [String] :number__lt number__lt
|
|
247
|
+
# @option opts [String] :number__lte number__lte
|
|
248
|
+
# @option opts [String] :number__range number__range
|
|
166
249
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
250
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
251
|
+
# @option opts [String] :pulp_created pulp_created
|
|
252
|
+
# @option opts [String] :pulp_created__gt pulp_created__gt
|
|
253
|
+
# @option opts [String] :pulp_created__gte pulp_created__gte
|
|
254
|
+
# @option opts [String] :pulp_created__lt pulp_created__lt
|
|
255
|
+
# @option opts [String] :pulp_created__lte pulp_created__lte
|
|
256
|
+
# @option opts [String] :pulp_created__range pulp_created__range
|
|
167
257
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
168
258
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
169
|
-
# @return [
|
|
170
|
-
def list(
|
|
171
|
-
data, _status_code, _headers = list_with_http_info(
|
|
259
|
+
# @return [InlineResponse2008]
|
|
260
|
+
def list(container_container_push_repository_href, opts = {})
|
|
261
|
+
data, _status_code, _headers = list_with_http_info(container_container_push_repository_href, opts)
|
|
172
262
|
data
|
|
173
263
|
end
|
|
174
264
|
|
|
175
265
|
# List repository versions
|
|
176
266
|
# ContainerPushRepositoryVersion represents a single container push repository version.
|
|
177
|
-
# @param
|
|
267
|
+
# @param container_container_push_repository_href [String]
|
|
178
268
|
# @param [Hash] opts the optional parameters
|
|
179
|
-
# @option opts [String] :
|
|
180
|
-
# @option opts [
|
|
181
|
-
# @option opts [Float] :number__lt Filter results where number is less than value
|
|
182
|
-
# @option opts [Float] :number__lte Filter results where number is less than or equal to value
|
|
183
|
-
# @option opts [Float] :number__gt Filter results where number is greater than value
|
|
184
|
-
# @option opts [Float] :number__gte Filter results where number is greater than or equal to value
|
|
185
|
-
# @option opts [Float] :number__range Filter results where number is between two comma separated values
|
|
186
|
-
# @option opts [String] :pulp_created__lt Filter results where pulp_created is less than value
|
|
187
|
-
# @option opts [String] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
|
188
|
-
# @option opts [String] :pulp_created__gt Filter results where pulp_created is greater than value
|
|
189
|
-
# @option opts [String] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
|
190
|
-
# @option opts [String] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
|
191
|
-
# @option opts [String] :pulp_created ISO 8601 formatted dates are supported
|
|
192
|
-
# @option opts [String] :content Content Unit referenced by HREF
|
|
193
|
-
# @option opts [String] :content__in Content Unit referenced by HREF
|
|
269
|
+
# @option opts [String] :content content
|
|
270
|
+
# @option opts [String] :content__in content__in
|
|
194
271
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
272
|
+
# @option opts [String] :number number
|
|
273
|
+
# @option opts [String] :number__gt number__gt
|
|
274
|
+
# @option opts [String] :number__gte number__gte
|
|
275
|
+
# @option opts [String] :number__lt number__lt
|
|
276
|
+
# @option opts [String] :number__lte number__lte
|
|
277
|
+
# @option opts [String] :number__range number__range
|
|
195
278
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
279
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
280
|
+
# @option opts [String] :pulp_created pulp_created
|
|
281
|
+
# @option opts [String] :pulp_created__gt pulp_created__gt
|
|
282
|
+
# @option opts [String] :pulp_created__gte pulp_created__gte
|
|
283
|
+
# @option opts [String] :pulp_created__lt pulp_created__lt
|
|
284
|
+
# @option opts [String] :pulp_created__lte pulp_created__lte
|
|
285
|
+
# @option opts [String] :pulp_created__range pulp_created__range
|
|
196
286
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
197
287
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
198
|
-
# @return [Array<(
|
|
199
|
-
def list_with_http_info(
|
|
288
|
+
# @return [Array<(InlineResponse2008, Integer, Hash)>] InlineResponse2008 data, response status code and response headers
|
|
289
|
+
def list_with_http_info(container_container_push_repository_href, opts = {})
|
|
200
290
|
if @api_client.config.debugging
|
|
201
291
|
@api_client.config.logger.debug 'Calling API: RepositoriesContainerVersionsApi.list ...'
|
|
202
292
|
end
|
|
203
|
-
# verify the required parameter '
|
|
204
|
-
if @api_client.config.client_side_validation &&
|
|
205
|
-
fail ArgumentError, "Missing the required parameter '
|
|
293
|
+
# verify the required parameter 'container_container_push_repository_href' is set
|
|
294
|
+
if @api_client.config.client_side_validation && container_container_push_repository_href.nil?
|
|
295
|
+
fail ArgumentError, "Missing the required parameter 'container_container_push_repository_href' when calling RepositoriesContainerVersionsApi.list"
|
|
206
296
|
end
|
|
207
297
|
# resource path
|
|
208
|
-
local_var_path = '
|
|
298
|
+
local_var_path = '{container_container_push_repository_href}versions/'.sub('{' + 'container_container_push_repository_href' + '}', CGI.escape(container_container_push_repository_href.to_s).gsub('%2F', '/'))
|
|
209
299
|
|
|
210
300
|
# query parameters
|
|
211
301
|
query_params = opts[:query_params] || {}
|
|
212
|
-
query_params[:'
|
|
302
|
+
query_params[:'content'] = opts[:'content'] if !opts[:'content'].nil?
|
|
303
|
+
query_params[:'content__in'] = opts[:'content__in'] if !opts[:'content__in'].nil?
|
|
304
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
213
305
|
query_params[:'number'] = opts[:'number'] if !opts[:'number'].nil?
|
|
214
|
-
query_params[:'number__lt'] = opts[:'number__lt'] if !opts[:'number__lt'].nil?
|
|
215
|
-
query_params[:'number__lte'] = opts[:'number__lte'] if !opts[:'number__lte'].nil?
|
|
216
306
|
query_params[:'number__gt'] = opts[:'number__gt'] if !opts[:'number__gt'].nil?
|
|
217
307
|
query_params[:'number__gte'] = opts[:'number__gte'] if !opts[:'number__gte'].nil?
|
|
308
|
+
query_params[:'number__lt'] = opts[:'number__lt'] if !opts[:'number__lt'].nil?
|
|
309
|
+
query_params[:'number__lte'] = opts[:'number__lte'] if !opts[:'number__lte'].nil?
|
|
218
310
|
query_params[:'number__range'] = opts[:'number__range'] if !opts[:'number__range'].nil?
|
|
219
|
-
query_params[:'
|
|
220
|
-
query_params[:'
|
|
311
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
312
|
+
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
|
313
|
+
query_params[:'pulp_created'] = opts[:'pulp_created'] if !opts[:'pulp_created'].nil?
|
|
221
314
|
query_params[:'pulp_created__gt'] = opts[:'pulp_created__gt'] if !opts[:'pulp_created__gt'].nil?
|
|
222
315
|
query_params[:'pulp_created__gte'] = opts[:'pulp_created__gte'] if !opts[:'pulp_created__gte'].nil?
|
|
316
|
+
query_params[:'pulp_created__lt'] = opts[:'pulp_created__lt'] if !opts[:'pulp_created__lt'].nil?
|
|
317
|
+
query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
|
|
223
318
|
query_params[:'pulp_created__range'] = opts[:'pulp_created__range'] if !opts[:'pulp_created__range'].nil?
|
|
224
|
-
query_params[:'pulp_created'] = opts[:'pulp_created'] if !opts[:'pulp_created'].nil?
|
|
225
|
-
query_params[:'content'] = opts[:'content'] if !opts[:'content'].nil?
|
|
226
|
-
query_params[:'content__in'] = opts[:'content__in'] if !opts[:'content__in'].nil?
|
|
227
|
-
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
228
|
-
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
229
319
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
|
230
320
|
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
|
231
321
|
|
|
@@ -241,10 +331,10 @@ module PulpContainerClient
|
|
|
241
331
|
post_body = opts[:body]
|
|
242
332
|
|
|
243
333
|
# return_type
|
|
244
|
-
return_type = opts[:return_type] || '
|
|
334
|
+
return_type = opts[:return_type] || 'InlineResponse2008'
|
|
245
335
|
|
|
246
336
|
# auth_names
|
|
247
|
-
auth_names = opts[:auth_names] || ['
|
|
337
|
+
auth_names = opts[:auth_names] || ['basicAuth']
|
|
248
338
|
|
|
249
339
|
new_options = opts.merge(
|
|
250
340
|
:header_params => header_params,
|
|
@@ -264,87 +354,87 @@ module PulpContainerClient
|
|
|
264
354
|
|
|
265
355
|
# List repository versions
|
|
266
356
|
# ContainerRepositoryVersion represents a single container repository version.
|
|
267
|
-
# @param
|
|
357
|
+
# @param container_container_repository_href [String]
|
|
268
358
|
# @param [Hash] opts the optional parameters
|
|
269
|
-
# @option opts [String] :
|
|
270
|
-
# @option opts [
|
|
271
|
-
# @option opts [Float] :number__lt Filter results where number is less than value
|
|
272
|
-
# @option opts [Float] :number__lte Filter results where number is less than or equal to value
|
|
273
|
-
# @option opts [Float] :number__gt Filter results where number is greater than value
|
|
274
|
-
# @option opts [Float] :number__gte Filter results where number is greater than or equal to value
|
|
275
|
-
# @option opts [Float] :number__range Filter results where number is between two comma separated values
|
|
276
|
-
# @option opts [String] :pulp_created__lt Filter results where pulp_created is less than value
|
|
277
|
-
# @option opts [String] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
|
278
|
-
# @option opts [String] :pulp_created__gt Filter results where pulp_created is greater than value
|
|
279
|
-
# @option opts [String] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
|
280
|
-
# @option opts [String] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
|
281
|
-
# @option opts [String] :pulp_created ISO 8601 formatted dates are supported
|
|
282
|
-
# @option opts [String] :content Content Unit referenced by HREF
|
|
283
|
-
# @option opts [String] :content__in Content Unit referenced by HREF
|
|
359
|
+
# @option opts [String] :content content
|
|
360
|
+
# @option opts [String] :content__in content__in
|
|
284
361
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
362
|
+
# @option opts [String] :number number
|
|
363
|
+
# @option opts [String] :number__gt number__gt
|
|
364
|
+
# @option opts [String] :number__gte number__gte
|
|
365
|
+
# @option opts [String] :number__lt number__lt
|
|
366
|
+
# @option opts [String] :number__lte number__lte
|
|
367
|
+
# @option opts [String] :number__range number__range
|
|
285
368
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
369
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
370
|
+
# @option opts [String] :pulp_created pulp_created
|
|
371
|
+
# @option opts [String] :pulp_created__gt pulp_created__gt
|
|
372
|
+
# @option opts [String] :pulp_created__gte pulp_created__gte
|
|
373
|
+
# @option opts [String] :pulp_created__lt pulp_created__lt
|
|
374
|
+
# @option opts [String] :pulp_created__lte pulp_created__lte
|
|
375
|
+
# @option opts [String] :pulp_created__range pulp_created__range
|
|
286
376
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
287
377
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
288
|
-
# @return [
|
|
289
|
-
def list_0(
|
|
290
|
-
data, _status_code, _headers = list_0_with_http_info(
|
|
378
|
+
# @return [InlineResponse2008]
|
|
379
|
+
def list_0(container_container_repository_href, opts = {})
|
|
380
|
+
data, _status_code, _headers = list_0_with_http_info(container_container_repository_href, opts)
|
|
291
381
|
data
|
|
292
382
|
end
|
|
293
383
|
|
|
294
384
|
# List repository versions
|
|
295
385
|
# ContainerRepositoryVersion represents a single container repository version.
|
|
296
|
-
# @param
|
|
386
|
+
# @param container_container_repository_href [String]
|
|
297
387
|
# @param [Hash] opts the optional parameters
|
|
298
|
-
# @option opts [String] :
|
|
299
|
-
# @option opts [
|
|
300
|
-
# @option opts [Float] :number__lt Filter results where number is less than value
|
|
301
|
-
# @option opts [Float] :number__lte Filter results where number is less than or equal to value
|
|
302
|
-
# @option opts [Float] :number__gt Filter results where number is greater than value
|
|
303
|
-
# @option opts [Float] :number__gte Filter results where number is greater than or equal to value
|
|
304
|
-
# @option opts [Float] :number__range Filter results where number is between two comma separated values
|
|
305
|
-
# @option opts [String] :pulp_created__lt Filter results where pulp_created is less than value
|
|
306
|
-
# @option opts [String] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
|
307
|
-
# @option opts [String] :pulp_created__gt Filter results where pulp_created is greater than value
|
|
308
|
-
# @option opts [String] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
|
309
|
-
# @option opts [String] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
|
310
|
-
# @option opts [String] :pulp_created ISO 8601 formatted dates are supported
|
|
311
|
-
# @option opts [String] :content Content Unit referenced by HREF
|
|
312
|
-
# @option opts [String] :content__in Content Unit referenced by HREF
|
|
388
|
+
# @option opts [String] :content content
|
|
389
|
+
# @option opts [String] :content__in content__in
|
|
313
390
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
391
|
+
# @option opts [String] :number number
|
|
392
|
+
# @option opts [String] :number__gt number__gt
|
|
393
|
+
# @option opts [String] :number__gte number__gte
|
|
394
|
+
# @option opts [String] :number__lt number__lt
|
|
395
|
+
# @option opts [String] :number__lte number__lte
|
|
396
|
+
# @option opts [String] :number__range number__range
|
|
314
397
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
398
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
399
|
+
# @option opts [String] :pulp_created pulp_created
|
|
400
|
+
# @option opts [String] :pulp_created__gt pulp_created__gt
|
|
401
|
+
# @option opts [String] :pulp_created__gte pulp_created__gte
|
|
402
|
+
# @option opts [String] :pulp_created__lt pulp_created__lt
|
|
403
|
+
# @option opts [String] :pulp_created__lte pulp_created__lte
|
|
404
|
+
# @option opts [String] :pulp_created__range pulp_created__range
|
|
315
405
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
316
406
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
317
|
-
# @return [Array<(
|
|
318
|
-
def list_0_with_http_info(
|
|
407
|
+
# @return [Array<(InlineResponse2008, Integer, Hash)>] InlineResponse2008 data, response status code and response headers
|
|
408
|
+
def list_0_with_http_info(container_container_repository_href, opts = {})
|
|
319
409
|
if @api_client.config.debugging
|
|
320
410
|
@api_client.config.logger.debug 'Calling API: RepositoriesContainerVersionsApi.list_0 ...'
|
|
321
411
|
end
|
|
322
|
-
# verify the required parameter '
|
|
323
|
-
if @api_client.config.client_side_validation &&
|
|
324
|
-
fail ArgumentError, "Missing the required parameter '
|
|
412
|
+
# verify the required parameter 'container_container_repository_href' is set
|
|
413
|
+
if @api_client.config.client_side_validation && container_container_repository_href.nil?
|
|
414
|
+
fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerVersionsApi.list_0"
|
|
325
415
|
end
|
|
326
416
|
# resource path
|
|
327
|
-
local_var_path = '{
|
|
417
|
+
local_var_path = '{container_container_repository_href}versions/'.sub('{' + 'container_container_repository_href' + '}', CGI.escape(container_container_repository_href.to_s).gsub('%2F', '/'))
|
|
328
418
|
|
|
329
419
|
# query parameters
|
|
330
420
|
query_params = opts[:query_params] || {}
|
|
331
|
-
query_params[:'
|
|
421
|
+
query_params[:'content'] = opts[:'content'] if !opts[:'content'].nil?
|
|
422
|
+
query_params[:'content__in'] = opts[:'content__in'] if !opts[:'content__in'].nil?
|
|
423
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
332
424
|
query_params[:'number'] = opts[:'number'] if !opts[:'number'].nil?
|
|
333
|
-
query_params[:'number__lt'] = opts[:'number__lt'] if !opts[:'number__lt'].nil?
|
|
334
|
-
query_params[:'number__lte'] = opts[:'number__lte'] if !opts[:'number__lte'].nil?
|
|
335
425
|
query_params[:'number__gt'] = opts[:'number__gt'] if !opts[:'number__gt'].nil?
|
|
336
426
|
query_params[:'number__gte'] = opts[:'number__gte'] if !opts[:'number__gte'].nil?
|
|
427
|
+
query_params[:'number__lt'] = opts[:'number__lt'] if !opts[:'number__lt'].nil?
|
|
428
|
+
query_params[:'number__lte'] = opts[:'number__lte'] if !opts[:'number__lte'].nil?
|
|
337
429
|
query_params[:'number__range'] = opts[:'number__range'] if !opts[:'number__range'].nil?
|
|
338
|
-
query_params[:'
|
|
339
|
-
query_params[:'
|
|
430
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
431
|
+
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
|
432
|
+
query_params[:'pulp_created'] = opts[:'pulp_created'] if !opts[:'pulp_created'].nil?
|
|
340
433
|
query_params[:'pulp_created__gt'] = opts[:'pulp_created__gt'] if !opts[:'pulp_created__gt'].nil?
|
|
341
434
|
query_params[:'pulp_created__gte'] = opts[:'pulp_created__gte'] if !opts[:'pulp_created__gte'].nil?
|
|
435
|
+
query_params[:'pulp_created__lt'] = opts[:'pulp_created__lt'] if !opts[:'pulp_created__lt'].nil?
|
|
436
|
+
query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
|
|
342
437
|
query_params[:'pulp_created__range'] = opts[:'pulp_created__range'] if !opts[:'pulp_created__range'].nil?
|
|
343
|
-
query_params[:'pulp_created'] = opts[:'pulp_created'] if !opts[:'pulp_created'].nil?
|
|
344
|
-
query_params[:'content'] = opts[:'content'] if !opts[:'content'].nil?
|
|
345
|
-
query_params[:'content__in'] = opts[:'content__in'] if !opts[:'content__in'].nil?
|
|
346
|
-
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
347
|
-
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
348
438
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
|
349
439
|
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
|
350
440
|
|
|
@@ -360,10 +450,10 @@ module PulpContainerClient
|
|
|
360
450
|
post_body = opts[:body]
|
|
361
451
|
|
|
362
452
|
# return_type
|
|
363
|
-
return_type = opts[:return_type] || '
|
|
453
|
+
return_type = opts[:return_type] || 'InlineResponse2008'
|
|
364
454
|
|
|
365
455
|
# auth_names
|
|
366
|
-
auth_names = opts[:auth_names] || ['
|
|
456
|
+
auth_names = opts[:auth_names] || ['basicAuth']
|
|
367
457
|
|
|
368
458
|
new_options = opts.merge(
|
|
369
459
|
:header_params => header_params,
|
|
@@ -383,33 +473,33 @@ module PulpContainerClient
|
|
|
383
473
|
|
|
384
474
|
# Inspect a repository version
|
|
385
475
|
# ContainerPushRepositoryVersion represents a single container push repository version.
|
|
386
|
-
# @param
|
|
476
|
+
# @param container_container_push_repository_version_href [String]
|
|
387
477
|
# @param [Hash] opts the optional parameters
|
|
388
478
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
389
479
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
390
|
-
# @return [
|
|
391
|
-
def read(
|
|
392
|
-
data, _status_code, _headers = read_with_http_info(
|
|
480
|
+
# @return [RepositoryVersionResponse]
|
|
481
|
+
def read(container_container_push_repository_version_href, opts = {})
|
|
482
|
+
data, _status_code, _headers = read_with_http_info(container_container_push_repository_version_href, opts)
|
|
393
483
|
data
|
|
394
484
|
end
|
|
395
485
|
|
|
396
486
|
# Inspect a repository version
|
|
397
487
|
# ContainerPushRepositoryVersion represents a single container push repository version.
|
|
398
|
-
# @param
|
|
488
|
+
# @param container_container_push_repository_version_href [String]
|
|
399
489
|
# @param [Hash] opts the optional parameters
|
|
400
490
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
401
491
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
402
|
-
# @return [Array<(
|
|
403
|
-
def read_with_http_info(
|
|
492
|
+
# @return [Array<(RepositoryVersionResponse, Integer, Hash)>] RepositoryVersionResponse data, response status code and response headers
|
|
493
|
+
def read_with_http_info(container_container_push_repository_version_href, opts = {})
|
|
404
494
|
if @api_client.config.debugging
|
|
405
495
|
@api_client.config.logger.debug 'Calling API: RepositoriesContainerVersionsApi.read ...'
|
|
406
496
|
end
|
|
407
|
-
# verify the required parameter '
|
|
408
|
-
if @api_client.config.client_side_validation &&
|
|
409
|
-
fail ArgumentError, "Missing the required parameter '
|
|
497
|
+
# verify the required parameter 'container_container_push_repository_version_href' is set
|
|
498
|
+
if @api_client.config.client_side_validation && container_container_push_repository_version_href.nil?
|
|
499
|
+
fail ArgumentError, "Missing the required parameter 'container_container_push_repository_version_href' when calling RepositoriesContainerVersionsApi.read"
|
|
410
500
|
end
|
|
411
501
|
# resource path
|
|
412
|
-
local_var_path = '{
|
|
502
|
+
local_var_path = '{container_container_push_repository_version_href}'.sub('{' + 'container_container_push_repository_version_href' + '}', CGI.escape(container_container_push_repository_version_href.to_s).gsub('%2F', '/'))
|
|
413
503
|
|
|
414
504
|
# query parameters
|
|
415
505
|
query_params = opts[:query_params] || {}
|
|
@@ -428,10 +518,10 @@ module PulpContainerClient
|
|
|
428
518
|
post_body = opts[:body]
|
|
429
519
|
|
|
430
520
|
# return_type
|
|
431
|
-
return_type = opts[:return_type] || '
|
|
521
|
+
return_type = opts[:return_type] || 'RepositoryVersionResponse'
|
|
432
522
|
|
|
433
523
|
# auth_names
|
|
434
|
-
auth_names = opts[:auth_names] || ['
|
|
524
|
+
auth_names = opts[:auth_names] || ['basicAuth']
|
|
435
525
|
|
|
436
526
|
new_options = opts.merge(
|
|
437
527
|
:header_params => header_params,
|
|
@@ -451,33 +541,33 @@ module PulpContainerClient
|
|
|
451
541
|
|
|
452
542
|
# Inspect a repository version
|
|
453
543
|
# ContainerRepositoryVersion represents a single container repository version.
|
|
454
|
-
# @param
|
|
544
|
+
# @param container_container_repository_version_href [String]
|
|
455
545
|
# @param [Hash] opts the optional parameters
|
|
456
546
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
457
547
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
458
|
-
# @return [
|
|
459
|
-
def read_0(
|
|
460
|
-
data, _status_code, _headers = read_0_with_http_info(
|
|
548
|
+
# @return [RepositoryVersionResponse]
|
|
549
|
+
def read_0(container_container_repository_version_href, opts = {})
|
|
550
|
+
data, _status_code, _headers = read_0_with_http_info(container_container_repository_version_href, opts)
|
|
461
551
|
data
|
|
462
552
|
end
|
|
463
553
|
|
|
464
554
|
# Inspect a repository version
|
|
465
555
|
# ContainerRepositoryVersion represents a single container repository version.
|
|
466
|
-
# @param
|
|
556
|
+
# @param container_container_repository_version_href [String]
|
|
467
557
|
# @param [Hash] opts the optional parameters
|
|
468
558
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
469
559
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
470
|
-
# @return [Array<(
|
|
471
|
-
def read_0_with_http_info(
|
|
560
|
+
# @return [Array<(RepositoryVersionResponse, Integer, Hash)>] RepositoryVersionResponse data, response status code and response headers
|
|
561
|
+
def read_0_with_http_info(container_container_repository_version_href, opts = {})
|
|
472
562
|
if @api_client.config.debugging
|
|
473
563
|
@api_client.config.logger.debug 'Calling API: RepositoriesContainerVersionsApi.read_0 ...'
|
|
474
564
|
end
|
|
475
|
-
# verify the required parameter '
|
|
476
|
-
if @api_client.config.client_side_validation &&
|
|
477
|
-
fail ArgumentError, "Missing the required parameter '
|
|
565
|
+
# verify the required parameter 'container_container_repository_version_href' is set
|
|
566
|
+
if @api_client.config.client_side_validation && container_container_repository_version_href.nil?
|
|
567
|
+
fail ArgumentError, "Missing the required parameter 'container_container_repository_version_href' when calling RepositoriesContainerVersionsApi.read_0"
|
|
478
568
|
end
|
|
479
569
|
# resource path
|
|
480
|
-
local_var_path = '{
|
|
570
|
+
local_var_path = '{container_container_repository_version_href}'.sub('{' + 'container_container_repository_version_href' + '}', CGI.escape(container_container_repository_version_href.to_s).gsub('%2F', '/'))
|
|
481
571
|
|
|
482
572
|
# query parameters
|
|
483
573
|
query_params = opts[:query_params] || {}
|
|
@@ -496,10 +586,10 @@ module PulpContainerClient
|
|
|
496
586
|
post_body = opts[:body]
|
|
497
587
|
|
|
498
588
|
# return_type
|
|
499
|
-
return_type = opts[:return_type] || '
|
|
589
|
+
return_type = opts[:return_type] || 'RepositoryVersionResponse'
|
|
500
590
|
|
|
501
591
|
# auth_names
|
|
502
|
-
auth_names = opts[:auth_names] || ['
|
|
592
|
+
auth_names = opts[:auth_names] || ['basicAuth']
|
|
503
593
|
|
|
504
594
|
new_options = opts.merge(
|
|
505
595
|
:header_params => header_params,
|
|
@@ -518,34 +608,34 @@ module PulpContainerClient
|
|
|
518
608
|
end
|
|
519
609
|
|
|
520
610
|
# Trigger an asynchronous task to repair a repositroy version.
|
|
521
|
-
# @param
|
|
522
|
-
# @param
|
|
611
|
+
# @param container_container_push_repository_version_href [String]
|
|
612
|
+
# @param repository_version [RepositoryVersion]
|
|
523
613
|
# @param [Hash] opts the optional parameters
|
|
524
614
|
# @return [AsyncOperationResponse]
|
|
525
|
-
def repair(
|
|
526
|
-
data, _status_code, _headers = repair_with_http_info(
|
|
615
|
+
def repair(container_container_push_repository_version_href, repository_version, opts = {})
|
|
616
|
+
data, _status_code, _headers = repair_with_http_info(container_container_push_repository_version_href, repository_version, opts)
|
|
527
617
|
data
|
|
528
618
|
end
|
|
529
619
|
|
|
530
620
|
# Trigger an asynchronous task to repair a repositroy version.
|
|
531
|
-
# @param
|
|
532
|
-
# @param
|
|
621
|
+
# @param container_container_push_repository_version_href [String]
|
|
622
|
+
# @param repository_version [RepositoryVersion]
|
|
533
623
|
# @param [Hash] opts the optional parameters
|
|
534
624
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
535
|
-
def repair_with_http_info(
|
|
625
|
+
def repair_with_http_info(container_container_push_repository_version_href, repository_version, opts = {})
|
|
536
626
|
if @api_client.config.debugging
|
|
537
627
|
@api_client.config.logger.debug 'Calling API: RepositoriesContainerVersionsApi.repair ...'
|
|
538
628
|
end
|
|
539
|
-
# verify the required parameter '
|
|
540
|
-
if @api_client.config.client_side_validation &&
|
|
541
|
-
fail ArgumentError, "Missing the required parameter '
|
|
629
|
+
# verify the required parameter 'container_container_push_repository_version_href' is set
|
|
630
|
+
if @api_client.config.client_side_validation && container_container_push_repository_version_href.nil?
|
|
631
|
+
fail ArgumentError, "Missing the required parameter 'container_container_push_repository_version_href' when calling RepositoriesContainerVersionsApi.repair"
|
|
542
632
|
end
|
|
543
|
-
# verify the required parameter '
|
|
544
|
-
if @api_client.config.client_side_validation &&
|
|
545
|
-
fail ArgumentError, "Missing the required parameter '
|
|
633
|
+
# verify the required parameter 'repository_version' is set
|
|
634
|
+
if @api_client.config.client_side_validation && repository_version.nil?
|
|
635
|
+
fail ArgumentError, "Missing the required parameter 'repository_version' when calling RepositoriesContainerVersionsApi.repair"
|
|
546
636
|
end
|
|
547
637
|
# resource path
|
|
548
|
-
local_var_path = '{
|
|
638
|
+
local_var_path = '{container_container_push_repository_version_href}repair/'.sub('{' + 'container_container_push_repository_version_href' + '}', CGI.escape(container_container_push_repository_version_href.to_s).gsub('%2F', '/'))
|
|
549
639
|
|
|
550
640
|
# query parameters
|
|
551
641
|
query_params = opts[:query_params] || {}
|
|
@@ -555,19 +645,19 @@ module PulpContainerClient
|
|
|
555
645
|
# HTTP header 'Accept' (if needed)
|
|
556
646
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
557
647
|
# HTTP header 'Content-Type'
|
|
558
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
648
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
559
649
|
|
|
560
650
|
# form parameters
|
|
561
651
|
form_params = opts[:form_params] || {}
|
|
562
652
|
|
|
563
653
|
# http body (model)
|
|
564
|
-
post_body = opts[:body] || @api_client.object_to_http_body(
|
|
654
|
+
post_body = opts[:body] || @api_client.object_to_http_body(repository_version)
|
|
565
655
|
|
|
566
656
|
# return_type
|
|
567
657
|
return_type = opts[:return_type] || 'AsyncOperationResponse'
|
|
568
658
|
|
|
569
659
|
# auth_names
|
|
570
|
-
auth_names = opts[:auth_names] || ['
|
|
660
|
+
auth_names = opts[:auth_names] || ['basicAuth']
|
|
571
661
|
|
|
572
662
|
new_options = opts.merge(
|
|
573
663
|
:header_params => header_params,
|
|
@@ -586,34 +676,34 @@ module PulpContainerClient
|
|
|
586
676
|
end
|
|
587
677
|
|
|
588
678
|
# Trigger an asynchronous task to repair a repositroy version.
|
|
589
|
-
# @param
|
|
590
|
-
# @param
|
|
679
|
+
# @param container_container_repository_version_href [String]
|
|
680
|
+
# @param repository_version [RepositoryVersion]
|
|
591
681
|
# @param [Hash] opts the optional parameters
|
|
592
682
|
# @return [AsyncOperationResponse]
|
|
593
|
-
def repair_0(
|
|
594
|
-
data, _status_code, _headers = repair_0_with_http_info(
|
|
683
|
+
def repair_0(container_container_repository_version_href, repository_version, opts = {})
|
|
684
|
+
data, _status_code, _headers = repair_0_with_http_info(container_container_repository_version_href, repository_version, opts)
|
|
595
685
|
data
|
|
596
686
|
end
|
|
597
687
|
|
|
598
688
|
# Trigger an asynchronous task to repair a repositroy version.
|
|
599
|
-
# @param
|
|
600
|
-
# @param
|
|
689
|
+
# @param container_container_repository_version_href [String]
|
|
690
|
+
# @param repository_version [RepositoryVersion]
|
|
601
691
|
# @param [Hash] opts the optional parameters
|
|
602
692
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
603
|
-
def repair_0_with_http_info(
|
|
693
|
+
def repair_0_with_http_info(container_container_repository_version_href, repository_version, opts = {})
|
|
604
694
|
if @api_client.config.debugging
|
|
605
695
|
@api_client.config.logger.debug 'Calling API: RepositoriesContainerVersionsApi.repair_0 ...'
|
|
606
696
|
end
|
|
607
|
-
# verify the required parameter '
|
|
608
|
-
if @api_client.config.client_side_validation &&
|
|
609
|
-
fail ArgumentError, "Missing the required parameter '
|
|
697
|
+
# verify the required parameter 'container_container_repository_version_href' is set
|
|
698
|
+
if @api_client.config.client_side_validation && container_container_repository_version_href.nil?
|
|
699
|
+
fail ArgumentError, "Missing the required parameter 'container_container_repository_version_href' when calling RepositoriesContainerVersionsApi.repair_0"
|
|
610
700
|
end
|
|
611
|
-
# verify the required parameter '
|
|
612
|
-
if @api_client.config.client_side_validation &&
|
|
613
|
-
fail ArgumentError, "Missing the required parameter '
|
|
701
|
+
# verify the required parameter 'repository_version' is set
|
|
702
|
+
if @api_client.config.client_side_validation && repository_version.nil?
|
|
703
|
+
fail ArgumentError, "Missing the required parameter 'repository_version' when calling RepositoriesContainerVersionsApi.repair_0"
|
|
614
704
|
end
|
|
615
705
|
# resource path
|
|
616
|
-
local_var_path = '{
|
|
706
|
+
local_var_path = '{container_container_repository_version_href}repair/'.sub('{' + 'container_container_repository_version_href' + '}', CGI.escape(container_container_repository_version_href.to_s).gsub('%2F', '/'))
|
|
617
707
|
|
|
618
708
|
# query parameters
|
|
619
709
|
query_params = opts[:query_params] || {}
|
|
@@ -623,19 +713,19 @@ module PulpContainerClient
|
|
|
623
713
|
# HTTP header 'Accept' (if needed)
|
|
624
714
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
625
715
|
# HTTP header 'Content-Type'
|
|
626
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
716
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
627
717
|
|
|
628
718
|
# form parameters
|
|
629
719
|
form_params = opts[:form_params] || {}
|
|
630
720
|
|
|
631
721
|
# http body (model)
|
|
632
|
-
post_body = opts[:body] || @api_client.object_to_http_body(
|
|
722
|
+
post_body = opts[:body] || @api_client.object_to_http_body(repository_version)
|
|
633
723
|
|
|
634
724
|
# return_type
|
|
635
725
|
return_type = opts[:return_type] || 'AsyncOperationResponse'
|
|
636
726
|
|
|
637
727
|
# auth_names
|
|
638
|
-
auth_names = opts[:auth_names] || ['
|
|
728
|
+
auth_names = opts[:auth_names] || ['basicAuth']
|
|
639
729
|
|
|
640
730
|
new_options = opts.merge(
|
|
641
731
|
:header_params => header_params,
|