pulp_container_client 2.20.6 → 2.20.7
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 +7 -6
- data/docs/ContainerContainerDistribution.md +5 -5
- data/docs/ContainerContainerDistributionResponse.md +9 -9
- data/docs/ContainerContainerPullThroughDistribution.md +5 -5
- data/docs/ContainerContainerPullThroughDistributionResponse.md +9 -9
- data/docs/ContainerContainerPullThroughRemote.md +1 -1
- data/docs/ContainerContainerPullThroughRemoteResponse.md +1 -1
- data/docs/ContainerContainerPushRepository.md +7 -7
- data/docs/ContainerContainerPushRepositoryResponse.md +12 -12
- data/docs/ContainerContainerRemote.md +1 -1
- data/docs/ContainerContainerRemoteResponse.md +1 -1
- data/docs/ContentBlobsApi.md +4 -0
- data/docs/ContentManifestsApi.md +4 -0
- data/docs/ContentSignaturesApi.md +4 -0
- data/docs/ContentTagsApi.md +4 -0
- data/docs/DistributionsContainerApi.md +56 -16
- data/docs/DistributionsPullThroughApi.md +56 -16
- data/docs/OCIBuildImage.md +1 -1
- data/docs/PatchedcontainerContainerDistribution.md +5 -5
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +5 -5
- data/docs/PatchedcontainerContainerPullThroughRemote.md +1 -1
- data/docs/PatchedcontainerContainerPushRepository.md +7 -7
- data/docs/PatchedcontainerContainerRemote.md +1 -1
- data/docs/{Policy762Enum.md → Policy692Enum.md} +2 -2
- data/docs/{Policy8e2Enum.md → Policy7e0Enum.md} +2 -2
- data/docs/PulpContainerNamespacesApi.md +32 -8
- data/docs/RemotesContainerApi.md +56 -16
- data/docs/RemotesPullThroughApi.md +56 -16
- data/docs/RepositoriesContainerApi.md +108 -34
- data/docs/RepositoriesContainerPushApi.md +62 -18
- data/docs/RepositoriesContainerPushVersionsApi.md +16 -4
- data/docs/RepositoriesContainerVersionsApi.md +16 -4
- data/docs/TokenApi.md +13 -3
- data/lib/pulp_container_client/api/content_blobs_api.rb +6 -0
- data/lib/pulp_container_client/api/content_manifests_api.rb +6 -0
- data/lib/pulp_container_client/api/content_signatures_api.rb +6 -0
- data/lib/pulp_container_client/api/content_tags_api.rb +6 -0
- data/lib/pulp_container_client/api/distributions_container_api.rb +36 -0
- data/lib/pulp_container_client/api/distributions_pull_through_api.rb +36 -0
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +24 -0
- data/lib/pulp_container_client/api/remotes_container_api.rb +36 -0
- data/lib/pulp_container_client/api/remotes_pull_through_api.rb +36 -0
- data/lib/pulp_container_client/api/repositories_container_api.rb +65 -2
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +39 -0
- data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +12 -0
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +12 -0
- data/lib/pulp_container_client/api/token_api.rb +9 -0
- data/lib/pulp_container_client/models/container_container_distribution.rb +22 -22
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +42 -42
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +22 -22
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +42 -42
- data/lib/pulp_container_client/models/container_container_pull_through_remote.rb +1 -1
- data/lib/pulp_container_client/models/container_container_pull_through_remote_response.rb +1 -1
- data/lib/pulp_container_client/models/container_container_push_repository.rb +44 -44
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +49 -49
- data/lib/pulp_container_client/models/container_container_remote.rb +1 -1
- data/lib/pulp_container_client/models/container_container_remote_response.rb +1 -1
- data/lib/pulp_container_client/models/oci_build_image.rb +1 -1
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +22 -22
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +22 -22
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_remote.rb +1 -1
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +44 -44
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +1 -1
- data/lib/pulp_container_client/models/{policy762_enum.rb → policy692_enum.rb} +3 -3
- data/lib/pulp_container_client/models/{policy8e2_enum.rb → policy7e0_enum.rb} +3 -3
- data/lib/pulp_container_client/version.rb +1 -1
- data/lib/pulp_container_client.rb +2 -2
- data/spec/api/content_blobs_api_spec.rb +2 -0
- data/spec/api/content_manifests_api_spec.rb +2 -0
- data/spec/api/content_signatures_api_spec.rb +2 -0
- data/spec/api/content_tags_api_spec.rb +2 -0
- data/spec/api/distributions_container_api_spec.rb +12 -0
- data/spec/api/distributions_pull_through_api_spec.rb +12 -0
- data/spec/api/pulp_container_namespaces_api_spec.rb +8 -0
- data/spec/api/remotes_container_api_spec.rb +12 -0
- data/spec/api/remotes_pull_through_api_spec.rb +12 -0
- data/spec/api/repositories_container_api_spec.rb +22 -1
- data/spec/api/repositories_container_push_api_spec.rb +13 -0
- data/spec/api/repositories_container_push_versions_api_spec.rb +4 -0
- data/spec/api/repositories_container_versions_api_spec.rb +4 -0
- data/spec/api/token_api_spec.rb +3 -0
- data/spec/models/container_container_distribution_response_spec.rb +8 -8
- data/spec/models/container_container_distribution_spec.rb +6 -6
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +8 -8
- data/spec/models/container_container_pull_through_distribution_spec.rb +6 -6
- data/spec/models/container_container_push_repository_response_spec.rb +10 -10
- data/spec/models/container_container_push_repository_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_distribution_spec.rb +6 -6
- data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +6 -6
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
- data/spec/models/{policy762_enum_spec.rb → policy692_enum_spec.rb} +6 -6
- data/spec/models/{policy8e2_enum_spec.rb → policy7e0_enum_spec.rb} +6 -6
- metadata +67 -67
|
@@ -22,6 +22,7 @@ module PulpContainerClient
|
|
|
22
22
|
# List manifest signatures
|
|
23
23
|
# ViewSet for image signatures.
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
|
25
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
25
26
|
# @option opts [String] :digest Filter results where digest matches value
|
|
26
27
|
# @option opts [Array<String>] :digest__in Filter results where digest is in a comma-separated list of values
|
|
27
28
|
# @option opts [String] :key_id Filter results where key_id matches value
|
|
@@ -57,6 +58,7 @@ module PulpContainerClient
|
|
|
57
58
|
# List manifest signatures
|
|
58
59
|
# ViewSet for image signatures.
|
|
59
60
|
# @param [Hash] opts the optional parameters
|
|
61
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
60
62
|
# @option opts [String] :digest Filter results where digest matches value
|
|
61
63
|
# @option opts [Array<String>] :digest__in Filter results where digest is in a comma-separated list of values
|
|
62
64
|
# @option opts [String] :key_id Filter results where key_id matches value
|
|
@@ -128,6 +130,7 @@ module PulpContainerClient
|
|
|
128
130
|
header_params = opts[:header_params] || {}
|
|
129
131
|
# HTTP header 'Accept' (if needed)
|
|
130
132
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
133
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
131
134
|
|
|
132
135
|
# form parameters
|
|
133
136
|
form_params = opts[:form_params] || {}
|
|
@@ -161,6 +164,7 @@ module PulpContainerClient
|
|
|
161
164
|
# ViewSet for image signatures.
|
|
162
165
|
# @param container_manifest_signature_href [String]
|
|
163
166
|
# @param [Hash] opts the optional parameters
|
|
167
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
164
168
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
165
169
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
166
170
|
# @return [ContainerManifestSignatureResponse]
|
|
@@ -173,6 +177,7 @@ module PulpContainerClient
|
|
|
173
177
|
# ViewSet for image signatures.
|
|
174
178
|
# @param container_manifest_signature_href [String]
|
|
175
179
|
# @param [Hash] opts the optional parameters
|
|
180
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
176
181
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
177
182
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
178
183
|
# @return [Array<(ContainerManifestSignatureResponse, Integer, Hash)>] ContainerManifestSignatureResponse data, response status code and response headers
|
|
@@ -196,6 +201,7 @@ module PulpContainerClient
|
|
|
196
201
|
header_params = opts[:header_params] || {}
|
|
197
202
|
# HTTP header 'Accept' (if needed)
|
|
198
203
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
204
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
199
205
|
|
|
200
206
|
# form parameters
|
|
201
207
|
form_params = opts[:form_params] || {}
|
|
@@ -22,6 +22,7 @@ module PulpContainerClient
|
|
|
22
22
|
# List tags
|
|
23
23
|
# ViewSet for Tag.
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
|
25
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
25
26
|
# @option opts [Array<String>] :digest Multiple values may be separated by commas.
|
|
26
27
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
27
28
|
# @option opts [Array<String>] :media_type * `application/vnd.docker.distribution.manifest.v1+json` - application/vnd.docker.distribution.manifest.v1+json * `application/vnd.docker.distribution.manifest.v2+json` - application/vnd.docker.distribution.manifest.v2+json * `application/vnd.docker.distribution.manifest.list.v2+json` - application/vnd.docker.distribution.manifest.list.v2+json * `application/vnd.oci.image.manifest.v1+json` - application/vnd.oci.image.manifest.v1+json * `application/vnd.oci.image.index.v1+json` - application/vnd.oci.image.index.v1+json
|
|
@@ -47,6 +48,7 @@ module PulpContainerClient
|
|
|
47
48
|
# List tags
|
|
48
49
|
# ViewSet for Tag.
|
|
49
50
|
# @param [Hash] opts the optional parameters
|
|
51
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
50
52
|
# @option opts [Array<String>] :digest Multiple values may be separated by commas.
|
|
51
53
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
52
54
|
# @option opts [Array<String>] :media_type * `application/vnd.docker.distribution.manifest.v1+json` - application/vnd.docker.distribution.manifest.v1+json * `application/vnd.docker.distribution.manifest.v2+json` - application/vnd.docker.distribution.manifest.v2+json * `application/vnd.docker.distribution.manifest.list.v2+json` - application/vnd.docker.distribution.manifest.list.v2+json * `application/vnd.oci.image.manifest.v1+json` - application/vnd.oci.image.manifest.v1+json * `application/vnd.oci.image.index.v1+json` - application/vnd.oci.image.index.v1+json
|
|
@@ -102,6 +104,7 @@ module PulpContainerClient
|
|
|
102
104
|
header_params = opts[:header_params] || {}
|
|
103
105
|
# HTTP header 'Accept' (if needed)
|
|
104
106
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
107
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
105
108
|
|
|
106
109
|
# form parameters
|
|
107
110
|
form_params = opts[:form_params] || {}
|
|
@@ -135,6 +138,7 @@ module PulpContainerClient
|
|
|
135
138
|
# ViewSet for Tag.
|
|
136
139
|
# @param container_tag_href [String]
|
|
137
140
|
# @param [Hash] opts the optional parameters
|
|
141
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
138
142
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
139
143
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
140
144
|
# @return [ContainerTagResponse]
|
|
@@ -147,6 +151,7 @@ module PulpContainerClient
|
|
|
147
151
|
# ViewSet for Tag.
|
|
148
152
|
# @param container_tag_href [String]
|
|
149
153
|
# @param [Hash] opts the optional parameters
|
|
154
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
150
155
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
151
156
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
152
157
|
# @return [Array<(ContainerTagResponse, Integer, Hash)>] ContainerTagResponse data, response status code and response headers
|
|
@@ -170,6 +175,7 @@ module PulpContainerClient
|
|
|
170
175
|
header_params = opts[:header_params] || {}
|
|
171
176
|
# HTTP header 'Accept' (if needed)
|
|
172
177
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
178
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
173
179
|
|
|
174
180
|
# form parameters
|
|
175
181
|
form_params = opts[:form_params] || {}
|
|
@@ -24,6 +24,7 @@ module PulpContainerClient
|
|
|
24
24
|
# @param container_container_distribution_href [String]
|
|
25
25
|
# @param nested_role [NestedRole]
|
|
26
26
|
# @param [Hash] opts the optional parameters
|
|
27
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
27
28
|
# @return [NestedRoleResponse]
|
|
28
29
|
def add_role(container_container_distribution_href, nested_role, opts = {})
|
|
29
30
|
data, _status_code, _headers = add_role_with_http_info(container_container_distribution_href, nested_role, opts)
|
|
@@ -35,6 +36,7 @@ module PulpContainerClient
|
|
|
35
36
|
# @param container_container_distribution_href [String]
|
|
36
37
|
# @param nested_role [NestedRole]
|
|
37
38
|
# @param [Hash] opts the optional parameters
|
|
39
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
38
40
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
|
39
41
|
def add_role_with_http_info(container_container_distribution_href, nested_role, opts = {})
|
|
40
42
|
if @api_client.config.debugging
|
|
@@ -60,6 +62,7 @@ module PulpContainerClient
|
|
|
60
62
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
61
63
|
# HTTP header 'Content-Type'
|
|
62
64
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
65
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
63
66
|
|
|
64
67
|
# form parameters
|
|
65
68
|
form_params = opts[:form_params] || {}
|
|
@@ -93,6 +96,7 @@ module PulpContainerClient
|
|
|
93
96
|
# Trigger an asynchronous create task
|
|
94
97
|
# @param container_container_distribution [ContainerContainerDistribution]
|
|
95
98
|
# @param [Hash] opts the optional parameters
|
|
99
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
96
100
|
# @return [AsyncOperationResponse]
|
|
97
101
|
def create(container_container_distribution, opts = {})
|
|
98
102
|
data, _status_code, _headers = create_with_http_info(container_container_distribution, opts)
|
|
@@ -103,6 +107,7 @@ module PulpContainerClient
|
|
|
103
107
|
# Trigger an asynchronous create task
|
|
104
108
|
# @param container_container_distribution [ContainerContainerDistribution]
|
|
105
109
|
# @param [Hash] opts the optional parameters
|
|
110
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
106
111
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
107
112
|
def create_with_http_info(container_container_distribution, opts = {})
|
|
108
113
|
if @api_client.config.debugging
|
|
@@ -124,6 +129,7 @@ module PulpContainerClient
|
|
|
124
129
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
125
130
|
# HTTP header 'Content-Type'
|
|
126
131
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
132
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
127
133
|
|
|
128
134
|
# form parameters
|
|
129
135
|
form_params = opts[:form_params] || {}
|
|
@@ -157,6 +163,7 @@ module PulpContainerClient
|
|
|
157
163
|
# Trigger an asynchronous delete task
|
|
158
164
|
# @param container_container_distribution_href [String]
|
|
159
165
|
# @param [Hash] opts the optional parameters
|
|
166
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
160
167
|
# @return [AsyncOperationResponse]
|
|
161
168
|
def delete(container_container_distribution_href, opts = {})
|
|
162
169
|
data, _status_code, _headers = delete_with_http_info(container_container_distribution_href, opts)
|
|
@@ -167,6 +174,7 @@ module PulpContainerClient
|
|
|
167
174
|
# Trigger an asynchronous delete task
|
|
168
175
|
# @param container_container_distribution_href [String]
|
|
169
176
|
# @param [Hash] opts the optional parameters
|
|
177
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
170
178
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
171
179
|
def delete_with_http_info(container_container_distribution_href, opts = {})
|
|
172
180
|
if @api_client.config.debugging
|
|
@@ -186,6 +194,7 @@ module PulpContainerClient
|
|
|
186
194
|
header_params = opts[:header_params] || {}
|
|
187
195
|
# HTTP header 'Accept' (if needed)
|
|
188
196
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
197
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
189
198
|
|
|
190
199
|
# form parameters
|
|
191
200
|
form_params = opts[:form_params] || {}
|
|
@@ -218,6 +227,7 @@ module PulpContainerClient
|
|
|
218
227
|
# List container distributions
|
|
219
228
|
# The Container Distribution will serve the latest version of a Repository if ``repository`` is specified. The Container Distribution will serve a specific repository version if ``repository_version``. Note that **either** ``repository`` or ``repository_version`` can be set on a Container Distribution, but not both.
|
|
220
229
|
# @param [Hash] opts the optional parameters
|
|
230
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
221
231
|
# @option opts [String] :base_path Filter results where base_path matches value
|
|
222
232
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
|
223
233
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
|
@@ -253,6 +263,7 @@ module PulpContainerClient
|
|
|
253
263
|
# List container distributions
|
|
254
264
|
# The Container Distribution will serve the latest version of a Repository if ``repository`` is specified. The Container Distribution will serve a specific repository version if ``repository_version``. Note that **either** ``repository`` or ``repository_version`` can be set on a Container Distribution, but not both.
|
|
255
265
|
# @param [Hash] opts the optional parameters
|
|
266
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
256
267
|
# @option opts [String] :base_path Filter results where base_path matches value
|
|
257
268
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
|
258
269
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
|
@@ -324,6 +335,7 @@ module PulpContainerClient
|
|
|
324
335
|
header_params = opts[:header_params] || {}
|
|
325
336
|
# HTTP header 'Accept' (if needed)
|
|
326
337
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
338
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
327
339
|
|
|
328
340
|
# form parameters
|
|
329
341
|
form_params = opts[:form_params] || {}
|
|
@@ -357,6 +369,7 @@ module PulpContainerClient
|
|
|
357
369
|
# List roles assigned to this object.
|
|
358
370
|
# @param container_container_distribution_href [String]
|
|
359
371
|
# @param [Hash] opts the optional parameters
|
|
372
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
360
373
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
361
374
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
362
375
|
# @return [ObjectRolesResponse]
|
|
@@ -369,6 +382,7 @@ module PulpContainerClient
|
|
|
369
382
|
# List roles assigned to this object.
|
|
370
383
|
# @param container_container_distribution_href [String]
|
|
371
384
|
# @param [Hash] opts the optional parameters
|
|
385
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
372
386
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
373
387
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
374
388
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
|
@@ -392,6 +406,7 @@ module PulpContainerClient
|
|
|
392
406
|
header_params = opts[:header_params] || {}
|
|
393
407
|
# HTTP header 'Accept' (if needed)
|
|
394
408
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
409
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
395
410
|
|
|
396
411
|
# form parameters
|
|
397
412
|
form_params = opts[:form_params] || {}
|
|
@@ -425,6 +440,7 @@ module PulpContainerClient
|
|
|
425
440
|
# List permissions available to the current user on this object.
|
|
426
441
|
# @param container_container_distribution_href [String]
|
|
427
442
|
# @param [Hash] opts the optional parameters
|
|
443
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
428
444
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
429
445
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
430
446
|
# @return [MyPermissionsResponse]
|
|
@@ -437,6 +453,7 @@ module PulpContainerClient
|
|
|
437
453
|
# List permissions available to the current user on this object.
|
|
438
454
|
# @param container_container_distribution_href [String]
|
|
439
455
|
# @param [Hash] opts the optional parameters
|
|
456
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
440
457
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
441
458
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
442
459
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
|
@@ -460,6 +477,7 @@ module PulpContainerClient
|
|
|
460
477
|
header_params = opts[:header_params] || {}
|
|
461
478
|
# HTTP header 'Accept' (if needed)
|
|
462
479
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
480
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
463
481
|
|
|
464
482
|
# form parameters
|
|
465
483
|
form_params = opts[:form_params] || {}
|
|
@@ -494,6 +512,7 @@ module PulpContainerClient
|
|
|
494
512
|
# @param container_container_distribution_href [String]
|
|
495
513
|
# @param patchedcontainer_container_distribution [PatchedcontainerContainerDistribution]
|
|
496
514
|
# @param [Hash] opts the optional parameters
|
|
515
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
497
516
|
# @return [AsyncOperationResponse]
|
|
498
517
|
def partial_update(container_container_distribution_href, patchedcontainer_container_distribution, opts = {})
|
|
499
518
|
data, _status_code, _headers = partial_update_with_http_info(container_container_distribution_href, patchedcontainer_container_distribution, opts)
|
|
@@ -505,6 +524,7 @@ module PulpContainerClient
|
|
|
505
524
|
# @param container_container_distribution_href [String]
|
|
506
525
|
# @param patchedcontainer_container_distribution [PatchedcontainerContainerDistribution]
|
|
507
526
|
# @param [Hash] opts the optional parameters
|
|
527
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
508
528
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
509
529
|
def partial_update_with_http_info(container_container_distribution_href, patchedcontainer_container_distribution, opts = {})
|
|
510
530
|
if @api_client.config.debugging
|
|
@@ -530,6 +550,7 @@ module PulpContainerClient
|
|
|
530
550
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
531
551
|
# HTTP header 'Content-Type'
|
|
532
552
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
553
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
533
554
|
|
|
534
555
|
# form parameters
|
|
535
556
|
form_params = opts[:form_params] || {}
|
|
@@ -563,6 +584,7 @@ module PulpContainerClient
|
|
|
563
584
|
# The Container Distribution will serve the latest version of a Repository if ``repository`` is specified. The Container Distribution will serve a specific repository version if ``repository_version``. Note that **either** ``repository`` or ``repository_version`` can be set on a Container Distribution, but not both.
|
|
564
585
|
# @param container_container_distribution_href [String]
|
|
565
586
|
# @param [Hash] opts the optional parameters
|
|
587
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
566
588
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
567
589
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
568
590
|
# @return [ContainerContainerDistributionResponse]
|
|
@@ -575,6 +597,7 @@ module PulpContainerClient
|
|
|
575
597
|
# The Container Distribution will serve the latest version of a Repository if ``repository`` is specified. The Container Distribution will serve a specific repository version if ``repository_version``. Note that **either** ``repository`` or ``repository_version`` can be set on a Container Distribution, but not both.
|
|
576
598
|
# @param container_container_distribution_href [String]
|
|
577
599
|
# @param [Hash] opts the optional parameters
|
|
600
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
578
601
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
579
602
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
580
603
|
# @return [Array<(ContainerContainerDistributionResponse, Integer, Hash)>] ContainerContainerDistributionResponse data, response status code and response headers
|
|
@@ -598,6 +621,7 @@ module PulpContainerClient
|
|
|
598
621
|
header_params = opts[:header_params] || {}
|
|
599
622
|
# HTTP header 'Accept' (if needed)
|
|
600
623
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
624
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
601
625
|
|
|
602
626
|
# form parameters
|
|
603
627
|
form_params = opts[:form_params] || {}
|
|
@@ -632,6 +656,7 @@ module PulpContainerClient
|
|
|
632
656
|
# @param container_container_distribution_href [String]
|
|
633
657
|
# @param nested_role [NestedRole]
|
|
634
658
|
# @param [Hash] opts the optional parameters
|
|
659
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
635
660
|
# @return [NestedRoleResponse]
|
|
636
661
|
def remove_role(container_container_distribution_href, nested_role, opts = {})
|
|
637
662
|
data, _status_code, _headers = remove_role_with_http_info(container_container_distribution_href, nested_role, opts)
|
|
@@ -643,6 +668,7 @@ module PulpContainerClient
|
|
|
643
668
|
# @param container_container_distribution_href [String]
|
|
644
669
|
# @param nested_role [NestedRole]
|
|
645
670
|
# @param [Hash] opts the optional parameters
|
|
671
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
646
672
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
|
647
673
|
def remove_role_with_http_info(container_container_distribution_href, nested_role, opts = {})
|
|
648
674
|
if @api_client.config.debugging
|
|
@@ -668,6 +694,7 @@ module PulpContainerClient
|
|
|
668
694
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
669
695
|
# HTTP header 'Content-Type'
|
|
670
696
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
697
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
671
698
|
|
|
672
699
|
# form parameters
|
|
673
700
|
form_params = opts[:form_params] || {}
|
|
@@ -702,6 +729,7 @@ module PulpContainerClient
|
|
|
702
729
|
# @param container_container_distribution_href [String]
|
|
703
730
|
# @param set_label [SetLabel]
|
|
704
731
|
# @param [Hash] opts the optional parameters
|
|
732
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
705
733
|
# @return [SetLabelResponse]
|
|
706
734
|
def set_label(container_container_distribution_href, set_label, opts = {})
|
|
707
735
|
data, _status_code, _headers = set_label_with_http_info(container_container_distribution_href, set_label, opts)
|
|
@@ -713,6 +741,7 @@ module PulpContainerClient
|
|
|
713
741
|
# @param container_container_distribution_href [String]
|
|
714
742
|
# @param set_label [SetLabel]
|
|
715
743
|
# @param [Hash] opts the optional parameters
|
|
744
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
716
745
|
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
|
717
746
|
def set_label_with_http_info(container_container_distribution_href, set_label, opts = {})
|
|
718
747
|
if @api_client.config.debugging
|
|
@@ -738,6 +767,7 @@ module PulpContainerClient
|
|
|
738
767
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
739
768
|
# HTTP header 'Content-Type'
|
|
740
769
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
770
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
741
771
|
|
|
742
772
|
# form parameters
|
|
743
773
|
form_params = opts[:form_params] || {}
|
|
@@ -772,6 +802,7 @@ module PulpContainerClient
|
|
|
772
802
|
# @param container_container_distribution_href [String]
|
|
773
803
|
# @param unset_label [UnsetLabel]
|
|
774
804
|
# @param [Hash] opts the optional parameters
|
|
805
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
775
806
|
# @return [UnsetLabelResponse]
|
|
776
807
|
def unset_label(container_container_distribution_href, unset_label, opts = {})
|
|
777
808
|
data, _status_code, _headers = unset_label_with_http_info(container_container_distribution_href, unset_label, opts)
|
|
@@ -783,6 +814,7 @@ module PulpContainerClient
|
|
|
783
814
|
# @param container_container_distribution_href [String]
|
|
784
815
|
# @param unset_label [UnsetLabel]
|
|
785
816
|
# @param [Hash] opts the optional parameters
|
|
817
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
786
818
|
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
|
787
819
|
def unset_label_with_http_info(container_container_distribution_href, unset_label, opts = {})
|
|
788
820
|
if @api_client.config.debugging
|
|
@@ -808,6 +840,7 @@ module PulpContainerClient
|
|
|
808
840
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
809
841
|
# HTTP header 'Content-Type'
|
|
810
842
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
843
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
811
844
|
|
|
812
845
|
# form parameters
|
|
813
846
|
form_params = opts[:form_params] || {}
|
|
@@ -842,6 +875,7 @@ module PulpContainerClient
|
|
|
842
875
|
# @param container_container_distribution_href [String]
|
|
843
876
|
# @param container_container_distribution [ContainerContainerDistribution]
|
|
844
877
|
# @param [Hash] opts the optional parameters
|
|
878
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
845
879
|
# @return [AsyncOperationResponse]
|
|
846
880
|
def update(container_container_distribution_href, container_container_distribution, opts = {})
|
|
847
881
|
data, _status_code, _headers = update_with_http_info(container_container_distribution_href, container_container_distribution, opts)
|
|
@@ -853,6 +887,7 @@ module PulpContainerClient
|
|
|
853
887
|
# @param container_container_distribution_href [String]
|
|
854
888
|
# @param container_container_distribution [ContainerContainerDistribution]
|
|
855
889
|
# @param [Hash] opts the optional parameters
|
|
890
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
856
891
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
857
892
|
def update_with_http_info(container_container_distribution_href, container_container_distribution, opts = {})
|
|
858
893
|
if @api_client.config.debugging
|
|
@@ -878,6 +913,7 @@ module PulpContainerClient
|
|
|
878
913
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
879
914
|
# HTTP header 'Content-Type'
|
|
880
915
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
916
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
881
917
|
|
|
882
918
|
# form parameters
|
|
883
919
|
form_params = opts[:form_params] || {}
|