@@ -24,6 +24,11 @@ def __init__(self, channel):
24
24
request_serializer = core__pb2 .AddPodOptions .SerializeToString ,
25
25
response_deserializer = core__pb2 .Pod .FromString ,
26
26
)
27
+ self .RemovePod = channel .unary_unary (
28
+ '/pb.CoreRPC/RemovePod' ,
29
+ request_serializer = core__pb2 .RemovePodOptions .SerializeToString ,
30
+ response_deserializer = core__pb2 .Empty .FromString ,
31
+ )
27
32
self .GetPod = channel .unary_unary (
28
33
'/pb.CoreRPC/GetPod' ,
29
34
request_serializer = core__pb2 .GetPodOptions .SerializeToString ,
@@ -124,6 +129,13 @@ def AddPod(self, request, context):
124
129
context .set_details ('Method not implemented!' )
125
130
raise NotImplementedError ('Method not implemented!' )
126
131
132
+ def RemovePod (self , request , context ):
133
+ # missing associated documentation comment in .proto file
134
+ pass
135
+ context .set_code (grpc .StatusCode .UNIMPLEMENTED )
136
+ context .set_details ('Method not implemented!' )
137
+ raise NotImplementedError ('Method not implemented!' )
138
+
127
139
def GetPod (self , request , context ):
128
140
# missing associated documentation comment in .proto file
129
141
pass
@@ -249,6 +261,11 @@ def add_CoreRPCServicer_to_server(servicer, server):
249
261
request_deserializer = core__pb2 .AddPodOptions .FromString ,
250
262
response_serializer = core__pb2 .Pod .SerializeToString ,
251
263
),
264
+ 'RemovePod' : grpc .unary_unary_rpc_method_handler (
265
+ servicer .RemovePod ,
266
+ request_deserializer = core__pb2 .RemovePodOptions .FromString ,
267
+ response_serializer = core__pb2 .Empty .SerializeToString ,
268
+ ),
252
269
'GetPod' : grpc .unary_unary_rpc_method_handler (
253
270
servicer .GetPod ,
254
271
request_deserializer = core__pb2 .GetPodOptions .FromString ,
0 commit comments