mergetbapi 1.4.0__tar.gz → 1.4.2__tar.gz
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.
- {mergetbapi-1.4.0 → mergetbapi-1.4.2}/PKG-INFO +1 -1
- {mergetbapi-1.4.0 → mergetbapi-1.4.2}/mergetbapi/portal/v1/__init__.py +341 -56
- {mergetbapi-1.4.0 → mergetbapi-1.4.2}/mergetbapi/xir/__init__.py +3 -0
- {mergetbapi-1.4.0 → mergetbapi-1.4.2}/mergetbapi.egg-info/PKG-INFO +1 -1
- {mergetbapi-1.4.0 → mergetbapi-1.4.2}/LICENSE.md +0 -0
- {mergetbapi-1.4.0 → mergetbapi-1.4.2}/README.md +0 -0
- {mergetbapi-1.4.0 → mergetbapi-1.4.2}/mergetbapi/__init__.py +0 -0
- {mergetbapi-1.4.0 → mergetbapi-1.4.2}/mergetbapi/google/__init__.py +0 -0
- {mergetbapi-1.4.0 → mergetbapi-1.4.2}/mergetbapi/google/api/__init__.py +0 -0
- {mergetbapi-1.4.0 → mergetbapi-1.4.2}/mergetbapi/grpc/__init__.py +0 -0
- {mergetbapi-1.4.0 → mergetbapi-1.4.2}/mergetbapi/grpc/gateway/__init__.py +0 -0
- {mergetbapi-1.4.0 → mergetbapi-1.4.2}/mergetbapi/grpc/gateway/protoc_gen_openapiv2/__init__.py +0 -0
- {mergetbapi-1.4.0 → mergetbapi-1.4.2}/mergetbapi/grpc/gateway/protoc_gen_openapiv2/options/__init__.py +0 -0
- {mergetbapi-1.4.0 → mergetbapi-1.4.2}/mergetbapi/portal/__init__.py +0 -0
- {mergetbapi-1.4.0 → mergetbapi-1.4.2}/mergetbapi/reconcile/__init__.py +0 -0
- {mergetbapi-1.4.0 → mergetbapi-1.4.2}/mergetbapi/validator/__init__.py +0 -0
- {mergetbapi-1.4.0 → mergetbapi-1.4.2}/mergetbapi.egg-info/SOURCES.txt +0 -0
- {mergetbapi-1.4.0 → mergetbapi-1.4.2}/mergetbapi.egg-info/dependency_links.txt +0 -0
- {mergetbapi-1.4.0 → mergetbapi-1.4.2}/mergetbapi.egg-info/not-zip-safe +0 -0
- {mergetbapi-1.4.0 → mergetbapi-1.4.2}/mergetbapi.egg-info/requires.txt +0 -0
- {mergetbapi-1.4.0 → mergetbapi-1.4.2}/mergetbapi.egg-info/top_level.txt +0 -0
- {mergetbapi-1.4.0 → mergetbapi-1.4.2}/setup.cfg +0 -0
- {mergetbapi-1.4.0 → mergetbapi-1.4.2}/setup.py +0 -0
|
@@ -144,6 +144,23 @@ class GetRevisionRequestEncoding(betterproto.Enum):
|
|
|
144
144
|
DOT = 2
|
|
145
145
|
|
|
146
146
|
|
|
147
|
+
class ActionReasonIdEntity(betterproto.Enum):
|
|
148
|
+
"""What can be acted on"""
|
|
149
|
+
|
|
150
|
+
UnknownEntity = 0
|
|
151
|
+
User = 1
|
|
152
|
+
Project = 2
|
|
153
|
+
Organization = 3
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
class ActionReasonIdAction(betterproto.Enum):
|
|
157
|
+
"""Supported actions"""
|
|
158
|
+
|
|
159
|
+
UnknownAction = 0
|
|
160
|
+
Activate = 1
|
|
161
|
+
Decline = 2
|
|
162
|
+
|
|
163
|
+
|
|
147
164
|
class ArtifactChecksumType(betterproto.Enum):
|
|
148
165
|
"""supported checksums, just for generated maps"""
|
|
149
166
|
|
|
@@ -569,6 +586,7 @@ class InitUserResponse(betterproto.Message):
|
|
|
569
586
|
@dataclass(eq=False, repr=False)
|
|
570
587
|
class ActivateUserRequest(betterproto.Message):
|
|
571
588
|
username: str = betterproto.string_field(1)
|
|
589
|
+
action_reason: str = betterproto.string_field(2)
|
|
572
590
|
|
|
573
591
|
|
|
574
592
|
@dataclass(eq=False, repr=False)
|
|
@@ -576,6 +594,17 @@ class ActivateUserResponse(betterproto.Message):
|
|
|
576
594
|
pass
|
|
577
595
|
|
|
578
596
|
|
|
597
|
+
@dataclass(eq=False, repr=False)
|
|
598
|
+
class DeclineUserRequest(betterproto.Message):
|
|
599
|
+
username: str = betterproto.string_field(1)
|
|
600
|
+
action_reason: str = betterproto.string_field(2)
|
|
601
|
+
|
|
602
|
+
|
|
603
|
+
@dataclass(eq=False, repr=False)
|
|
604
|
+
class DeclineUserResponse(betterproto.Message):
|
|
605
|
+
pass
|
|
606
|
+
|
|
607
|
+
|
|
579
608
|
@dataclass(eq=False, repr=False)
|
|
580
609
|
class FreezeUserRequest(betterproto.Message):
|
|
581
610
|
username: str = betterproto.string_field(1)
|
|
@@ -856,6 +885,7 @@ class UpdateProjectResponse(betterproto.Message):
|
|
|
856
885
|
@dataclass(eq=False, repr=False)
|
|
857
886
|
class ActivateProjectRequest(betterproto.Message):
|
|
858
887
|
project: str = betterproto.string_field(1)
|
|
888
|
+
action_reason: str = betterproto.string_field(2)
|
|
859
889
|
|
|
860
890
|
|
|
861
891
|
@dataclass(eq=False, repr=False)
|
|
@@ -863,6 +893,21 @@ class ActivateProjectResponse(betterproto.Message):
|
|
|
863
893
|
pass
|
|
864
894
|
|
|
865
895
|
|
|
896
|
+
@dataclass(eq=False, repr=False)
|
|
897
|
+
class DeclineProjectRequest(betterproto.Message):
|
|
898
|
+
"""
|
|
899
|
+
Decline .....................................................................
|
|
900
|
+
"""
|
|
901
|
+
|
|
902
|
+
project: str = betterproto.string_field(1)
|
|
903
|
+
action_reason: str = betterproto.string_field(2)
|
|
904
|
+
|
|
905
|
+
|
|
906
|
+
@dataclass(eq=False, repr=False)
|
|
907
|
+
class DeclineProjectResponse(betterproto.Message):
|
|
908
|
+
pass
|
|
909
|
+
|
|
910
|
+
|
|
866
911
|
@dataclass(eq=False, repr=False)
|
|
867
912
|
class FreezeProjectRequest(betterproto.Message):
|
|
868
913
|
project: str = betterproto.string_field(1)
|
|
@@ -1101,6 +1146,7 @@ class Organization(betterproto.Message):
|
|
|
1101
1146
|
@dataclass(eq=False, repr=False)
|
|
1102
1147
|
class ActivateOrganizationRequest(betterproto.Message):
|
|
1103
1148
|
organization: str = betterproto.string_field(1)
|
|
1149
|
+
action_reason: str = betterproto.string_field(2)
|
|
1104
1150
|
|
|
1105
1151
|
|
|
1106
1152
|
@dataclass(eq=False, repr=False)
|
|
@@ -1108,6 +1154,17 @@ class ActivateOrganizationResponse(betterproto.Message):
|
|
|
1108
1154
|
pass
|
|
1109
1155
|
|
|
1110
1156
|
|
|
1157
|
+
@dataclass(eq=False, repr=False)
|
|
1158
|
+
class DeclineOrganizationRequest(betterproto.Message):
|
|
1159
|
+
organization: str = betterproto.string_field(1)
|
|
1160
|
+
action_reason: str = betterproto.string_field(2)
|
|
1161
|
+
|
|
1162
|
+
|
|
1163
|
+
@dataclass(eq=False, repr=False)
|
|
1164
|
+
class DeclineOrganizationResponse(betterproto.Message):
|
|
1165
|
+
pass
|
|
1166
|
+
|
|
1167
|
+
|
|
1111
1168
|
@dataclass(eq=False, repr=False)
|
|
1112
1169
|
class FreezeOrganizationRequest(betterproto.Message):
|
|
1113
1170
|
organization: str = betterproto.string_field(1)
|
|
@@ -1387,6 +1444,47 @@ class UpdateEntityTypeConfigurationsResponse(betterproto.Message):
|
|
|
1387
1444
|
pass
|
|
1388
1445
|
|
|
1389
1446
|
|
|
1447
|
+
@dataclass(eq=False, repr=False)
|
|
1448
|
+
class ActionReasonId(betterproto.Message):
|
|
1449
|
+
"""
|
|
1450
|
+
action reason CRUD - kind of awkward but it works.
|
|
1451
|
+
Could've just used strings for action and entity, but
|
|
1452
|
+
I like the type safety of being explicit.
|
|
1453
|
+
"""
|
|
1454
|
+
|
|
1455
|
+
entity: "ActionReasonIdEntity" = betterproto.enum_field(1)
|
|
1456
|
+
name: str = betterproto.string_field(2)
|
|
1457
|
+
action: "ActionReasonIdAction" = betterproto.enum_field(3)
|
|
1458
|
+
|
|
1459
|
+
|
|
1460
|
+
@dataclass(eq=False, repr=False)
|
|
1461
|
+
class ActionReasonTemplate(betterproto.Message):
|
|
1462
|
+
id: "ActionReasonId" = betterproto.message_field(1)
|
|
1463
|
+
reason: str = betterproto.string_field(2)
|
|
1464
|
+
template: str = betterproto.string_field(3)
|
|
1465
|
+
|
|
1466
|
+
|
|
1467
|
+
@dataclass(eq=False, repr=False)
|
|
1468
|
+
class ListActionReasonsRequest(betterproto.Message):
|
|
1469
|
+
id: "ActionReasonId" = betterproto.message_field(1)
|
|
1470
|
+
|
|
1471
|
+
|
|
1472
|
+
@dataclass(eq=False, repr=False)
|
|
1473
|
+
class ListActionReasonsResponse(betterproto.Message):
|
|
1474
|
+
templates: List["ActionReasonTemplate"] = betterproto.message_field(1)
|
|
1475
|
+
|
|
1476
|
+
|
|
1477
|
+
@dataclass(eq=False, repr=False)
|
|
1478
|
+
class GetActionReasonRequest(betterproto.Message):
|
|
1479
|
+
id: "ActionReasonId" = betterproto.message_field(1)
|
|
1480
|
+
reason: str = betterproto.string_field(2)
|
|
1481
|
+
|
|
1482
|
+
|
|
1483
|
+
@dataclass(eq=False, repr=False)
|
|
1484
|
+
class GetActionReasonResponse(betterproto.Message):
|
|
1485
|
+
template: "ActionReasonTemplate" = betterproto.message_field(1)
|
|
1486
|
+
|
|
1487
|
+
|
|
1390
1488
|
@dataclass(eq=False, repr=False)
|
|
1391
1489
|
class GetPolicyRequest(betterproto.Message):
|
|
1392
1490
|
pass
|
|
@@ -2014,6 +2112,8 @@ class CreateDeploymentRequest(betterproto.Message):
|
|
|
2014
2112
|
model: str = betterproto.string_field(2)
|
|
2015
2113
|
id: "DeploymentId" = betterproto.message_field(3)
|
|
2016
2114
|
xdc: str = betterproto.string_field(4)
|
|
2115
|
+
access_mode: "AccessMode" = betterproto.enum_field(5)
|
|
2116
|
+
"""xdc name will be <Xdc>.<User's personal project>"""
|
|
2017
2117
|
|
|
2018
2118
|
|
|
2019
2119
|
@dataclass(eq=False, repr=False)
|
|
@@ -2022,12 +2122,14 @@ class CreateDeploymentResponse(betterproto.Message):
|
|
|
2022
2122
|
|
|
2023
2123
|
|
|
2024
2124
|
@dataclass(eq=False, repr=False)
|
|
2025
|
-
class
|
|
2125
|
+
class DeleteDeploymentRequest(betterproto.Message):
|
|
2026
2126
|
id: "DeploymentId" = betterproto.message_field(1)
|
|
2127
|
+
delete_experiment: bool = betterproto.bool_field(2)
|
|
2128
|
+
delete_xdc: bool = betterproto.bool_field(3)
|
|
2027
2129
|
|
|
2028
2130
|
|
|
2029
2131
|
@dataclass(eq=False, repr=False)
|
|
2030
|
-
class
|
|
2132
|
+
class DeleteDeploymentResponse(betterproto.Message):
|
|
2031
2133
|
pass
|
|
2032
2134
|
|
|
2033
2135
|
|
|
@@ -2036,27 +2138,30 @@ class DeploymentInfo(betterproto.Message):
|
|
|
2036
2138
|
id: "DeploymentId" = betterproto.message_field(1)
|
|
2037
2139
|
xdc: str = betterproto.string_field(2)
|
|
2038
2140
|
status: str = betterproto.string_field(3)
|
|
2141
|
+
creator: str = betterproto.string_field(4)
|
|
2142
|
+
access_mode: "AccessMode" = betterproto.enum_field(5)
|
|
2039
2143
|
|
|
2040
2144
|
|
|
2041
2145
|
@dataclass(eq=False, repr=False)
|
|
2042
|
-
class
|
|
2043
|
-
|
|
2146
|
+
class GetDeploymentsRequest(betterproto.Message):
|
|
2147
|
+
filter: "FilterMode" = betterproto.enum_field(1)
|
|
2044
2148
|
|
|
2045
2149
|
|
|
2046
2150
|
@dataclass(eq=False, repr=False)
|
|
2047
|
-
class
|
|
2151
|
+
class GetDeploymentsResponse(betterproto.Message):
|
|
2048
2152
|
deployments: List["DeploymentInfo"] = betterproto.message_field(1)
|
|
2049
2153
|
|
|
2050
2154
|
|
|
2051
2155
|
@dataclass(eq=False, repr=False)
|
|
2052
|
-
class
|
|
2156
|
+
class GetDeploymentRequest(betterproto.Message):
|
|
2053
2157
|
id: "DeploymentId" = betterproto.message_field(1)
|
|
2054
2158
|
status_ms: int = betterproto.int32_field(2)
|
|
2055
2159
|
|
|
2056
2160
|
|
|
2057
2161
|
@dataclass(eq=False, repr=False)
|
|
2058
|
-
class
|
|
2059
|
-
|
|
2162
|
+
class GetDeploymentResponse(betterproto.Message):
|
|
2163
|
+
info: "DeploymentInfo" = betterproto.message_field(1)
|
|
2164
|
+
status: "TaskTree" = betterproto.message_field(2)
|
|
2060
2165
|
|
|
2061
2166
|
|
|
2062
2167
|
@dataclass(eq=False, repr=False)
|
|
@@ -3241,6 +3346,7 @@ class AttachXdcRequest(betterproto.Message):
|
|
|
3241
3346
|
experiment: str = betterproto.string_field(3)
|
|
3242
3347
|
realization: str = betterproto.string_field(4)
|
|
3243
3348
|
realization_project: str = betterproto.string_field(5)
|
|
3349
|
+
force: bool = betterproto.bool_field(6)
|
|
3244
3350
|
|
|
3245
3351
|
|
|
3246
3352
|
@dataclass(eq=False, repr=False)
|
|
@@ -3494,6 +3600,23 @@ class WorkspaceStub(betterproto.ServiceStub):
|
|
|
3494
3600
|
metadata=metadata,
|
|
3495
3601
|
)
|
|
3496
3602
|
|
|
3603
|
+
async def decline_user(
|
|
3604
|
+
self,
|
|
3605
|
+
decline_user_request: "DeclineUserRequest",
|
|
3606
|
+
*,
|
|
3607
|
+
timeout: Optional[float] = None,
|
|
3608
|
+
deadline: Optional["Deadline"] = None,
|
|
3609
|
+
metadata: Optional["MetadataLike"] = None
|
|
3610
|
+
) -> "DeclineUserResponse":
|
|
3611
|
+
return await self._unary_unary(
|
|
3612
|
+
"/portal.v1.Workspace/DeclineUser",
|
|
3613
|
+
decline_user_request,
|
|
3614
|
+
DeclineUserResponse,
|
|
3615
|
+
timeout=timeout,
|
|
3616
|
+
deadline=deadline,
|
|
3617
|
+
metadata=metadata,
|
|
3618
|
+
)
|
|
3619
|
+
|
|
3497
3620
|
async def freeze_user(
|
|
3498
3621
|
self,
|
|
3499
3622
|
freeze_user_request: "FreezeUserRequest",
|
|
@@ -3783,6 +3906,23 @@ class WorkspaceStub(betterproto.ServiceStub):
|
|
|
3783
3906
|
metadata=metadata,
|
|
3784
3907
|
)
|
|
3785
3908
|
|
|
3909
|
+
async def decline_project(
|
|
3910
|
+
self,
|
|
3911
|
+
decline_project_request: "DeclineProjectRequest",
|
|
3912
|
+
*,
|
|
3913
|
+
timeout: Optional[float] = None,
|
|
3914
|
+
deadline: Optional["Deadline"] = None,
|
|
3915
|
+
metadata: Optional["MetadataLike"] = None
|
|
3916
|
+
) -> "DeclineProjectResponse":
|
|
3917
|
+
return await self._unary_unary(
|
|
3918
|
+
"/portal.v1.Workspace/DeclineProject",
|
|
3919
|
+
decline_project_request,
|
|
3920
|
+
DeclineProjectResponse,
|
|
3921
|
+
timeout=timeout,
|
|
3922
|
+
deadline=deadline,
|
|
3923
|
+
metadata=metadata,
|
|
3924
|
+
)
|
|
3925
|
+
|
|
3786
3926
|
async def freeze_project(
|
|
3787
3927
|
self,
|
|
3788
3928
|
freeze_project_request: "FreezeProjectRequest",
|
|
@@ -3902,6 +4042,23 @@ class WorkspaceStub(betterproto.ServiceStub):
|
|
|
3902
4042
|
metadata=metadata,
|
|
3903
4043
|
)
|
|
3904
4044
|
|
|
4045
|
+
async def decline_organization(
|
|
4046
|
+
self,
|
|
4047
|
+
decline_organization_request: "DeclineOrganizationRequest",
|
|
4048
|
+
*,
|
|
4049
|
+
timeout: Optional[float] = None,
|
|
4050
|
+
deadline: Optional["Deadline"] = None,
|
|
4051
|
+
metadata: Optional["MetadataLike"] = None
|
|
4052
|
+
) -> "DeclineOrganizationResponse":
|
|
4053
|
+
return await self._unary_unary(
|
|
4054
|
+
"/portal.v1.Workspace/DeclineOrganization",
|
|
4055
|
+
decline_organization_request,
|
|
4056
|
+
DeclineOrganizationResponse,
|
|
4057
|
+
timeout=timeout,
|
|
4058
|
+
deadline=deadline,
|
|
4059
|
+
metadata=metadata,
|
|
4060
|
+
)
|
|
4061
|
+
|
|
3905
4062
|
async def freeze_organization(
|
|
3906
4063
|
self,
|
|
3907
4064
|
freeze_organization_request: "FreezeOrganizationRequest",
|
|
@@ -4395,6 +4552,40 @@ class WorkspaceStub(betterproto.ServiceStub):
|
|
|
4395
4552
|
metadata=metadata,
|
|
4396
4553
|
)
|
|
4397
4554
|
|
|
4555
|
+
async def list_action_reasons(
|
|
4556
|
+
self,
|
|
4557
|
+
list_action_reasons_request: "ListActionReasonsRequest",
|
|
4558
|
+
*,
|
|
4559
|
+
timeout: Optional[float] = None,
|
|
4560
|
+
deadline: Optional["Deadline"] = None,
|
|
4561
|
+
metadata: Optional["MetadataLike"] = None
|
|
4562
|
+
) -> "ListActionReasonsResponse":
|
|
4563
|
+
return await self._unary_unary(
|
|
4564
|
+
"/portal.v1.Workspace/ListActionReasons",
|
|
4565
|
+
list_action_reasons_request,
|
|
4566
|
+
ListActionReasonsResponse,
|
|
4567
|
+
timeout=timeout,
|
|
4568
|
+
deadline=deadline,
|
|
4569
|
+
metadata=metadata,
|
|
4570
|
+
)
|
|
4571
|
+
|
|
4572
|
+
async def get_action_reason(
|
|
4573
|
+
self,
|
|
4574
|
+
get_action_reason_request: "GetActionReasonRequest",
|
|
4575
|
+
*,
|
|
4576
|
+
timeout: Optional[float] = None,
|
|
4577
|
+
deadline: Optional["Deadline"] = None,
|
|
4578
|
+
metadata: Optional["MetadataLike"] = None
|
|
4579
|
+
) -> "GetActionReasonResponse":
|
|
4580
|
+
return await self._unary_unary(
|
|
4581
|
+
"/portal.v1.Workspace/GetActionReason",
|
|
4582
|
+
get_action_reason_request,
|
|
4583
|
+
GetActionReasonResponse,
|
|
4584
|
+
timeout=timeout,
|
|
4585
|
+
deadline=deadline,
|
|
4586
|
+
metadata=metadata,
|
|
4587
|
+
)
|
|
4588
|
+
|
|
4398
4589
|
async def get_images(
|
|
4399
4590
|
self,
|
|
4400
4591
|
get_images_request: "GetImagesRequest",
|
|
@@ -6003,52 +6194,52 @@ class DeployStub(betterproto.ServiceStub):
|
|
|
6003
6194
|
metadata=metadata,
|
|
6004
6195
|
)
|
|
6005
6196
|
|
|
6006
|
-
async def
|
|
6197
|
+
async def delete_deployment(
|
|
6007
6198
|
self,
|
|
6008
|
-
|
|
6199
|
+
delete_deployment_request: "DeleteDeploymentRequest",
|
|
6009
6200
|
*,
|
|
6010
6201
|
timeout: Optional[float] = None,
|
|
6011
6202
|
deadline: Optional["Deadline"] = None,
|
|
6012
6203
|
metadata: Optional["MetadataLike"] = None
|
|
6013
|
-
) -> "
|
|
6204
|
+
) -> "DeleteDeploymentResponse":
|
|
6014
6205
|
return await self._unary_unary(
|
|
6015
|
-
"/portal.v1.Deploy/
|
|
6016
|
-
|
|
6017
|
-
|
|
6206
|
+
"/portal.v1.Deploy/DeleteDeployment",
|
|
6207
|
+
delete_deployment_request,
|
|
6208
|
+
DeleteDeploymentResponse,
|
|
6018
6209
|
timeout=timeout,
|
|
6019
6210
|
deadline=deadline,
|
|
6020
6211
|
metadata=metadata,
|
|
6021
6212
|
)
|
|
6022
6213
|
|
|
6023
|
-
async def
|
|
6214
|
+
async def get_deployments(
|
|
6024
6215
|
self,
|
|
6025
|
-
|
|
6216
|
+
get_deployments_request: "GetDeploymentsRequest",
|
|
6026
6217
|
*,
|
|
6027
6218
|
timeout: Optional[float] = None,
|
|
6028
6219
|
deadline: Optional["Deadline"] = None,
|
|
6029
6220
|
metadata: Optional["MetadataLike"] = None
|
|
6030
|
-
) -> "
|
|
6221
|
+
) -> "GetDeploymentsResponse":
|
|
6031
6222
|
return await self._unary_unary(
|
|
6032
|
-
"/portal.v1.Deploy/
|
|
6033
|
-
|
|
6034
|
-
|
|
6223
|
+
"/portal.v1.Deploy/GetDeployments",
|
|
6224
|
+
get_deployments_request,
|
|
6225
|
+
GetDeploymentsResponse,
|
|
6035
6226
|
timeout=timeout,
|
|
6036
6227
|
deadline=deadline,
|
|
6037
6228
|
metadata=metadata,
|
|
6038
6229
|
)
|
|
6039
6230
|
|
|
6040
|
-
async def
|
|
6231
|
+
async def get_deployment(
|
|
6041
6232
|
self,
|
|
6042
|
-
|
|
6233
|
+
get_deployment_request: "GetDeploymentRequest",
|
|
6043
6234
|
*,
|
|
6044
6235
|
timeout: Optional[float] = None,
|
|
6045
6236
|
deadline: Optional["Deadline"] = None,
|
|
6046
6237
|
metadata: Optional["MetadataLike"] = None
|
|
6047
|
-
) -> "
|
|
6238
|
+
) -> "GetDeploymentResponse":
|
|
6048
6239
|
return await self._unary_unary(
|
|
6049
|
-
"/portal.v1.Deploy/
|
|
6050
|
-
|
|
6051
|
-
|
|
6240
|
+
"/portal.v1.Deploy/GetDeployment",
|
|
6241
|
+
get_deployment_request,
|
|
6242
|
+
GetDeploymentResponse,
|
|
6052
6243
|
timeout=timeout,
|
|
6053
6244
|
deadline=deadline,
|
|
6054
6245
|
metadata=metadata,
|
|
@@ -6062,6 +6253,11 @@ class WorkspaceBase(ServiceBase):
|
|
|
6062
6253
|
) -> "ActivateUserResponse":
|
|
6063
6254
|
raise grpclib.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
|
|
6064
6255
|
|
|
6256
|
+
async def decline_user(
|
|
6257
|
+
self, decline_user_request: "DeclineUserRequest"
|
|
6258
|
+
) -> "DeclineUserResponse":
|
|
6259
|
+
raise grpclib.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
|
|
6260
|
+
|
|
6065
6261
|
async def freeze_user(
|
|
6066
6262
|
self, freeze_user_request: "FreezeUserRequest"
|
|
6067
6263
|
) -> "FreezeUserResponse":
|
|
@@ -6143,6 +6339,11 @@ class WorkspaceBase(ServiceBase):
|
|
|
6143
6339
|
) -> "ActivateProjectResponse":
|
|
6144
6340
|
raise grpclib.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
|
|
6145
6341
|
|
|
6342
|
+
async def decline_project(
|
|
6343
|
+
self, decline_project_request: "DeclineProjectRequest"
|
|
6344
|
+
) -> "DeclineProjectResponse":
|
|
6345
|
+
raise grpclib.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
|
|
6346
|
+
|
|
6146
6347
|
async def freeze_project(
|
|
6147
6348
|
self, freeze_project_request: "FreezeProjectRequest"
|
|
6148
6349
|
) -> "FreezeProjectResponse":
|
|
@@ -6178,6 +6379,11 @@ class WorkspaceBase(ServiceBase):
|
|
|
6178
6379
|
) -> "ActivateOrganizationResponse":
|
|
6179
6380
|
raise grpclib.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
|
|
6180
6381
|
|
|
6382
|
+
async def decline_organization(
|
|
6383
|
+
self, decline_organization_request: "DeclineOrganizationRequest"
|
|
6384
|
+
) -> "DeclineOrganizationResponse":
|
|
6385
|
+
raise grpclib.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
|
|
6386
|
+
|
|
6181
6387
|
async def freeze_organization(
|
|
6182
6388
|
self, freeze_organization_request: "FreezeOrganizationRequest"
|
|
6183
6389
|
) -> "FreezeOrganizationResponse":
|
|
@@ -6327,6 +6533,16 @@ class WorkspaceBase(ServiceBase):
|
|
|
6327
6533
|
) -> "UpdateEntityTypeConfigurationsResponse":
|
|
6328
6534
|
raise grpclib.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
|
|
6329
6535
|
|
|
6536
|
+
async def list_action_reasons(
|
|
6537
|
+
self, list_action_reasons_request: "ListActionReasonsRequest"
|
|
6538
|
+
) -> "ListActionReasonsResponse":
|
|
6539
|
+
raise grpclib.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
|
|
6540
|
+
|
|
6541
|
+
async def get_action_reason(
|
|
6542
|
+
self, get_action_reason_request: "GetActionReasonRequest"
|
|
6543
|
+
) -> "GetActionReasonResponse":
|
|
6544
|
+
raise grpclib.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
|
|
6545
|
+
|
|
6330
6546
|
async def get_images(
|
|
6331
6547
|
self, get_images_request: "GetImagesRequest"
|
|
6332
6548
|
) -> "GetImagesResponse":
|
|
@@ -6362,6 +6578,13 @@ class WorkspaceBase(ServiceBase):
|
|
|
6362
6578
|
response = await self.activate_user(request)
|
|
6363
6579
|
await stream.send_message(response)
|
|
6364
6580
|
|
|
6581
|
+
async def __rpc_decline_user(
|
|
6582
|
+
self, stream: "grpclib.server.Stream[DeclineUserRequest, DeclineUserResponse]"
|
|
6583
|
+
) -> None:
|
|
6584
|
+
request = await stream.recv_message()
|
|
6585
|
+
response = await self.decline_user(request)
|
|
6586
|
+
await stream.send_message(response)
|
|
6587
|
+
|
|
6365
6588
|
async def __rpc_freeze_user(
|
|
6366
6589
|
self, stream: "grpclib.server.Stream[FreezeUserRequest, FreezeUserResponse]"
|
|
6367
6590
|
) -> None:
|
|
@@ -6489,6 +6712,14 @@ class WorkspaceBase(ServiceBase):
|
|
|
6489
6712
|
response = await self.activate_project(request)
|
|
6490
6713
|
await stream.send_message(response)
|
|
6491
6714
|
|
|
6715
|
+
async def __rpc_decline_project(
|
|
6716
|
+
self,
|
|
6717
|
+
stream: "grpclib.server.Stream[DeclineProjectRequest, DeclineProjectResponse]",
|
|
6718
|
+
) -> None:
|
|
6719
|
+
request = await stream.recv_message()
|
|
6720
|
+
response = await self.decline_project(request)
|
|
6721
|
+
await stream.send_message(response)
|
|
6722
|
+
|
|
6492
6723
|
async def __rpc_freeze_project(
|
|
6493
6724
|
self,
|
|
6494
6725
|
stream: "grpclib.server.Stream[FreezeProjectRequest, FreezeProjectResponse]",
|
|
@@ -6545,6 +6776,14 @@ class WorkspaceBase(ServiceBase):
|
|
|
6545
6776
|
response = await self.activate_organization(request)
|
|
6546
6777
|
await stream.send_message(response)
|
|
6547
6778
|
|
|
6779
|
+
async def __rpc_decline_organization(
|
|
6780
|
+
self,
|
|
6781
|
+
stream: "grpclib.server.Stream[DeclineOrganizationRequest, DeclineOrganizationResponse]",
|
|
6782
|
+
) -> None:
|
|
6783
|
+
request = await stream.recv_message()
|
|
6784
|
+
response = await self.decline_organization(request)
|
|
6785
|
+
await stream.send_message(response)
|
|
6786
|
+
|
|
6548
6787
|
async def __rpc_freeze_organization(
|
|
6549
6788
|
self,
|
|
6550
6789
|
stream: "grpclib.server.Stream[FreezeOrganizationRequest, FreezeOrganizationResponse]",
|
|
@@ -6775,6 +7014,22 @@ class WorkspaceBase(ServiceBase):
|
|
|
6775
7014
|
response = await self.update_entity_type_configurations(request)
|
|
6776
7015
|
await stream.send_message(response)
|
|
6777
7016
|
|
|
7017
|
+
async def __rpc_list_action_reasons(
|
|
7018
|
+
self,
|
|
7019
|
+
stream: "grpclib.server.Stream[ListActionReasonsRequest, ListActionReasonsResponse]",
|
|
7020
|
+
) -> None:
|
|
7021
|
+
request = await stream.recv_message()
|
|
7022
|
+
response = await self.list_action_reasons(request)
|
|
7023
|
+
await stream.send_message(response)
|
|
7024
|
+
|
|
7025
|
+
async def __rpc_get_action_reason(
|
|
7026
|
+
self,
|
|
7027
|
+
stream: "grpclib.server.Stream[GetActionReasonRequest, GetActionReasonResponse]",
|
|
7028
|
+
) -> None:
|
|
7029
|
+
request = await stream.recv_message()
|
|
7030
|
+
response = await self.get_action_reason(request)
|
|
7031
|
+
await stream.send_message(response)
|
|
7032
|
+
|
|
6778
7033
|
async def __rpc_get_images(
|
|
6779
7034
|
self, stream: "grpclib.server.Stream[GetImagesRequest, GetImagesResponse]"
|
|
6780
7035
|
) -> None:
|
|
@@ -6825,6 +7080,12 @@ class WorkspaceBase(ServiceBase):
|
|
|
6825
7080
|
ActivateUserRequest,
|
|
6826
7081
|
ActivateUserResponse,
|
|
6827
7082
|
),
|
|
7083
|
+
"/portal.v1.Workspace/DeclineUser": grpclib.const.Handler(
|
|
7084
|
+
self.__rpc_decline_user,
|
|
7085
|
+
grpclib.const.Cardinality.UNARY_UNARY,
|
|
7086
|
+
DeclineUserRequest,
|
|
7087
|
+
DeclineUserResponse,
|
|
7088
|
+
),
|
|
6828
7089
|
"/portal.v1.Workspace/FreezeUser": grpclib.const.Handler(
|
|
6829
7090
|
self.__rpc_freeze_user,
|
|
6830
7091
|
grpclib.const.Cardinality.UNARY_UNARY,
|
|
@@ -6927,6 +7188,12 @@ class WorkspaceBase(ServiceBase):
|
|
|
6927
7188
|
ActivateProjectRequest,
|
|
6928
7189
|
ActivateProjectResponse,
|
|
6929
7190
|
),
|
|
7191
|
+
"/portal.v1.Workspace/DeclineProject": grpclib.const.Handler(
|
|
7192
|
+
self.__rpc_decline_project,
|
|
7193
|
+
grpclib.const.Cardinality.UNARY_UNARY,
|
|
7194
|
+
DeclineProjectRequest,
|
|
7195
|
+
DeclineProjectResponse,
|
|
7196
|
+
),
|
|
6930
7197
|
"/portal.v1.Workspace/FreezeProject": grpclib.const.Handler(
|
|
6931
7198
|
self.__rpc_freeze_project,
|
|
6932
7199
|
grpclib.const.Cardinality.UNARY_UNARY,
|
|
@@ -6969,6 +7236,12 @@ class WorkspaceBase(ServiceBase):
|
|
|
6969
7236
|
ActivateOrganizationRequest,
|
|
6970
7237
|
ActivateOrganizationResponse,
|
|
6971
7238
|
),
|
|
7239
|
+
"/portal.v1.Workspace/DeclineOrganization": grpclib.const.Handler(
|
|
7240
|
+
self.__rpc_decline_organization,
|
|
7241
|
+
grpclib.const.Cardinality.UNARY_UNARY,
|
|
7242
|
+
DeclineOrganizationRequest,
|
|
7243
|
+
DeclineOrganizationResponse,
|
|
7244
|
+
),
|
|
6972
7245
|
"/portal.v1.Workspace/FreezeOrganization": grpclib.const.Handler(
|
|
6973
7246
|
self.__rpc_freeze_organization,
|
|
6974
7247
|
grpclib.const.Cardinality.UNARY_UNARY,
|
|
@@ -7143,6 +7416,18 @@ class WorkspaceBase(ServiceBase):
|
|
|
7143
7416
|
UpdateEntityTypeConfigurationsRequest,
|
|
7144
7417
|
UpdateEntityTypeConfigurationsResponse,
|
|
7145
7418
|
),
|
|
7419
|
+
"/portal.v1.Workspace/ListActionReasons": grpclib.const.Handler(
|
|
7420
|
+
self.__rpc_list_action_reasons,
|
|
7421
|
+
grpclib.const.Cardinality.UNARY_UNARY,
|
|
7422
|
+
ListActionReasonsRequest,
|
|
7423
|
+
ListActionReasonsResponse,
|
|
7424
|
+
),
|
|
7425
|
+
"/portal.v1.Workspace/GetActionReason": grpclib.const.Handler(
|
|
7426
|
+
self.__rpc_get_action_reason,
|
|
7427
|
+
grpclib.const.Cardinality.UNARY_UNARY,
|
|
7428
|
+
GetActionReasonRequest,
|
|
7429
|
+
GetActionReasonResponse,
|
|
7430
|
+
),
|
|
7146
7431
|
"/portal.v1.Workspace/GetImages": grpclib.const.Handler(
|
|
7147
7432
|
self.__rpc_get_images,
|
|
7148
7433
|
grpclib.const.Cardinality.UNARY_UNARY,
|
|
@@ -8836,19 +9121,19 @@ class DeployBase(ServiceBase):
|
|
|
8836
9121
|
) -> "CreateDeploymentResponse":
|
|
8837
9122
|
raise grpclib.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
|
|
8838
9123
|
|
|
8839
|
-
async def
|
|
8840
|
-
self,
|
|
8841
|
-
) -> "
|
|
9124
|
+
async def delete_deployment(
|
|
9125
|
+
self, delete_deployment_request: "DeleteDeploymentRequest"
|
|
9126
|
+
) -> "DeleteDeploymentResponse":
|
|
8842
9127
|
raise grpclib.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
|
|
8843
9128
|
|
|
8844
|
-
async def
|
|
8845
|
-
self,
|
|
8846
|
-
) -> "
|
|
9129
|
+
async def get_deployments(
|
|
9130
|
+
self, get_deployments_request: "GetDeploymentsRequest"
|
|
9131
|
+
) -> "GetDeploymentsResponse":
|
|
8847
9132
|
raise grpclib.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
|
|
8848
9133
|
|
|
8849
|
-
async def
|
|
8850
|
-
self,
|
|
8851
|
-
) -> "
|
|
9134
|
+
async def get_deployment(
|
|
9135
|
+
self, get_deployment_request: "GetDeploymentRequest"
|
|
9136
|
+
) -> "GetDeploymentResponse":
|
|
8852
9137
|
raise grpclib.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
|
|
8853
9138
|
|
|
8854
9139
|
async def __rpc_create_deployment(
|
|
@@ -8859,28 +9144,28 @@ class DeployBase(ServiceBase):
|
|
|
8859
9144
|
response = await self.create_deployment(request)
|
|
8860
9145
|
await stream.send_message(response)
|
|
8861
9146
|
|
|
8862
|
-
async def
|
|
9147
|
+
async def __rpc_delete_deployment(
|
|
8863
9148
|
self,
|
|
8864
|
-
stream: "grpclib.server.Stream[
|
|
9149
|
+
stream: "grpclib.server.Stream[DeleteDeploymentRequest, DeleteDeploymentResponse]",
|
|
8865
9150
|
) -> None:
|
|
8866
9151
|
request = await stream.recv_message()
|
|
8867
|
-
response = await self.
|
|
9152
|
+
response = await self.delete_deployment(request)
|
|
8868
9153
|
await stream.send_message(response)
|
|
8869
9154
|
|
|
8870
|
-
async def
|
|
9155
|
+
async def __rpc_get_deployments(
|
|
8871
9156
|
self,
|
|
8872
|
-
stream: "grpclib.server.Stream[
|
|
9157
|
+
stream: "grpclib.server.Stream[GetDeploymentsRequest, GetDeploymentsResponse]",
|
|
8873
9158
|
) -> None:
|
|
8874
9159
|
request = await stream.recv_message()
|
|
8875
|
-
response = await self.
|
|
9160
|
+
response = await self.get_deployments(request)
|
|
8876
9161
|
await stream.send_message(response)
|
|
8877
9162
|
|
|
8878
|
-
async def
|
|
9163
|
+
async def __rpc_get_deployment(
|
|
8879
9164
|
self,
|
|
8880
|
-
stream: "grpclib.server.Stream[
|
|
9165
|
+
stream: "grpclib.server.Stream[GetDeploymentRequest, GetDeploymentResponse]",
|
|
8881
9166
|
) -> None:
|
|
8882
9167
|
request = await stream.recv_message()
|
|
8883
|
-
response = await self.
|
|
9168
|
+
response = await self.get_deployment(request)
|
|
8884
9169
|
await stream.send_message(response)
|
|
8885
9170
|
|
|
8886
9171
|
def __mapping__(self) -> Dict[str, grpclib.const.Handler]:
|
|
@@ -8891,22 +9176,22 @@ class DeployBase(ServiceBase):
|
|
|
8891
9176
|
CreateDeploymentRequest,
|
|
8892
9177
|
CreateDeploymentResponse,
|
|
8893
9178
|
),
|
|
8894
|
-
"/portal.v1.Deploy/
|
|
8895
|
-
self.
|
|
9179
|
+
"/portal.v1.Deploy/DeleteDeployment": grpclib.const.Handler(
|
|
9180
|
+
self.__rpc_delete_deployment,
|
|
8896
9181
|
grpclib.const.Cardinality.UNARY_UNARY,
|
|
8897
|
-
|
|
8898
|
-
|
|
9182
|
+
DeleteDeploymentRequest,
|
|
9183
|
+
DeleteDeploymentResponse,
|
|
8899
9184
|
),
|
|
8900
|
-
"/portal.v1.Deploy/
|
|
8901
|
-
self.
|
|
9185
|
+
"/portal.v1.Deploy/GetDeployments": grpclib.const.Handler(
|
|
9186
|
+
self.__rpc_get_deployments,
|
|
8902
9187
|
grpclib.const.Cardinality.UNARY_UNARY,
|
|
8903
|
-
|
|
8904
|
-
|
|
9188
|
+
GetDeploymentsRequest,
|
|
9189
|
+
GetDeploymentsResponse,
|
|
8905
9190
|
),
|
|
8906
|
-
"/portal.v1.Deploy/
|
|
8907
|
-
self.
|
|
9191
|
+
"/portal.v1.Deploy/GetDeployment": grpclib.const.Handler(
|
|
9192
|
+
self.__rpc_get_deployment,
|
|
8908
9193
|
grpclib.const.Cardinality.UNARY_UNARY,
|
|
8909
|
-
|
|
8910
|
-
|
|
9194
|
+
GetDeploymentRequest,
|
|
9195
|
+
GetDeploymentResponse,
|
|
8911
9196
|
),
|
|
8912
9197
|
}
|
|
@@ -41,6 +41,7 @@ class Isa(betterproto.Enum):
|
|
|
41
41
|
class MemoryType(betterproto.Enum):
|
|
42
42
|
DDR3 = 0
|
|
43
43
|
DDR4 = 1
|
|
44
|
+
DDR5 = 2
|
|
44
45
|
|
|
45
46
|
|
|
46
47
|
class NicModel(betterproto.Enum):
|
|
@@ -307,6 +308,8 @@ class Capability(betterproto.Enum):
|
|
|
307
308
|
ControllablePowerCapability = 6
|
|
308
309
|
XpImagableCapability = 7
|
|
309
310
|
XpConfigurableCapability = 8
|
|
311
|
+
BorderGatewayCapability = 9
|
|
312
|
+
"""maybe serial console?"""
|
|
310
313
|
|
|
311
314
|
|
|
312
315
|
class LinkRole(betterproto.Enum):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mergetbapi-1.4.0 → mergetbapi-1.4.2}/mergetbapi/grpc/gateway/protoc_gen_openapiv2/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|