assisted-service-client 2.47.0.post25__py3-none-any.whl → 2.47.0.post27__py3-none-any.whl
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.
Potentially problematic release.
This version of assisted-service-client might be problematic. Click here for more details.
- assisted_service_client/api/operators_api.py +36 -10
- {assisted_service_client-2.47.0.post25.dist-info → assisted_service_client-2.47.0.post27.dist-info}/METADATA +2 -2
- {assisted_service_client-2.47.0.post25.dist-info → assisted_service_client-2.47.0.post27.dist-info}/RECORD +6 -6
- test/test_operators_api.py +1 -1
- {assisted_service_client-2.47.0.post25.dist-info → assisted_service_client-2.47.0.post27.dist-info}/WHEEL +0 -0
- {assisted_service_client-2.47.0.post25.dist-info → assisted_service_client-2.47.0.post27.dist-info}/top_level.txt +0 -0
|
@@ -36,14 +36,15 @@ class OperatorsApi(object):
|
|
|
36
36
|
def v2_get_bundle(self, id, **kwargs): # noqa: E501
|
|
37
37
|
"""Get operator properties for a bundle # noqa: E501
|
|
38
38
|
|
|
39
|
-
Retrieves an array of operator properties for the specified bundle. # noqa: E501
|
|
39
|
+
Retrieves an array of operator properties for the specified bundle when some features are activated. # noqa: E501
|
|
40
40
|
This method makes a synchronous HTTP request by default. To make an
|
|
41
41
|
asynchronous HTTP request, please pass async_req=True
|
|
42
42
|
>>> thread = api.v2_get_bundle(id, async_req=True)
|
|
43
43
|
>>> result = thread.get()
|
|
44
44
|
|
|
45
45
|
:param async_req bool
|
|
46
|
-
:param str id: Identifier of the bundle, for example, `virtualization` or `openshift-ai
|
|
46
|
+
:param str id: Identifier of the bundle, for example, `virtualization` or `openshift-ai`. (required)
|
|
47
|
+
:param list[str] feature_ids: Array of feature IDs that affect bundle composition (e.g., [\"SNO\"] for Single Node OpenShift).
|
|
47
48
|
:return: Bundle
|
|
48
49
|
If the method is called asynchronously,
|
|
49
50
|
returns the request thread.
|
|
@@ -58,20 +59,21 @@ class OperatorsApi(object):
|
|
|
58
59
|
def v2_get_bundle_with_http_info(self, id, **kwargs): # noqa: E501
|
|
59
60
|
"""Get operator properties for a bundle # noqa: E501
|
|
60
61
|
|
|
61
|
-
Retrieves an array of operator properties for the specified bundle. # noqa: E501
|
|
62
|
+
Retrieves an array of operator properties for the specified bundle when some features are activated. # noqa: E501
|
|
62
63
|
This method makes a synchronous HTTP request by default. To make an
|
|
63
64
|
asynchronous HTTP request, please pass async_req=True
|
|
64
65
|
>>> thread = api.v2_get_bundle_with_http_info(id, async_req=True)
|
|
65
66
|
>>> result = thread.get()
|
|
66
67
|
|
|
67
68
|
:param async_req bool
|
|
68
|
-
:param str id: Identifier of the bundle, for example, `virtualization` or `openshift-ai
|
|
69
|
+
:param str id: Identifier of the bundle, for example, `virtualization` or `openshift-ai`. (required)
|
|
70
|
+
:param list[str] feature_ids: Array of feature IDs that affect bundle composition (e.g., [\"SNO\"] for Single Node OpenShift).
|
|
69
71
|
:return: Bundle
|
|
70
72
|
If the method is called asynchronously,
|
|
71
73
|
returns the request thread.
|
|
72
74
|
"""
|
|
73
75
|
|
|
74
|
-
all_params = ['id'] # noqa: E501
|
|
76
|
+
all_params = ['id', 'feature_ids'] # noqa: E501
|
|
75
77
|
all_params.append('async_req')
|
|
76
78
|
all_params.append('_return_http_data_only')
|
|
77
79
|
all_params.append('_preload_content')
|
|
@@ -98,6 +100,9 @@ class OperatorsApi(object):
|
|
|
98
100
|
path_params['id'] = params['id'] # noqa: E501
|
|
99
101
|
|
|
100
102
|
query_params = []
|
|
103
|
+
if 'feature_ids' in params:
|
|
104
|
+
query_params.append(('feature_ids', params['feature_ids'])) # noqa: E501
|
|
105
|
+
collection_formats['feature_ids'] = 'multi' # noqa: E501
|
|
101
106
|
|
|
102
107
|
header_params = {}
|
|
103
108
|
|
|
@@ -133,15 +138,20 @@ class OperatorsApi(object):
|
|
|
133
138
|
collection_formats=collection_formats)
|
|
134
139
|
|
|
135
140
|
def v2_list_bundles(self, **kwargs): # noqa: E501
|
|
136
|
-
"""Get list of
|
|
141
|
+
"""Get list of available bundles # noqa: E501
|
|
137
142
|
|
|
138
|
-
Retrieves a list of
|
|
143
|
+
Retrieves a list of available bundles filtered by support level. # noqa: E501
|
|
139
144
|
This method makes a synchronous HTTP request by default. To make an
|
|
140
145
|
asynchronous HTTP request, please pass async_req=True
|
|
141
146
|
>>> thread = api.v2_list_bundles(async_req=True)
|
|
142
147
|
>>> result = thread.get()
|
|
143
148
|
|
|
144
149
|
:param async_req bool
|
|
150
|
+
:param str openshift_version: Version of the OpenShift cluster. If the parameter is not specified, only feature_ids parameter is taken into account.
|
|
151
|
+
:param str cpu_architecture: The CPU architecture of the image (x86_64/arm64/etc). openshift_version must be set.
|
|
152
|
+
:param str platform_type: The provider platform type. openshift_version must be set.
|
|
153
|
+
:param str external_platform_name: External platform name when platform type is set to external. The value of this parameter will be ignored if platform_type is not external or if openshift_version is not set.
|
|
154
|
+
:param list[str] feature_ids: Array of feature IDs that affect bundle composition (e.g., [\"SNO\"] for Single Node OpenShift).
|
|
145
155
|
:return: list[Bundle]
|
|
146
156
|
If the method is called asynchronously,
|
|
147
157
|
returns the request thread.
|
|
@@ -154,21 +164,26 @@ class OperatorsApi(object):
|
|
|
154
164
|
return data
|
|
155
165
|
|
|
156
166
|
def v2_list_bundles_with_http_info(self, **kwargs): # noqa: E501
|
|
157
|
-
"""Get list of
|
|
167
|
+
"""Get list of available bundles # noqa: E501
|
|
158
168
|
|
|
159
|
-
Retrieves a list of
|
|
169
|
+
Retrieves a list of available bundles filtered by support level. # noqa: E501
|
|
160
170
|
This method makes a synchronous HTTP request by default. To make an
|
|
161
171
|
asynchronous HTTP request, please pass async_req=True
|
|
162
172
|
>>> thread = api.v2_list_bundles_with_http_info(async_req=True)
|
|
163
173
|
>>> result = thread.get()
|
|
164
174
|
|
|
165
175
|
:param async_req bool
|
|
176
|
+
:param str openshift_version: Version of the OpenShift cluster. If the parameter is not specified, only feature_ids parameter is taken into account.
|
|
177
|
+
:param str cpu_architecture: The CPU architecture of the image (x86_64/arm64/etc). openshift_version must be set.
|
|
178
|
+
:param str platform_type: The provider platform type. openshift_version must be set.
|
|
179
|
+
:param str external_platform_name: External platform name when platform type is set to external. The value of this parameter will be ignored if platform_type is not external or if openshift_version is not set.
|
|
180
|
+
:param list[str] feature_ids: Array of feature IDs that affect bundle composition (e.g., [\"SNO\"] for Single Node OpenShift).
|
|
166
181
|
:return: list[Bundle]
|
|
167
182
|
If the method is called asynchronously,
|
|
168
183
|
returns the request thread.
|
|
169
184
|
"""
|
|
170
185
|
|
|
171
|
-
all_params = [] # noqa: E501
|
|
186
|
+
all_params = ['openshift_version', 'cpu_architecture', 'platform_type', 'external_platform_name', 'feature_ids'] # noqa: E501
|
|
172
187
|
all_params.append('async_req')
|
|
173
188
|
all_params.append('_return_http_data_only')
|
|
174
189
|
all_params.append('_preload_content')
|
|
@@ -189,6 +204,17 @@ class OperatorsApi(object):
|
|
|
189
204
|
path_params = {}
|
|
190
205
|
|
|
191
206
|
query_params = []
|
|
207
|
+
if 'openshift_version' in params:
|
|
208
|
+
query_params.append(('openshift_version', params['openshift_version'])) # noqa: E501
|
|
209
|
+
if 'cpu_architecture' in params:
|
|
210
|
+
query_params.append(('cpu_architecture', params['cpu_architecture'])) # noqa: E501
|
|
211
|
+
if 'platform_type' in params:
|
|
212
|
+
query_params.append(('platform_type', params['platform_type'])) # noqa: E501
|
|
213
|
+
if 'external_platform_name' in params:
|
|
214
|
+
query_params.append(('external_platform_name', params['external_platform_name'])) # noqa: E501
|
|
215
|
+
if 'feature_ids' in params:
|
|
216
|
+
query_params.append(('feature_ids', params['feature_ids'])) # noqa: E501
|
|
217
|
+
collection_formats['feature_ids'] = 'multi' # noqa: E501
|
|
192
218
|
|
|
193
219
|
header_params = {}
|
|
194
220
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: assisted-service-client
|
|
3
|
-
Version: 2.47.0.
|
|
3
|
+
Version: 2.47.0.post27
|
|
4
4
|
Summary: AssistedInstall
|
|
5
5
|
Home-page: https://github.com/openshift/assisted-service
|
|
6
6
|
Author: RedHat
|
|
@@ -197,7 +197,7 @@ Class | Method | HTTP request | Description
|
|
|
197
197
|
*ManifestsApi* | [**v2_list_cluster_manifests**](docs/ManifestsApi.md#v2_list_cluster_manifests) | **GET** /v2/clusters/{cluster_id}/manifests |
|
|
198
198
|
*ManifestsApi* | [**v2_update_cluster_manifest**](docs/ManifestsApi.md#v2_update_cluster_manifest) | **PATCH** /v2/clusters/{cluster_id}/manifests |
|
|
199
199
|
*OperatorsApi* | [**v2_get_bundle**](docs/OperatorsApi.md#v2_get_bundle) | **GET** /v2/operators/bundles/{id} | Get operator properties for a bundle
|
|
200
|
-
*OperatorsApi* | [**v2_list_bundles**](docs/OperatorsApi.md#v2_list_bundles) | **GET** /v2/operators/bundles | Get list of
|
|
200
|
+
*OperatorsApi* | [**v2_list_bundles**](docs/OperatorsApi.md#v2_list_bundles) | **GET** /v2/operators/bundles | Get list of available bundles
|
|
201
201
|
*OperatorsApi* | [**v2_list_of_cluster_operators**](docs/OperatorsApi.md#v2_list_of_cluster_operators) | **GET** /v2/clusters/{cluster_id}/monitored-operators |
|
|
202
202
|
*OperatorsApi* | [**v2_list_operator_properties**](docs/OperatorsApi.md#v2_list_operator_properties) | **GET** /v2/supported-operators/{operator_name} |
|
|
203
203
|
*OperatorsApi* | [**v2_list_supported_operators**](docs/OperatorsApi.md#v2_list_supported_operators) | **GET** /v2/supported-operators |
|
|
@@ -7,7 +7,7 @@ assisted_service_client/api/events_api.py,sha256=ViI7Amn3-o8PcVbAg2iGan0nFrk6oJ0
|
|
|
7
7
|
assisted_service_client/api/installer_api.py,sha256=MvJ8ra_l6nJvJWROmXCE0h6Ih0JNzTXpgDhhawpHzog,309763
|
|
8
8
|
assisted_service_client/api/managed_domains_api.py,sha256=rTPj3IVxrECtMc_-acZ14u6WydVqHVw6VaM7I8Zvu3g,4087
|
|
9
9
|
assisted_service_client/api/manifests_api.py,sha256=aLktOGwkOa3siGnJOYuGO0mH3TlES-fBZvilNvseGO0,25146
|
|
10
|
-
assisted_service_client/api/operators_api.py,sha256=
|
|
10
|
+
assisted_service_client/api/operators_api.py,sha256=mlAgOM5naIPx9Ri6zVHYhwxjOp_k0USknI72I-o2Pu4,27612
|
|
11
11
|
assisted_service_client/api/versions_api.py,sha256=0eomTHtqgrHnxBxNhL_rZ43K3O3fjvpy0nMRxt2idEg,11674
|
|
12
12
|
assisted_service_client/models/__init__.py,sha256=UI3ylX-XVCPV9IV0LFjFdun_S3xmP_z1teVKE20_dv4,15281
|
|
13
13
|
assisted_service_client/models/api_vip.py,sha256=gn7i8OtCG3uzm-Ymku55LMWWOn9sujJ-tJ-eZ2VSLkk,4590
|
|
@@ -347,7 +347,7 @@ test/test_operator_properties.py,sha256=b7qgRx73jUuGJa4_KL2q2iHgLCDTOyJuGY7nEPrE
|
|
|
347
347
|
test/test_operator_property.py,sha256=Qcrk-23Kk3BTNmOh6K-SPjWhovmjb4aox67DiU6f8Ik,909
|
|
348
348
|
test/test_operator_status.py,sha256=NYONReYAPyGrsYvY6gtjlt_H1co4k2lgBGyppNiXfH4,893
|
|
349
349
|
test/test_operator_type.py,sha256=sgh-FX4cIV3BaNb-Il3ruAreGagfzOOgCjn1BQwvZEA,877
|
|
350
|
-
test/test_operators_api.py,sha256=
|
|
350
|
+
test/test_operators_api.py,sha256=e4BRExxixccBQnyaX2oP3Q-eSbZk-uUaDh81WvR4yhc,1546
|
|
351
351
|
test/test_os_image.py,sha256=wZTKD1V1Zm6VVL9Ye60_BKycd8c_fkFE3NxOqI5jvo0,837
|
|
352
352
|
test/test_os_images.py,sha256=rBqwen7wukMW12pccvj58zVlBizpdINNSiuQl1wXMx8,845
|
|
353
353
|
test/test_platform.py,sha256=F3RymW4mgOOZzM7q79C0MgD0ibz53qNIwkzLJo2_exM,843
|
|
@@ -395,7 +395,7 @@ test/test_versions.py,sha256=n-4xIBBiEuExya4yfHjxHbsRinb_vccUxwIrMxyEvfk,843
|
|
|
395
395
|
test/test_versions_api.py,sha256=STXdU0DUr6Bmpp8YEBvPKo5ohNZKwxI0e_ddDi3F_1c,1087
|
|
396
396
|
test/test_vip_type.py,sha256=MAse7Cn2PT8pBELxmmAa4X9K_fZ-jtvNTmrqQ0Hvc-o,837
|
|
397
397
|
test/test_vip_verification.py,sha256=DwaHdagiOxRAPQ8TN541xSPn--MJEbRATBm1h3OmmZ4,901
|
|
398
|
-
assisted_service_client-2.47.0.
|
|
399
|
-
assisted_service_client-2.47.0.
|
|
400
|
-
assisted_service_client-2.47.0.
|
|
401
|
-
assisted_service_client-2.47.0.
|
|
398
|
+
assisted_service_client-2.47.0.post27.dist-info/METADATA,sha256=ZcBlDdqXIcR1zMdbPAvwRuOA_y_ZWe1JKyxGW6d3AwE,27151
|
|
399
|
+
assisted_service_client-2.47.0.post27.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
|
|
400
|
+
assisted_service_client-2.47.0.post27.dist-info/top_level.txt,sha256=4hfKi9CMXGm1B8Tohp02sqpWY8GTFoD38UbGI8duAD4,29
|
|
401
|
+
assisted_service_client-2.47.0.post27.dist-info/RECORD,,
|
test/test_operators_api.py
CHANGED
|
File without changes
|
|
File without changes
|