pulp_python_client 3.13.5 → 3.13.6
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 +5 -4
- data/docs/ContentPackagesApi.md +22 -8
- data/docs/DistributionsPypiApi.md +72 -32
- data/docs/PublicationsPypiApi.md +40 -16
- data/docs/PypiApi.md +2 -0
- data/docs/PypiLegacyApi.md +2 -0
- data/docs/PypiMetadataApi.md +2 -0
- data/docs/PypiSimpleApi.md +6 -0
- data/docs/RemotesPythonApi.md +74 -32
- data/docs/RepositoriesPythonApi.md +88 -40
- data/docs/RepositoriesPythonVersionsApi.md +22 -10
- data/lib/pulp_python_client/api/content_packages_api.rb +15 -0
- data/lib/pulp_python_client/api/distributions_pypi_api.rb +36 -0
- data/lib/pulp_python_client/api/publications_pypi_api.rb +24 -0
- data/lib/pulp_python_client/api/pypi_api.rb +3 -0
- data/lib/pulp_python_client/api/pypi_legacy_api.rb +3 -0
- data/lib/pulp_python_client/api/pypi_metadata_api.rb +3 -0
- data/lib/pulp_python_client/api/pypi_simple_api.rb +9 -0
- data/lib/pulp_python_client/api/remotes_python_api.rb +39 -0
- data/lib/pulp_python_client/api/repositories_python_api.rb +42 -0
- data/lib/pulp_python_client/api/repositories_python_versions_api.rb +15 -3
- data/lib/pulp_python_client/version.rb +1 -1
- data/spec/api/content_packages_api_spec.rb +5 -0
- data/spec/api/distributions_pypi_api_spec.rb +12 -0
- data/spec/api/publications_pypi_api_spec.rb +8 -0
- data/spec/api/pypi_api_spec.rb +1 -0
- data/spec/api/pypi_legacy_api_spec.rb +1 -0
- data/spec/api/pypi_metadata_api_spec.rb +1 -0
- data/spec/api/pypi_simple_api_spec.rb +3 -0
- data/spec/api/remotes_python_api_spec.rb +13 -0
- data/spec/api/repositories_python_api_spec.rb +14 -0
- data/spec/api/repositories_python_versions_api_spec.rb +5 -1
- metadata +38 -38
|
@@ -24,6 +24,7 @@ module PulpPythonClient
|
|
|
24
24
|
# @param python_python_repository_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(python_python_repository_href, nested_role, opts = {})
|
|
29
30
|
data, _status_code, _headers = add_role_with_http_info(python_python_repository_href, nested_role, opts)
|
|
@@ -35,6 +36,7 @@ module PulpPythonClient
|
|
|
35
36
|
# @param python_python_repository_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(python_python_repository_href, nested_role, opts = {})
|
|
40
42
|
if @api_client.config.debugging
|
|
@@ -63,6 +65,7 @@ module PulpPythonClient
|
|
|
63
65
|
if !content_type.nil?
|
|
64
66
|
header_params['Content-Type'] = content_type
|
|
65
67
|
end
|
|
68
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
66
69
|
|
|
67
70
|
# form parameters
|
|
68
71
|
form_params = opts[:form_params] || {}
|
|
@@ -97,6 +100,7 @@ module PulpPythonClient
|
|
|
97
100
|
# PythonRepository represents a single Python repository, to which content can be synced, added, or removed.
|
|
98
101
|
# @param python_python_repository [PythonPythonRepository]
|
|
99
102
|
# @param [Hash] opts the optional parameters
|
|
103
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
100
104
|
# @return [PythonPythonRepositoryResponse]
|
|
101
105
|
def create(python_python_repository, opts = {})
|
|
102
106
|
data, _status_code, _headers = create_with_http_info(python_python_repository, opts)
|
|
@@ -107,6 +111,7 @@ module PulpPythonClient
|
|
|
107
111
|
# PythonRepository represents a single Python repository, to which content can be synced, added, or removed.
|
|
108
112
|
# @param python_python_repository [PythonPythonRepository]
|
|
109
113
|
# @param [Hash] opts the optional parameters
|
|
114
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
110
115
|
# @return [Array<(PythonPythonRepositoryResponse, Integer, Hash)>] PythonPythonRepositoryResponse data, response status code and response headers
|
|
111
116
|
def create_with_http_info(python_python_repository, opts = {})
|
|
112
117
|
if @api_client.config.debugging
|
|
@@ -131,6 +136,7 @@ module PulpPythonClient
|
|
|
131
136
|
if !content_type.nil?
|
|
132
137
|
header_params['Content-Type'] = content_type
|
|
133
138
|
end
|
|
139
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
134
140
|
|
|
135
141
|
# form parameters
|
|
136
142
|
form_params = opts[:form_params] || {}
|
|
@@ -165,6 +171,7 @@ module PulpPythonClient
|
|
|
165
171
|
# Trigger an asynchronous delete task
|
|
166
172
|
# @param python_python_repository_href [String]
|
|
167
173
|
# @param [Hash] opts the optional parameters
|
|
174
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
168
175
|
# @return [AsyncOperationResponse]
|
|
169
176
|
def delete(python_python_repository_href, opts = {})
|
|
170
177
|
data, _status_code, _headers = delete_with_http_info(python_python_repository_href, opts)
|
|
@@ -175,6 +182,7 @@ module PulpPythonClient
|
|
|
175
182
|
# Trigger an asynchronous delete task
|
|
176
183
|
# @param python_python_repository_href [String]
|
|
177
184
|
# @param [Hash] opts the optional parameters
|
|
185
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
178
186
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
179
187
|
def delete_with_http_info(python_python_repository_href, opts = {})
|
|
180
188
|
if @api_client.config.debugging
|
|
@@ -194,6 +202,7 @@ module PulpPythonClient
|
|
|
194
202
|
header_params = opts[:header_params] || {}
|
|
195
203
|
# HTTP header 'Accept' (if needed)
|
|
196
204
|
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?
|
|
197
206
|
|
|
198
207
|
# form parameters
|
|
199
208
|
form_params = opts[:form_params] || {}
|
|
@@ -227,6 +236,7 @@ module PulpPythonClient
|
|
|
227
236
|
# List python repositorys
|
|
228
237
|
# PythonRepository represents a single Python repository, to which content can be synced, added, or removed.
|
|
229
238
|
# @param [Hash] opts the optional parameters
|
|
239
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
230
240
|
# @option opts [String] :latest_with_content Content Unit referenced by HREF/PRN
|
|
231
241
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
232
242
|
# @option opts [String] :name Filter results where name matches value
|
|
@@ -266,6 +276,7 @@ module PulpPythonClient
|
|
|
266
276
|
# List python repositorys
|
|
267
277
|
# PythonRepository represents a single Python repository, to which content can be synced, added, or removed.
|
|
268
278
|
# @param [Hash] opts the optional parameters
|
|
279
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
269
280
|
# @option opts [String] :latest_with_content Content Unit referenced by HREF/PRN
|
|
270
281
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
271
282
|
# @option opts [String] :name Filter results where name matches value
|
|
@@ -345,6 +356,7 @@ module PulpPythonClient
|
|
|
345
356
|
header_params = opts[:header_params] || {}
|
|
346
357
|
# HTTP header 'Accept' (if needed)
|
|
347
358
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
359
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
348
360
|
|
|
349
361
|
# form parameters
|
|
350
362
|
form_params = opts[:form_params] || {}
|
|
@@ -379,6 +391,7 @@ module PulpPythonClient
|
|
|
379
391
|
# List roles assigned to this object.
|
|
380
392
|
# @param python_python_repository_href [String]
|
|
381
393
|
# @param [Hash] opts the optional parameters
|
|
394
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
382
395
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
383
396
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
384
397
|
# @return [ObjectRolesResponse]
|
|
@@ -391,6 +404,7 @@ module PulpPythonClient
|
|
|
391
404
|
# List roles assigned to this object.
|
|
392
405
|
# @param python_python_repository_href [String]
|
|
393
406
|
# @param [Hash] opts the optional parameters
|
|
407
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
394
408
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
395
409
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
396
410
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
|
@@ -414,6 +428,7 @@ module PulpPythonClient
|
|
|
414
428
|
header_params = opts[:header_params] || {}
|
|
415
429
|
# HTTP header 'Accept' (if needed)
|
|
416
430
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
431
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
417
432
|
|
|
418
433
|
# form parameters
|
|
419
434
|
form_params = opts[:form_params] || {}
|
|
@@ -449,6 +464,7 @@ module PulpPythonClient
|
|
|
449
464
|
# @param python_python_repository_href [String]
|
|
450
465
|
# @param repository_add_remove_content [RepositoryAddRemoveContent]
|
|
451
466
|
# @param [Hash] opts the optional parameters
|
|
467
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
452
468
|
# @return [AsyncOperationResponse]
|
|
453
469
|
def modify(python_python_repository_href, repository_add_remove_content, opts = {})
|
|
454
470
|
data, _status_code, _headers = modify_with_http_info(python_python_repository_href, repository_add_remove_content, opts)
|
|
@@ -460,6 +476,7 @@ module PulpPythonClient
|
|
|
460
476
|
# @param python_python_repository_href [String]
|
|
461
477
|
# @param repository_add_remove_content [RepositoryAddRemoveContent]
|
|
462
478
|
# @param [Hash] opts the optional parameters
|
|
479
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
463
480
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
464
481
|
def modify_with_http_info(python_python_repository_href, repository_add_remove_content, opts = {})
|
|
465
482
|
if @api_client.config.debugging
|
|
@@ -488,6 +505,7 @@ module PulpPythonClient
|
|
|
488
505
|
if !content_type.nil?
|
|
489
506
|
header_params['Content-Type'] = content_type
|
|
490
507
|
end
|
|
508
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
491
509
|
|
|
492
510
|
# form parameters
|
|
493
511
|
form_params = opts[:form_params] || {}
|
|
@@ -522,6 +540,7 @@ module PulpPythonClient
|
|
|
522
540
|
# List permissions available to the current user on this object.
|
|
523
541
|
# @param python_python_repository_href [String]
|
|
524
542
|
# @param [Hash] opts the optional parameters
|
|
543
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
525
544
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
526
545
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
527
546
|
# @return [MyPermissionsResponse]
|
|
@@ -534,6 +553,7 @@ module PulpPythonClient
|
|
|
534
553
|
# List permissions available to the current user on this object.
|
|
535
554
|
# @param python_python_repository_href [String]
|
|
536
555
|
# @param [Hash] opts the optional parameters
|
|
556
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
537
557
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
538
558
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
539
559
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
|
@@ -557,6 +577,7 @@ module PulpPythonClient
|
|
|
557
577
|
header_params = opts[:header_params] || {}
|
|
558
578
|
# HTTP header 'Accept' (if needed)
|
|
559
579
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
580
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
560
581
|
|
|
561
582
|
# form parameters
|
|
562
583
|
form_params = opts[:form_params] || {}
|
|
@@ -592,6 +613,7 @@ module PulpPythonClient
|
|
|
592
613
|
# @param python_python_repository_href [String]
|
|
593
614
|
# @param patchedpython_python_repository [PatchedpythonPythonRepository]
|
|
594
615
|
# @param [Hash] opts the optional parameters
|
|
616
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
595
617
|
# @return [AsyncOperationResponse]
|
|
596
618
|
def partial_update(python_python_repository_href, patchedpython_python_repository, opts = {})
|
|
597
619
|
data, _status_code, _headers = partial_update_with_http_info(python_python_repository_href, patchedpython_python_repository, opts)
|
|
@@ -603,6 +625,7 @@ module PulpPythonClient
|
|
|
603
625
|
# @param python_python_repository_href [String]
|
|
604
626
|
# @param patchedpython_python_repository [PatchedpythonPythonRepository]
|
|
605
627
|
# @param [Hash] opts the optional parameters
|
|
628
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
606
629
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
607
630
|
def partial_update_with_http_info(python_python_repository_href, patchedpython_python_repository, opts = {})
|
|
608
631
|
if @api_client.config.debugging
|
|
@@ -631,6 +654,7 @@ module PulpPythonClient
|
|
|
631
654
|
if !content_type.nil?
|
|
632
655
|
header_params['Content-Type'] = content_type
|
|
633
656
|
end
|
|
657
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
634
658
|
|
|
635
659
|
# form parameters
|
|
636
660
|
form_params = opts[:form_params] || {}
|
|
@@ -665,6 +689,7 @@ module PulpPythonClient
|
|
|
665
689
|
# PythonRepository represents a single Python repository, to which content can be synced, added, or removed.
|
|
666
690
|
# @param python_python_repository_href [String]
|
|
667
691
|
# @param [Hash] opts the optional parameters
|
|
692
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
668
693
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
669
694
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
670
695
|
# @return [PythonPythonRepositoryResponse]
|
|
@@ -677,6 +702,7 @@ module PulpPythonClient
|
|
|
677
702
|
# PythonRepository represents a single Python repository, to which content can be synced, added, or removed.
|
|
678
703
|
# @param python_python_repository_href [String]
|
|
679
704
|
# @param [Hash] opts the optional parameters
|
|
705
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
680
706
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
681
707
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
682
708
|
# @return [Array<(PythonPythonRepositoryResponse, Integer, Hash)>] PythonPythonRepositoryResponse data, response status code and response headers
|
|
@@ -700,6 +726,7 @@ module PulpPythonClient
|
|
|
700
726
|
header_params = opts[:header_params] || {}
|
|
701
727
|
# HTTP header 'Accept' (if needed)
|
|
702
728
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
729
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
703
730
|
|
|
704
731
|
# form parameters
|
|
705
732
|
form_params = opts[:form_params] || {}
|
|
@@ -735,6 +762,7 @@ module PulpPythonClient
|
|
|
735
762
|
# @param python_python_repository_href [String]
|
|
736
763
|
# @param nested_role [NestedRole]
|
|
737
764
|
# @param [Hash] opts the optional parameters
|
|
765
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
738
766
|
# @return [NestedRoleResponse]
|
|
739
767
|
def remove_role(python_python_repository_href, nested_role, opts = {})
|
|
740
768
|
data, _status_code, _headers = remove_role_with_http_info(python_python_repository_href, nested_role, opts)
|
|
@@ -746,6 +774,7 @@ module PulpPythonClient
|
|
|
746
774
|
# @param python_python_repository_href [String]
|
|
747
775
|
# @param nested_role [NestedRole]
|
|
748
776
|
# @param [Hash] opts the optional parameters
|
|
777
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
749
778
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
|
750
779
|
def remove_role_with_http_info(python_python_repository_href, nested_role, opts = {})
|
|
751
780
|
if @api_client.config.debugging
|
|
@@ -774,6 +803,7 @@ module PulpPythonClient
|
|
|
774
803
|
if !content_type.nil?
|
|
775
804
|
header_params['Content-Type'] = content_type
|
|
776
805
|
end
|
|
806
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
777
807
|
|
|
778
808
|
# form parameters
|
|
779
809
|
form_params = opts[:form_params] || {}
|
|
@@ -809,6 +839,7 @@ module PulpPythonClient
|
|
|
809
839
|
# @param python_python_repository_href [String]
|
|
810
840
|
# @param set_label [SetLabel]
|
|
811
841
|
# @param [Hash] opts the optional parameters
|
|
842
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
812
843
|
# @return [SetLabelResponse]
|
|
813
844
|
def set_label(python_python_repository_href, set_label, opts = {})
|
|
814
845
|
data, _status_code, _headers = set_label_with_http_info(python_python_repository_href, set_label, opts)
|
|
@@ -820,6 +851,7 @@ module PulpPythonClient
|
|
|
820
851
|
# @param python_python_repository_href [String]
|
|
821
852
|
# @param set_label [SetLabel]
|
|
822
853
|
# @param [Hash] opts the optional parameters
|
|
854
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
823
855
|
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
|
824
856
|
def set_label_with_http_info(python_python_repository_href, set_label, opts = {})
|
|
825
857
|
if @api_client.config.debugging
|
|
@@ -848,6 +880,7 @@ module PulpPythonClient
|
|
|
848
880
|
if !content_type.nil?
|
|
849
881
|
header_params['Content-Type'] = content_type
|
|
850
882
|
end
|
|
883
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
851
884
|
|
|
852
885
|
# form parameters
|
|
853
886
|
form_params = opts[:form_params] || {}
|
|
@@ -883,6 +916,7 @@ module PulpPythonClient
|
|
|
883
916
|
# @param python_python_repository_href [String]
|
|
884
917
|
# @param repository_sync_url [RepositorySyncURL]
|
|
885
918
|
# @param [Hash] opts the optional parameters
|
|
919
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
886
920
|
# @return [AsyncOperationResponse]
|
|
887
921
|
def sync(python_python_repository_href, repository_sync_url, opts = {})
|
|
888
922
|
data, _status_code, _headers = sync_with_http_info(python_python_repository_href, repository_sync_url, opts)
|
|
@@ -894,6 +928,7 @@ module PulpPythonClient
|
|
|
894
928
|
# @param python_python_repository_href [String]
|
|
895
929
|
# @param repository_sync_url [RepositorySyncURL]
|
|
896
930
|
# @param [Hash] opts the optional parameters
|
|
931
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
897
932
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
898
933
|
def sync_with_http_info(python_python_repository_href, repository_sync_url, opts = {})
|
|
899
934
|
if @api_client.config.debugging
|
|
@@ -922,6 +957,7 @@ module PulpPythonClient
|
|
|
922
957
|
if !content_type.nil?
|
|
923
958
|
header_params['Content-Type'] = content_type
|
|
924
959
|
end
|
|
960
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
925
961
|
|
|
926
962
|
# form parameters
|
|
927
963
|
form_params = opts[:form_params] || {}
|
|
@@ -957,6 +993,7 @@ module PulpPythonClient
|
|
|
957
993
|
# @param python_python_repository_href [String]
|
|
958
994
|
# @param unset_label [UnsetLabel]
|
|
959
995
|
# @param [Hash] opts the optional parameters
|
|
996
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
960
997
|
# @return [UnsetLabelResponse]
|
|
961
998
|
def unset_label(python_python_repository_href, unset_label, opts = {})
|
|
962
999
|
data, _status_code, _headers = unset_label_with_http_info(python_python_repository_href, unset_label, opts)
|
|
@@ -968,6 +1005,7 @@ module PulpPythonClient
|
|
|
968
1005
|
# @param python_python_repository_href [String]
|
|
969
1006
|
# @param unset_label [UnsetLabel]
|
|
970
1007
|
# @param [Hash] opts the optional parameters
|
|
1008
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
971
1009
|
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
|
972
1010
|
def unset_label_with_http_info(python_python_repository_href, unset_label, opts = {})
|
|
973
1011
|
if @api_client.config.debugging
|
|
@@ -996,6 +1034,7 @@ module PulpPythonClient
|
|
|
996
1034
|
if !content_type.nil?
|
|
997
1035
|
header_params['Content-Type'] = content_type
|
|
998
1036
|
end
|
|
1037
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
999
1038
|
|
|
1000
1039
|
# form parameters
|
|
1001
1040
|
form_params = opts[:form_params] || {}
|
|
@@ -1031,6 +1070,7 @@ module PulpPythonClient
|
|
|
1031
1070
|
# @param python_python_repository_href [String]
|
|
1032
1071
|
# @param python_python_repository [PythonPythonRepository]
|
|
1033
1072
|
# @param [Hash] opts the optional parameters
|
|
1073
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
1034
1074
|
# @return [AsyncOperationResponse]
|
|
1035
1075
|
def update(python_python_repository_href, python_python_repository, opts = {})
|
|
1036
1076
|
data, _status_code, _headers = update_with_http_info(python_python_repository_href, python_python_repository, opts)
|
|
@@ -1042,6 +1082,7 @@ module PulpPythonClient
|
|
|
1042
1082
|
# @param python_python_repository_href [String]
|
|
1043
1083
|
# @param python_python_repository [PythonPythonRepository]
|
|
1044
1084
|
# @param [Hash] opts the optional parameters
|
|
1085
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
1045
1086
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
1046
1087
|
def update_with_http_info(python_python_repository_href, python_python_repository, opts = {})
|
|
1047
1088
|
if @api_client.config.debugging
|
|
@@ -1070,6 +1111,7 @@ module PulpPythonClient
|
|
|
1070
1111
|
if !content_type.nil?
|
|
1071
1112
|
header_params['Content-Type'] = content_type
|
|
1072
1113
|
end
|
|
1114
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
1073
1115
|
|
|
1074
1116
|
# form parameters
|
|
1075
1117
|
form_params = opts[:form_params] || {}
|
|
@@ -23,6 +23,7 @@ module PulpPythonClient
|
|
|
23
23
|
# Trigger an asynchronous task to delete a repository version.
|
|
24
24
|
# @param python_python_repository_version_href [String]
|
|
25
25
|
# @param [Hash] opts the optional parameters
|
|
26
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
26
27
|
# @return [AsyncOperationResponse]
|
|
27
28
|
def delete(python_python_repository_version_href, opts = {})
|
|
28
29
|
data, _status_code, _headers = delete_with_http_info(python_python_repository_version_href, opts)
|
|
@@ -33,6 +34,7 @@ module PulpPythonClient
|
|
|
33
34
|
# Trigger an asynchronous task to delete a repository version.
|
|
34
35
|
# @param python_python_repository_version_href [String]
|
|
35
36
|
# @param [Hash] opts the optional parameters
|
|
37
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
36
38
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
37
39
|
def delete_with_http_info(python_python_repository_version_href, opts = {})
|
|
38
40
|
if @api_client.config.debugging
|
|
@@ -52,6 +54,7 @@ module PulpPythonClient
|
|
|
52
54
|
header_params = opts[:header_params] || {}
|
|
53
55
|
# HTTP header 'Accept' (if needed)
|
|
54
56
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
57
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
55
58
|
|
|
56
59
|
# form parameters
|
|
57
60
|
form_params = opts[:form_params] || {}
|
|
@@ -86,6 +89,7 @@ module PulpPythonClient
|
|
|
86
89
|
# PythonRepositoryVersion represents a single Python repository version.
|
|
87
90
|
# @param python_python_repository_href [String]
|
|
88
91
|
# @param [Hash] opts the optional parameters
|
|
92
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
89
93
|
# @option opts [String] :content Content Unit referenced by HREF/PRN
|
|
90
94
|
# @option opts [Array<String>] :content__in Multiple values may be separated by commas.
|
|
91
95
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
@@ -96,7 +100,7 @@ module PulpPythonClient
|
|
|
96
100
|
# @option opts [Integer] :number__lte Filter results where number is less than or equal to value
|
|
97
101
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
|
98
102
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
99
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
103
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `content_ids` - Content ids * `-content_ids` - Content ids (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
100
104
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
101
105
|
# @option opts [Time] :pulp_created Filter results where pulp_created matches value
|
|
102
106
|
# @option opts [Time] :pulp_created__gt Filter results where pulp_created is greater than value
|
|
@@ -119,6 +123,7 @@ module PulpPythonClient
|
|
|
119
123
|
# PythonRepositoryVersion represents a single Python repository version.
|
|
120
124
|
# @param python_python_repository_href [String]
|
|
121
125
|
# @param [Hash] opts the optional parameters
|
|
126
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
122
127
|
# @option opts [String] :content Content Unit referenced by HREF/PRN
|
|
123
128
|
# @option opts [Array<String>] :content__in Multiple values may be separated by commas.
|
|
124
129
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
@@ -129,7 +134,7 @@ module PulpPythonClient
|
|
|
129
134
|
# @option opts [Integer] :number__lte Filter results where number is less than or equal to value
|
|
130
135
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
|
131
136
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
132
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
137
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `content_ids` - Content ids * `-content_ids` - Content ids (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
133
138
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
134
139
|
# @option opts [Time] :pulp_created Filter results where pulp_created matches value
|
|
135
140
|
# @option opts [Time] :pulp_created__gt Filter results where pulp_created is greater than value
|
|
@@ -151,7 +156,7 @@ module PulpPythonClient
|
|
|
151
156
|
if @api_client.config.client_side_validation && python_python_repository_href.nil?
|
|
152
157
|
fail ArgumentError, "Missing the required parameter 'python_python_repository_href' when calling RepositoriesPythonVersionsApi.list"
|
|
153
158
|
end
|
|
154
|
-
allowable_values = ["-complete", "-info", "-number", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "complete", "info", "number", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
|
|
159
|
+
allowable_values = ["-complete", "-content_ids", "-info", "-number", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "complete", "content_ids", "info", "number", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
|
|
155
160
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
156
161
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
|
157
162
|
end
|
|
@@ -188,6 +193,7 @@ module PulpPythonClient
|
|
|
188
193
|
header_params = opts[:header_params] || {}
|
|
189
194
|
# HTTP header 'Accept' (if needed)
|
|
190
195
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
196
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
191
197
|
|
|
192
198
|
# form parameters
|
|
193
199
|
form_params = opts[:form_params] || {}
|
|
@@ -222,6 +228,7 @@ module PulpPythonClient
|
|
|
222
228
|
# PythonRepositoryVersion represents a single Python repository version.
|
|
223
229
|
# @param python_python_repository_version_href [String]
|
|
224
230
|
# @param [Hash] opts the optional parameters
|
|
231
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
225
232
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
226
233
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
227
234
|
# @return [RepositoryVersionResponse]
|
|
@@ -234,6 +241,7 @@ module PulpPythonClient
|
|
|
234
241
|
# PythonRepositoryVersion represents a single Python repository version.
|
|
235
242
|
# @param python_python_repository_version_href [String]
|
|
236
243
|
# @param [Hash] opts the optional parameters
|
|
244
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
237
245
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
238
246
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
239
247
|
# @return [Array<(RepositoryVersionResponse, Integer, Hash)>] RepositoryVersionResponse data, response status code and response headers
|
|
@@ -257,6 +265,7 @@ module PulpPythonClient
|
|
|
257
265
|
header_params = opts[:header_params] || {}
|
|
258
266
|
# HTTP header 'Accept' (if needed)
|
|
259
267
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
268
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
260
269
|
|
|
261
270
|
# form parameters
|
|
262
271
|
form_params = opts[:form_params] || {}
|
|
@@ -291,6 +300,7 @@ module PulpPythonClient
|
|
|
291
300
|
# @param python_python_repository_version_href [String]
|
|
292
301
|
# @param repair [Repair]
|
|
293
302
|
# @param [Hash] opts the optional parameters
|
|
303
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
294
304
|
# @return [AsyncOperationResponse]
|
|
295
305
|
def repair(python_python_repository_version_href, repair, opts = {})
|
|
296
306
|
data, _status_code, _headers = repair_with_http_info(python_python_repository_version_href, repair, opts)
|
|
@@ -301,6 +311,7 @@ module PulpPythonClient
|
|
|
301
311
|
# @param python_python_repository_version_href [String]
|
|
302
312
|
# @param repair [Repair]
|
|
303
313
|
# @param [Hash] opts the optional parameters
|
|
314
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
304
315
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
305
316
|
def repair_with_http_info(python_python_repository_version_href, repair, opts = {})
|
|
306
317
|
if @api_client.config.debugging
|
|
@@ -329,6 +340,7 @@ module PulpPythonClient
|
|
|
329
340
|
if !content_type.nil?
|
|
330
341
|
header_params['Content-Type'] = content_type
|
|
331
342
|
end
|
|
343
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
332
344
|
|
|
333
345
|
# form parameters
|
|
334
346
|
form_params = opts[:form_params] || {}
|
|
@@ -37,6 +37,7 @@ describe 'ContentPackagesApi' do
|
|
|
37
37
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
|
38
38
|
# @param relative_path Path where the artifact is located relative to distributions base_path
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
40
41
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
41
42
|
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
42
43
|
# @option opts [String] :artifact Artifact file representing the physical content
|
|
@@ -76,6 +77,7 @@ describe 'ContentPackagesApi' do
|
|
|
76
77
|
# List python package contents
|
|
77
78
|
# PythonPackageContent represents each individually installable Python package. In the Python ecosystem, this is called a Python Distribution, sometimes (ambiguously) refered to as a package. In Pulp Python, we refer to it as PythonPackageContent. Each PythonPackageContent corresponds to a single filename, for example `pulpcore-3.0.0rc1-py3-none-any.whl` or `pulpcore-3.0.0rc1.tar.gz`.
|
|
78
79
|
# @param [Hash] opts the optional parameters
|
|
80
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
79
81
|
# @option opts [String] :author Filter results where author matches value
|
|
80
82
|
# @option opts [Array<String>] :author__in Filter results where author is in a comma-separated list of values
|
|
81
83
|
# @option opts [String] :filename Filter results where filename matches value
|
|
@@ -123,6 +125,7 @@ describe 'ContentPackagesApi' do
|
|
|
123
125
|
# PythonPackageContent represents each individually installable Python package. In the Python ecosystem, this is called a Python Distribution, sometimes (ambiguously) refered to as a package. In Pulp Python, we refer to it as PythonPackageContent. Each PythonPackageContent corresponds to a single filename, for example `pulpcore-3.0.0rc1-py3-none-any.whl` or `pulpcore-3.0.0rc1.tar.gz`.
|
|
124
126
|
# @param python_python_package_content_href
|
|
125
127
|
# @param [Hash] opts the optional parameters
|
|
128
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
126
129
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
127
130
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
128
131
|
# @return [PythonPythonPackageContentResponse]
|
|
@@ -138,6 +141,7 @@ describe 'ContentPackagesApi' do
|
|
|
138
141
|
# @param python_python_package_content_href
|
|
139
142
|
# @param set_label
|
|
140
143
|
# @param [Hash] opts the optional parameters
|
|
144
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
141
145
|
# @return [SetLabelResponse]
|
|
142
146
|
describe 'set_label test' do
|
|
143
147
|
it 'should work' do
|
|
@@ -151,6 +155,7 @@ describe 'ContentPackagesApi' do
|
|
|
151
155
|
# @param python_python_package_content_href
|
|
152
156
|
# @param unset_label
|
|
153
157
|
# @param [Hash] opts the optional parameters
|
|
158
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
154
159
|
# @return [UnsetLabelResponse]
|
|
155
160
|
describe 'unset_label test' do
|
|
156
161
|
it 'should work' do
|
|
@@ -38,6 +38,7 @@ describe 'DistributionsPypiApi' do
|
|
|
38
38
|
# @param python_python_distribution_href
|
|
39
39
|
# @param nested_role
|
|
40
40
|
# @param [Hash] opts the optional parameters
|
|
41
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
41
42
|
# @return [NestedRoleResponse]
|
|
42
43
|
describe 'add_role test' do
|
|
43
44
|
it 'should work' do
|
|
@@ -50,6 +51,7 @@ describe 'DistributionsPypiApi' do
|
|
|
50
51
|
# Trigger an asynchronous create task
|
|
51
52
|
# @param python_python_distribution
|
|
52
53
|
# @param [Hash] opts the optional parameters
|
|
54
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
53
55
|
# @return [AsyncOperationResponse]
|
|
54
56
|
describe 'create test' do
|
|
55
57
|
it 'should work' do
|
|
@@ -62,6 +64,7 @@ describe 'DistributionsPypiApi' do
|
|
|
62
64
|
# Trigger an asynchronous delete task
|
|
63
65
|
# @param python_python_distribution_href
|
|
64
66
|
# @param [Hash] opts the optional parameters
|
|
67
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
65
68
|
# @return [AsyncOperationResponse]
|
|
66
69
|
describe 'delete test' do
|
|
67
70
|
it 'should work' do
|
|
@@ -73,6 +76,7 @@ describe 'DistributionsPypiApi' do
|
|
|
73
76
|
# List python distributions
|
|
74
77
|
# Pulp Python Distributions are used to distribute Python content from Python Repositories or Python Publications. Pulp Python Distributions should not be confused with \"Python Distribution\" as defined by the Python community. In Pulp usage, Python content is referred to as Python Package Content.
|
|
75
78
|
# @param [Hash] opts the optional parameters
|
|
79
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
76
80
|
# @option opts [String] :base_path Filter results where base_path matches value
|
|
77
81
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
|
78
82
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
|
@@ -112,6 +116,7 @@ describe 'DistributionsPypiApi' do
|
|
|
112
116
|
# List roles assigned to this object.
|
|
113
117
|
# @param python_python_distribution_href
|
|
114
118
|
# @param [Hash] opts the optional parameters
|
|
119
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
115
120
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
116
121
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
117
122
|
# @return [ObjectRolesResponse]
|
|
@@ -126,6 +131,7 @@ describe 'DistributionsPypiApi' do
|
|
|
126
131
|
# List permissions available to the current user on this object.
|
|
127
132
|
# @param python_python_distribution_href
|
|
128
133
|
# @param [Hash] opts the optional parameters
|
|
134
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
129
135
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
130
136
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
131
137
|
# @return [MyPermissionsResponse]
|
|
@@ -141,6 +147,7 @@ describe 'DistributionsPypiApi' do
|
|
|
141
147
|
# @param python_python_distribution_href
|
|
142
148
|
# @param patchedpython_python_distribution
|
|
143
149
|
# @param [Hash] opts the optional parameters
|
|
150
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
144
151
|
# @return [AsyncOperationResponse]
|
|
145
152
|
describe 'partial_update test' do
|
|
146
153
|
it 'should work' do
|
|
@@ -153,6 +160,7 @@ describe 'DistributionsPypiApi' do
|
|
|
153
160
|
# Pulp Python Distributions are used to distribute Python content from Python Repositories or Python Publications. Pulp Python Distributions should not be confused with \"Python Distribution\" as defined by the Python community. In Pulp usage, Python content is referred to as Python Package Content.
|
|
154
161
|
# @param python_python_distribution_href
|
|
155
162
|
# @param [Hash] opts the optional parameters
|
|
163
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
156
164
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
157
165
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
158
166
|
# @return [PythonPythonDistributionResponse]
|
|
@@ -168,6 +176,7 @@ describe 'DistributionsPypiApi' do
|
|
|
168
176
|
# @param python_python_distribution_href
|
|
169
177
|
# @param nested_role
|
|
170
178
|
# @param [Hash] opts the optional parameters
|
|
179
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
171
180
|
# @return [NestedRoleResponse]
|
|
172
181
|
describe 'remove_role test' do
|
|
173
182
|
it 'should work' do
|
|
@@ -181,6 +190,7 @@ describe 'DistributionsPypiApi' do
|
|
|
181
190
|
# @param python_python_distribution_href
|
|
182
191
|
# @param set_label
|
|
183
192
|
# @param [Hash] opts the optional parameters
|
|
193
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
184
194
|
# @return [SetLabelResponse]
|
|
185
195
|
describe 'set_label test' do
|
|
186
196
|
it 'should work' do
|
|
@@ -194,6 +204,7 @@ describe 'DistributionsPypiApi' do
|
|
|
194
204
|
# @param python_python_distribution_href
|
|
195
205
|
# @param unset_label
|
|
196
206
|
# @param [Hash] opts the optional parameters
|
|
207
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
197
208
|
# @return [UnsetLabelResponse]
|
|
198
209
|
describe 'unset_label test' do
|
|
199
210
|
it 'should work' do
|
|
@@ -207,6 +218,7 @@ describe 'DistributionsPypiApi' do
|
|
|
207
218
|
# @param python_python_distribution_href
|
|
208
219
|
# @param python_python_distribution
|
|
209
220
|
# @param [Hash] opts the optional parameters
|
|
221
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
210
222
|
# @return [AsyncOperationResponse]
|
|
211
223
|
describe 'update test' do
|
|
212
224
|
it 'should work' do
|
|
@@ -38,6 +38,7 @@ describe 'PublicationsPypiApi' do
|
|
|
38
38
|
# @param python_python_publication_href
|
|
39
39
|
# @param nested_role
|
|
40
40
|
# @param [Hash] opts the optional parameters
|
|
41
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
41
42
|
# @return [NestedRoleResponse]
|
|
42
43
|
describe 'add_role test' do
|
|
43
44
|
it 'should work' do
|
|
@@ -50,6 +51,7 @@ describe 'PublicationsPypiApi' do
|
|
|
50
51
|
# Dispatches a publish task, which generates metadata that will be used by pip.
|
|
51
52
|
# @param python_python_publication
|
|
52
53
|
# @param [Hash] opts the optional parameters
|
|
54
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
53
55
|
# @return [AsyncOperationResponse]
|
|
54
56
|
describe 'create test' do
|
|
55
57
|
it 'should work' do
|
|
@@ -62,6 +64,7 @@ describe 'PublicationsPypiApi' do
|
|
|
62
64
|
# Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
|
|
63
65
|
# @param python_python_publication_href
|
|
64
66
|
# @param [Hash] opts the optional parameters
|
|
67
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
65
68
|
# @return [nil]
|
|
66
69
|
describe 'delete test' do
|
|
67
70
|
it 'should work' do
|
|
@@ -73,6 +76,7 @@ describe 'PublicationsPypiApi' do
|
|
|
73
76
|
# List python publications
|
|
74
77
|
# Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
|
|
75
78
|
# @param [Hash] opts the optional parameters
|
|
79
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
76
80
|
# @option opts [Boolean] :checkpoint Filter results where checkpoint matches value
|
|
77
81
|
# @option opts [String] :content Content Unit referenced by HREF/PRN
|
|
78
82
|
# @option opts [Array<String>] :content__in Multiple values may be separated by commas.
|
|
@@ -106,6 +110,7 @@ describe 'PublicationsPypiApi' do
|
|
|
106
110
|
# List roles assigned to this object.
|
|
107
111
|
# @param python_python_publication_href
|
|
108
112
|
# @param [Hash] opts the optional parameters
|
|
113
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
109
114
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
110
115
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
111
116
|
# @return [ObjectRolesResponse]
|
|
@@ -120,6 +125,7 @@ describe 'PublicationsPypiApi' do
|
|
|
120
125
|
# List permissions available to the current user on this object.
|
|
121
126
|
# @param python_python_publication_href
|
|
122
127
|
# @param [Hash] opts the optional parameters
|
|
128
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
123
129
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
124
130
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
125
131
|
# @return [MyPermissionsResponse]
|
|
@@ -134,6 +140,7 @@ describe 'PublicationsPypiApi' do
|
|
|
134
140
|
# Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
|
|
135
141
|
# @param python_python_publication_href
|
|
136
142
|
# @param [Hash] opts the optional parameters
|
|
143
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
137
144
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
138
145
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
139
146
|
# @return [PythonPythonPublicationResponse]
|
|
@@ -149,6 +156,7 @@ describe 'PublicationsPypiApi' do
|
|
|
149
156
|
# @param python_python_publication_href
|
|
150
157
|
# @param nested_role
|
|
151
158
|
# @param [Hash] opts the optional parameters
|
|
159
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
152
160
|
# @return [NestedRoleResponse]
|
|
153
161
|
describe 'remove_role test' do
|
|
154
162
|
it 'should work' do
|