pulp_python_client 3.13.6 → 3.14.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 +4 -5
- data/docs/ContentPackagesApi.md +8 -22
- data/docs/DistributionsPypiApi.md +32 -72
- data/docs/PublicationsPypiApi.md +16 -40
- data/docs/PypiApi.md +0 -2
- data/docs/PypiLegacyApi.md +0 -2
- data/docs/PypiMetadataApi.md +0 -2
- data/docs/PypiSimpleApi.md +0 -6
- data/docs/RemotesPythonApi.md +32 -74
- data/docs/RepositoriesPythonApi.md +40 -88
- data/docs/RepositoriesPythonVersionsApi.md +10 -22
- data/lib/pulp_python_client/api/content_packages_api.rb +0 -15
- data/lib/pulp_python_client/api/distributions_pypi_api.rb +0 -36
- data/lib/pulp_python_client/api/publications_pypi_api.rb +0 -24
- data/lib/pulp_python_client/api/pypi_api.rb +0 -3
- data/lib/pulp_python_client/api/pypi_legacy_api.rb +0 -3
- data/lib/pulp_python_client/api/pypi_metadata_api.rb +0 -3
- data/lib/pulp_python_client/api/pypi_simple_api.rb +0 -9
- data/lib/pulp_python_client/api/remotes_python_api.rb +0 -39
- data/lib/pulp_python_client/api/repositories_python_api.rb +0 -42
- data/lib/pulp_python_client/api/repositories_python_versions_api.rb +3 -15
- data/lib/pulp_python_client/version.rb +1 -1
- data/pulp_python_client.gemspec +1 -0
- data/spec/api/content_packages_api_spec.rb +0 -5
- data/spec/api/distributions_pypi_api_spec.rb +0 -12
- data/spec/api/publications_pypi_api_spec.rb +0 -8
- data/spec/api/pypi_api_spec.rb +0 -1
- data/spec/api/pypi_legacy_api_spec.rb +0 -1
- data/spec/api/pypi_metadata_api_spec.rb +0 -1
- data/spec/api/pypi_simple_api_spec.rb +0 -3
- data/spec/api/remotes_python_api_spec.rb +0 -13
- data/spec/api/repositories_python_api_spec.rb +0 -14
- data/spec/api/repositories_python_versions_api_spec.rb +1 -5
- metadata +59 -39
|
@@ -24,7 +24,6 @@ module PulpPythonClient
|
|
|
24
24
|
# @param meta [String]
|
|
25
25
|
# @param path [String]
|
|
26
26
|
# @param [Hash] opts the optional parameters
|
|
27
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
28
27
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
29
28
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
30
29
|
# @return [PackageMetadataResponse]
|
|
@@ -38,7 +37,6 @@ module PulpPythonClient
|
|
|
38
37
|
# @param meta [String]
|
|
39
38
|
# @param path [String]
|
|
40
39
|
# @param [Hash] opts the optional parameters
|
|
41
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
42
40
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
43
41
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
44
42
|
# @return [Array<(PackageMetadataResponse, Integer, Hash)>] PackageMetadataResponse data, response status code and response headers
|
|
@@ -66,7 +64,6 @@ module PulpPythonClient
|
|
|
66
64
|
header_params = opts[:header_params] || {}
|
|
67
65
|
# HTTP header 'Accept' (if needed)
|
|
68
66
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
69
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
70
67
|
|
|
71
68
|
# form parameters
|
|
72
69
|
form_params = opts[:form_params] || {}
|
|
@@ -25,7 +25,6 @@ module PulpPythonClient
|
|
|
25
25
|
# @param content [File] A Python package release file to upload to the index.
|
|
26
26
|
# @param sha256_digest [String] SHA256 of package to validate upload integrity.
|
|
27
27
|
# @param [Hash] opts the optional parameters
|
|
28
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
29
28
|
# @option opts [String] :action Defaults to `file_upload`, don't change it or request will fail! (default to 'file_upload')
|
|
30
29
|
# @return [PackageUploadTaskResponse]
|
|
31
30
|
def create(path, content, sha256_digest, opts = {})
|
|
@@ -39,7 +38,6 @@ module PulpPythonClient
|
|
|
39
38
|
# @param content [File] A Python package release file to upload to the index.
|
|
40
39
|
# @param sha256_digest [String] SHA256 of package to validate upload integrity.
|
|
41
40
|
# @param [Hash] opts the optional parameters
|
|
42
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
43
41
|
# @option opts [String] :action Defaults to `file_upload`, don't change it or request will fail! (default to 'file_upload')
|
|
44
42
|
# @return [Array<(PackageUploadTaskResponse, Integer, Hash)>] PackageUploadTaskResponse data, response status code and response headers
|
|
45
43
|
def create_with_http_info(path, content, sha256_digest, opts = {})
|
|
@@ -85,7 +83,6 @@ module PulpPythonClient
|
|
|
85
83
|
if !content_type.nil?
|
|
86
84
|
header_params['Content-Type'] = content_type
|
|
87
85
|
end
|
|
88
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
89
86
|
|
|
90
87
|
# form parameters
|
|
91
88
|
form_params = opts[:form_params] || {}
|
|
@@ -124,7 +121,6 @@ module PulpPythonClient
|
|
|
124
121
|
# @param package [String]
|
|
125
122
|
# @param path [String]
|
|
126
123
|
# @param [Hash] opts the optional parameters
|
|
127
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
128
124
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
129
125
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
130
126
|
# @return [nil]
|
|
@@ -138,7 +134,6 @@ module PulpPythonClient
|
|
|
138
134
|
# @param package [String]
|
|
139
135
|
# @param path [String]
|
|
140
136
|
# @param [Hash] opts the optional parameters
|
|
141
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
142
137
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
143
138
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
144
139
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
@@ -164,7 +159,6 @@ module PulpPythonClient
|
|
|
164
159
|
|
|
165
160
|
# header parameters
|
|
166
161
|
header_params = opts[:header_params] || {}
|
|
167
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
168
162
|
|
|
169
163
|
# form parameters
|
|
170
164
|
form_params = opts[:form_params] || {}
|
|
@@ -199,7 +193,6 @@ module PulpPythonClient
|
|
|
199
193
|
# Gets the simple api html page for the index.
|
|
200
194
|
# @param path [String]
|
|
201
195
|
# @param [Hash] opts the optional parameters
|
|
202
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
203
196
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
204
197
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
205
198
|
# @return [nil]
|
|
@@ -212,7 +205,6 @@ module PulpPythonClient
|
|
|
212
205
|
# Gets the simple api html page for the index.
|
|
213
206
|
# @param path [String]
|
|
214
207
|
# @param [Hash] opts the optional parameters
|
|
215
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
216
208
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
217
209
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
218
210
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
@@ -234,7 +226,6 @@ module PulpPythonClient
|
|
|
234
226
|
|
|
235
227
|
# header parameters
|
|
236
228
|
header_params = opts[:header_params] || {}
|
|
237
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
238
229
|
|
|
239
230
|
# form parameters
|
|
240
231
|
form_params = opts[:form_params] || {}
|
|
@@ -24,7 +24,6 @@ module PulpPythonClient
|
|
|
24
24
|
# @param python_python_remote_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.
|
|
28
27
|
# @return [NestedRoleResponse]
|
|
29
28
|
def add_role(python_python_remote_href, nested_role, opts = {})
|
|
30
29
|
data, _status_code, _headers = add_role_with_http_info(python_python_remote_href, nested_role, opts)
|
|
@@ -36,7 +35,6 @@ module PulpPythonClient
|
|
|
36
35
|
# @param python_python_remote_href [String]
|
|
37
36
|
# @param nested_role [NestedRole]
|
|
38
37
|
# @param [Hash] opts the optional parameters
|
|
39
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
40
38
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
|
41
39
|
def add_role_with_http_info(python_python_remote_href, nested_role, opts = {})
|
|
42
40
|
if @api_client.config.debugging
|
|
@@ -65,7 +63,6 @@ module PulpPythonClient
|
|
|
65
63
|
if !content_type.nil?
|
|
66
64
|
header_params['Content-Type'] = content_type
|
|
67
65
|
end
|
|
68
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
69
66
|
|
|
70
67
|
# form parameters
|
|
71
68
|
form_params = opts[:form_params] || {}
|
|
@@ -100,7 +97,6 @@ module PulpPythonClient
|
|
|
100
97
|
# Python Remotes are representations of an external repository of Python content, eg. PyPI. Fields include upstream repository config. Python Remotes are also used to `sync` from upstream repositories, and contains sync settings.
|
|
101
98
|
# @param python_python_remote [PythonPythonRemote]
|
|
102
99
|
# @param [Hash] opts the optional parameters
|
|
103
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
104
100
|
# @return [PythonPythonRemoteResponse]
|
|
105
101
|
def create(python_python_remote, opts = {})
|
|
106
102
|
data, _status_code, _headers = create_with_http_info(python_python_remote, opts)
|
|
@@ -111,7 +107,6 @@ module PulpPythonClient
|
|
|
111
107
|
# Python Remotes are representations of an external repository of Python content, eg. PyPI. Fields include upstream repository config. Python Remotes are also used to `sync` from upstream repositories, and contains sync settings.
|
|
112
108
|
# @param python_python_remote [PythonPythonRemote]
|
|
113
109
|
# @param [Hash] opts the optional parameters
|
|
114
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
115
110
|
# @return [Array<(PythonPythonRemoteResponse, Integer, Hash)>] PythonPythonRemoteResponse data, response status code and response headers
|
|
116
111
|
def create_with_http_info(python_python_remote, opts = {})
|
|
117
112
|
if @api_client.config.debugging
|
|
@@ -136,7 +131,6 @@ module PulpPythonClient
|
|
|
136
131
|
if !content_type.nil?
|
|
137
132
|
header_params['Content-Type'] = content_type
|
|
138
133
|
end
|
|
139
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
140
134
|
|
|
141
135
|
# form parameters
|
|
142
136
|
form_params = opts[:form_params] || {}
|
|
@@ -171,7 +165,6 @@ module PulpPythonClient
|
|
|
171
165
|
# Trigger an asynchronous delete task
|
|
172
166
|
# @param python_python_remote_href [String]
|
|
173
167
|
# @param [Hash] opts the optional parameters
|
|
174
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
175
168
|
# @return [AsyncOperationResponse]
|
|
176
169
|
def delete(python_python_remote_href, opts = {})
|
|
177
170
|
data, _status_code, _headers = delete_with_http_info(python_python_remote_href, opts)
|
|
@@ -182,7 +175,6 @@ module PulpPythonClient
|
|
|
182
175
|
# Trigger an asynchronous delete task
|
|
183
176
|
# @param python_python_remote_href [String]
|
|
184
177
|
# @param [Hash] opts the optional parameters
|
|
185
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
186
178
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
187
179
|
def delete_with_http_info(python_python_remote_href, opts = {})
|
|
188
180
|
if @api_client.config.debugging
|
|
@@ -202,7 +194,6 @@ module PulpPythonClient
|
|
|
202
194
|
header_params = opts[:header_params] || {}
|
|
203
195
|
# HTTP header 'Accept' (if needed)
|
|
204
196
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
205
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
206
197
|
|
|
207
198
|
# form parameters
|
|
208
199
|
form_params = opts[:form_params] || {}
|
|
@@ -238,7 +229,6 @@ module PulpPythonClient
|
|
|
238
229
|
# @param config [File] A Bandersnatch config that may be used to construct a Python Remote.
|
|
239
230
|
# @param name [String] A unique name for this remote
|
|
240
231
|
# @param [Hash] opts the optional parameters
|
|
241
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
242
232
|
# @option opts [PolicyEnum] :policy The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'on_demand' is the default. * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again.
|
|
243
233
|
# @return [PythonPythonRemoteResponse]
|
|
244
234
|
def from_bandersnatch(config, name, opts = {})
|
|
@@ -251,7 +241,6 @@ module PulpPythonClient
|
|
|
251
241
|
# @param config [File] A Bandersnatch config that may be used to construct a Python Remote.
|
|
252
242
|
# @param name [String] A unique name for this remote
|
|
253
243
|
# @param [Hash] opts the optional parameters
|
|
254
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
255
244
|
# @option opts [PolicyEnum] :policy The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'on_demand' is the default. * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again.
|
|
256
245
|
# @return [Array<(PythonPythonRemoteResponse, Integer, Hash)>] PythonPythonRemoteResponse data, response status code and response headers
|
|
257
246
|
def from_bandersnatch_with_http_info(config, name, opts = {})
|
|
@@ -285,7 +274,6 @@ module PulpPythonClient
|
|
|
285
274
|
if !content_type.nil?
|
|
286
275
|
header_params['Content-Type'] = content_type
|
|
287
276
|
end
|
|
288
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
289
277
|
|
|
290
278
|
# form parameters
|
|
291
279
|
form_params = opts[:form_params] || {}
|
|
@@ -322,7 +310,6 @@ module PulpPythonClient
|
|
|
322
310
|
# List python remotes
|
|
323
311
|
# Python Remotes are representations of an external repository of Python content, eg. PyPI. Fields include upstream repository config. Python Remotes are also used to `sync` from upstream repositories, and contains sync settings.
|
|
324
312
|
# @param [Hash] opts the optional parameters
|
|
325
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
326
313
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
327
314
|
# @option opts [String] :name Filter results where name matches value
|
|
328
315
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
@@ -358,7 +345,6 @@ module PulpPythonClient
|
|
|
358
345
|
# List python remotes
|
|
359
346
|
# Python Remotes are representations of an external repository of Python content, eg. PyPI. Fields include upstream repository config. Python Remotes are also used to `sync` from upstream repositories, and contains sync settings.
|
|
360
347
|
# @param [Hash] opts the optional parameters
|
|
361
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
362
348
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
363
349
|
# @option opts [String] :name Filter results where name matches value
|
|
364
350
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
@@ -430,7 +416,6 @@ module PulpPythonClient
|
|
|
430
416
|
header_params = opts[:header_params] || {}
|
|
431
417
|
# HTTP header 'Accept' (if needed)
|
|
432
418
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
433
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
434
419
|
|
|
435
420
|
# form parameters
|
|
436
421
|
form_params = opts[:form_params] || {}
|
|
@@ -465,7 +450,6 @@ module PulpPythonClient
|
|
|
465
450
|
# List roles assigned to this object.
|
|
466
451
|
# @param python_python_remote_href [String]
|
|
467
452
|
# @param [Hash] opts the optional parameters
|
|
468
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
469
453
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
470
454
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
471
455
|
# @return [ObjectRolesResponse]
|
|
@@ -478,7 +462,6 @@ module PulpPythonClient
|
|
|
478
462
|
# List roles assigned to this object.
|
|
479
463
|
# @param python_python_remote_href [String]
|
|
480
464
|
# @param [Hash] opts the optional parameters
|
|
481
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
482
465
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
483
466
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
484
467
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
|
@@ -502,7 +485,6 @@ module PulpPythonClient
|
|
|
502
485
|
header_params = opts[:header_params] || {}
|
|
503
486
|
# HTTP header 'Accept' (if needed)
|
|
504
487
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
505
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
506
488
|
|
|
507
489
|
# form parameters
|
|
508
490
|
form_params = opts[:form_params] || {}
|
|
@@ -537,7 +519,6 @@ module PulpPythonClient
|
|
|
537
519
|
# List permissions available to the current user on this object.
|
|
538
520
|
# @param python_python_remote_href [String]
|
|
539
521
|
# @param [Hash] opts the optional parameters
|
|
540
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
541
522
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
542
523
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
543
524
|
# @return [MyPermissionsResponse]
|
|
@@ -550,7 +531,6 @@ module PulpPythonClient
|
|
|
550
531
|
# List permissions available to the current user on this object.
|
|
551
532
|
# @param python_python_remote_href [String]
|
|
552
533
|
# @param [Hash] opts the optional parameters
|
|
553
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
554
534
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
555
535
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
556
536
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
|
@@ -574,7 +554,6 @@ module PulpPythonClient
|
|
|
574
554
|
header_params = opts[:header_params] || {}
|
|
575
555
|
# HTTP header 'Accept' (if needed)
|
|
576
556
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
577
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
578
557
|
|
|
579
558
|
# form parameters
|
|
580
559
|
form_params = opts[:form_params] || {}
|
|
@@ -610,7 +589,6 @@ module PulpPythonClient
|
|
|
610
589
|
# @param python_python_remote_href [String]
|
|
611
590
|
# @param patchedpython_python_remote [PatchedpythonPythonRemote]
|
|
612
591
|
# @param [Hash] opts the optional parameters
|
|
613
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
614
592
|
# @return [AsyncOperationResponse]
|
|
615
593
|
def partial_update(python_python_remote_href, patchedpython_python_remote, opts = {})
|
|
616
594
|
data, _status_code, _headers = partial_update_with_http_info(python_python_remote_href, patchedpython_python_remote, opts)
|
|
@@ -622,7 +600,6 @@ module PulpPythonClient
|
|
|
622
600
|
# @param python_python_remote_href [String]
|
|
623
601
|
# @param patchedpython_python_remote [PatchedpythonPythonRemote]
|
|
624
602
|
# @param [Hash] opts the optional parameters
|
|
625
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
626
603
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
627
604
|
def partial_update_with_http_info(python_python_remote_href, patchedpython_python_remote, opts = {})
|
|
628
605
|
if @api_client.config.debugging
|
|
@@ -651,7 +628,6 @@ module PulpPythonClient
|
|
|
651
628
|
if !content_type.nil?
|
|
652
629
|
header_params['Content-Type'] = content_type
|
|
653
630
|
end
|
|
654
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
655
631
|
|
|
656
632
|
# form parameters
|
|
657
633
|
form_params = opts[:form_params] || {}
|
|
@@ -686,7 +662,6 @@ module PulpPythonClient
|
|
|
686
662
|
# Python Remotes are representations of an external repository of Python content, eg. PyPI. Fields include upstream repository config. Python Remotes are also used to `sync` from upstream repositories, and contains sync settings.
|
|
687
663
|
# @param python_python_remote_href [String]
|
|
688
664
|
# @param [Hash] opts the optional parameters
|
|
689
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
690
665
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
691
666
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
692
667
|
# @return [PythonPythonRemoteResponse]
|
|
@@ -699,7 +674,6 @@ module PulpPythonClient
|
|
|
699
674
|
# Python Remotes are representations of an external repository of Python content, eg. PyPI. Fields include upstream repository config. Python Remotes are also used to `sync` from upstream repositories, and contains sync settings.
|
|
700
675
|
# @param python_python_remote_href [String]
|
|
701
676
|
# @param [Hash] opts the optional parameters
|
|
702
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
703
677
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
704
678
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
705
679
|
# @return [Array<(PythonPythonRemoteResponse, Integer, Hash)>] PythonPythonRemoteResponse data, response status code and response headers
|
|
@@ -723,7 +697,6 @@ module PulpPythonClient
|
|
|
723
697
|
header_params = opts[:header_params] || {}
|
|
724
698
|
# HTTP header 'Accept' (if needed)
|
|
725
699
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
726
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
727
700
|
|
|
728
701
|
# form parameters
|
|
729
702
|
form_params = opts[:form_params] || {}
|
|
@@ -759,7 +732,6 @@ module PulpPythonClient
|
|
|
759
732
|
# @param python_python_remote_href [String]
|
|
760
733
|
# @param nested_role [NestedRole]
|
|
761
734
|
# @param [Hash] opts the optional parameters
|
|
762
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
763
735
|
# @return [NestedRoleResponse]
|
|
764
736
|
def remove_role(python_python_remote_href, nested_role, opts = {})
|
|
765
737
|
data, _status_code, _headers = remove_role_with_http_info(python_python_remote_href, nested_role, opts)
|
|
@@ -771,7 +743,6 @@ module PulpPythonClient
|
|
|
771
743
|
# @param python_python_remote_href [String]
|
|
772
744
|
# @param nested_role [NestedRole]
|
|
773
745
|
# @param [Hash] opts the optional parameters
|
|
774
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
775
746
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
|
776
747
|
def remove_role_with_http_info(python_python_remote_href, nested_role, opts = {})
|
|
777
748
|
if @api_client.config.debugging
|
|
@@ -800,7 +771,6 @@ module PulpPythonClient
|
|
|
800
771
|
if !content_type.nil?
|
|
801
772
|
header_params['Content-Type'] = content_type
|
|
802
773
|
end
|
|
803
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
804
774
|
|
|
805
775
|
# form parameters
|
|
806
776
|
form_params = opts[:form_params] || {}
|
|
@@ -836,7 +806,6 @@ module PulpPythonClient
|
|
|
836
806
|
# @param python_python_remote_href [String]
|
|
837
807
|
# @param set_label [SetLabel]
|
|
838
808
|
# @param [Hash] opts the optional parameters
|
|
839
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
840
809
|
# @return [SetLabelResponse]
|
|
841
810
|
def set_label(python_python_remote_href, set_label, opts = {})
|
|
842
811
|
data, _status_code, _headers = set_label_with_http_info(python_python_remote_href, set_label, opts)
|
|
@@ -848,7 +817,6 @@ module PulpPythonClient
|
|
|
848
817
|
# @param python_python_remote_href [String]
|
|
849
818
|
# @param set_label [SetLabel]
|
|
850
819
|
# @param [Hash] opts the optional parameters
|
|
851
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
852
820
|
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
|
853
821
|
def set_label_with_http_info(python_python_remote_href, set_label, opts = {})
|
|
854
822
|
if @api_client.config.debugging
|
|
@@ -877,7 +845,6 @@ module PulpPythonClient
|
|
|
877
845
|
if !content_type.nil?
|
|
878
846
|
header_params['Content-Type'] = content_type
|
|
879
847
|
end
|
|
880
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
881
848
|
|
|
882
849
|
# form parameters
|
|
883
850
|
form_params = opts[:form_params] || {}
|
|
@@ -913,7 +880,6 @@ module PulpPythonClient
|
|
|
913
880
|
# @param python_python_remote_href [String]
|
|
914
881
|
# @param unset_label [UnsetLabel]
|
|
915
882
|
# @param [Hash] opts the optional parameters
|
|
916
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
917
883
|
# @return [UnsetLabelResponse]
|
|
918
884
|
def unset_label(python_python_remote_href, unset_label, opts = {})
|
|
919
885
|
data, _status_code, _headers = unset_label_with_http_info(python_python_remote_href, unset_label, opts)
|
|
@@ -925,7 +891,6 @@ module PulpPythonClient
|
|
|
925
891
|
# @param python_python_remote_href [String]
|
|
926
892
|
# @param unset_label [UnsetLabel]
|
|
927
893
|
# @param [Hash] opts the optional parameters
|
|
928
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
929
894
|
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
|
930
895
|
def unset_label_with_http_info(python_python_remote_href, unset_label, opts = {})
|
|
931
896
|
if @api_client.config.debugging
|
|
@@ -954,7 +919,6 @@ module PulpPythonClient
|
|
|
954
919
|
if !content_type.nil?
|
|
955
920
|
header_params['Content-Type'] = content_type
|
|
956
921
|
end
|
|
957
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
958
922
|
|
|
959
923
|
# form parameters
|
|
960
924
|
form_params = opts[:form_params] || {}
|
|
@@ -990,7 +954,6 @@ module PulpPythonClient
|
|
|
990
954
|
# @param python_python_remote_href [String]
|
|
991
955
|
# @param python_python_remote [PythonPythonRemote]
|
|
992
956
|
# @param [Hash] opts the optional parameters
|
|
993
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
994
957
|
# @return [AsyncOperationResponse]
|
|
995
958
|
def update(python_python_remote_href, python_python_remote, opts = {})
|
|
996
959
|
data, _status_code, _headers = update_with_http_info(python_python_remote_href, python_python_remote, opts)
|
|
@@ -1002,7 +965,6 @@ module PulpPythonClient
|
|
|
1002
965
|
# @param python_python_remote_href [String]
|
|
1003
966
|
# @param python_python_remote [PythonPythonRemote]
|
|
1004
967
|
# @param [Hash] opts the optional parameters
|
|
1005
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
1006
968
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
1007
969
|
def update_with_http_info(python_python_remote_href, python_python_remote, opts = {})
|
|
1008
970
|
if @api_client.config.debugging
|
|
@@ -1031,7 +993,6 @@ module PulpPythonClient
|
|
|
1031
993
|
if !content_type.nil?
|
|
1032
994
|
header_params['Content-Type'] = content_type
|
|
1033
995
|
end
|
|
1034
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
1035
996
|
|
|
1036
997
|
# form parameters
|
|
1037
998
|
form_params = opts[:form_params] || {}
|