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
data/docs/RemotesPythonApi.md
CHANGED
|
@@ -21,7 +21,7 @@ All URIs are relative to *http://localhost:24817*
|
|
|
21
21
|
|
|
22
22
|
## add_role
|
|
23
23
|
|
|
24
|
-
> <NestedRoleResponse> add_role(python_python_remote_href, nested_role
|
|
24
|
+
> <NestedRoleResponse> add_role(python_python_remote_href, nested_role)
|
|
25
25
|
|
|
26
26
|
Add a role
|
|
27
27
|
|
|
@@ -42,13 +42,10 @@ end
|
|
|
42
42
|
api_instance = PulpPythonClient::RemotesPythonApi.new
|
|
43
43
|
python_python_remote_href = 'python_python_remote_href_example' # String |
|
|
44
44
|
nested_role = PulpPythonClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
|
45
|
-
opts = {
|
|
46
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
47
|
-
}
|
|
48
45
|
|
|
49
46
|
begin
|
|
50
47
|
# Add a role
|
|
51
|
-
result = api_instance.add_role(python_python_remote_href, nested_role
|
|
48
|
+
result = api_instance.add_role(python_python_remote_href, nested_role)
|
|
52
49
|
p result
|
|
53
50
|
rescue PulpPythonClient::ApiError => e
|
|
54
51
|
puts "Error when calling RemotesPythonApi->add_role: #{e}"
|
|
@@ -59,12 +56,12 @@ end
|
|
|
59
56
|
|
|
60
57
|
This returns an Array which contains the response data, status code and headers.
|
|
61
58
|
|
|
62
|
-
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(python_python_remote_href, nested_role
|
|
59
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(python_python_remote_href, nested_role)
|
|
63
60
|
|
|
64
61
|
```ruby
|
|
65
62
|
begin
|
|
66
63
|
# Add a role
|
|
67
|
-
data, status_code, headers = api_instance.add_role_with_http_info(python_python_remote_href, nested_role
|
|
64
|
+
data, status_code, headers = api_instance.add_role_with_http_info(python_python_remote_href, nested_role)
|
|
68
65
|
p status_code # => 2xx
|
|
69
66
|
p headers # => { ... }
|
|
70
67
|
p data # => <NestedRoleResponse>
|
|
@@ -79,7 +76,6 @@ end
|
|
|
79
76
|
| ---- | ---- | ----------- | ----- |
|
|
80
77
|
| **python_python_remote_href** | **String** | | |
|
|
81
78
|
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
|
82
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
83
79
|
|
|
84
80
|
### Return type
|
|
85
81
|
|
|
@@ -97,7 +93,7 @@ end
|
|
|
97
93
|
|
|
98
94
|
## create
|
|
99
95
|
|
|
100
|
-
> <PythonPythonRemoteResponse> create(python_python_remote
|
|
96
|
+
> <PythonPythonRemoteResponse> create(python_python_remote)
|
|
101
97
|
|
|
102
98
|
Create a python remote
|
|
103
99
|
|
|
@@ -117,13 +113,10 @@ end
|
|
|
117
113
|
|
|
118
114
|
api_instance = PulpPythonClient::RemotesPythonApi.new
|
|
119
115
|
python_python_remote = PulpPythonClient::PythonPythonRemote.new({name: 'name_example', url: 'url_example'}) # PythonPythonRemote |
|
|
120
|
-
opts = {
|
|
121
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
122
|
-
}
|
|
123
116
|
|
|
124
117
|
begin
|
|
125
118
|
# Create a python remote
|
|
126
|
-
result = api_instance.create(python_python_remote
|
|
119
|
+
result = api_instance.create(python_python_remote)
|
|
127
120
|
p result
|
|
128
121
|
rescue PulpPythonClient::ApiError => e
|
|
129
122
|
puts "Error when calling RemotesPythonApi->create: #{e}"
|
|
@@ -134,12 +127,12 @@ end
|
|
|
134
127
|
|
|
135
128
|
This returns an Array which contains the response data, status code and headers.
|
|
136
129
|
|
|
137
|
-
> <Array(<PythonPythonRemoteResponse>, Integer, Hash)> create_with_http_info(python_python_remote
|
|
130
|
+
> <Array(<PythonPythonRemoteResponse>, Integer, Hash)> create_with_http_info(python_python_remote)
|
|
138
131
|
|
|
139
132
|
```ruby
|
|
140
133
|
begin
|
|
141
134
|
# Create a python remote
|
|
142
|
-
data, status_code, headers = api_instance.create_with_http_info(python_python_remote
|
|
135
|
+
data, status_code, headers = api_instance.create_with_http_info(python_python_remote)
|
|
143
136
|
p status_code # => 2xx
|
|
144
137
|
p headers # => { ... }
|
|
145
138
|
p data # => <PythonPythonRemoteResponse>
|
|
@@ -153,7 +146,6 @@ end
|
|
|
153
146
|
| Name | Type | Description | Notes |
|
|
154
147
|
| ---- | ---- | ----------- | ----- |
|
|
155
148
|
| **python_python_remote** | [**PythonPythonRemote**](PythonPythonRemote.md) | | |
|
|
156
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
157
149
|
|
|
158
150
|
### Return type
|
|
159
151
|
|
|
@@ -171,7 +163,7 @@ end
|
|
|
171
163
|
|
|
172
164
|
## delete
|
|
173
165
|
|
|
174
|
-
> <AsyncOperationResponse> delete(python_python_remote_href
|
|
166
|
+
> <AsyncOperationResponse> delete(python_python_remote_href)
|
|
175
167
|
|
|
176
168
|
Delete a python remote
|
|
177
169
|
|
|
@@ -191,13 +183,10 @@ end
|
|
|
191
183
|
|
|
192
184
|
api_instance = PulpPythonClient::RemotesPythonApi.new
|
|
193
185
|
python_python_remote_href = 'python_python_remote_href_example' # String |
|
|
194
|
-
opts = {
|
|
195
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
196
|
-
}
|
|
197
186
|
|
|
198
187
|
begin
|
|
199
188
|
# Delete a python remote
|
|
200
|
-
result = api_instance.delete(python_python_remote_href
|
|
189
|
+
result = api_instance.delete(python_python_remote_href)
|
|
201
190
|
p result
|
|
202
191
|
rescue PulpPythonClient::ApiError => e
|
|
203
192
|
puts "Error when calling RemotesPythonApi->delete: #{e}"
|
|
@@ -208,12 +197,12 @@ end
|
|
|
208
197
|
|
|
209
198
|
This returns an Array which contains the response data, status code and headers.
|
|
210
199
|
|
|
211
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(python_python_remote_href
|
|
200
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(python_python_remote_href)
|
|
212
201
|
|
|
213
202
|
```ruby
|
|
214
203
|
begin
|
|
215
204
|
# Delete a python remote
|
|
216
|
-
data, status_code, headers = api_instance.delete_with_http_info(python_python_remote_href
|
|
205
|
+
data, status_code, headers = api_instance.delete_with_http_info(python_python_remote_href)
|
|
217
206
|
p status_code # => 2xx
|
|
218
207
|
p headers # => { ... }
|
|
219
208
|
p data # => <AsyncOperationResponse>
|
|
@@ -227,7 +216,6 @@ end
|
|
|
227
216
|
| Name | Type | Description | Notes |
|
|
228
217
|
| ---- | ---- | ----------- | ----- |
|
|
229
218
|
| **python_python_remote_href** | **String** | | |
|
|
230
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
231
219
|
|
|
232
220
|
### Return type
|
|
233
221
|
|
|
@@ -267,7 +255,6 @@ api_instance = PulpPythonClient::RemotesPythonApi.new
|
|
|
267
255
|
config = File.new('/path/to/some/file') # File | A Bandersnatch config that may be used to construct a Python Remote.
|
|
268
256
|
name = 'name_example' # String | A unique name for this remote
|
|
269
257
|
opts = {
|
|
270
|
-
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
271
258
|
policy: PulpPythonClient::PolicyEnum::IMMEDIATE # PolicyEnum | 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.
|
|
272
259
|
}
|
|
273
260
|
|
|
@@ -304,7 +291,6 @@ end
|
|
|
304
291
|
| ---- | ---- | ----------- | ----- |
|
|
305
292
|
| **config** | **File** | A Bandersnatch config that may be used to construct a Python Remote. | |
|
|
306
293
|
| **name** | **String** | A unique name for this remote | |
|
|
307
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
308
294
|
| **policy** | [**PolicyEnum**](PolicyEnum.md) | 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. | [optional] |
|
|
309
295
|
|
|
310
296
|
### Return type
|
|
@@ -343,7 +329,6 @@ end
|
|
|
343
329
|
|
|
344
330
|
api_instance = PulpPythonClient::RemotesPythonApi.new
|
|
345
331
|
opts = {
|
|
346
|
-
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
347
332
|
limit: 56, # Integer | Number of results to return per page.
|
|
348
333
|
name: 'name_example', # String | Filter results where name matches value
|
|
349
334
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
|
@@ -403,7 +388,6 @@ end
|
|
|
403
388
|
|
|
404
389
|
| Name | Type | Description | Notes |
|
|
405
390
|
| ---- | ---- | ----------- | ----- |
|
|
406
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
407
391
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
|
408
392
|
| **name** | **String** | Filter results where name matches value | [optional] |
|
|
409
393
|
| **name__contains** | **String** | Filter results where name contains value | [optional] |
|
|
@@ -468,7 +452,6 @@ end
|
|
|
468
452
|
api_instance = PulpPythonClient::RemotesPythonApi.new
|
|
469
453
|
python_python_remote_href = 'python_python_remote_href_example' # String |
|
|
470
454
|
opts = {
|
|
471
|
-
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
472
455
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
|
473
456
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
|
474
457
|
}
|
|
@@ -505,7 +488,6 @@ end
|
|
|
505
488
|
| Name | Type | Description | Notes |
|
|
506
489
|
| ---- | ---- | ----------- | ----- |
|
|
507
490
|
| **python_python_remote_href** | **String** | | |
|
|
508
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
509
491
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
|
510
492
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
|
511
493
|
|
|
@@ -546,7 +528,6 @@ end
|
|
|
546
528
|
api_instance = PulpPythonClient::RemotesPythonApi.new
|
|
547
529
|
python_python_remote_href = 'python_python_remote_href_example' # String |
|
|
548
530
|
opts = {
|
|
549
|
-
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
550
531
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
|
551
532
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
|
552
533
|
}
|
|
@@ -583,7 +564,6 @@ end
|
|
|
583
564
|
| Name | Type | Description | Notes |
|
|
584
565
|
| ---- | ---- | ----------- | ----- |
|
|
585
566
|
| **python_python_remote_href** | **String** | | |
|
|
586
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
587
567
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
|
588
568
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
|
589
569
|
|
|
@@ -603,7 +583,7 @@ end
|
|
|
603
583
|
|
|
604
584
|
## partial_update
|
|
605
585
|
|
|
606
|
-
> <AsyncOperationResponse> partial_update(python_python_remote_href, patchedpython_python_remote
|
|
586
|
+
> <AsyncOperationResponse> partial_update(python_python_remote_href, patchedpython_python_remote)
|
|
607
587
|
|
|
608
588
|
Update a python remote
|
|
609
589
|
|
|
@@ -624,13 +604,10 @@ end
|
|
|
624
604
|
api_instance = PulpPythonClient::RemotesPythonApi.new
|
|
625
605
|
python_python_remote_href = 'python_python_remote_href_example' # String |
|
|
626
606
|
patchedpython_python_remote = PulpPythonClient::PatchedpythonPythonRemote.new # PatchedpythonPythonRemote |
|
|
627
|
-
opts = {
|
|
628
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
629
|
-
}
|
|
630
607
|
|
|
631
608
|
begin
|
|
632
609
|
# Update a python remote
|
|
633
|
-
result = api_instance.partial_update(python_python_remote_href, patchedpython_python_remote
|
|
610
|
+
result = api_instance.partial_update(python_python_remote_href, patchedpython_python_remote)
|
|
634
611
|
p result
|
|
635
612
|
rescue PulpPythonClient::ApiError => e
|
|
636
613
|
puts "Error when calling RemotesPythonApi->partial_update: #{e}"
|
|
@@ -641,12 +618,12 @@ end
|
|
|
641
618
|
|
|
642
619
|
This returns an Array which contains the response data, status code and headers.
|
|
643
620
|
|
|
644
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(python_python_remote_href, patchedpython_python_remote
|
|
621
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(python_python_remote_href, patchedpython_python_remote)
|
|
645
622
|
|
|
646
623
|
```ruby
|
|
647
624
|
begin
|
|
648
625
|
# Update a python remote
|
|
649
|
-
data, status_code, headers = api_instance.partial_update_with_http_info(python_python_remote_href, patchedpython_python_remote
|
|
626
|
+
data, status_code, headers = api_instance.partial_update_with_http_info(python_python_remote_href, patchedpython_python_remote)
|
|
650
627
|
p status_code # => 2xx
|
|
651
628
|
p headers # => { ... }
|
|
652
629
|
p data # => <AsyncOperationResponse>
|
|
@@ -661,7 +638,6 @@ end
|
|
|
661
638
|
| ---- | ---- | ----------- | ----- |
|
|
662
639
|
| **python_python_remote_href** | **String** | | |
|
|
663
640
|
| **patchedpython_python_remote** | [**PatchedpythonPythonRemote**](PatchedpythonPythonRemote.md) | | |
|
|
664
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
665
641
|
|
|
666
642
|
### Return type
|
|
667
643
|
|
|
@@ -700,7 +676,6 @@ end
|
|
|
700
676
|
api_instance = PulpPythonClient::RemotesPythonApi.new
|
|
701
677
|
python_python_remote_href = 'python_python_remote_href_example' # String |
|
|
702
678
|
opts = {
|
|
703
|
-
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
704
679
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
|
705
680
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
|
706
681
|
}
|
|
@@ -737,7 +712,6 @@ end
|
|
|
737
712
|
| Name | Type | Description | Notes |
|
|
738
713
|
| ---- | ---- | ----------- | ----- |
|
|
739
714
|
| **python_python_remote_href** | **String** | | |
|
|
740
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
741
715
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
|
742
716
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
|
743
717
|
|
|
@@ -757,7 +731,7 @@ end
|
|
|
757
731
|
|
|
758
732
|
## remove_role
|
|
759
733
|
|
|
760
|
-
> <NestedRoleResponse> remove_role(python_python_remote_href, nested_role
|
|
734
|
+
> <NestedRoleResponse> remove_role(python_python_remote_href, nested_role)
|
|
761
735
|
|
|
762
736
|
Remove a role
|
|
763
737
|
|
|
@@ -778,13 +752,10 @@ end
|
|
|
778
752
|
api_instance = PulpPythonClient::RemotesPythonApi.new
|
|
779
753
|
python_python_remote_href = 'python_python_remote_href_example' # String |
|
|
780
754
|
nested_role = PulpPythonClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
|
781
|
-
opts = {
|
|
782
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
783
|
-
}
|
|
784
755
|
|
|
785
756
|
begin
|
|
786
757
|
# Remove a role
|
|
787
|
-
result = api_instance.remove_role(python_python_remote_href, nested_role
|
|
758
|
+
result = api_instance.remove_role(python_python_remote_href, nested_role)
|
|
788
759
|
p result
|
|
789
760
|
rescue PulpPythonClient::ApiError => e
|
|
790
761
|
puts "Error when calling RemotesPythonApi->remove_role: #{e}"
|
|
@@ -795,12 +766,12 @@ end
|
|
|
795
766
|
|
|
796
767
|
This returns an Array which contains the response data, status code and headers.
|
|
797
768
|
|
|
798
|
-
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(python_python_remote_href, nested_role
|
|
769
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(python_python_remote_href, nested_role)
|
|
799
770
|
|
|
800
771
|
```ruby
|
|
801
772
|
begin
|
|
802
773
|
# Remove a role
|
|
803
|
-
data, status_code, headers = api_instance.remove_role_with_http_info(python_python_remote_href, nested_role
|
|
774
|
+
data, status_code, headers = api_instance.remove_role_with_http_info(python_python_remote_href, nested_role)
|
|
804
775
|
p status_code # => 2xx
|
|
805
776
|
p headers # => { ... }
|
|
806
777
|
p data # => <NestedRoleResponse>
|
|
@@ -815,7 +786,6 @@ end
|
|
|
815
786
|
| ---- | ---- | ----------- | ----- |
|
|
816
787
|
| **python_python_remote_href** | **String** | | |
|
|
817
788
|
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
|
818
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
819
789
|
|
|
820
790
|
### Return type
|
|
821
791
|
|
|
@@ -833,7 +803,7 @@ end
|
|
|
833
803
|
|
|
834
804
|
## set_label
|
|
835
805
|
|
|
836
|
-
> <SetLabelResponse> set_label(python_python_remote_href, set_label
|
|
806
|
+
> <SetLabelResponse> set_label(python_python_remote_href, set_label)
|
|
837
807
|
|
|
838
808
|
Set a label
|
|
839
809
|
|
|
@@ -854,13 +824,10 @@ end
|
|
|
854
824
|
api_instance = PulpPythonClient::RemotesPythonApi.new
|
|
855
825
|
python_python_remote_href = 'python_python_remote_href_example' # String |
|
|
856
826
|
set_label = PulpPythonClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
|
857
|
-
opts = {
|
|
858
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
859
|
-
}
|
|
860
827
|
|
|
861
828
|
begin
|
|
862
829
|
# Set a label
|
|
863
|
-
result = api_instance.set_label(python_python_remote_href, set_label
|
|
830
|
+
result = api_instance.set_label(python_python_remote_href, set_label)
|
|
864
831
|
p result
|
|
865
832
|
rescue PulpPythonClient::ApiError => e
|
|
866
833
|
puts "Error when calling RemotesPythonApi->set_label: #{e}"
|
|
@@ -871,12 +838,12 @@ end
|
|
|
871
838
|
|
|
872
839
|
This returns an Array which contains the response data, status code and headers.
|
|
873
840
|
|
|
874
|
-
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(python_python_remote_href, set_label
|
|
841
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(python_python_remote_href, set_label)
|
|
875
842
|
|
|
876
843
|
```ruby
|
|
877
844
|
begin
|
|
878
845
|
# Set a label
|
|
879
|
-
data, status_code, headers = api_instance.set_label_with_http_info(python_python_remote_href, set_label
|
|
846
|
+
data, status_code, headers = api_instance.set_label_with_http_info(python_python_remote_href, set_label)
|
|
880
847
|
p status_code # => 2xx
|
|
881
848
|
p headers # => { ... }
|
|
882
849
|
p data # => <SetLabelResponse>
|
|
@@ -891,7 +858,6 @@ end
|
|
|
891
858
|
| ---- | ---- | ----------- | ----- |
|
|
892
859
|
| **python_python_remote_href** | **String** | | |
|
|
893
860
|
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
|
894
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
895
861
|
|
|
896
862
|
### Return type
|
|
897
863
|
|
|
@@ -909,7 +875,7 @@ end
|
|
|
909
875
|
|
|
910
876
|
## unset_label
|
|
911
877
|
|
|
912
|
-
> <UnsetLabelResponse> unset_label(python_python_remote_href, unset_label
|
|
878
|
+
> <UnsetLabelResponse> unset_label(python_python_remote_href, unset_label)
|
|
913
879
|
|
|
914
880
|
Unset a label
|
|
915
881
|
|
|
@@ -930,13 +896,10 @@ end
|
|
|
930
896
|
api_instance = PulpPythonClient::RemotesPythonApi.new
|
|
931
897
|
python_python_remote_href = 'python_python_remote_href_example' # String |
|
|
932
898
|
unset_label = PulpPythonClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
|
933
|
-
opts = {
|
|
934
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
935
|
-
}
|
|
936
899
|
|
|
937
900
|
begin
|
|
938
901
|
# Unset a label
|
|
939
|
-
result = api_instance.unset_label(python_python_remote_href, unset_label
|
|
902
|
+
result = api_instance.unset_label(python_python_remote_href, unset_label)
|
|
940
903
|
p result
|
|
941
904
|
rescue PulpPythonClient::ApiError => e
|
|
942
905
|
puts "Error when calling RemotesPythonApi->unset_label: #{e}"
|
|
@@ -947,12 +910,12 @@ end
|
|
|
947
910
|
|
|
948
911
|
This returns an Array which contains the response data, status code and headers.
|
|
949
912
|
|
|
950
|
-
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(python_python_remote_href, unset_label
|
|
913
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(python_python_remote_href, unset_label)
|
|
951
914
|
|
|
952
915
|
```ruby
|
|
953
916
|
begin
|
|
954
917
|
# Unset a label
|
|
955
|
-
data, status_code, headers = api_instance.unset_label_with_http_info(python_python_remote_href, unset_label
|
|
918
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(python_python_remote_href, unset_label)
|
|
956
919
|
p status_code # => 2xx
|
|
957
920
|
p headers # => { ... }
|
|
958
921
|
p data # => <UnsetLabelResponse>
|
|
@@ -967,7 +930,6 @@ end
|
|
|
967
930
|
| ---- | ---- | ----------- | ----- |
|
|
968
931
|
| **python_python_remote_href** | **String** | | |
|
|
969
932
|
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
|
970
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
971
933
|
|
|
972
934
|
### Return type
|
|
973
935
|
|
|
@@ -985,7 +947,7 @@ end
|
|
|
985
947
|
|
|
986
948
|
## update
|
|
987
949
|
|
|
988
|
-
> <AsyncOperationResponse> update(python_python_remote_href, python_python_remote
|
|
950
|
+
> <AsyncOperationResponse> update(python_python_remote_href, python_python_remote)
|
|
989
951
|
|
|
990
952
|
Update a python remote
|
|
991
953
|
|
|
@@ -1006,13 +968,10 @@ end
|
|
|
1006
968
|
api_instance = PulpPythonClient::RemotesPythonApi.new
|
|
1007
969
|
python_python_remote_href = 'python_python_remote_href_example' # String |
|
|
1008
970
|
python_python_remote = PulpPythonClient::PythonPythonRemote.new({name: 'name_example', url: 'url_example'}) # PythonPythonRemote |
|
|
1009
|
-
opts = {
|
|
1010
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
1011
|
-
}
|
|
1012
971
|
|
|
1013
972
|
begin
|
|
1014
973
|
# Update a python remote
|
|
1015
|
-
result = api_instance.update(python_python_remote_href, python_python_remote
|
|
974
|
+
result = api_instance.update(python_python_remote_href, python_python_remote)
|
|
1016
975
|
p result
|
|
1017
976
|
rescue PulpPythonClient::ApiError => e
|
|
1018
977
|
puts "Error when calling RemotesPythonApi->update: #{e}"
|
|
@@ -1023,12 +982,12 @@ end
|
|
|
1023
982
|
|
|
1024
983
|
This returns an Array which contains the response data, status code and headers.
|
|
1025
984
|
|
|
1026
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(python_python_remote_href, python_python_remote
|
|
985
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(python_python_remote_href, python_python_remote)
|
|
1027
986
|
|
|
1028
987
|
```ruby
|
|
1029
988
|
begin
|
|
1030
989
|
# Update a python remote
|
|
1031
|
-
data, status_code, headers = api_instance.update_with_http_info(python_python_remote_href, python_python_remote
|
|
990
|
+
data, status_code, headers = api_instance.update_with_http_info(python_python_remote_href, python_python_remote)
|
|
1032
991
|
p status_code # => 2xx
|
|
1033
992
|
p headers # => { ... }
|
|
1034
993
|
p data # => <AsyncOperationResponse>
|
|
@@ -1043,7 +1002,6 @@ end
|
|
|
1043
1002
|
| ---- | ---- | ----------- | ----- |
|
|
1044
1003
|
| **python_python_remote_href** | **String** | | |
|
|
1045
1004
|
| **python_python_remote** | [**PythonPythonRemote**](PythonPythonRemote.md) | | |
|
|
1046
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
1047
1005
|
|
|
1048
1006
|
### Return type
|
|
1049
1007
|
|