| 1 |
f6a32ea |
Dawsh |
2y ago |
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! |
| 2 |
f6a32ea |
Dawsh |
2y ago |
"""Client and server classes corresponding to protobuf-defined services.""" |
| 3 |
f6a32ea |
Dawsh |
2y ago |
import grpc |
| 4 |
f6a32ea |
Dawsh |
2y ago |
|
| 5 |
f6a32ea |
Dawsh |
2y ago |
from app.marznode import marznode_pb2 as app_dot_marznode_dot_marznode__pb2 |
| 6 |
f6a32ea |
Dawsh |
2y ago |
|
| 7 |
f6a32ea |
Dawsh |
2y ago |
|
| 8 |
f6a32ea |
Dawsh |
2y ago |
class MarzServiceStub(object): |
| 9 |
f6a32ea |
Dawsh |
2y ago |
"""Missing associated documentation comment in .proto file.""" |
| 10 |
f6a32ea |
Dawsh |
2y ago |
|
| 11 |
f6a32ea |
Dawsh |
2y ago |
def __init__(self, channel): |
| 12 |
f6a32ea |
Dawsh |
2y ago |
"""Constructor. |
| 13 |
f6a32ea |
Dawsh |
2y ago |
|
| 14 |
f6a32ea |
Dawsh |
2y ago |
Args: |
| 15 |
f6a32ea |
Dawsh |
2y ago |
channel: A grpc.Channel. |
| 16 |
f6a32ea |
Dawsh |
2y ago |
""" |
| 17 |
f6a32ea |
Dawsh |
2y ago |
self.SyncUsers = channel.stream_unary( |
| 18 |
f6a32ea |
Dawsh |
2y ago |
'/marznode.MarzService/SyncUsers', |
| 19 |
f6a32ea |
Dawsh |
2y ago |
request_serializer=app_dot_marznode_dot_marznode__pb2.UserData.SerializeToString, |
| 20 |
f6a32ea |
Dawsh |
2y ago |
response_deserializer=app_dot_marznode_dot_marznode__pb2.Empty.FromString, |
| 21 |
f6a32ea |
Dawsh |
2y ago |
) |
| 22 |
f6a32ea |
Dawsh |
2y ago |
self.RepopulateUsers = channel.unary_unary( |
| 23 |
f6a32ea |
Dawsh |
2y ago |
'/marznode.MarzService/RepopulateUsers', |
| 24 |
f6a32ea |
Dawsh |
2y ago |
request_serializer=app_dot_marznode_dot_marznode__pb2.UsersData.SerializeToString, |
| 25 |
f6a32ea |
Dawsh |
2y ago |
response_deserializer=app_dot_marznode_dot_marznode__pb2.Empty.FromString, |
| 26 |
f6a32ea |
Dawsh |
2y ago |
) |
| 27 |
f6a32ea |
Dawsh |
2y ago |
self.FetchInbounds = channel.unary_unary( |
| 28 |
f6a32ea |
Dawsh |
2y ago |
'/marznode.MarzService/FetchInbounds', |
| 29 |
f6a32ea |
Dawsh |
2y ago |
request_serializer=app_dot_marznode_dot_marznode__pb2.Empty.SerializeToString, |
| 30 |
f6a32ea |
Dawsh |
2y ago |
response_deserializer=app_dot_marznode_dot_marznode__pb2.InboundsResponse.FromString, |
| 31 |
f6a32ea |
Dawsh |
2y ago |
) |
| 32 |
f6a32ea |
Dawsh |
2y ago |
self.FetchUsersStats = channel.unary_unary( |
| 33 |
f6a32ea |
Dawsh |
2y ago |
'/marznode.MarzService/FetchUsersStats', |
| 34 |
f6a32ea |
Dawsh |
2y ago |
request_serializer=app_dot_marznode_dot_marznode__pb2.Empty.SerializeToString, |
| 35 |
f6a32ea |
Dawsh |
2y ago |
response_deserializer=app_dot_marznode_dot_marznode__pb2.UsersStats.FromString, |
| 36 |
f6a32ea |
Dawsh |
2y ago |
) |
| 37 |
512d183 |
Mrdn |
2y ago |
self.FetchXrayConfig = channel.unary_unary( |
| 38 |
512d183 |
Mrdn |
2y ago |
'/marznode.MarzService/FetchXrayConfig', |
| 39 |
512d183 |
Mrdn |
2y ago |
request_serializer=app_dot_marznode_dot_marznode__pb2.Empty.SerializeToString, |
| 40 |
512d183 |
Mrdn |
2y ago |
response_deserializer=app_dot_marznode_dot_marznode__pb2.XrayConfig.FromString, |
| 41 |
512d183 |
Mrdn |
2y ago |
) |
| 42 |
512d183 |
Mrdn |
2y ago |
self.RestartXray = channel.unary_unary( |
| 43 |
512d183 |
Mrdn |
2y ago |
'/marznode.MarzService/RestartXray', |
| 44 |
512d183 |
Mrdn |
2y ago |
request_serializer=app_dot_marznode_dot_marznode__pb2.XrayConfig.SerializeToString, |
| 45 |
512d183 |
Mrdn |
2y ago |
response_deserializer=app_dot_marznode_dot_marznode__pb2.InboundsResponse.FromString, |
| 46 |
512d183 |
Mrdn |
2y ago |
) |
| 47 |
512d183 |
Mrdn |
2y ago |
self.StreamXrayLogs = channel.unary_stream( |
| 48 |
512d183 |
Mrdn |
2y ago |
'/marznode.MarzService/StreamXrayLogs', |
| 49 |
512d183 |
Mrdn |
2y ago |
request_serializer=app_dot_marznode_dot_marznode__pb2.XrayLogsRequest.SerializeToString, |
| 50 |
512d183 |
Mrdn |
2y ago |
response_deserializer=app_dot_marznode_dot_marznode__pb2.LogLine.FromString, |
| 51 |
512d183 |
Mrdn |
2y ago |
) |
| 52 |
f6a32ea |
Dawsh |
2y ago |
|
| 53 |
f6a32ea |
Dawsh |
2y ago |
|
| 54 |
f6a32ea |
Dawsh |
2y ago |
class MarzServiceServicer(object): |
| 55 |
f6a32ea |
Dawsh |
2y ago |
"""Missing associated documentation comment in .proto file.""" |
| 56 |
f6a32ea |
Dawsh |
2y ago |
|
| 57 |
f6a32ea |
Dawsh |
2y ago |
def SyncUsers(self, request_iterator, context): |
| 58 |
f6a32ea |
Dawsh |
2y ago |
"""Missing associated documentation comment in .proto file.""" |
| 59 |
f6a32ea |
Dawsh |
2y ago |
context.set_code(grpc.StatusCode.UNIMPLEMENTED) |
| 60 |
f6a32ea |
Dawsh |
2y ago |
context.set_details('Method not implemented!') |
| 61 |
f6a32ea |
Dawsh |
2y ago |
raise NotImplementedError('Method not implemented!') |
| 62 |
f6a32ea |
Dawsh |
2y ago |
|
| 63 |
f6a32ea |
Dawsh |
2y ago |
def RepopulateUsers(self, request, context): |
| 64 |
f6a32ea |
Dawsh |
2y ago |
"""Missing associated documentation comment in .proto file.""" |
| 65 |
f6a32ea |
Dawsh |
2y ago |
context.set_code(grpc.StatusCode.UNIMPLEMENTED) |
| 66 |
f6a32ea |
Dawsh |
2y ago |
context.set_details('Method not implemented!') |
| 67 |
f6a32ea |
Dawsh |
2y ago |
raise NotImplementedError('Method not implemented!') |
| 68 |
f6a32ea |
Dawsh |
2y ago |
|
| 69 |
f6a32ea |
Dawsh |
2y ago |
def FetchInbounds(self, request, context): |
| 70 |
f6a32ea |
Dawsh |
2y ago |
"""Missing associated documentation comment in .proto file.""" |
| 71 |
f6a32ea |
Dawsh |
2y ago |
context.set_code(grpc.StatusCode.UNIMPLEMENTED) |
| 72 |
f6a32ea |
Dawsh |
2y ago |
context.set_details('Method not implemented!') |
| 73 |
f6a32ea |
Dawsh |
2y ago |
raise NotImplementedError('Method not implemented!') |
| 74 |
f6a32ea |
Dawsh |
2y ago |
|
| 75 |
f6a32ea |
Dawsh |
2y ago |
def FetchUsersStats(self, request, context): |
| 76 |
f6a32ea |
Dawsh |
2y ago |
"""Missing associated documentation comment in .proto file.""" |
| 77 |
f6a32ea |
Dawsh |
2y ago |
context.set_code(grpc.StatusCode.UNIMPLEMENTED) |
| 78 |
f6a32ea |
Dawsh |
2y ago |
context.set_details('Method not implemented!') |
| 79 |
f6a32ea |
Dawsh |
2y ago |
raise NotImplementedError('Method not implemented!') |
| 80 |
f6a32ea |
Dawsh |
2y ago |
|
| 81 |
512d183 |
Mrdn |
2y ago |
def FetchXrayConfig(self, request, context): |
| 82 |
512d183 |
Mrdn |
2y ago |
"""Missing associated documentation comment in .proto file.""" |
| 83 |
512d183 |
Mrdn |
2y ago |
context.set_code(grpc.StatusCode.UNIMPLEMENTED) |
| 84 |
512d183 |
Mrdn |
2y ago |
context.set_details('Method not implemented!') |
| 85 |
512d183 |
Mrdn |
2y ago |
raise NotImplementedError('Method not implemented!') |
| 86 |
512d183 |
Mrdn |
2y ago |
|
| 87 |
512d183 |
Mrdn |
2y ago |
def RestartXray(self, request, context): |
| 88 |
512d183 |
Mrdn |
2y ago |
"""Missing associated documentation comment in .proto file.""" |
| 89 |
512d183 |
Mrdn |
2y ago |
context.set_code(grpc.StatusCode.UNIMPLEMENTED) |
| 90 |
512d183 |
Mrdn |
2y ago |
context.set_details('Method not implemented!') |
| 91 |
512d183 |
Mrdn |
2y ago |
raise NotImplementedError('Method not implemented!') |
| 92 |
512d183 |
Mrdn |
2y ago |
|
| 93 |
512d183 |
Mrdn |
2y ago |
def StreamXrayLogs(self, request, context): |
| 94 |
512d183 |
Mrdn |
2y ago |
"""Missing associated documentation comment in .proto file.""" |
| 95 |
512d183 |
Mrdn |
2y ago |
context.set_code(grpc.StatusCode.UNIMPLEMENTED) |
| 96 |
512d183 |
Mrdn |
2y ago |
context.set_details('Method not implemented!') |
| 97 |
512d183 |
Mrdn |
2y ago |
raise NotImplementedError('Method not implemented!') |
| 98 |
512d183 |
Mrdn |
2y ago |
|
| 99 |
f6a32ea |
Dawsh |
2y ago |
|
| 100 |
f6a32ea |
Dawsh |
2y ago |
def add_MarzServiceServicer_to_server(servicer, server): |
| 101 |
f6a32ea |
Dawsh |
2y ago |
rpc_method_handlers = { |
| 102 |
f6a32ea |
Dawsh |
2y ago |
'SyncUsers': grpc.stream_unary_rpc_method_handler( |
| 103 |
f6a32ea |
Dawsh |
2y ago |
servicer.SyncUsers, |
| 104 |
f6a32ea |
Dawsh |
2y ago |
request_deserializer=app_dot_marznode_dot_marznode__pb2.UserData.FromString, |
| 105 |
f6a32ea |
Dawsh |
2y ago |
response_serializer=app_dot_marznode_dot_marznode__pb2.Empty.SerializeToString, |
| 106 |
f6a32ea |
Dawsh |
2y ago |
), |
| 107 |
f6a32ea |
Dawsh |
2y ago |
'RepopulateUsers': grpc.unary_unary_rpc_method_handler( |
| 108 |
f6a32ea |
Dawsh |
2y ago |
servicer.RepopulateUsers, |
| 109 |
f6a32ea |
Dawsh |
2y ago |
request_deserializer=app_dot_marznode_dot_marznode__pb2.UsersData.FromString, |
| 110 |
f6a32ea |
Dawsh |
2y ago |
response_serializer=app_dot_marznode_dot_marznode__pb2.Empty.SerializeToString, |
| 111 |
f6a32ea |
Dawsh |
2y ago |
), |
| 112 |
f6a32ea |
Dawsh |
2y ago |
'FetchInbounds': grpc.unary_unary_rpc_method_handler( |
| 113 |
f6a32ea |
Dawsh |
2y ago |
servicer.FetchInbounds, |
| 114 |
f6a32ea |
Dawsh |
2y ago |
request_deserializer=app_dot_marznode_dot_marznode__pb2.Empty.FromString, |
| 115 |
f6a32ea |
Dawsh |
2y ago |
response_serializer=app_dot_marznode_dot_marznode__pb2.InboundsResponse.SerializeToString, |
| 116 |
f6a32ea |
Dawsh |
2y ago |
), |
| 117 |
f6a32ea |
Dawsh |
2y ago |
'FetchUsersStats': grpc.unary_unary_rpc_method_handler( |
| 118 |
f6a32ea |
Dawsh |
2y ago |
servicer.FetchUsersStats, |
| 119 |
f6a32ea |
Dawsh |
2y ago |
request_deserializer=app_dot_marznode_dot_marznode__pb2.Empty.FromString, |
| 120 |
f6a32ea |
Dawsh |
2y ago |
response_serializer=app_dot_marznode_dot_marznode__pb2.UsersStats.SerializeToString, |
| 121 |
f6a32ea |
Dawsh |
2y ago |
), |
| 122 |
512d183 |
Mrdn |
2y ago |
'FetchXrayConfig': grpc.unary_unary_rpc_method_handler( |
| 123 |
512d183 |
Mrdn |
2y ago |
servicer.FetchXrayConfig, |
| 124 |
512d183 |
Mrdn |
2y ago |
request_deserializer=app_dot_marznode_dot_marznode__pb2.Empty.FromString, |
| 125 |
512d183 |
Mrdn |
2y ago |
response_serializer=app_dot_marznode_dot_marznode__pb2.XrayConfig.SerializeToString, |
| 126 |
512d183 |
Mrdn |
2y ago |
), |
| 127 |
512d183 |
Mrdn |
2y ago |
'RestartXray': grpc.unary_unary_rpc_method_handler( |
| 128 |
512d183 |
Mrdn |
2y ago |
servicer.RestartXray, |
| 129 |
512d183 |
Mrdn |
2y ago |
request_deserializer=app_dot_marznode_dot_marznode__pb2.XrayConfig.FromString, |
| 130 |
512d183 |
Mrdn |
2y ago |
response_serializer=app_dot_marznode_dot_marznode__pb2.InboundsResponse.SerializeToString, |
| 131 |
512d183 |
Mrdn |
2y ago |
), |
| 132 |
512d183 |
Mrdn |
2y ago |
'StreamXrayLogs': grpc.unary_stream_rpc_method_handler( |
| 133 |
512d183 |
Mrdn |
2y ago |
servicer.StreamXrayLogs, |
| 134 |
512d183 |
Mrdn |
2y ago |
request_deserializer=app_dot_marznode_dot_marznode__pb2.XrayLogsRequest.FromString, |
| 135 |
512d183 |
Mrdn |
2y ago |
response_serializer=app_dot_marznode_dot_marznode__pb2.LogLine.SerializeToString, |
| 136 |
512d183 |
Mrdn |
2y ago |
), |
| 137 |
f6a32ea |
Dawsh |
2y ago |
} |
| 138 |
f6a32ea |
Dawsh |
2y ago |
generic_handler = grpc.method_handlers_generic_handler( |
| 139 |
f6a32ea |
Dawsh |
2y ago |
'marznode.MarzService', rpc_method_handlers) |
| 140 |
f6a32ea |
Dawsh |
2y ago |
server.add_generic_rpc_handlers((generic_handler,)) |
| 141 |
f6a32ea |
Dawsh |
2y ago |
|
| 142 |
f6a32ea |
Dawsh |
2y ago |
|
| 143 |
f6a32ea |
Dawsh |
2y ago |
# This class is part of an EXPERIMENTAL API. |
| 144 |
f6a32ea |
Dawsh |
2y ago |
class MarzService(object): |
| 145 |
f6a32ea |
Dawsh |
2y ago |
"""Missing associated documentation comment in .proto file.""" |
| 146 |
f6a32ea |
Dawsh |
2y ago |
|
| 147 |
f6a32ea |
Dawsh |
2y ago |
@staticmethod |
| 148 |
f6a32ea |
Dawsh |
2y ago |
def SyncUsers(request_iterator, |
| 149 |
f6a32ea |
Dawsh |
2y ago |
target, |
| 150 |
f6a32ea |
Dawsh |
2y ago |
options=(), |
| 151 |
f6a32ea |
Dawsh |
2y ago |
channel_credentials=None, |
| 152 |
f6a32ea |
Dawsh |
2y ago |
call_credentials=None, |
| 153 |
f6a32ea |
Dawsh |
2y ago |
insecure=False, |
| 154 |
f6a32ea |
Dawsh |
2y ago |
compression=None, |
| 155 |
f6a32ea |
Dawsh |
2y ago |
wait_for_ready=None, |
| 156 |
f6a32ea |
Dawsh |
2y ago |
timeout=None, |
| 157 |
f6a32ea |
Dawsh |
2y ago |
metadata=None): |
| 158 |
f6a32ea |
Dawsh |
2y ago |
return grpc.experimental.stream_unary(request_iterator, target, '/marznode.MarzService/SyncUsers', |
| 159 |
f6a32ea |
Dawsh |
2y ago |
app_dot_marznode_dot_marznode__pb2.UserData.SerializeToString, |
| 160 |
f6a32ea |
Dawsh |
2y ago |
app_dot_marznode_dot_marznode__pb2.Empty.FromString, |
| 161 |
f6a32ea |
Dawsh |
2y ago |
options, channel_credentials, |
| 162 |
f6a32ea |
Dawsh |
2y ago |
insecure, call_credentials, compression, wait_for_ready, timeout, metadata) |
| 163 |
f6a32ea |
Dawsh |
2y ago |
|
| 164 |
f6a32ea |
Dawsh |
2y ago |
@staticmethod |
| 165 |
f6a32ea |
Dawsh |
2y ago |
def RepopulateUsers(request, |
| 166 |
f6a32ea |
Dawsh |
2y ago |
target, |
| 167 |
f6a32ea |
Dawsh |
2y ago |
options=(), |
| 168 |
f6a32ea |
Dawsh |
2y ago |
channel_credentials=None, |
| 169 |
f6a32ea |
Dawsh |
2y ago |
call_credentials=None, |
| 170 |
f6a32ea |
Dawsh |
2y ago |
insecure=False, |
| 171 |
f6a32ea |
Dawsh |
2y ago |
compression=None, |
| 172 |
f6a32ea |
Dawsh |
2y ago |
wait_for_ready=None, |
| 173 |
f6a32ea |
Dawsh |
2y ago |
timeout=None, |
| 174 |
f6a32ea |
Dawsh |
2y ago |
metadata=None): |
| 175 |
f6a32ea |
Dawsh |
2y ago |
return grpc.experimental.unary_unary(request, target, '/marznode.MarzService/RepopulateUsers', |
| 176 |
f6a32ea |
Dawsh |
2y ago |
app_dot_marznode_dot_marznode__pb2.UsersData.SerializeToString, |
| 177 |
f6a32ea |
Dawsh |
2y ago |
app_dot_marznode_dot_marznode__pb2.Empty.FromString, |
| 178 |
f6a32ea |
Dawsh |
2y ago |
options, channel_credentials, |
| 179 |
f6a32ea |
Dawsh |
2y ago |
insecure, call_credentials, compression, wait_for_ready, timeout, metadata) |
| 180 |
f6a32ea |
Dawsh |
2y ago |
|
| 181 |
f6a32ea |
Dawsh |
2y ago |
@staticmethod |
| 182 |
f6a32ea |
Dawsh |
2y ago |
def FetchInbounds(request, |
| 183 |
f6a32ea |
Dawsh |
2y ago |
target, |
| 184 |
f6a32ea |
Dawsh |
2y ago |
options=(), |
| 185 |
f6a32ea |
Dawsh |
2y ago |
channel_credentials=None, |
| 186 |
f6a32ea |
Dawsh |
2y ago |
call_credentials=None, |
| 187 |
f6a32ea |
Dawsh |
2y ago |
insecure=False, |
| 188 |
f6a32ea |
Dawsh |
2y ago |
compression=None, |
| 189 |
f6a32ea |
Dawsh |
2y ago |
wait_for_ready=None, |
| 190 |
f6a32ea |
Dawsh |
2y ago |
timeout=None, |
| 191 |
f6a32ea |
Dawsh |
2y ago |
metadata=None): |
| 192 |
f6a32ea |
Dawsh |
2y ago |
return grpc.experimental.unary_unary(request, target, '/marznode.MarzService/FetchInbounds', |
| 193 |
f6a32ea |
Dawsh |
2y ago |
app_dot_marznode_dot_marznode__pb2.Empty.SerializeToString, |
| 194 |
f6a32ea |
Dawsh |
2y ago |
app_dot_marznode_dot_marznode__pb2.InboundsResponse.FromString, |
| 195 |
f6a32ea |
Dawsh |
2y ago |
options, channel_credentials, |
| 196 |
f6a32ea |
Dawsh |
2y ago |
insecure, call_credentials, compression, wait_for_ready, timeout, metadata) |
| 197 |
f6a32ea |
Dawsh |
2y ago |
|
| 198 |
f6a32ea |
Dawsh |
2y ago |
@staticmethod |
| 199 |
f6a32ea |
Dawsh |
2y ago |
def FetchUsersStats(request, |
| 200 |
f6a32ea |
Dawsh |
2y ago |
target, |
| 201 |
f6a32ea |
Dawsh |
2y ago |
options=(), |
| 202 |
f6a32ea |
Dawsh |
2y ago |
channel_credentials=None, |
| 203 |
f6a32ea |
Dawsh |
2y ago |
call_credentials=None, |
| 204 |
f6a32ea |
Dawsh |
2y ago |
insecure=False, |
| 205 |
f6a32ea |
Dawsh |
2y ago |
compression=None, |
| 206 |
f6a32ea |
Dawsh |
2y ago |
wait_for_ready=None, |
| 207 |
f6a32ea |
Dawsh |
2y ago |
timeout=None, |
| 208 |
f6a32ea |
Dawsh |
2y ago |
metadata=None): |
| 209 |
f6a32ea |
Dawsh |
2y ago |
return grpc.experimental.unary_unary(request, target, '/marznode.MarzService/FetchUsersStats', |
| 210 |
f6a32ea |
Dawsh |
2y ago |
app_dot_marznode_dot_marznode__pb2.Empty.SerializeToString, |
| 211 |
f6a32ea |
Dawsh |
2y ago |
app_dot_marznode_dot_marznode__pb2.UsersStats.FromString, |
| 212 |
f6a32ea |
Dawsh |
2y ago |
options, channel_credentials, |
| 213 |
f6a32ea |
Dawsh |
2y ago |
insecure, call_credentials, compression, wait_for_ready, timeout, metadata) |
| 214 |
512d183 |
Mrdn |
2y ago |
|
| 215 |
512d183 |
Mrdn |
2y ago |
@staticmethod |
| 216 |
512d183 |
Mrdn |
2y ago |
def FetchXrayConfig(request, |
| 217 |
512d183 |
Mrdn |
2y ago |
target, |
| 218 |
512d183 |
Mrdn |
2y ago |
options=(), |
| 219 |
512d183 |
Mrdn |
2y ago |
channel_credentials=None, |
| 220 |
512d183 |
Mrdn |
2y ago |
call_credentials=None, |
| 221 |
512d183 |
Mrdn |
2y ago |
insecure=False, |
| 222 |
512d183 |
Mrdn |
2y ago |
compression=None, |
| 223 |
512d183 |
Mrdn |
2y ago |
wait_for_ready=None, |
| 224 |
512d183 |
Mrdn |
2y ago |
timeout=None, |
| 225 |
512d183 |
Mrdn |
2y ago |
metadata=None): |
| 226 |
512d183 |
Mrdn |
2y ago |
return grpc.experimental.unary_unary(request, target, '/marznode.MarzService/FetchXrayConfig', |
| 227 |
512d183 |
Mrdn |
2y ago |
app_dot_marznode_dot_marznode__pb2.Empty.SerializeToString, |
| 228 |
512d183 |
Mrdn |
2y ago |
app_dot_marznode_dot_marznode__pb2.XrayConfig.FromString, |
| 229 |
512d183 |
Mrdn |
2y ago |
options, channel_credentials, |
| 230 |
512d183 |
Mrdn |
2y ago |
insecure, call_credentials, compression, wait_for_ready, timeout, metadata) |
| 231 |
512d183 |
Mrdn |
2y ago |
|
| 232 |
512d183 |
Mrdn |
2y ago |
@staticmethod |
| 233 |
512d183 |
Mrdn |
2y ago |
def RestartXray(request, |
| 234 |
512d183 |
Mrdn |
2y ago |
target, |
| 235 |
512d183 |
Mrdn |
2y ago |
options=(), |
| 236 |
512d183 |
Mrdn |
2y ago |
channel_credentials=None, |
| 237 |
512d183 |
Mrdn |
2y ago |
call_credentials=None, |
| 238 |
512d183 |
Mrdn |
2y ago |
insecure=False, |
| 239 |
512d183 |
Mrdn |
2y ago |
compression=None, |
| 240 |
512d183 |
Mrdn |
2y ago |
wait_for_ready=None, |
| 241 |
512d183 |
Mrdn |
2y ago |
timeout=None, |
| 242 |
512d183 |
Mrdn |
2y ago |
metadata=None): |
| 243 |
512d183 |
Mrdn |
2y ago |
return grpc.experimental.unary_unary(request, target, '/marznode.MarzService/RestartXray', |
| 244 |
512d183 |
Mrdn |
2y ago |
app_dot_marznode_dot_marznode__pb2.XrayConfig.SerializeToString, |
| 245 |
512d183 |
Mrdn |
2y ago |
app_dot_marznode_dot_marznode__pb2.InboundsResponse.FromString, |
| 246 |
512d183 |
Mrdn |
2y ago |
options, channel_credentials, |
| 247 |
512d183 |
Mrdn |
2y ago |
insecure, call_credentials, compression, wait_for_ready, timeout, metadata) |
| 248 |
512d183 |
Mrdn |
2y ago |
|
| 249 |
512d183 |
Mrdn |
2y ago |
@staticmethod |
| 250 |
512d183 |
Mrdn |
2y ago |
def StreamXrayLogs(request, |
| 251 |
512d183 |
Mrdn |
2y ago |
target, |
| 252 |
512d183 |
Mrdn |
2y ago |
options=(), |
| 253 |
512d183 |
Mrdn |
2y ago |
channel_credentials=None, |
| 254 |
512d183 |
Mrdn |
2y ago |
call_credentials=None, |
| 255 |
512d183 |
Mrdn |
2y ago |
insecure=False, |
| 256 |
512d183 |
Mrdn |
2y ago |
compression=None, |
| 257 |
512d183 |
Mrdn |
2y ago |
wait_for_ready=None, |
| 258 |
512d183 |
Mrdn |
2y ago |
timeout=None, |
| 259 |
512d183 |
Mrdn |
2y ago |
metadata=None): |
| 260 |
512d183 |
Mrdn |
2y ago |
return grpc.experimental.unary_stream(request, target, '/marznode.MarzService/StreamXrayLogs', |
| 261 |
512d183 |
Mrdn |
2y ago |
app_dot_marznode_dot_marznode__pb2.XrayLogsRequest.SerializeToString, |
| 262 |
512d183 |
Mrdn |
2y ago |
app_dot_marznode_dot_marznode__pb2.LogLine.FromString, |
| 263 |
512d183 |
Mrdn |
2y ago |
options, channel_credentials, |
| 264 |
512d183 |
Mrdn |
2y ago |
insecure, call_credentials, compression, wait_for_ready, timeout, metadata) |